forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
azure-mgmt-network 2.0.0rc2 (Azure#2229)
* [AutoPR network/resource-manager] Adding optional traffic analytics config fields to network watcher config object for enhancing the Network Watcher cmdlets (Azure#2200) * Generated from 31caa630ed18cafc72f09d31d9d1adf8bfd6412e Delta space adjustments * Generated from 26f04698b5400a4e8d7b0901e1fa96c3bad08f12 Removing the falattening of the config struct * Generated from 3c5a775d910055a60fea74423e7b4599f410abe1 (Azure#2313) Network 2018-02 for Go and Python * [AutoPR network/resource-manager] fix the Version for vmss public ip and nic (Azure#2330) * Generated from 7ad48d8f71799eed22d68bc6052c27714794a3d8 fix the veresion for vmss public ip and nic * Generated from 73c74aeee09b81dbe99d66c083439dc4ce62cf9d fix versions in other files * Fix check name availabiity in multi api client * Re-record Network with 2018-02-01 * azure-mgmt-network 2.0.0rc2 * Change minimal dependency of azure-common * Fix incorrect mapping on features of 2018-02-01
- Loading branch information
1 parent
c3198a7
commit 1132a02
Showing
495 changed files
with
46,179 additions
and
3,327 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
177 changes: 173 additions & 4 deletions
177
azure-mgmt-network/azure/mgmt/network/network_management_client.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
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
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
50 changes: 50 additions & 0 deletions
50
...twork/azure/mgmt/network/v2018_01_01/models/traffic_analytics_configuration_properties.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,50 @@ | ||
# 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 TrafficAnalyticsConfigurationProperties(Model): | ||
"""Parameters that define the configuration of traffic analytics. | ||
All required parameters must be populated in order to send to Azure. | ||
:param enabled: Required. Flag to enable/disable traffic analytics. | ||
:type enabled: bool | ||
:param workspace_id: Required. The resource guid of the attached workspace | ||
:type workspace_id: str | ||
:param workspace_region: Required. The location of the attached workspace | ||
:type workspace_region: str | ||
:param workspace_resource_id: Required. Resource Id of the attached | ||
workspace | ||
:type workspace_resource_id: str | ||
""" | ||
|
||
_validation = { | ||
'enabled': {'required': True}, | ||
'workspace_id': {'required': True}, | ||
'workspace_region': {'required': True}, | ||
'workspace_resource_id': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'enabled': {'key': 'enabled', 'type': 'bool'}, | ||
'workspace_id': {'key': 'workspaceId', 'type': 'str'}, | ||
'workspace_region': {'key': 'workspaceRegion', 'type': 'str'}, | ||
'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(TrafficAnalyticsConfigurationProperties, self).__init__(**kwargs) | ||
self.enabled = kwargs.get('enabled', None) | ||
self.workspace_id = kwargs.get('workspace_id', None) | ||
self.workspace_region = kwargs.get('workspace_region', None) | ||
self.workspace_resource_id = kwargs.get('workspace_resource_id', None) |
50 changes: 50 additions & 0 deletions
50
...k/azure/mgmt/network/v2018_01_01/models/traffic_analytics_configuration_properties_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,50 @@ | ||
# 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 TrafficAnalyticsConfigurationProperties(Model): | ||
"""Parameters that define the configuration of traffic analytics. | ||
All required parameters must be populated in order to send to Azure. | ||
:param enabled: Required. Flag to enable/disable traffic analytics. | ||
:type enabled: bool | ||
:param workspace_id: Required. The resource guid of the attached workspace | ||
:type workspace_id: str | ||
:param workspace_region: Required. The location of the attached workspace | ||
:type workspace_region: str | ||
:param workspace_resource_id: Required. Resource Id of the attached | ||
workspace | ||
:type workspace_resource_id: str | ||
""" | ||
|
||
_validation = { | ||
'enabled': {'required': True}, | ||
'workspace_id': {'required': True}, | ||
'workspace_region': {'required': True}, | ||
'workspace_resource_id': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'enabled': {'key': 'enabled', 'type': 'bool'}, | ||
'workspace_id': {'key': 'workspaceId', 'type': 'str'}, | ||
'workspace_region': {'key': 'workspaceRegion', 'type': 'str'}, | ||
'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, enabled: bool, workspace_id: str, workspace_region: str, workspace_resource_id: str, **kwargs) -> None: | ||
super(TrafficAnalyticsConfigurationProperties, self).__init__(**kwargs) | ||
self.enabled = enabled | ||
self.workspace_id = workspace_id | ||
self.workspace_region = workspace_region | ||
self.workspace_resource_id = workspace_resource_id |
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
18 changes: 18 additions & 0 deletions
18
azure-mgmt-network/azure/mgmt/network/v2018_02_01/__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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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 .network_management_client import NetworkManagementClient | ||
from .version import VERSION | ||
|
||
__all__ = ['NetworkManagementClient'] | ||
|
||
__version__ = VERSION | ||
|
Oops, something went wrong.