Skip to content

Commit

Permalink
CodeGen from PR 20167 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0045bd900fb00d6e14836be12ce45000846146d2 into f964ff84b1f38801363af1eb69cf90e068a916ba
  • Loading branch information
SDKAuto committed Aug 10, 2022
1 parent 0b9bd3a commit 0c3431e
Show file tree
Hide file tree
Showing 44 changed files with 322 additions and 38 deletions.
4 changes: 2 additions & 2 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "66fcf8b0d60a8d869ac06d6b804a7fbca52d9d28",
"commit": "a804e9c78fdad6eedf07d380a23e33b62db95279",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/network/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'network_security_perimeters': '2021-02-01-preview',
'nsp_access_rules': '2021-02-01-preview',
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_association_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_associations_proxy': '2021-02-01-preview',
'nsp_profiles': '2021-02-01-preview',
Expand Down Expand Up @@ -4956,6 +4957,19 @@ def nsp_access_rules_reconcile(self):
raise ValueError("API version {} does not have operation group 'nsp_access_rules_reconcile'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_association_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspAssociationReconcileOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspAssociationReconcileOperations>`
"""
api_version = self._get_api_version('nsp_association_reconcile')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspAssociationReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_association_reconcile'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_associations(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'network_security_perimeters': '2021-02-01-preview',
'nsp_access_rules': '2021-02-01-preview',
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_association_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_associations_proxy': '2021-02-01-preview',
'nsp_profiles': '2021-02-01-preview',
Expand Down Expand Up @@ -4955,6 +4956,19 @@ def nsp_access_rules_reconcile(self):
raise ValueError("API version {} does not have operation group 'nsp_access_rules_reconcile'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_association_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspAssociationReconcileOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspAssociationReconcileOperations>`
"""
api_version = self._get_api_version('nsp_association_reconcile')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspAssociationReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_association_reconcile'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_associations(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"nsp_profiles": "NspProfilesOperations",
"nsp_access_rules": "NspAccessRulesOperations",
"nsp_associations": "NspAssociationsOperations",
"nsp_association_reconcile": "NspAssociationReconcileOperations",
"nsp_associations_proxy": "NspAssociationsProxyOperations",
"perimeter_associable_resource_types": "PerimeterAssociableResourceTypesOperations",
"nsp_access_rules_reconcile": "NspAccessRulesReconcileOperations"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from . import models
from ._configuration import NetworkManagementClientConfiguration
from .operations import ActiveConnectivityConfigurationsOperations, ActiveSecurityAdminRulesOperations, ActiveSecurityUserRulesOperations, AdminRuleCollectionsOperations, AdminRulesOperations, ConnectivityConfigurationsOperations, EffectiveConnectivityConfigurationsOperations, EffectiveVirtualNetworksOperations, NetworkGroupsOperations, NetworkManagerCommitsOperations, NetworkManagerDeploymentStatusOperations, NetworkManagerEffectiveSecurityAdminRulesOperations, NetworkManagersOperations, NetworkSecurityPerimetersOperations, NspAccessRulesOperations, NspAccessRulesReconcileOperations, NspAssociationsOperations, NspAssociationsProxyOperations, NspProfilesOperations, PerimeterAssociableResourceTypesOperations, SecurityAdminConfigurationsOperations, SecurityUserConfigurationsOperations, UserRuleCollectionsOperations, UserRulesOperations
from .operations import ActiveConnectivityConfigurationsOperations, ActiveSecurityAdminRulesOperations, ActiveSecurityUserRulesOperations, AdminRuleCollectionsOperations, AdminRulesOperations, ConnectivityConfigurationsOperations, EffectiveConnectivityConfigurationsOperations, EffectiveVirtualNetworksOperations, NetworkGroupsOperations, NetworkManagerCommitsOperations, NetworkManagerDeploymentStatusOperations, NetworkManagerEffectiveSecurityAdminRulesOperations, NetworkManagersOperations, NetworkSecurityPerimetersOperations, NspAccessRulesOperations, NspAccessRulesReconcileOperations, NspAssociationReconcileOperations, NspAssociationsOperations, NspAssociationsProxyOperations, NspProfilesOperations, PerimeterAssociableResourceTypesOperations, SecurityAdminConfigurationsOperations, SecurityUserConfigurationsOperations, UserRuleCollectionsOperations, UserRulesOperations

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
Expand Down Expand Up @@ -87,6 +87,9 @@ class NetworkManagementClient: # pylint: disable=too-many-instance-attributes
:ivar nsp_associations: NspAssociationsOperations operations
:vartype nsp_associations:
azure.mgmt.network.v2021_02_01_preview.operations.NspAssociationsOperations
:ivar nsp_association_reconcile: NspAssociationReconcileOperations operations
:vartype nsp_association_reconcile:
azure.mgmt.network.v2021_02_01_preview.operations.NspAssociationReconcileOperations
:ivar nsp_associations_proxy: NspAssociationsProxyOperations operations
:vartype nsp_associations_proxy:
azure.mgmt.network.v2021_02_01_preview.operations.NspAssociationsProxyOperations
Expand Down Expand Up @@ -188,6 +191,9 @@ def __init__(
self.nsp_associations = NspAssociationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.nsp_association_reconcile = NspAssociationReconcileOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.nsp_associations_proxy = NspAssociationsProxyOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from .. import models
from ._configuration import NetworkManagementClientConfiguration
from .operations import ActiveConnectivityConfigurationsOperations, ActiveSecurityAdminRulesOperations, ActiveSecurityUserRulesOperations, AdminRuleCollectionsOperations, AdminRulesOperations, ConnectivityConfigurationsOperations, EffectiveConnectivityConfigurationsOperations, EffectiveVirtualNetworksOperations, NetworkGroupsOperations, NetworkManagerCommitsOperations, NetworkManagerDeploymentStatusOperations, NetworkManagerEffectiveSecurityAdminRulesOperations, NetworkManagersOperations, NetworkSecurityPerimetersOperations, NspAccessRulesOperations, NspAccessRulesReconcileOperations, NspAssociationsOperations, NspAssociationsProxyOperations, NspProfilesOperations, PerimeterAssociableResourceTypesOperations, SecurityAdminConfigurationsOperations, SecurityUserConfigurationsOperations, UserRuleCollectionsOperations, UserRulesOperations
from .operations import ActiveConnectivityConfigurationsOperations, ActiveSecurityAdminRulesOperations, ActiveSecurityUserRulesOperations, AdminRuleCollectionsOperations, AdminRulesOperations, ConnectivityConfigurationsOperations, EffectiveConnectivityConfigurationsOperations, EffectiveVirtualNetworksOperations, NetworkGroupsOperations, NetworkManagerCommitsOperations, NetworkManagerDeploymentStatusOperations, NetworkManagerEffectiveSecurityAdminRulesOperations, NetworkManagersOperations, NetworkSecurityPerimetersOperations, NspAccessRulesOperations, NspAccessRulesReconcileOperations, NspAssociationReconcileOperations, NspAssociationsOperations, NspAssociationsProxyOperations, NspProfilesOperations, PerimeterAssociableResourceTypesOperations, SecurityAdminConfigurationsOperations, SecurityUserConfigurationsOperations, UserRuleCollectionsOperations, UserRulesOperations

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
Expand Down Expand Up @@ -89,6 +89,9 @@ class NetworkManagementClient: # pylint: disable=too-many-instance-attributes
:ivar nsp_associations: NspAssociationsOperations operations
:vartype nsp_associations:
azure.mgmt.network.v2021_02_01_preview.aio.operations.NspAssociationsOperations
:ivar nsp_association_reconcile: NspAssociationReconcileOperations operations
:vartype nsp_association_reconcile:
azure.mgmt.network.v2021_02_01_preview.aio.operations.NspAssociationReconcileOperations
:ivar nsp_associations_proxy: NspAssociationsProxyOperations operations
:vartype nsp_associations_proxy:
azure.mgmt.network.v2021_02_01_preview.aio.operations.NspAssociationsProxyOperations
Expand Down Expand Up @@ -190,6 +193,9 @@ def __init__(
self.nsp_associations = NspAssociationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.nsp_association_reconcile = NspAssociationReconcileOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.nsp_associations_proxy = NspAssociationsProxyOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from ._operations import NspProfilesOperations
from ._operations import NspAccessRulesOperations
from ._operations import NspAssociationsOperations
from ._operations import NspAssociationReconcileOperations
from ._operations import NspAssociationsProxyOperations
from ._operations import PerimeterAssociableResourceTypesOperations
from ._operations import NspAccessRulesReconcileOperations
Expand Down Expand Up @@ -56,6 +57,7 @@
'NspProfilesOperations',
'NspAccessRulesOperations',
'NspAssociationsOperations',
'NspAssociationReconcileOperations',
'NspAssociationsProxyOperations',
'PerimeterAssociableResourceTypesOperations',
'NspAccessRulesReconcileOperations',
Expand Down
Loading

0 comments on commit 0c3431e

Please sign in to comment.