-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] security/resource-manager (#3782)
* Generated from 84624804865be53090660f859760f153de313691 (#3781) merged from master * [AutoPR security/resource-manager] Remove security contact phone field mandatory fields (#3753) * Generated from 3f99e72342d5d4f194ff74c8c553657530955783 Remove security contact phone field mandatory fields * Generated from e94d9f5b16a429a3f1d2270a981be7218f06fd36 Update security contact examples - refactored - second iteration * Generated from e691835335c3acf12428c89776c765a1fa2bdad5 (#3989) typo: security/resource-manager/Microsoft.Security - Double word "alert" - addess -> address - whos -> whose * Generated from 1a24198dd982a4fcb510456404994241f55dc883 (#4113) Settings API * Generated from 5d46282b1371de397d3d60083b6485ff73332f93 (#4216) add comma * [AutoPR security/resource-manager] Adding new api-version to Microsoft.Security Alerts resource (#4283) * Generated from f862d11a6a08b6c7243a79c2996690518313ac9a Rollback readme change * Packaging update of azure-mgmt-security * [AutoPR security/resource-manager] Azure Security Center - break-to-composite v1 (#4354) * Generated from 2a8aacac69e7675f0417a2dee3770256656042c8 first break-to-composite attempt * Generated from 6cbbbe2e2e840c19e3f97332dbc44d0eb4049ce5 Azure Security Center - add missing 2017-08-01-preview api-version + bugfixes * [AutoPR security/resource-manager] Security - Updating API versions of alerts and pricing types (#4423) * Generated from 6b10f3754b112658124483817ff82792d4de2fcc Security - Updating api versions of alerts and pricing types * Generated from 67e18cba585922ac70f701db683e2cf8a4b6d19f Security - Updating api versions of alerts and pricing types * Packaging update of azure-mgmt-security * updated versioning and change log * Generated from 16b35cff6f2a72e062a8098e0cb95ccc209e25af (#4459) reverted security python readme to pre multi api * [AutoPR security/resource-manager] Correlation Key property added (#4524) * Generated from 566b64da8e05aef201e8e3537edcd0c47530e360 typo fix * Packaging update of azure-mgmt-security * Generated from e620762eee468dab30a0eac68387dbaaed34cdc3 tabs switched to spaces + description changed to be more informative * [AutoPR security/resource-manager] New security Regulatory compliance API (#4502) * Generated from 60b311c10c1de2583d21065332a28f65b6025e8b Regulatory compliance API * Packaging update of azure-mgmt-security * Generated from f2f06c6cb708b078507ff93bb5bd338416b27de7 Merge branch 'master' of https://github.com/himarkov/azure-rest-api-specs * Generated from 57997a34834cb3e70253fc7573647886666edb4f Update regulatoryCompliance.json * [AutoPR security/resource-manager] Security: 2017-08-01-preview - Introduce IoT security groups resource (#4112) * Generated from c55343d67df9f202ebbfdc2670f167350fe265ea Some fixes after validation * Generated from d6824620292538df997c2da42c9deda14ee9a90f Change resource name, add x-ms-pagable * Generated from 0cfbd83907e23a9364669f804e9442d771ad088b Sync with master (split files by resource type), add value type * Packaging update of azure-mgmt-security * Generated from 45af2dd2143cc9b695ea876a68496401cb37acb9 Fix readme file * Generated from 67d905e193967e7a8c35511c87239b4f052314a1 delete unreferenced example file * Generated from 35998a721ea3c6fbae6d5b40f051a3d0a8144ea9 (#4756) Changing new version Settings file * Packaging update of azure-mgmt-security * Update HISTORY.rst
- Loading branch information
1 parent
2f3e214
commit dc6bb72
Showing
36 changed files
with
1,085 additions
and
562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
278 changes: 147 additions & 131 deletions
278
azure-mgmt-security/azure/mgmt/security/models/__init__.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
azure-mgmt-security/azure/mgmt/security/models/allowed_connections_resource.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AllowedConnectionsResource(Model): | ||
"""The resource whose properties describes the allowed traffic between Azure | ||
resources. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id | ||
:vartype id: str | ||
:ivar name: Resource name | ||
:vartype name: str | ||
:ivar type: Resource type | ||
:vartype type: str | ||
:ivar location: Location where the resource is stored | ||
:vartype location: str | ||
:ivar calculated_date_time: The UTC time on which the allowed connections | ||
resource was calculated | ||
:vartype calculated_date_time: datetime | ||
:ivar connectable_resources: List of connectable resources | ||
:vartype connectable_resources: | ||
list[~azure.mgmt.security.models.ConnectableResource] | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'location': {'readonly': True}, | ||
'calculated_date_time': {'readonly': True}, | ||
'connectable_resources': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'calculated_date_time': {'key': 'properties.calculatedDateTime', 'type': 'iso-8601'}, | ||
'connectable_resources': {'key': 'properties.connectableResources', 'type': '[ConnectableResource]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AllowedConnectionsResource, self).__init__(**kwargs) | ||
self.id = None | ||
self.name = None | ||
self.type = None | ||
self.location = None | ||
self.calculated_date_time = None | ||
self.connectable_resources = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
azure-mgmt-security/azure/mgmt/security/models/allowed_connections_resource_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AllowedConnectionsResource(Model): | ||
"""The resource whose properties describes the allowed traffic between Azure | ||
resources. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id | ||
:vartype id: str | ||
:ivar name: Resource name | ||
:vartype name: str | ||
:ivar type: Resource type | ||
:vartype type: str | ||
:ivar location: Location where the resource is stored | ||
:vartype location: str | ||
:ivar calculated_date_time: The UTC time on which the allowed connections | ||
resource was calculated | ||
:vartype calculated_date_time: datetime | ||
:ivar connectable_resources: List of connectable resources | ||
:vartype connectable_resources: | ||
list[~azure.mgmt.security.models.ConnectableResource] | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'location': {'readonly': True}, | ||
'calculated_date_time': {'readonly': True}, | ||
'connectable_resources': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'calculated_date_time': {'key': 'properties.calculatedDateTime', 'type': 'iso-8601'}, | ||
'connectable_resources': {'key': 'properties.connectableResources', 'type': '[ConnectableResource]'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(AllowedConnectionsResource, self).__init__(**kwargs) | ||
self.id = None | ||
self.name = None | ||
self.type = None | ||
self.location = None | ||
self.calculated_date_time = None | ||
self.connectable_resources = None |
Oops, something went wrong.