diff --git a/sdk/network/azure-mgmt-network/README.md b/sdk/network/azure-mgmt-network/README.md index 3c1405b06b47..857d919fb53a 100644 --- a/sdk/network/azure-mgmt-network/README.md +++ b/sdk/network/azure-mgmt-network/README.md @@ -7,8 +7,14 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( # Usage -For code examples, see [Network Management](https://docs.microsoft.com/python/api/overview/azure/network?view=azure-python-preview) -on docs.microsoft.com. + +To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) + + + +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/network?view=azure-python-preview) +Code samples for this package can be found at [Network Management](https://docs.microsoft.com/samples/azure-samples/azure-samples-python-management/network?view=azure-python-preview) on docs.microsoft.com. +Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) # Provide Feedback diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py index 3b1fa573cede..4c2ffb491731 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py @@ -46,7 +46,7 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-06-01' + DEFAULT_API_VERSION = '2020-07-01' _PROFILE_TAG = "azure.mgmt.network.NetworkManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -114,6 +114,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-04-01: :mod:`v2020_04_01.models` * 2020-05-01: :mod:`v2020_05_01.models` * 2020-06-01: :mod:`v2020_06_01.models` + * 2020-07-01: :mod:`v2020_07_01.models` """ if api_version == '2015-06-15': from .v2015_06_15 import models @@ -205,6 +206,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-06-01': from .v2020_06_01 import models return models + elif api_version == '2020-07-01': + from .v2020_07_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -213,12 +217,15 @@ def application_gateway_private_endpoint_connections(self): * 2020-05-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-06-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` + * 2020-07-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') if api_version == '2020-05-01': from .v2020_05_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -229,12 +236,15 @@ def application_gateway_private_link_resources(self): * 2020-05-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-06-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` + * 2020-07-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') if api_version == '2020-05-01': from .v2020_05_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -273,6 +283,7 @@ def application_gateways(self): * 2020-04-01: :class:`ApplicationGatewaysOperations` * 2020-05-01: :class:`ApplicationGatewaysOperations` * 2020-06-01: :class:`ApplicationGatewaysOperations` + * 2020-07-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') if api_version == '2015-06-15': @@ -335,6 +346,8 @@ def application_gateways(self): from .v2020_05_01.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ApplicationGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -367,6 +380,7 @@ def application_security_groups(self): * 2020-04-01: :class:`ApplicationSecurityGroupsOperations` * 2020-05-01: :class:`ApplicationSecurityGroupsOperations` * 2020-06-01: :class:`ApplicationSecurityGroupsOperations` + * 2020-07-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') if api_version == '2017-09-01': @@ -417,6 +431,8 @@ def application_security_groups(self): from .v2020_05_01.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ApplicationSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -441,6 +457,7 @@ def available_delegations(self): * 2020-04-01: :class:`AvailableDelegationsOperations` * 2020-05-01: :class:`AvailableDelegationsOperations` * 2020-06-01: :class:`AvailableDelegationsOperations` + * 2020-07-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') if api_version == '2018-08-01': @@ -475,6 +492,8 @@ def available_delegations(self): from .v2020_05_01.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AvailableDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -509,6 +528,7 @@ def available_endpoint_services(self): * 2020-04-01: :class:`AvailableEndpointServicesOperations` * 2020-05-01: :class:`AvailableEndpointServicesOperations` * 2020-06-01: :class:`AvailableEndpointServicesOperations` + * 2020-07-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') if api_version == '2017-06-01': @@ -563,6 +583,8 @@ def available_endpoint_services(self): from .v2020_05_01.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AvailableEndpointServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_endpoint_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -582,6 +604,7 @@ def available_private_endpoint_types(self): * 2020-04-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-05-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-06-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2020-07-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') if api_version == '2019-04-01': @@ -606,6 +629,8 @@ def available_private_endpoint_types(self): from .v2020_05_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_private_endpoint_types'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -630,6 +655,7 @@ def available_resource_group_delegations(self): * 2020-04-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-05-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-06-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2020-07-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') if api_version == '2018-08-01': @@ -664,6 +690,8 @@ def available_resource_group_delegations(self): from .v2020_05_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_resource_group_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -680,6 +708,7 @@ def available_service_aliases(self): * 2020-04-01: :class:`AvailableServiceAliasesOperations` * 2020-05-01: :class:`AvailableServiceAliasesOperations` * 2020-06-01: :class:`AvailableServiceAliasesOperations` + * 2020-07-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') if api_version == '2019-08-01': @@ -698,6 +727,8 @@ def available_service_aliases(self): from .v2020_05_01.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AvailableServiceAliasesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_service_aliases'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -722,6 +753,7 @@ def azure_firewall_fqdn_tags(self): * 2020-04-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-05-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-06-01: :class:`AzureFirewallFqdnTagsOperations` + * 2020-07-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') if api_version == '2018-08-01': @@ -756,6 +788,8 @@ def azure_firewall_fqdn_tags(self): from .v2020_05_01.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AzureFirewallFqdnTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewall_fqdn_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -783,6 +817,7 @@ def azure_firewalls(self): * 2020-04-01: :class:`AzureFirewallsOperations` * 2020-05-01: :class:`AzureFirewallsOperations` * 2020-06-01: :class:`AzureFirewallsOperations` + * 2020-07-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') if api_version == '2018-04-01': @@ -823,6 +858,8 @@ def azure_firewalls(self): from .v2020_05_01.operations import AzureFirewallsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import AzureFirewallsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewalls'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -842,6 +879,7 @@ def bastion_hosts(self): * 2020-04-01: :class:`BastionHostsOperations` * 2020-05-01: :class:`BastionHostsOperations` * 2020-06-01: :class:`BastionHostsOperations` + * 2020-07-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') if api_version == '2019-04-01': @@ -866,6 +904,8 @@ def bastion_hosts(self): from .v2020_05_01.operations import BastionHostsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import BastionHostsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bastion_hosts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -902,6 +942,7 @@ def bgp_service_communities(self): * 2020-04-01: :class:`BgpServiceCommunitiesOperations` * 2020-05-01: :class:`BgpServiceCommunitiesOperations` * 2020-06-01: :class:`BgpServiceCommunitiesOperations` + * 2020-07-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') if api_version == '2016-12-01': @@ -960,6 +1001,8 @@ def bgp_service_communities(self): from .v2020_05_01.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import BgpServiceCommunitiesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bgp_service_communities'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -991,6 +1034,7 @@ def connection_monitors(self): * 2020-04-01: :class:`ConnectionMonitorsOperations` * 2020-05-01: :class:`ConnectionMonitorsOperations` * 2020-06-01: :class:`ConnectionMonitorsOperations` + * 2020-07-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') if api_version == '2017-10-01': @@ -1039,6 +1083,8 @@ def connection_monitors(self): from .v2020_05_01.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ConnectionMonitorsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'connection_monitors'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1048,10 +1094,13 @@ def custom_ip_prefixes(self): """Instance depends on the API version: * 2020-06-01: :class:`CustomIPPrefixesOperations` + * 2020-07-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') if api_version == '2020-06-01': from .v2020_06_01.operations import CustomIPPrefixesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import CustomIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'custom_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1074,6 +1123,7 @@ def ddos_custom_policies(self): * 2020-04-01: :class:`DdosCustomPoliciesOperations` * 2020-05-01: :class:`DdosCustomPoliciesOperations` * 2020-06-01: :class:`DdosCustomPoliciesOperations` + * 2020-07-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') if api_version == '2018-11-01': @@ -1104,6 +1154,8 @@ def ddos_custom_policies(self): from .v2020_05_01.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import DdosCustomPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_custom_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1132,6 +1184,7 @@ def ddos_protection_plans(self): * 2020-04-01: :class:`DdosProtectionPlansOperations` * 2020-05-01: :class:`DdosProtectionPlansOperations` * 2020-06-01: :class:`DdosProtectionPlansOperations` + * 2020-07-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') if api_version == '2018-02-01': @@ -1174,6 +1227,8 @@ def ddos_protection_plans(self): from .v2020_05_01.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import DdosProtectionPlansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_protection_plans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1208,6 +1263,7 @@ def default_security_rules(self): * 2020-04-01: :class:`DefaultSecurityRulesOperations` * 2020-05-01: :class:`DefaultSecurityRulesOperations` * 2020-06-01: :class:`DefaultSecurityRulesOperations` + * 2020-07-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') if api_version == '2017-06-01': @@ -1262,6 +1318,8 @@ def default_security_rules(self): from .v2020_05_01.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import DefaultSecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'default_security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1271,10 +1329,13 @@ def dscp_configuration(self): """Instance depends on the API version: * 2020-06-01: :class:`DscpConfigurationOperations` + * 2020-07-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') if api_version == '2020-06-01': from .v2020_06_01.operations import DscpConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import DscpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'dscp_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1313,6 +1374,7 @@ def express_route_circuit_authorizations(self): * 2020-04-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-05-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-06-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') if api_version == '2015-06-15': @@ -1375,6 +1437,8 @@ def express_route_circuit_authorizations(self): from .v2020_05_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_authorizations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1403,6 +1467,7 @@ def express_route_circuit_connections(self): * 2020-04-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-05-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-06-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') if api_version == '2018-02-01': @@ -1445,6 +1510,8 @@ def express_route_circuit_connections(self): from .v2020_05_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1483,6 +1550,7 @@ def express_route_circuit_peerings(self): * 2020-04-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-05-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-06-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') if api_version == '2015-06-15': @@ -1545,6 +1613,8 @@ def express_route_circuit_peerings(self): from .v2020_05_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1583,6 +1653,7 @@ def express_route_circuits(self): * 2020-04-01: :class:`ExpressRouteCircuitsOperations` * 2020-05-01: :class:`ExpressRouteCircuitsOperations` * 2020-06-01: :class:`ExpressRouteCircuitsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') if api_version == '2015-06-15': @@ -1645,6 +1716,8 @@ def express_route_circuits(self): from .v2020_05_01.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCircuitsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuits'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1669,6 +1742,7 @@ def express_route_connections(self): * 2020-04-01: :class:`ExpressRouteConnectionsOperations` * 2020-05-01: :class:`ExpressRouteConnectionsOperations` * 2020-06-01: :class:`ExpressRouteConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') if api_version == '2018-08-01': @@ -1703,6 +1777,8 @@ def express_route_connections(self): from .v2020_05_01.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1731,6 +1807,7 @@ def express_route_cross_connection_peerings(self): * 2020-04-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-05-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-06-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2020-07-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') if api_version == '2018-02-01': @@ -1773,6 +1850,8 @@ def express_route_cross_connection_peerings(self): from .v2020_05_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connection_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1801,6 +1880,7 @@ def express_route_cross_connections(self): * 2020-04-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-05-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-06-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') if api_version == '2018-02-01': @@ -1843,6 +1923,8 @@ def express_route_cross_connections(self): from .v2020_05_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1867,6 +1949,7 @@ def express_route_gateways(self): * 2020-04-01: :class:`ExpressRouteGatewaysOperations` * 2020-05-01: :class:`ExpressRouteGatewaysOperations` * 2020-06-01: :class:`ExpressRouteGatewaysOperations` + * 2020-07-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') if api_version == '2018-08-01': @@ -1901,6 +1984,8 @@ def express_route_gateways(self): from .v2020_05_01.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1925,6 +2010,7 @@ def express_route_links(self): * 2020-04-01: :class:`ExpressRouteLinksOperations` * 2020-05-01: :class:`ExpressRouteLinksOperations` * 2020-06-01: :class:`ExpressRouteLinksOperations` + * 2020-07-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') if api_version == '2018-08-01': @@ -1959,6 +2045,8 @@ def express_route_links(self): from .v2020_05_01.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1983,6 +2071,7 @@ def express_route_ports(self): * 2020-04-01: :class:`ExpressRoutePortsOperations` * 2020-05-01: :class:`ExpressRoutePortsOperations` * 2020-06-01: :class:`ExpressRoutePortsOperations` + * 2020-07-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') if api_version == '2018-08-01': @@ -2017,6 +2106,8 @@ def express_route_ports(self): from .v2020_05_01.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRoutePortsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2041,6 +2132,7 @@ def express_route_ports_locations(self): * 2020-04-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-05-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-06-01: :class:`ExpressRoutePortsLocationsOperations` + * 2020-07-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') if api_version == '2018-08-01': @@ -2075,6 +2167,8 @@ def express_route_ports_locations(self): from .v2020_05_01.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRoutePortsLocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports_locations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2113,6 +2207,7 @@ def express_route_service_providers(self): * 2020-04-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-05-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-06-01: :class:`ExpressRouteServiceProvidersOperations` + * 2020-07-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') if api_version == '2015-06-15': @@ -2175,6 +2270,8 @@ def express_route_service_providers(self): from .v2020_05_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ExpressRouteServiceProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_service_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2193,6 +2290,7 @@ def firewall_policies(self): * 2020-04-01: :class:`FirewallPoliciesOperations` * 2020-05-01: :class:`FirewallPoliciesOperations` * 2020-06-01: :class:`FirewallPoliciesOperations` + * 2020-07-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') if api_version == '2019-06-01': @@ -2215,6 +2313,8 @@ def firewall_policies(self): from .v2020_05_01.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import FirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2225,12 +2325,15 @@ def firewall_policy_rule_collection_groups(self): * 2020-05-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-06-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` + * 2020-07-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') if api_version == '2020-05-01': from .v2020_05_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_rule_collection_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2279,6 +2382,7 @@ def flow_logs(self): * 2020-04-01: :class:`FlowLogsOperations` * 2020-05-01: :class:`FlowLogsOperations` * 2020-06-01: :class:`FlowLogsOperations` + * 2020-07-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') if api_version == '2019-11-01': @@ -2293,6 +2397,8 @@ def flow_logs(self): from .v2020_05_01.operations import FlowLogsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import FlowLogsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'flow_logs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2304,6 +2410,7 @@ def hub_route_tables(self): * 2020-04-01: :class:`HubRouteTablesOperations` * 2020-05-01: :class:`HubRouteTablesOperations` * 2020-06-01: :class:`HubRouteTablesOperations` + * 2020-07-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') if api_version == '2020-04-01': @@ -2312,6 +2419,8 @@ def hub_route_tables(self): from .v2020_05_01.operations import HubRouteTablesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import HubRouteTablesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import HubRouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2339,6 +2448,7 @@ def hub_virtual_network_connections(self): * 2020-04-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-05-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-06-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2020-07-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') if api_version == '2018-04-01': @@ -2379,6 +2489,8 @@ def hub_virtual_network_connections(self): from .v2020_05_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_virtual_network_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2413,6 +2525,7 @@ def inbound_nat_rules(self): * 2020-04-01: :class:`InboundNatRulesOperations` * 2020-05-01: :class:`InboundNatRulesOperations` * 2020-06-01: :class:`InboundNatRulesOperations` + * 2020-07-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') if api_version == '2017-06-01': @@ -2467,6 +2580,8 @@ def inbound_nat_rules(self): from .v2020_05_01.operations import InboundNatRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import InboundNatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2476,10 +2591,13 @@ def inbound_security_rule(self): """Instance depends on the API version: * 2020-06-01: :class:`InboundSecurityRuleOperations` + * 2020-07-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') if api_version == '2020-06-01': from .v2020_06_01.operations import InboundSecurityRuleOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import InboundSecurityRuleOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_security_rule'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2517,6 +2635,7 @@ def ip_allocations(self): * 2020-04-01: :class:`IpAllocationsOperations` * 2020-05-01: :class:`IpAllocationsOperations` * 2020-06-01: :class:`IpAllocationsOperations` + * 2020-07-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') if api_version == '2020-03-01': @@ -2527,6 +2646,8 @@ def ip_allocations(self): from .v2020_05_01.operations import IpAllocationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import IpAllocationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import IpAllocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_allocations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2542,6 +2663,7 @@ def ip_groups(self): * 2020-04-01: :class:`IpGroupsOperations` * 2020-05-01: :class:`IpGroupsOperations` * 2020-06-01: :class:`IpGroupsOperations` + * 2020-07-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') if api_version == '2019-09-01': @@ -2558,6 +2680,8 @@ def ip_groups(self): from .v2020_05_01.operations import IpGroupsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import IpGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2592,6 +2716,7 @@ def load_balancer_backend_address_pools(self): * 2020-04-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-05-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-06-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2020-07-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') if api_version == '2017-06-01': @@ -2646,6 +2771,8 @@ def load_balancer_backend_address_pools(self): from .v2020_05_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_backend_address_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2680,6 +2807,7 @@ def load_balancer_frontend_ip_configurations(self): * 2020-04-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-05-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-06-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2020-07-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') if api_version == '2017-06-01': @@ -2734,6 +2862,8 @@ def load_balancer_frontend_ip_configurations(self): from .v2020_05_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_frontend_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2768,6 +2898,7 @@ def load_balancer_load_balancing_rules(self): * 2020-04-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-05-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-06-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2020-07-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') if api_version == '2017-06-01': @@ -2822,6 +2953,8 @@ def load_balancer_load_balancing_rules(self): from .v2020_05_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_load_balancing_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2856,6 +2989,7 @@ def load_balancer_network_interfaces(self): * 2020-04-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-05-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-06-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2020-07-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') if api_version == '2017-06-01': @@ -2910,6 +3044,8 @@ def load_balancer_network_interfaces(self): from .v2020_05_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2934,6 +3070,7 @@ def load_balancer_outbound_rules(self): * 2020-04-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-05-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-06-01: :class:`LoadBalancerOutboundRulesOperations` + * 2020-07-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') if api_version == '2018-08-01': @@ -2968,6 +3105,8 @@ def load_balancer_outbound_rules(self): from .v2020_05_01.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerOutboundRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_outbound_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3002,6 +3141,7 @@ def load_balancer_probes(self): * 2020-04-01: :class:`LoadBalancerProbesOperations` * 2020-05-01: :class:`LoadBalancerProbesOperations` * 2020-06-01: :class:`LoadBalancerProbesOperations` + * 2020-07-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') if api_version == '2017-06-01': @@ -3056,6 +3196,8 @@ def load_balancer_probes(self): from .v2020_05_01.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancerProbesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_probes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3094,6 +3236,7 @@ def load_balancers(self): * 2020-04-01: :class:`LoadBalancersOperations` * 2020-05-01: :class:`LoadBalancersOperations` * 2020-06-01: :class:`LoadBalancersOperations` + * 2020-07-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') if api_version == '2015-06-15': @@ -3156,6 +3299,8 @@ def load_balancers(self): from .v2020_05_01.operations import LoadBalancersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3194,6 +3339,7 @@ def local_network_gateways(self): * 2020-04-01: :class:`LocalNetworkGatewaysOperations` * 2020-05-01: :class:`LocalNetworkGatewaysOperations` * 2020-06-01: :class:`LocalNetworkGatewaysOperations` + * 2020-07-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') if api_version == '2015-06-15': @@ -3256,6 +3402,8 @@ def local_network_gateways(self): from .v2020_05_01.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import LocalNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'local_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3276,6 +3424,7 @@ def nat_gateways(self): * 2020-04-01: :class:`NatGatewaysOperations` * 2020-05-01: :class:`NatGatewaysOperations` * 2020-06-01: :class:`NatGatewaysOperations` + * 2020-07-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') if api_version == '2019-02-01': @@ -3302,6 +3451,8 @@ def nat_gateways(self): from .v2020_05_01.operations import NatGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NatGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3336,6 +3487,7 @@ def network_interface_ip_configurations(self): * 2020-04-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-05-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-06-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2020-07-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') if api_version == '2017-06-01': @@ -3390,6 +3542,8 @@ def network_interface_ip_configurations(self): from .v2020_05_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3424,6 +3578,7 @@ def network_interface_load_balancers(self): * 2020-04-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-05-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-06-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2020-07-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') if api_version == '2017-06-01': @@ -3478,6 +3633,8 @@ def network_interface_load_balancers(self): from .v2020_05_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3502,6 +3659,7 @@ def network_interface_tap_configurations(self): * 2020-04-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-05-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-06-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2020-07-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') if api_version == '2018-08-01': @@ -3536,6 +3694,8 @@ def network_interface_tap_configurations(self): from .v2020_05_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_tap_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3574,6 +3734,7 @@ def network_interfaces(self): * 2020-04-01: :class:`NetworkInterfacesOperations` * 2020-05-01: :class:`NetworkInterfacesOperations` * 2020-06-01: :class:`NetworkInterfacesOperations` + * 2020-07-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') if api_version == '2015-06-15': @@ -3636,6 +3797,8 @@ def network_interfaces(self): from .v2020_05_01.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3660,6 +3823,7 @@ def network_profiles(self): * 2020-04-01: :class:`NetworkProfilesOperations` * 2020-05-01: :class:`NetworkProfilesOperations` * 2020-06-01: :class:`NetworkProfilesOperations` + * 2020-07-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') if api_version == '2018-08-01': @@ -3694,6 +3858,8 @@ def network_profiles(self): from .v2020_05_01.operations import NetworkProfilesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkProfilesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_profiles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3732,6 +3898,7 @@ def network_security_groups(self): * 2020-04-01: :class:`NetworkSecurityGroupsOperations` * 2020-05-01: :class:`NetworkSecurityGroupsOperations` * 2020-06-01: :class:`NetworkSecurityGroupsOperations` + * 2020-07-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') if api_version == '2015-06-15': @@ -3794,6 +3961,8 @@ def network_security_groups(self): from .v2020_05_01.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3807,6 +3976,7 @@ def network_virtual_appliances(self): * 2020-04-01: :class:`NetworkVirtualAppliancesOperations` * 2020-05-01: :class:`NetworkVirtualAppliancesOperations` * 2020-06-01: :class:`NetworkVirtualAppliancesOperations` + * 2020-07-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') if api_version == '2019-12-01': @@ -3819,6 +3989,8 @@ def network_virtual_appliances(self): from .v2020_05_01.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkVirtualAppliancesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_virtual_appliances'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3856,6 +4028,7 @@ def network_watchers(self): * 2020-04-01: :class:`NetworkWatchersOperations` * 2020-05-01: :class:`NetworkWatchersOperations` * 2020-06-01: :class:`NetworkWatchersOperations` + * 2020-07-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') if api_version == '2016-09-01': @@ -3916,6 +4089,8 @@ def network_watchers(self): from .v2020_05_01.operations import NetworkWatchersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkWatchersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_watchers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3948,6 +4123,7 @@ def operations(self): * 2020-04-01: :class:`Operations` * 2020-05-01: :class:`Operations` * 2020-06-01: :class:`Operations` + * 2020-07-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-09-01': @@ -3998,6 +4174,8 @@ def operations(self): from .v2020_05_01.operations import Operations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import Operations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4022,6 +4200,7 @@ def p2_svpn_gateways(self): * 2020-04-01: :class:`P2SVpnGatewaysOperations` * 2020-05-01: :class:`P2SVpnGatewaysOperations` * 2020-06-01: :class:`P2SVpnGatewaysOperations` + * 2020-07-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') if api_version == '2018-08-01': @@ -4056,6 +4235,8 @@ def p2_svpn_gateways(self): from .v2020_05_01.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import P2SVpnGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import P2SVpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'p2_svpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4127,6 +4308,7 @@ def packet_captures(self): * 2020-04-01: :class:`PacketCapturesOperations` * 2020-05-01: :class:`PacketCapturesOperations` * 2020-06-01: :class:`PacketCapturesOperations` + * 2020-07-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') if api_version == '2016-09-01': @@ -4187,6 +4369,8 @@ def packet_captures(self): from .v2020_05_01.operations import PacketCapturesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PacketCapturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'packet_captures'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4208,6 +4392,7 @@ def peer_express_route_circuit_connections(self): * 2020-04-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-05-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-06-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2020-07-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') if api_version == '2018-12-01': @@ -4236,6 +4421,8 @@ def peer_express_route_circuit_connections(self): from .v2020_05_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'peer_express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4248,6 +4435,7 @@ def private_dns_zone_groups(self): * 2020-04-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-05-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-06-01: :class:`PrivateDnsZoneGroupsOperations` + * 2020-07-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') if api_version == '2020-03-01': @@ -4258,6 +4446,8 @@ def private_dns_zone_groups(self): from .v2020_05_01.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PrivateDnsZoneGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_dns_zone_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4277,6 +4467,7 @@ def private_endpoints(self): * 2020-04-01: :class:`PrivateEndpointsOperations` * 2020-05-01: :class:`PrivateEndpointsOperations` * 2020-06-01: :class:`PrivateEndpointsOperations` + * 2020-07-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') if api_version == '2019-04-01': @@ -4301,6 +4492,8 @@ def private_endpoints(self): from .v2020_05_01.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PrivateEndpointsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoints'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4320,6 +4513,7 @@ def private_link_services(self): * 2020-04-01: :class:`PrivateLinkServicesOperations` * 2020-05-01: :class:`PrivateLinkServicesOperations` * 2020-06-01: :class:`PrivateLinkServicesOperations` + * 2020-07-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') if api_version == '2019-04-01': @@ -4344,6 +4538,8 @@ def private_link_services(self): from .v2020_05_01.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PrivateLinkServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4382,6 +4578,7 @@ def public_ip_addresses(self): * 2020-04-01: :class:`PublicIPAddressesOperations` * 2020-05-01: :class:`PublicIPAddressesOperations` * 2020-06-01: :class:`PublicIPAddressesOperations` + * 2020-07-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') if api_version == '2015-06-15': @@ -4444,6 +4641,8 @@ def public_ip_addresses(self): from .v2020_05_01.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PublicIPAddressesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_addresses'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4469,6 +4668,7 @@ def public_ip_prefixes(self): * 2020-04-01: :class:`PublicIPPrefixesOperations` * 2020-05-01: :class:`PublicIPPrefixesOperations` * 2020-06-01: :class:`PublicIPPrefixesOperations` + * 2020-07-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') if api_version == '2018-07-01': @@ -4505,6 +4705,8 @@ def public_ip_prefixes(self): from .v2020_05_01.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import PublicIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4525,6 +4727,7 @@ def resource_navigation_links(self): * 2020-04-01: :class:`ResourceNavigationLinksOperations` * 2020-05-01: :class:`ResourceNavigationLinksOperations` * 2020-06-01: :class:`ResourceNavigationLinksOperations` + * 2020-07-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') if api_version == '2019-02-01': @@ -4551,6 +4754,8 @@ def resource_navigation_links(self): from .v2020_05_01.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ResourceNavigationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resource_navigation_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4587,6 +4792,7 @@ def route_filter_rules(self): * 2020-04-01: :class:`RouteFilterRulesOperations` * 2020-05-01: :class:`RouteFilterRulesOperations` * 2020-06-01: :class:`RouteFilterRulesOperations` + * 2020-07-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') if api_version == '2016-12-01': @@ -4645,6 +4851,8 @@ def route_filter_rules(self): from .v2020_05_01.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import RouteFilterRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filter_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4681,6 +4889,7 @@ def route_filters(self): * 2020-04-01: :class:`RouteFiltersOperations` * 2020-05-01: :class:`RouteFiltersOperations` * 2020-06-01: :class:`RouteFiltersOperations` + * 2020-07-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') if api_version == '2016-12-01': @@ -4739,6 +4948,8 @@ def route_filters(self): from .v2020_05_01.operations import RouteFiltersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import RouteFiltersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4777,6 +4988,7 @@ def route_tables(self): * 2020-04-01: :class:`RouteTablesOperations` * 2020-05-01: :class:`RouteTablesOperations` * 2020-06-01: :class:`RouteTablesOperations` + * 2020-07-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') if api_version == '2015-06-15': @@ -4839,6 +5051,8 @@ def route_tables(self): from .v2020_05_01.operations import RouteTablesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import RouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4877,6 +5091,7 @@ def routes(self): * 2020-04-01: :class:`RoutesOperations` * 2020-05-01: :class:`RoutesOperations` * 2020-06-01: :class:`RoutesOperations` + * 2020-07-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') if api_version == '2015-06-15': @@ -4939,6 +5154,8 @@ def routes(self): from .v2020_05_01.operations import RoutesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import RoutesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import RoutesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4951,6 +5168,7 @@ def security_partner_providers(self): * 2020-04-01: :class:`SecurityPartnerProvidersOperations` * 2020-05-01: :class:`SecurityPartnerProvidersOperations` * 2020-06-01: :class:`SecurityPartnerProvidersOperations` + * 2020-07-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') if api_version == '2020-03-01': @@ -4961,6 +5179,8 @@ def security_partner_providers(self): from .v2020_05_01.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import SecurityPartnerProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_partner_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4999,6 +5219,7 @@ def security_rules(self): * 2020-04-01: :class:`SecurityRulesOperations` * 2020-05-01: :class:`SecurityRulesOperations` * 2020-06-01: :class:`SecurityRulesOperations` + * 2020-07-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') if api_version == '2015-06-15': @@ -5061,6 +5282,8 @@ def security_rules(self): from .v2020_05_01.operations import SecurityRulesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import SecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5081,6 +5304,7 @@ def service_association_links(self): * 2020-04-01: :class:`ServiceAssociationLinksOperations` * 2020-05-01: :class:`ServiceAssociationLinksOperations` * 2020-06-01: :class:`ServiceAssociationLinksOperations` + * 2020-07-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') if api_version == '2019-02-01': @@ -5107,6 +5331,8 @@ def service_association_links(self): from .v2020_05_01.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ServiceAssociationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_association_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5132,6 +5358,7 @@ def service_endpoint_policies(self): * 2020-04-01: :class:`ServiceEndpointPoliciesOperations` * 2020-05-01: :class:`ServiceEndpointPoliciesOperations` * 2020-06-01: :class:`ServiceEndpointPoliciesOperations` + * 2020-07-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') if api_version == '2018-07-01': @@ -5168,6 +5395,8 @@ def service_endpoint_policies(self): from .v2020_05_01.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ServiceEndpointPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5193,6 +5422,7 @@ def service_endpoint_policy_definitions(self): * 2020-04-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-05-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-06-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2020-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') if api_version == '2018-07-01': @@ -5229,6 +5459,8 @@ def service_endpoint_policy_definitions(self): from .v2020_05_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policy_definitions'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5248,6 +5480,7 @@ def service_tags(self): * 2020-04-01: :class:`ServiceTagsOperations` * 2020-05-01: :class:`ServiceTagsOperations` * 2020-06-01: :class:`ServiceTagsOperations` + * 2020-07-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') if api_version == '2019-04-01': @@ -5272,6 +5505,8 @@ def service_tags(self): from .v2020_05_01.operations import ServiceTagsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import ServiceTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5310,6 +5545,7 @@ def subnets(self): * 2020-04-01: :class:`SubnetsOperations` * 2020-05-01: :class:`SubnetsOperations` * 2020-06-01: :class:`SubnetsOperations` + * 2020-07-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') if api_version == '2015-06-15': @@ -5372,6 +5608,8 @@ def subnets(self): from .v2020_05_01.operations import SubnetsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import SubnetsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import SubnetsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'subnets'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5410,6 +5648,7 @@ def usages(self): * 2020-04-01: :class:`UsagesOperations` * 2020-05-01: :class:`UsagesOperations` * 2020-06-01: :class:`UsagesOperations` + * 2020-07-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2015-06-15': @@ -5472,6 +5711,8 @@ def usages(self): from .v2020_05_01.operations import UsagesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import UsagesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import UsagesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5482,12 +5723,15 @@ def virtual_appliance_sites(self): * 2020-05-01: :class:`VirtualApplianceSitesOperations` * 2020-06-01: :class:`VirtualApplianceSitesOperations` + * 2020-07-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') if api_version == '2020-05-01': from .v2020_05_01.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualApplianceSitesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualApplianceSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5498,12 +5742,15 @@ def virtual_appliance_skus(self): * 2020-05-01: :class:`VirtualApplianceSkusOperations` * 2020-06-01: :class:`VirtualApplianceSkusOperations` + * 2020-07-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') if api_version == '2020-05-01': from .v2020_05_01.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualApplianceSkusOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualApplianceSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5514,12 +5761,15 @@ def virtual_hub_bgp_connection(self): * 2020-05-01: :class:`VirtualHubBgpConnectionOperations` * 2020-06-01: :class:`VirtualHubBgpConnectionOperations` + * 2020-07-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') if api_version == '2020-05-01': from .v2020_05_01.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualHubBgpConnectionOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualHubBgpConnectionOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connection'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5530,12 +5780,15 @@ def virtual_hub_bgp_connections(self): * 2020-05-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-06-01: :class:`VirtualHubBgpConnectionsOperations` + * 2020-07-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') if api_version == '2020-05-01': from .v2020_05_01.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualHubBgpConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualHubBgpConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5546,12 +5799,15 @@ def virtual_hub_ip_configuration(self): * 2020-05-01: :class:`VirtualHubIpConfigurationOperations` * 2020-06-01: :class:`VirtualHubIpConfigurationOperations` + * 2020-07-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') if api_version == '2020-05-01': from .v2020_05_01.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualHubIpConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualHubIpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_ip_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5567,6 +5823,7 @@ def virtual_hub_route_table_v2_s(self): * 2020-04-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-05-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-06-01: :class:`VirtualHubRouteTableV2SOperations` + * 2020-07-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') if api_version == '2019-09-01': @@ -5583,6 +5840,8 @@ def virtual_hub_route_table_v2_s(self): from .v2020_05_01.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualHubRouteTableV2SOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualHubRouteTableV2SOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_route_table_v2_s'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5610,6 +5869,7 @@ def virtual_hubs(self): * 2020-04-01: :class:`VirtualHubsOperations` * 2020-05-01: :class:`VirtualHubsOperations` * 2020-06-01: :class:`VirtualHubsOperations` + * 2020-07-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') if api_version == '2018-04-01': @@ -5650,6 +5910,8 @@ def virtual_hubs(self): from .v2020_05_01.operations import VirtualHubsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualHubsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hubs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5688,6 +5950,7 @@ def virtual_network_gateway_connections(self): * 2020-04-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-05-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-06-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2020-07-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') if api_version == '2015-06-15': @@ -5750,6 +6013,8 @@ def virtual_network_gateway_connections(self): from .v2020_05_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateway_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5788,6 +6053,7 @@ def virtual_network_gateways(self): * 2020-04-01: :class:`VirtualNetworkGatewaysOperations` * 2020-05-01: :class:`VirtualNetworkGatewaysOperations` * 2020-06-01: :class:`VirtualNetworkGatewaysOperations` + * 2020-07-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') if api_version == '2015-06-15': @@ -5850,6 +6116,8 @@ def virtual_network_gateways(self): from .v2020_05_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5887,6 +6155,7 @@ def virtual_network_peerings(self): * 2020-04-01: :class:`VirtualNetworkPeeringsOperations` * 2020-05-01: :class:`VirtualNetworkPeeringsOperations` * 2020-06-01: :class:`VirtualNetworkPeeringsOperations` + * 2020-07-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') if api_version == '2016-09-01': @@ -5947,6 +6216,8 @@ def virtual_network_peerings(self): from .v2020_05_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5971,6 +6242,7 @@ def virtual_network_taps(self): * 2020-04-01: :class:`VirtualNetworkTapsOperations` * 2020-05-01: :class:`VirtualNetworkTapsOperations` * 2020-06-01: :class:`VirtualNetworkTapsOperations` + * 2020-07-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') if api_version == '2018-08-01': @@ -6005,6 +6277,8 @@ def virtual_network_taps(self): from .v2020_05_01.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualNetworkTapsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_taps'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6043,6 +6317,7 @@ def virtual_networks(self): * 2020-04-01: :class:`VirtualNetworksOperations` * 2020-05-01: :class:`VirtualNetworksOperations` * 2020-06-01: :class:`VirtualNetworksOperations` + * 2020-07-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') if api_version == '2015-06-15': @@ -6105,6 +6380,8 @@ def virtual_networks(self): from .v2020_05_01.operations import VirtualNetworksOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualNetworksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_networks'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6122,6 +6399,7 @@ def virtual_router_peerings(self): * 2020-04-01: :class:`VirtualRouterPeeringsOperations` * 2020-05-01: :class:`VirtualRouterPeeringsOperations` * 2020-06-01: :class:`VirtualRouterPeeringsOperations` + * 2020-07-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') if api_version == '2019-07-01': @@ -6142,6 +6420,8 @@ def virtual_router_peerings(self): from .v2020_05_01.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualRouterPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_router_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6159,6 +6439,7 @@ def virtual_routers(self): * 2020-04-01: :class:`VirtualRoutersOperations` * 2020-05-01: :class:`VirtualRoutersOperations` * 2020-06-01: :class:`VirtualRoutersOperations` + * 2020-07-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') if api_version == '2019-07-01': @@ -6179,6 +6460,8 @@ def virtual_routers(self): from .v2020_05_01.operations import VirtualRoutersOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualRoutersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_routers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6206,6 +6489,7 @@ def virtual_wans(self): * 2020-04-01: :class:`VirtualWansOperations` * 2020-05-01: :class:`VirtualWansOperations` * 2020-06-01: :class:`VirtualWansOperations` + * 2020-07-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') if api_version == '2018-04-01': @@ -6246,6 +6530,8 @@ def virtual_wans(self): from .v2020_05_01.operations import VirtualWansOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VirtualWansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_wans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6273,6 +6559,7 @@ def vpn_connections(self): * 2020-04-01: :class:`VpnConnectionsOperations` * 2020-05-01: :class:`VpnConnectionsOperations` * 2020-06-01: :class:`VpnConnectionsOperations` + * 2020-07-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') if api_version == '2018-04-01': @@ -6313,6 +6600,8 @@ def vpn_connections(self): from .v2020_05_01.operations import VpnConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6340,6 +6629,7 @@ def vpn_gateways(self): * 2020-04-01: :class:`VpnGatewaysOperations` * 2020-05-01: :class:`VpnGatewaysOperations` * 2020-06-01: :class:`VpnGatewaysOperations` + * 2020-07-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') if api_version == '2018-04-01': @@ -6380,6 +6670,8 @@ def vpn_gateways(self): from .v2020_05_01.operations import VpnGatewaysOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6398,6 +6690,7 @@ def vpn_link_connections(self): * 2020-04-01: :class:`VpnLinkConnectionsOperations` * 2020-05-01: :class:`VpnLinkConnectionsOperations` * 2020-06-01: :class:`VpnLinkConnectionsOperations` + * 2020-07-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') if api_version == '2019-06-01': @@ -6420,6 +6713,8 @@ def vpn_link_connections(self): from .v2020_05_01.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6436,6 +6731,7 @@ def vpn_server_configurations(self): * 2020-04-01: :class:`VpnServerConfigurationsOperations` * 2020-05-01: :class:`VpnServerConfigurationsOperations` * 2020-06-01: :class:`VpnServerConfigurationsOperations` + * 2020-07-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') if api_version == '2019-08-01': @@ -6454,6 +6750,8 @@ def vpn_server_configurations(self): from .v2020_05_01.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnServerConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6470,6 +6768,7 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-04-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-05-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-06-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2020-07-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') if api_version == '2019-08-01': @@ -6488,6 +6787,8 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from .v2020_05_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations_associated_with_virtual_wan'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6506,6 +6807,7 @@ def vpn_site_link_connections(self): * 2020-04-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-05-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-06-01: :class:`VpnSiteLinkConnectionsOperations` + * 2020-07-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') if api_version == '2019-06-01': @@ -6528,6 +6830,8 @@ def vpn_site_link_connections(self): from .v2020_05_01.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnSiteLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6546,6 +6850,7 @@ def vpn_site_links(self): * 2020-04-01: :class:`VpnSiteLinksOperations` * 2020-05-01: :class:`VpnSiteLinksOperations` * 2020-06-01: :class:`VpnSiteLinksOperations` + * 2020-07-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') if api_version == '2019-06-01': @@ -6568,6 +6873,8 @@ def vpn_site_links(self): from .v2020_05_01.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnSiteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6595,6 +6902,7 @@ def vpn_sites(self): * 2020-04-01: :class:`VpnSitesOperations` * 2020-05-01: :class:`VpnSitesOperations` * 2020-06-01: :class:`VpnSitesOperations` + * 2020-07-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') if api_version == '2018-04-01': @@ -6635,6 +6943,8 @@ def vpn_sites(self): from .v2020_05_01.operations import VpnSitesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6662,6 +6972,7 @@ def vpn_sites_configuration(self): * 2020-04-01: :class:`VpnSitesConfigurationOperations` * 2020-05-01: :class:`VpnSitesConfigurationOperations` * 2020-06-01: :class:`VpnSitesConfigurationOperations` + * 2020-07-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') if api_version == '2018-04-01': @@ -6702,6 +7013,8 @@ def vpn_sites_configuration(self): from .v2020_05_01.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import VpnSitesConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6721,8 +7034,8 @@ def web_application_firewall_policies(self): * 2019-12-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-03-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-04-01: :class:`WebApplicationFirewallPoliciesOperations` - * 2020-05-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-06-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2020-07-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') if api_version == '2018-12-01': @@ -6747,14 +7060,27 @@ def web_application_firewall_policies(self): from .v2020_03_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-04-01': from .v2020_04_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass - elif api_version == '2020-05-01': - from .v2020_05_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_application_firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def web_categories(self): + """Instance depends on the API version: + + * 2020-07-01: :class:`WebCategoriesOperations` + """ + api_version = self._get_api_version('web_categories') + if api_version == '2020-07-01': + from .v2020_07_01.operations import WebCategoriesOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'web_categories'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + def close(self): self._client.close() def __enter__(self): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py index d8412892224d..685a2363a961 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py @@ -41,7 +41,7 @@ def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -67,6 +67,8 @@ def begin_delete_bastion_shareable_link( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -93,7 +95,7 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -101,7 +103,7 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile') @@ -121,6 +123,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version)) mixin_instance = OperationClass() @@ -149,7 +153,7 @@ def begin_get_active_sessions( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_get_active_sessions') @@ -167,6 +171,8 @@ def begin_get_active_sessions( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version)) mixin_instance = OperationClass() @@ -190,7 +196,7 @@ def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -198,7 +204,7 @@ def begin_put_bastion_shareable_link( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_put_bastion_shareable_link') @@ -216,6 +222,8 @@ def begin_put_bastion_shareable_link( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -240,7 +248,7 @@ def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('check_dns_name_availability') @@ -304,6 +312,8 @@ def check_dns_name_availability( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version)) mixin_instance = OperationClass() @@ -327,10 +337,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('disconnect_active_sessions') @@ -348,6 +358,8 @@ def disconnect_active_sessions( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version)) mixin_instance = OperationClass() @@ -371,10 +383,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_bastion_shareable_link') @@ -392,6 +404,8 @@ def get_bastion_shareable_link( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -416,7 +430,7 @@ def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('supported_security_providers') @@ -452,6 +466,8 @@ def supported_security_providers( from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version)) mixin_instance = OperationClass() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py index 369576dbb171..b4e3c85d9c5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py @@ -46,7 +46,7 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-06-01' + DEFAULT_API_VERSION = '2020-07-01' _PROFILE_TAG = "azure.mgmt.network.NetworkManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -114,6 +114,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-04-01: :mod:`v2020_04_01.models` * 2020-05-01: :mod:`v2020_05_01.models` * 2020-06-01: :mod:`v2020_06_01.models` + * 2020-07-01: :mod:`v2020_07_01.models` """ if api_version == '2015-06-15': from ..v2015_06_15 import models @@ -205,6 +206,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-06-01': from ..v2020_06_01 import models return models + elif api_version == '2020-07-01': + from ..v2020_07_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -213,12 +217,15 @@ def application_gateway_private_endpoint_connections(self): * 2020-05-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-06-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` + * 2020-07-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -229,12 +236,15 @@ def application_gateway_private_link_resources(self): * 2020-05-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-06-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` + * 2020-07-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -273,6 +283,7 @@ def application_gateways(self): * 2020-04-01: :class:`ApplicationGatewaysOperations` * 2020-05-01: :class:`ApplicationGatewaysOperations` * 2020-06-01: :class:`ApplicationGatewaysOperations` + * 2020-07-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') if api_version == '2015-06-15': @@ -335,6 +346,8 @@ def application_gateways(self): from ..v2020_05_01.aio.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ApplicationGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -367,6 +380,7 @@ def application_security_groups(self): * 2020-04-01: :class:`ApplicationSecurityGroupsOperations` * 2020-05-01: :class:`ApplicationSecurityGroupsOperations` * 2020-06-01: :class:`ApplicationSecurityGroupsOperations` + * 2020-07-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') if api_version == '2017-09-01': @@ -417,6 +431,8 @@ def application_security_groups(self): from ..v2020_05_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -441,6 +457,7 @@ def available_delegations(self): * 2020-04-01: :class:`AvailableDelegationsOperations` * 2020-05-01: :class:`AvailableDelegationsOperations` * 2020-06-01: :class:`AvailableDelegationsOperations` + * 2020-07-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') if api_version == '2018-08-01': @@ -475,6 +492,8 @@ def available_delegations(self): from ..v2020_05_01.aio.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AvailableDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -509,6 +528,7 @@ def available_endpoint_services(self): * 2020-04-01: :class:`AvailableEndpointServicesOperations` * 2020-05-01: :class:`AvailableEndpointServicesOperations` * 2020-06-01: :class:`AvailableEndpointServicesOperations` + * 2020-07-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') if api_version == '2017-06-01': @@ -563,6 +583,8 @@ def available_endpoint_services(self): from ..v2020_05_01.aio.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AvailableEndpointServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_endpoint_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -582,6 +604,7 @@ def available_private_endpoint_types(self): * 2020-04-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-05-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-06-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2020-07-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') if api_version == '2019-04-01': @@ -606,6 +629,8 @@ def available_private_endpoint_types(self): from ..v2020_05_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_private_endpoint_types'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -630,6 +655,7 @@ def available_resource_group_delegations(self): * 2020-04-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-05-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-06-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2020-07-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') if api_version == '2018-08-01': @@ -664,6 +690,8 @@ def available_resource_group_delegations(self): from ..v2020_05_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_resource_group_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -680,6 +708,7 @@ def available_service_aliases(self): * 2020-04-01: :class:`AvailableServiceAliasesOperations` * 2020-05-01: :class:`AvailableServiceAliasesOperations` * 2020-06-01: :class:`AvailableServiceAliasesOperations` + * 2020-07-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') if api_version == '2019-08-01': @@ -698,6 +727,8 @@ def available_service_aliases(self): from ..v2020_05_01.aio.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AvailableServiceAliasesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_service_aliases'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -722,6 +753,7 @@ def azure_firewall_fqdn_tags(self): * 2020-04-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-05-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-06-01: :class:`AzureFirewallFqdnTagsOperations` + * 2020-07-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') if api_version == '2018-08-01': @@ -756,6 +788,8 @@ def azure_firewall_fqdn_tags(self): from ..v2020_05_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewall_fqdn_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -783,6 +817,7 @@ def azure_firewalls(self): * 2020-04-01: :class:`AzureFirewallsOperations` * 2020-05-01: :class:`AzureFirewallsOperations` * 2020-06-01: :class:`AzureFirewallsOperations` + * 2020-07-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') if api_version == '2018-04-01': @@ -823,6 +858,8 @@ def azure_firewalls(self): from ..v2020_05_01.aio.operations import AzureFirewallsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import AzureFirewallsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewalls'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -842,6 +879,7 @@ def bastion_hosts(self): * 2020-04-01: :class:`BastionHostsOperations` * 2020-05-01: :class:`BastionHostsOperations` * 2020-06-01: :class:`BastionHostsOperations` + * 2020-07-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') if api_version == '2019-04-01': @@ -866,6 +904,8 @@ def bastion_hosts(self): from ..v2020_05_01.aio.operations import BastionHostsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import BastionHostsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import BastionHostsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bastion_hosts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -902,6 +942,7 @@ def bgp_service_communities(self): * 2020-04-01: :class:`BgpServiceCommunitiesOperations` * 2020-05-01: :class:`BgpServiceCommunitiesOperations` * 2020-06-01: :class:`BgpServiceCommunitiesOperations` + * 2020-07-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') if api_version == '2016-12-01': @@ -960,6 +1001,8 @@ def bgp_service_communities(self): from ..v2020_05_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bgp_service_communities'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -991,6 +1034,7 @@ def connection_monitors(self): * 2020-04-01: :class:`ConnectionMonitorsOperations` * 2020-05-01: :class:`ConnectionMonitorsOperations` * 2020-06-01: :class:`ConnectionMonitorsOperations` + * 2020-07-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') if api_version == '2017-10-01': @@ -1039,6 +1083,8 @@ def connection_monitors(self): from ..v2020_05_01.aio.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ConnectionMonitorsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'connection_monitors'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1048,10 +1094,13 @@ def custom_ip_prefixes(self): """Instance depends on the API version: * 2020-06-01: :class:`CustomIPPrefixesOperations` + * 2020-07-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') if api_version == '2020-06-01': from ..v2020_06_01.aio.operations import CustomIPPrefixesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import CustomIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'custom_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1074,6 +1123,7 @@ def ddos_custom_policies(self): * 2020-04-01: :class:`DdosCustomPoliciesOperations` * 2020-05-01: :class:`DdosCustomPoliciesOperations` * 2020-06-01: :class:`DdosCustomPoliciesOperations` + * 2020-07-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') if api_version == '2018-11-01': @@ -1104,6 +1154,8 @@ def ddos_custom_policies(self): from ..v2020_05_01.aio.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import DdosCustomPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_custom_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1132,6 +1184,7 @@ def ddos_protection_plans(self): * 2020-04-01: :class:`DdosProtectionPlansOperations` * 2020-05-01: :class:`DdosProtectionPlansOperations` * 2020-06-01: :class:`DdosProtectionPlansOperations` + * 2020-07-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') if api_version == '2018-02-01': @@ -1174,6 +1227,8 @@ def ddos_protection_plans(self): from ..v2020_05_01.aio.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import DdosProtectionPlansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_protection_plans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1208,6 +1263,7 @@ def default_security_rules(self): * 2020-04-01: :class:`DefaultSecurityRulesOperations` * 2020-05-01: :class:`DefaultSecurityRulesOperations` * 2020-06-01: :class:`DefaultSecurityRulesOperations` + * 2020-07-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') if api_version == '2017-06-01': @@ -1262,6 +1318,8 @@ def default_security_rules(self): from ..v2020_05_01.aio.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import DefaultSecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'default_security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1271,10 +1329,13 @@ def dscp_configuration(self): """Instance depends on the API version: * 2020-06-01: :class:`DscpConfigurationOperations` + * 2020-07-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') if api_version == '2020-06-01': from ..v2020_06_01.aio.operations import DscpConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import DscpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'dscp_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1313,6 +1374,7 @@ def express_route_circuit_authorizations(self): * 2020-04-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-05-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-06-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') if api_version == '2015-06-15': @@ -1375,6 +1437,8 @@ def express_route_circuit_authorizations(self): from ..v2020_05_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_authorizations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1403,6 +1467,7 @@ def express_route_circuit_connections(self): * 2020-04-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-05-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-06-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') if api_version == '2018-02-01': @@ -1445,6 +1510,8 @@ def express_route_circuit_connections(self): from ..v2020_05_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1483,6 +1550,7 @@ def express_route_circuit_peerings(self): * 2020-04-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-05-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-06-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') if api_version == '2015-06-15': @@ -1545,6 +1613,8 @@ def express_route_circuit_peerings(self): from ..v2020_05_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1583,6 +1653,7 @@ def express_route_circuits(self): * 2020-04-01: :class:`ExpressRouteCircuitsOperations` * 2020-05-01: :class:`ExpressRouteCircuitsOperations` * 2020-06-01: :class:`ExpressRouteCircuitsOperations` + * 2020-07-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') if api_version == '2015-06-15': @@ -1645,6 +1716,8 @@ def express_route_circuits(self): from ..v2020_05_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuits'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1669,6 +1742,7 @@ def express_route_connections(self): * 2020-04-01: :class:`ExpressRouteConnectionsOperations` * 2020-05-01: :class:`ExpressRouteConnectionsOperations` * 2020-06-01: :class:`ExpressRouteConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') if api_version == '2018-08-01': @@ -1703,6 +1777,8 @@ def express_route_connections(self): from ..v2020_05_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1731,6 +1807,7 @@ def express_route_cross_connection_peerings(self): * 2020-04-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-05-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-06-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2020-07-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') if api_version == '2018-02-01': @@ -1773,6 +1850,8 @@ def express_route_cross_connection_peerings(self): from ..v2020_05_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connection_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1801,6 +1880,7 @@ def express_route_cross_connections(self): * 2020-04-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-05-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-06-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2020-07-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') if api_version == '2018-02-01': @@ -1843,6 +1923,8 @@ def express_route_cross_connections(self): from ..v2020_05_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1867,6 +1949,7 @@ def express_route_gateways(self): * 2020-04-01: :class:`ExpressRouteGatewaysOperations` * 2020-05-01: :class:`ExpressRouteGatewaysOperations` * 2020-06-01: :class:`ExpressRouteGatewaysOperations` + * 2020-07-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') if api_version == '2018-08-01': @@ -1901,6 +1984,8 @@ def express_route_gateways(self): from ..v2020_05_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1925,6 +2010,7 @@ def express_route_links(self): * 2020-04-01: :class:`ExpressRouteLinksOperations` * 2020-05-01: :class:`ExpressRouteLinksOperations` * 2020-06-01: :class:`ExpressRouteLinksOperations` + * 2020-07-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') if api_version == '2018-08-01': @@ -1959,6 +2045,8 @@ def express_route_links(self): from ..v2020_05_01.aio.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1983,6 +2071,7 @@ def express_route_ports(self): * 2020-04-01: :class:`ExpressRoutePortsOperations` * 2020-05-01: :class:`ExpressRoutePortsOperations` * 2020-06-01: :class:`ExpressRoutePortsOperations` + * 2020-07-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') if api_version == '2018-08-01': @@ -2017,6 +2106,8 @@ def express_route_ports(self): from ..v2020_05_01.aio.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRoutePortsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2041,6 +2132,7 @@ def express_route_ports_locations(self): * 2020-04-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-05-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-06-01: :class:`ExpressRoutePortsLocationsOperations` + * 2020-07-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') if api_version == '2018-08-01': @@ -2075,6 +2167,8 @@ def express_route_ports_locations(self): from ..v2020_05_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports_locations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2113,6 +2207,7 @@ def express_route_service_providers(self): * 2020-04-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-05-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-06-01: :class:`ExpressRouteServiceProvidersOperations` + * 2020-07-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') if api_version == '2015-06-15': @@ -2175,6 +2270,8 @@ def express_route_service_providers(self): from ..v2020_05_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_service_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2193,6 +2290,7 @@ def firewall_policies(self): * 2020-04-01: :class:`FirewallPoliciesOperations` * 2020-05-01: :class:`FirewallPoliciesOperations` * 2020-06-01: :class:`FirewallPoliciesOperations` + * 2020-07-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') if api_version == '2019-06-01': @@ -2215,6 +2313,8 @@ def firewall_policies(self): from ..v2020_05_01.aio.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import FirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2225,12 +2325,15 @@ def firewall_policy_rule_collection_groups(self): * 2020-05-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-06-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` + * 2020-07-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_rule_collection_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2279,6 +2382,7 @@ def flow_logs(self): * 2020-04-01: :class:`FlowLogsOperations` * 2020-05-01: :class:`FlowLogsOperations` * 2020-06-01: :class:`FlowLogsOperations` + * 2020-07-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') if api_version == '2019-11-01': @@ -2293,6 +2397,8 @@ def flow_logs(self): from ..v2020_05_01.aio.operations import FlowLogsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import FlowLogsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import FlowLogsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'flow_logs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2304,6 +2410,7 @@ def hub_route_tables(self): * 2020-04-01: :class:`HubRouteTablesOperations` * 2020-05-01: :class:`HubRouteTablesOperations` * 2020-06-01: :class:`HubRouteTablesOperations` + * 2020-07-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') if api_version == '2020-04-01': @@ -2312,6 +2419,8 @@ def hub_route_tables(self): from ..v2020_05_01.aio.operations import HubRouteTablesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import HubRouteTablesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import HubRouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2339,6 +2448,7 @@ def hub_virtual_network_connections(self): * 2020-04-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-05-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-06-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2020-07-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') if api_version == '2018-04-01': @@ -2379,6 +2489,8 @@ def hub_virtual_network_connections(self): from ..v2020_05_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_virtual_network_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2413,6 +2525,7 @@ def inbound_nat_rules(self): * 2020-04-01: :class:`InboundNatRulesOperations` * 2020-05-01: :class:`InboundNatRulesOperations` * 2020-06-01: :class:`InboundNatRulesOperations` + * 2020-07-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') if api_version == '2017-06-01': @@ -2467,6 +2580,8 @@ def inbound_nat_rules(self): from ..v2020_05_01.aio.operations import InboundNatRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import InboundNatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2476,10 +2591,13 @@ def inbound_security_rule(self): """Instance depends on the API version: * 2020-06-01: :class:`InboundSecurityRuleOperations` + * 2020-07-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') if api_version == '2020-06-01': from ..v2020_06_01.aio.operations import InboundSecurityRuleOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import InboundSecurityRuleOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_security_rule'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2517,6 +2635,7 @@ def ip_allocations(self): * 2020-04-01: :class:`IpAllocationsOperations` * 2020-05-01: :class:`IpAllocationsOperations` * 2020-06-01: :class:`IpAllocationsOperations` + * 2020-07-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') if api_version == '2020-03-01': @@ -2527,6 +2646,8 @@ def ip_allocations(self): from ..v2020_05_01.aio.operations import IpAllocationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import IpAllocationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import IpAllocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_allocations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2542,6 +2663,7 @@ def ip_groups(self): * 2020-04-01: :class:`IpGroupsOperations` * 2020-05-01: :class:`IpGroupsOperations` * 2020-06-01: :class:`IpGroupsOperations` + * 2020-07-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') if api_version == '2019-09-01': @@ -2558,6 +2680,8 @@ def ip_groups(self): from ..v2020_05_01.aio.operations import IpGroupsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import IpGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import IpGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2592,6 +2716,7 @@ def load_balancer_backend_address_pools(self): * 2020-04-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-05-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-06-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2020-07-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') if api_version == '2017-06-01': @@ -2646,6 +2771,8 @@ def load_balancer_backend_address_pools(self): from ..v2020_05_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_backend_address_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2680,6 +2807,7 @@ def load_balancer_frontend_ip_configurations(self): * 2020-04-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-05-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-06-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2020-07-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') if api_version == '2017-06-01': @@ -2734,6 +2862,8 @@ def load_balancer_frontend_ip_configurations(self): from ..v2020_05_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_frontend_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2768,6 +2898,7 @@ def load_balancer_load_balancing_rules(self): * 2020-04-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-05-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-06-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2020-07-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') if api_version == '2017-06-01': @@ -2822,6 +2953,8 @@ def load_balancer_load_balancing_rules(self): from ..v2020_05_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_load_balancing_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2856,6 +2989,7 @@ def load_balancer_network_interfaces(self): * 2020-04-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-05-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-06-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2020-07-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') if api_version == '2017-06-01': @@ -2910,6 +3044,8 @@ def load_balancer_network_interfaces(self): from ..v2020_05_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2934,6 +3070,7 @@ def load_balancer_outbound_rules(self): * 2020-04-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-05-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-06-01: :class:`LoadBalancerOutboundRulesOperations` + * 2020-07-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') if api_version == '2018-08-01': @@ -2968,6 +3105,8 @@ def load_balancer_outbound_rules(self): from ..v2020_05_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_outbound_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3002,6 +3141,7 @@ def load_balancer_probes(self): * 2020-04-01: :class:`LoadBalancerProbesOperations` * 2020-05-01: :class:`LoadBalancerProbesOperations` * 2020-06-01: :class:`LoadBalancerProbesOperations` + * 2020-07-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') if api_version == '2017-06-01': @@ -3056,6 +3196,8 @@ def load_balancer_probes(self): from ..v2020_05_01.aio.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancerProbesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_probes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3094,6 +3236,7 @@ def load_balancers(self): * 2020-04-01: :class:`LoadBalancersOperations` * 2020-05-01: :class:`LoadBalancersOperations` * 2020-06-01: :class:`LoadBalancersOperations` + * 2020-07-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') if api_version == '2015-06-15': @@ -3156,6 +3299,8 @@ def load_balancers(self): from ..v2020_05_01.aio.operations import LoadBalancersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LoadBalancersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3194,6 +3339,7 @@ def local_network_gateways(self): * 2020-04-01: :class:`LocalNetworkGatewaysOperations` * 2020-05-01: :class:`LocalNetworkGatewaysOperations` * 2020-06-01: :class:`LocalNetworkGatewaysOperations` + * 2020-07-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') if api_version == '2015-06-15': @@ -3256,6 +3402,8 @@ def local_network_gateways(self): from ..v2020_05_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'local_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3276,6 +3424,7 @@ def nat_gateways(self): * 2020-04-01: :class:`NatGatewaysOperations` * 2020-05-01: :class:`NatGatewaysOperations` * 2020-06-01: :class:`NatGatewaysOperations` + * 2020-07-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') if api_version == '2019-02-01': @@ -3302,6 +3451,8 @@ def nat_gateways(self): from ..v2020_05_01.aio.operations import NatGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NatGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NatGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3336,6 +3487,7 @@ def network_interface_ip_configurations(self): * 2020-04-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-05-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-06-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2020-07-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') if api_version == '2017-06-01': @@ -3390,6 +3542,8 @@ def network_interface_ip_configurations(self): from ..v2020_05_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3424,6 +3578,7 @@ def network_interface_load_balancers(self): * 2020-04-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-05-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-06-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2020-07-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') if api_version == '2017-06-01': @@ -3478,6 +3633,8 @@ def network_interface_load_balancers(self): from ..v2020_05_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3502,6 +3659,7 @@ def network_interface_tap_configurations(self): * 2020-04-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-05-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-06-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2020-07-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') if api_version == '2018-08-01': @@ -3536,6 +3694,8 @@ def network_interface_tap_configurations(self): from ..v2020_05_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_tap_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3574,6 +3734,7 @@ def network_interfaces(self): * 2020-04-01: :class:`NetworkInterfacesOperations` * 2020-05-01: :class:`NetworkInterfacesOperations` * 2020-06-01: :class:`NetworkInterfacesOperations` + * 2020-07-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') if api_version == '2015-06-15': @@ -3636,6 +3797,8 @@ def network_interfaces(self): from ..v2020_05_01.aio.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3660,6 +3823,7 @@ def network_profiles(self): * 2020-04-01: :class:`NetworkProfilesOperations` * 2020-05-01: :class:`NetworkProfilesOperations` * 2020-06-01: :class:`NetworkProfilesOperations` + * 2020-07-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') if api_version == '2018-08-01': @@ -3694,6 +3858,8 @@ def network_profiles(self): from ..v2020_05_01.aio.operations import NetworkProfilesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkProfilesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_profiles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3732,6 +3898,7 @@ def network_security_groups(self): * 2020-04-01: :class:`NetworkSecurityGroupsOperations` * 2020-05-01: :class:`NetworkSecurityGroupsOperations` * 2020-06-01: :class:`NetworkSecurityGroupsOperations` + * 2020-07-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') if api_version == '2015-06-15': @@ -3794,6 +3961,8 @@ def network_security_groups(self): from ..v2020_05_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3807,6 +3976,7 @@ def network_virtual_appliances(self): * 2020-04-01: :class:`NetworkVirtualAppliancesOperations` * 2020-05-01: :class:`NetworkVirtualAppliancesOperations` * 2020-06-01: :class:`NetworkVirtualAppliancesOperations` + * 2020-07-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') if api_version == '2019-12-01': @@ -3819,6 +3989,8 @@ def network_virtual_appliances(self): from ..v2020_05_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_virtual_appliances'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3856,6 +4028,7 @@ def network_watchers(self): * 2020-04-01: :class:`NetworkWatchersOperations` * 2020-05-01: :class:`NetworkWatchersOperations` * 2020-06-01: :class:`NetworkWatchersOperations` + * 2020-07-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') if api_version == '2016-09-01': @@ -3916,6 +4089,8 @@ def network_watchers(self): from ..v2020_05_01.aio.operations import NetworkWatchersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkWatchersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_watchers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3948,6 +4123,7 @@ def operations(self): * 2020-04-01: :class:`Operations` * 2020-05-01: :class:`Operations` * 2020-06-01: :class:`Operations` + * 2020-07-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-09-01': @@ -3998,6 +4174,8 @@ def operations(self): from ..v2020_05_01.aio.operations import Operations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import Operations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4022,6 +4200,7 @@ def p2_svpn_gateways(self): * 2020-04-01: :class:`P2SVpnGatewaysOperations` * 2020-05-01: :class:`P2SVpnGatewaysOperations` * 2020-06-01: :class:`P2SVpnGatewaysOperations` + * 2020-07-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') if api_version == '2018-08-01': @@ -4056,6 +4235,8 @@ def p2_svpn_gateways(self): from ..v2020_05_01.aio.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import P2SVpnGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import P2SVpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'p2_svpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4127,6 +4308,7 @@ def packet_captures(self): * 2020-04-01: :class:`PacketCapturesOperations` * 2020-05-01: :class:`PacketCapturesOperations` * 2020-06-01: :class:`PacketCapturesOperations` + * 2020-07-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') if api_version == '2016-09-01': @@ -4187,6 +4369,8 @@ def packet_captures(self): from ..v2020_05_01.aio.operations import PacketCapturesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PacketCapturesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PacketCapturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'packet_captures'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4208,6 +4392,7 @@ def peer_express_route_circuit_connections(self): * 2020-04-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-05-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-06-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2020-07-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') if api_version == '2018-12-01': @@ -4236,6 +4421,8 @@ def peer_express_route_circuit_connections(self): from ..v2020_05_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'peer_express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4248,6 +4435,7 @@ def private_dns_zone_groups(self): * 2020-04-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-05-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-06-01: :class:`PrivateDnsZoneGroupsOperations` + * 2020-07-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') if api_version == '2020-03-01': @@ -4258,6 +4446,8 @@ def private_dns_zone_groups(self): from ..v2020_05_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_dns_zone_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4277,6 +4467,7 @@ def private_endpoints(self): * 2020-04-01: :class:`PrivateEndpointsOperations` * 2020-05-01: :class:`PrivateEndpointsOperations` * 2020-06-01: :class:`PrivateEndpointsOperations` + * 2020-07-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') if api_version == '2019-04-01': @@ -4301,6 +4492,8 @@ def private_endpoints(self): from ..v2020_05_01.aio.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PrivateEndpointsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoints'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4320,6 +4513,7 @@ def private_link_services(self): * 2020-04-01: :class:`PrivateLinkServicesOperations` * 2020-05-01: :class:`PrivateLinkServicesOperations` * 2020-06-01: :class:`PrivateLinkServicesOperations` + * 2020-07-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') if api_version == '2019-04-01': @@ -4344,6 +4538,8 @@ def private_link_services(self): from ..v2020_05_01.aio.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PrivateLinkServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4382,6 +4578,7 @@ def public_ip_addresses(self): * 2020-04-01: :class:`PublicIPAddressesOperations` * 2020-05-01: :class:`PublicIPAddressesOperations` * 2020-06-01: :class:`PublicIPAddressesOperations` + * 2020-07-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') if api_version == '2015-06-15': @@ -4444,6 +4641,8 @@ def public_ip_addresses(self): from ..v2020_05_01.aio.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PublicIPAddressesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_addresses'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4469,6 +4668,7 @@ def public_ip_prefixes(self): * 2020-04-01: :class:`PublicIPPrefixesOperations` * 2020-05-01: :class:`PublicIPPrefixesOperations` * 2020-06-01: :class:`PublicIPPrefixesOperations` + * 2020-07-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') if api_version == '2018-07-01': @@ -4505,6 +4705,8 @@ def public_ip_prefixes(self): from ..v2020_05_01.aio.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import PublicIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4525,6 +4727,7 @@ def resource_navigation_links(self): * 2020-04-01: :class:`ResourceNavigationLinksOperations` * 2020-05-01: :class:`ResourceNavigationLinksOperations` * 2020-06-01: :class:`ResourceNavigationLinksOperations` + * 2020-07-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') if api_version == '2019-02-01': @@ -4551,6 +4754,8 @@ def resource_navigation_links(self): from ..v2020_05_01.aio.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ResourceNavigationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resource_navigation_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4587,6 +4792,7 @@ def route_filter_rules(self): * 2020-04-01: :class:`RouteFilterRulesOperations` * 2020-05-01: :class:`RouteFilterRulesOperations` * 2020-06-01: :class:`RouteFilterRulesOperations` + * 2020-07-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') if api_version == '2016-12-01': @@ -4645,6 +4851,8 @@ def route_filter_rules(self): from ..v2020_05_01.aio.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import RouteFilterRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filter_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4681,6 +4889,7 @@ def route_filters(self): * 2020-04-01: :class:`RouteFiltersOperations` * 2020-05-01: :class:`RouteFiltersOperations` * 2020-06-01: :class:`RouteFiltersOperations` + * 2020-07-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') if api_version == '2016-12-01': @@ -4739,6 +4948,8 @@ def route_filters(self): from ..v2020_05_01.aio.operations import RouteFiltersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import RouteFiltersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import RouteFiltersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4777,6 +4988,7 @@ def route_tables(self): * 2020-04-01: :class:`RouteTablesOperations` * 2020-05-01: :class:`RouteTablesOperations` * 2020-06-01: :class:`RouteTablesOperations` + * 2020-07-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') if api_version == '2015-06-15': @@ -4839,6 +5051,8 @@ def route_tables(self): from ..v2020_05_01.aio.operations import RouteTablesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import RouteTablesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import RouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4877,6 +5091,7 @@ def routes(self): * 2020-04-01: :class:`RoutesOperations` * 2020-05-01: :class:`RoutesOperations` * 2020-06-01: :class:`RoutesOperations` + * 2020-07-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') if api_version == '2015-06-15': @@ -4939,6 +5154,8 @@ def routes(self): from ..v2020_05_01.aio.operations import RoutesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import RoutesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import RoutesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4951,6 +5168,7 @@ def security_partner_providers(self): * 2020-04-01: :class:`SecurityPartnerProvidersOperations` * 2020-05-01: :class:`SecurityPartnerProvidersOperations` * 2020-06-01: :class:`SecurityPartnerProvidersOperations` + * 2020-07-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') if api_version == '2020-03-01': @@ -4961,6 +5179,8 @@ def security_partner_providers(self): from ..v2020_05_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_partner_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4999,6 +5219,7 @@ def security_rules(self): * 2020-04-01: :class:`SecurityRulesOperations` * 2020-05-01: :class:`SecurityRulesOperations` * 2020-06-01: :class:`SecurityRulesOperations` + * 2020-07-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') if api_version == '2015-06-15': @@ -5061,6 +5282,8 @@ def security_rules(self): from ..v2020_05_01.aio.operations import SecurityRulesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import SecurityRulesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import SecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5081,6 +5304,7 @@ def service_association_links(self): * 2020-04-01: :class:`ServiceAssociationLinksOperations` * 2020-05-01: :class:`ServiceAssociationLinksOperations` * 2020-06-01: :class:`ServiceAssociationLinksOperations` + * 2020-07-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') if api_version == '2019-02-01': @@ -5107,6 +5331,8 @@ def service_association_links(self): from ..v2020_05_01.aio.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ServiceAssociationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_association_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5132,6 +5358,7 @@ def service_endpoint_policies(self): * 2020-04-01: :class:`ServiceEndpointPoliciesOperations` * 2020-05-01: :class:`ServiceEndpointPoliciesOperations` * 2020-06-01: :class:`ServiceEndpointPoliciesOperations` + * 2020-07-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') if api_version == '2018-07-01': @@ -5168,6 +5395,8 @@ def service_endpoint_policies(self): from ..v2020_05_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5193,6 +5422,7 @@ def service_endpoint_policy_definitions(self): * 2020-04-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-05-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-06-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2020-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') if api_version == '2018-07-01': @@ -5229,6 +5459,8 @@ def service_endpoint_policy_definitions(self): from ..v2020_05_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policy_definitions'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5248,6 +5480,7 @@ def service_tags(self): * 2020-04-01: :class:`ServiceTagsOperations` * 2020-05-01: :class:`ServiceTagsOperations` * 2020-06-01: :class:`ServiceTagsOperations` + * 2020-07-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') if api_version == '2019-04-01': @@ -5272,6 +5505,8 @@ def service_tags(self): from ..v2020_05_01.aio.operations import ServiceTagsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import ServiceTagsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import ServiceTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5310,6 +5545,7 @@ def subnets(self): * 2020-04-01: :class:`SubnetsOperations` * 2020-05-01: :class:`SubnetsOperations` * 2020-06-01: :class:`SubnetsOperations` + * 2020-07-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') if api_version == '2015-06-15': @@ -5372,6 +5608,8 @@ def subnets(self): from ..v2020_05_01.aio.operations import SubnetsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import SubnetsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import SubnetsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'subnets'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5410,6 +5648,7 @@ def usages(self): * 2020-04-01: :class:`UsagesOperations` * 2020-05-01: :class:`UsagesOperations` * 2020-06-01: :class:`UsagesOperations` + * 2020-07-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2015-06-15': @@ -5472,6 +5711,8 @@ def usages(self): from ..v2020_05_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import UsagesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import UsagesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5482,12 +5723,15 @@ def virtual_appliance_sites(self): * 2020-05-01: :class:`VirtualApplianceSitesOperations` * 2020-06-01: :class:`VirtualApplianceSitesOperations` + * 2020-07-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualApplianceSitesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualApplianceSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5498,12 +5742,15 @@ def virtual_appliance_skus(self): * 2020-05-01: :class:`VirtualApplianceSkusOperations` * 2020-06-01: :class:`VirtualApplianceSkusOperations` + * 2020-07-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualApplianceSkusOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualApplianceSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5514,12 +5761,15 @@ def virtual_hub_bgp_connection(self): * 2020-05-01: :class:`VirtualHubBgpConnectionOperations` * 2020-06-01: :class:`VirtualHubBgpConnectionOperations` + * 2020-07-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connection'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5530,12 +5780,15 @@ def virtual_hub_bgp_connections(self): * 2020-05-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-06-01: :class:`VirtualHubBgpConnectionsOperations` + * 2020-07-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5546,12 +5799,15 @@ def virtual_hub_ip_configuration(self): * 2020-05-01: :class:`VirtualHubIpConfigurationOperations` * 2020-06-01: :class:`VirtualHubIpConfigurationOperations` + * 2020-07-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') if api_version == '2020-05-01': from ..v2020_05_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_ip_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5567,6 +5823,7 @@ def virtual_hub_route_table_v2_s(self): * 2020-04-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-05-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-06-01: :class:`VirtualHubRouteTableV2SOperations` + * 2020-07-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') if api_version == '2019-09-01': @@ -5583,6 +5840,8 @@ def virtual_hub_route_table_v2_s(self): from ..v2020_05_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_route_table_v2_s'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5610,6 +5869,7 @@ def virtual_hubs(self): * 2020-04-01: :class:`VirtualHubsOperations` * 2020-05-01: :class:`VirtualHubsOperations` * 2020-06-01: :class:`VirtualHubsOperations` + * 2020-07-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') if api_version == '2018-04-01': @@ -5650,6 +5910,8 @@ def virtual_hubs(self): from ..v2020_05_01.aio.operations import VirtualHubsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualHubsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualHubsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hubs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5688,6 +5950,7 @@ def virtual_network_gateway_connections(self): * 2020-04-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-05-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-06-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2020-07-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') if api_version == '2015-06-15': @@ -5750,6 +6013,8 @@ def virtual_network_gateway_connections(self): from ..v2020_05_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateway_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5788,6 +6053,7 @@ def virtual_network_gateways(self): * 2020-04-01: :class:`VirtualNetworkGatewaysOperations` * 2020-05-01: :class:`VirtualNetworkGatewaysOperations` * 2020-06-01: :class:`VirtualNetworkGatewaysOperations` + * 2020-07-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') if api_version == '2015-06-15': @@ -5850,6 +6116,8 @@ def virtual_network_gateways(self): from ..v2020_05_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5887,6 +6155,7 @@ def virtual_network_peerings(self): * 2020-04-01: :class:`VirtualNetworkPeeringsOperations` * 2020-05-01: :class:`VirtualNetworkPeeringsOperations` * 2020-06-01: :class:`VirtualNetworkPeeringsOperations` + * 2020-07-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') if api_version == '2016-09-01': @@ -5947,6 +6216,8 @@ def virtual_network_peerings(self): from ..v2020_05_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5971,6 +6242,7 @@ def virtual_network_taps(self): * 2020-04-01: :class:`VirtualNetworkTapsOperations` * 2020-05-01: :class:`VirtualNetworkTapsOperations` * 2020-06-01: :class:`VirtualNetworkTapsOperations` + * 2020-07-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') if api_version == '2018-08-01': @@ -6005,6 +6277,8 @@ def virtual_network_taps(self): from ..v2020_05_01.aio.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualNetworkTapsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_taps'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6043,6 +6317,7 @@ def virtual_networks(self): * 2020-04-01: :class:`VirtualNetworksOperations` * 2020-05-01: :class:`VirtualNetworksOperations` * 2020-06-01: :class:`VirtualNetworksOperations` + * 2020-07-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') if api_version == '2015-06-15': @@ -6105,6 +6380,8 @@ def virtual_networks(self): from ..v2020_05_01.aio.operations import VirtualNetworksOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualNetworksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_networks'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6122,6 +6399,7 @@ def virtual_router_peerings(self): * 2020-04-01: :class:`VirtualRouterPeeringsOperations` * 2020-05-01: :class:`VirtualRouterPeeringsOperations` * 2020-06-01: :class:`VirtualRouterPeeringsOperations` + * 2020-07-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') if api_version == '2019-07-01': @@ -6142,6 +6420,8 @@ def virtual_router_peerings(self): from ..v2020_05_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_router_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6159,6 +6439,7 @@ def virtual_routers(self): * 2020-04-01: :class:`VirtualRoutersOperations` * 2020-05-01: :class:`VirtualRoutersOperations` * 2020-06-01: :class:`VirtualRoutersOperations` + * 2020-07-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') if api_version == '2019-07-01': @@ -6179,6 +6460,8 @@ def virtual_routers(self): from ..v2020_05_01.aio.operations import VirtualRoutersOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualRoutersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_routers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6206,6 +6489,7 @@ def virtual_wans(self): * 2020-04-01: :class:`VirtualWansOperations` * 2020-05-01: :class:`VirtualWansOperations` * 2020-06-01: :class:`VirtualWansOperations` + * 2020-07-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') if api_version == '2018-04-01': @@ -6246,6 +6530,8 @@ def virtual_wans(self): from ..v2020_05_01.aio.operations import VirtualWansOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VirtualWansOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VirtualWansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_wans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6273,6 +6559,7 @@ def vpn_connections(self): * 2020-04-01: :class:`VpnConnectionsOperations` * 2020-05-01: :class:`VpnConnectionsOperations` * 2020-06-01: :class:`VpnConnectionsOperations` + * 2020-07-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') if api_version == '2018-04-01': @@ -6313,6 +6600,8 @@ def vpn_connections(self): from ..v2020_05_01.aio.operations import VpnConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6340,6 +6629,7 @@ def vpn_gateways(self): * 2020-04-01: :class:`VpnGatewaysOperations` * 2020-05-01: :class:`VpnGatewaysOperations` * 2020-06-01: :class:`VpnGatewaysOperations` + * 2020-07-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') if api_version == '2018-04-01': @@ -6380,6 +6670,8 @@ def vpn_gateways(self): from ..v2020_05_01.aio.operations import VpnGatewaysOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6398,6 +6690,7 @@ def vpn_link_connections(self): * 2020-04-01: :class:`VpnLinkConnectionsOperations` * 2020-05-01: :class:`VpnLinkConnectionsOperations` * 2020-06-01: :class:`VpnLinkConnectionsOperations` + * 2020-07-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') if api_version == '2019-06-01': @@ -6420,6 +6713,8 @@ def vpn_link_connections(self): from ..v2020_05_01.aio.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6436,6 +6731,7 @@ def vpn_server_configurations(self): * 2020-04-01: :class:`VpnServerConfigurationsOperations` * 2020-05-01: :class:`VpnServerConfigurationsOperations` * 2020-06-01: :class:`VpnServerConfigurationsOperations` + * 2020-07-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') if api_version == '2019-08-01': @@ -6454,6 +6750,8 @@ def vpn_server_configurations(self): from ..v2020_05_01.aio.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnServerConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6470,6 +6768,7 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-04-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-05-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-06-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2020-07-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') if api_version == '2019-08-01': @@ -6488,6 +6787,8 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from ..v2020_05_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations_associated_with_virtual_wan'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6506,6 +6807,7 @@ def vpn_site_link_connections(self): * 2020-04-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-05-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-06-01: :class:`VpnSiteLinkConnectionsOperations` + * 2020-07-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') if api_version == '2019-06-01': @@ -6528,6 +6830,8 @@ def vpn_site_link_connections(self): from ..v2020_05_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6546,6 +6850,7 @@ def vpn_site_links(self): * 2020-04-01: :class:`VpnSiteLinksOperations` * 2020-05-01: :class:`VpnSiteLinksOperations` * 2020-06-01: :class:`VpnSiteLinksOperations` + * 2020-07-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') if api_version == '2019-06-01': @@ -6568,6 +6873,8 @@ def vpn_site_links(self): from ..v2020_05_01.aio.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnSiteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6595,6 +6902,7 @@ def vpn_sites(self): * 2020-04-01: :class:`VpnSitesOperations` * 2020-05-01: :class:`VpnSitesOperations` * 2020-06-01: :class:`VpnSitesOperations` + * 2020-07-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') if api_version == '2018-04-01': @@ -6635,6 +6943,8 @@ def vpn_sites(self): from ..v2020_05_01.aio.operations import VpnSitesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnSitesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6662,6 +6972,7 @@ def vpn_sites_configuration(self): * 2020-04-01: :class:`VpnSitesConfigurationOperations` * 2020-05-01: :class:`VpnSitesConfigurationOperations` * 2020-06-01: :class:`VpnSitesConfigurationOperations` + * 2020-07-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') if api_version == '2018-04-01': @@ -6702,6 +7013,8 @@ def vpn_sites_configuration(self): from ..v2020_05_01.aio.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import VpnSitesConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6721,8 +7034,8 @@ def web_application_firewall_policies(self): * 2019-12-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-03-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-04-01: :class:`WebApplicationFirewallPoliciesOperations` - * 2020-05-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-06-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2020-07-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') if api_version == '2018-12-01': @@ -6747,14 +7060,27 @@ def web_application_firewall_policies(self): from ..v2020_03_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-04-01': from ..v2020_04_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass - elif api_version == '2020-05-01': - from ..v2020_05_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_application_firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def web_categories(self): + """Instance depends on the API version: + + * 2020-07-01: :class:`WebCategoriesOperations` + """ + api_version = self._get_api_version('web_categories') + if api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import WebCategoriesOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'web_categories'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + async def close(self): await self._client.close() async def __aenter__(self): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py index 84f1e9794c6c..acce7fd1b3d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py @@ -37,7 +37,7 @@ async def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -63,6 +63,8 @@ async def begin_delete_bastion_shareable_link( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -89,7 +91,7 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -97,7 +99,7 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile') @@ -117,6 +119,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version)) mixin_instance = OperationClass() @@ -145,7 +149,7 @@ def begin_get_active_sessions( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_get_active_sessions') @@ -163,6 +167,8 @@ def begin_get_active_sessions( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version)) mixin_instance = OperationClass() @@ -186,7 +192,7 @@ def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -194,7 +200,7 @@ def begin_put_bastion_shareable_link( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_put_bastion_shareable_link') @@ -212,6 +218,8 @@ def begin_put_bastion_shareable_link( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -236,7 +244,7 @@ async def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('check_dns_name_availability') @@ -300,6 +308,8 @@ async def check_dns_name_availability( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version)) mixin_instance = OperationClass() @@ -323,10 +333,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('disconnect_active_sessions') @@ -344,6 +354,8 @@ def disconnect_active_sessions( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version)) mixin_instance = OperationClass() @@ -367,10 +379,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_bastion_shareable_link') @@ -388,6 +400,8 @@ def get_bastion_shareable_link( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() @@ -412,7 +426,7 @@ async def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('supported_security_providers') @@ -448,6 +462,8 @@ async def supported_security_providers( from ..v2020_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-06-01': from ..v2020_06_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-07-01': + from ..v2020_07_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version)) mixin_instance = OperationClass() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py index 2d5c5c0623ef..7dcbed35b605 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py @@ -7,4 +7,4 @@ from .v2019_02_01.models import * from .v2019_07_01.models import * from .v2020_04_01.models import * -from .v2020_06_01.models import * +from .v2020_07_01.models import * diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py index fd2df30a8918..9e173ff556ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py @@ -102,7 +102,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py index 91fa60c8e961..de52a38f8853 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py @@ -99,7 +99,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py index 94078e54951c..5ec7e1bc20a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py @@ -111,7 +111,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py index 34744e388502..fec2c4dabb35 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py @@ -108,7 +108,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py index f26611b4d31f..7f349584e790 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py @@ -120,7 +120,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py index c00982e32d9a..2e6ae4d1da9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py @@ -117,7 +117,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py index 769c5718e2d7..97d4247a80c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py @@ -120,7 +120,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py index f78f6c257e86..fa7a54f13ea3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py @@ -117,7 +117,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py index fbb40d8f9375..38761bc9bdae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py @@ -150,7 +150,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py index 96edcfebbad5..1a66d5b08eea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py @@ -147,7 +147,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py index d13cc7ffe621..ac3b68dfd80c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py @@ -150,7 +150,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py index 4fc59bb2c92e..cd002b50fcd8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py @@ -147,7 +147,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py index 6e1af36e4882..092d5e9042a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py @@ -156,7 +156,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py index f7d0d018587a..ccfb58123a20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py @@ -153,7 +153,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py index 56dd4b8488ff..cacb6a293c1a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py @@ -159,7 +159,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py index 246556b0d2d3..39ee337b4a12 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py @@ -156,7 +156,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py index 5c90cdcf9395..6b838faf58c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py @@ -159,7 +159,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py index 1fdbbf615e6e..342f814472ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py @@ -156,7 +156,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py index 94567e074e8a..e4af9b0107b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py @@ -159,7 +159,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py index 1fc7883f59b7..404933231bc2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py @@ -156,7 +156,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py index d6b4448ac15f..da9af7b64314 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py @@ -171,7 +171,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py index 19b25947d131..e2d144880ff1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py @@ -168,7 +168,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py index 5fb170226376..ef634fa73cad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py @@ -195,7 +195,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py index 38fbf28dfb4a..9c75b1cc30a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py @@ -192,7 +192,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py index 886b9ca3b24c..f9d9b2c057cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py @@ -195,7 +195,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py index 685284f84bd9..1f18033887a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py @@ -192,7 +192,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py index 9dbe0de3bccb..14be6bf85bd5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py @@ -204,7 +204,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py index acaf369adab7..9c2bf22076ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py @@ -201,7 +201,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py index 821ed6621879..19f4c92e1b89 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py @@ -249,7 +249,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py index 084680a95dc3..a0890a4007dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py @@ -246,7 +246,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py index 3990027af039..fecd8dbd7f03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py @@ -249,7 +249,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py index 953843aaa2a9..e16c9cabae2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py @@ -246,7 +246,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py index 7797688beb55..ba3c6cf65b96 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py @@ -252,7 +252,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py index 85d2c21a1711..751f5cd902db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py @@ -249,7 +249,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py index 6f2334c45e6c..ffc9e3e68243 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py @@ -258,7 +258,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py index 5a20d89e860f..58849b81693e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py @@ -255,7 +255,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py index 6e051f058a13..8d576738ef49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py @@ -267,7 +267,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py index 858a40503f0b..655eb2f46770 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py @@ -264,7 +264,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py index 912d3689a3e0..30951784fa5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py @@ -279,7 +279,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py index a15320e113c5..582e9fd6fe96 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py @@ -276,7 +276,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py index b8a7e11e904e..4f7625db6097 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py @@ -294,7 +294,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py index 635c6fd6ebc0..a27a5acc22be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py @@ -291,7 +291,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py index cf7a258d26cf..141b47bea732 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py @@ -300,7 +300,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py index 9f14d21f2b3e..c2c69a1def47 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py @@ -297,7 +297,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py index 332bda7caa15..99739d70c569 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py @@ -306,7 +306,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py index d23ffb525255..3d428af0aa97 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py @@ -303,7 +303,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py index 276a922170b2..a201cef51098 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py @@ -312,7 +312,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py index 9b6623da9f83..6872ac6c13bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py @@ -309,7 +309,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py index fd296c00ff0a..29aa1afc27ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py @@ -315,7 +315,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py index 52971d5b9b86..cb2f08892788 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py @@ -312,7 +312,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py index c5ce7cb431d8..9cafc54b312c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py @@ -318,7 +318,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py index ba15e8853aaa..f05e338d1803 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py @@ -315,7 +315,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py index 8f7a21e21b03..5bf3c34c0bc6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py @@ -327,7 +327,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py index 66524ae46038..fd1b930fcc95 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py @@ -324,7 +324,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py index ac546f9b9f8f..f8842c1b4ee7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py @@ -330,7 +330,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py index 5bc9f37eee76..069a4804cf6b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py @@ -327,7 +327,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json index 17e1b6933a63..47380b42b5ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json @@ -150,8 +150,7 @@ "virtual_hub_bgp_connection": "VirtualHubBgpConnectionOperations", "virtual_hub_bgp_connections": "VirtualHubBgpConnectionsOperations", "virtual_hub_ip_configuration": "VirtualHubIpConfigurationOperations", - "hub_route_tables": "HubRouteTablesOperations", - "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" + "hub_route_tables": "HubRouteTablesOperations" }, "operation_mixins": { "_put_bastion_shareable_link_initial" : { diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py index 7192dab47b0c..8470aae3ba8b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py @@ -119,7 +119,6 @@ from .operations import VirtualHubBgpConnectionsOperations from .operations import VirtualHubIpConfigurationOperations from .operations import HubRouteTablesOperations -from .operations import WebApplicationFirewallPoliciesOperations from . import models @@ -326,8 +325,6 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin): :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_05_01.operations.VirtualHubIpConfigurationOperations :ivar hub_route_tables: HubRouteTablesOperations operations :vartype hub_route_tables: azure.mgmt.network.v2020_05_01.operations.HubRouteTablesOperations - :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations - :vartype web_application_firewall_policies: azure.mgmt.network.v2020_05_01.operations.WebApplicationFirewallPoliciesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -351,7 +348,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -554,8 +550,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.hub_route_tables = HubRouteTablesOperations( self._client, self._config, self._serialize, self._deserialize) - self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) def close(self): # type: () -> None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py index 10392bb1a7a1..b751748f974a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py @@ -117,7 +117,6 @@ from .operations import VirtualHubBgpConnectionsOperations from .operations import VirtualHubIpConfigurationOperations from .operations import HubRouteTablesOperations -from .operations import WebApplicationFirewallPoliciesOperations from .. import models @@ -324,8 +323,6 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin): :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_05_01.aio.operations.VirtualHubIpConfigurationOperations :ivar hub_route_tables: HubRouteTablesOperations operations :vartype hub_route_tables: azure.mgmt.network.v2020_05_01.aio.operations.HubRouteTablesOperations - :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations - :vartype web_application_firewall_policies: azure.mgmt.network.v2020_05_01.aio.operations.WebApplicationFirewallPoliciesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -348,7 +345,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -551,8 +547,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.hub_route_tables = HubRouteTablesOperations( self._client, self._config, self._serialize, self._deserialize) - self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/__init__.py index bd9ad96de2ed..b8406ae6988d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/__init__.py @@ -107,7 +107,6 @@ from ._virtual_hub_bgp_connections_operations import VirtualHubBgpConnectionsOperations from ._virtual_hub_ip_configuration_operations import VirtualHubIpConfigurationOperations from ._hub_route_tables_operations import HubRouteTablesOperations -from ._web_application_firewall_policies_operations import WebApplicationFirewallPoliciesOperations __all__ = [ 'ApplicationGatewaysOperations', @@ -211,5 +210,4 @@ 'VirtualHubBgpConnectionsOperations', 'VirtualHubIpConfigurationOperations', 'HubRouteTablesOperations', - 'WebApplicationFirewallPoliciesOperations', ] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py index 457d5d7f01aa..916bda7cd696 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py @@ -667,61 +667,3 @@ async def get_next(next_link=None): get_next, extract_data ) list_usage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages'} # type: ignore - - async def get_bastion_hosts( - self, - resource_group_name: str, - virtual_network_name: str, - **kwargs - ) -> "models.BastionHostListResult": - """Get a list of bastion hosts accessible from the given network. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param virtual_network_name: The name of the virtual network. - :type virtual_network_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BastionHostListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.BastionHostListResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" - accept = "application/json" - - # Construct URL - url = self.get_bastion_hosts.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BastionHostListResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_bastion_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/bastionHosts'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/__init__.py index 2a321f293d86..960735c4b014 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/__init__.py @@ -294,13 +294,7 @@ from ._models_py3 import LocalNetworkGateway from ._models_py3 import LocalNetworkGatewayListResult from ._models_py3 import LogSpecification - from ._models_py3 import ManagedRuleGroupOverride - from ._models_py3 import ManagedRuleOverride - from ._models_py3 import ManagedRuleSet - from ._models_py3 import ManagedRulesDefinition from ._models_py3 import ManagedServiceIdentity - from ._models_py3 import MatchCondition - from ._models_py3 import MatchVariable from ._models_py3 import MatchedRule from ._models_py3 import MetricSpecification from ._models_py3 import NatGateway @@ -346,7 +340,6 @@ from ._models_py3 import OperationListResult from ._models_py3 import OperationPropertiesFormatServiceSpecification from ._models_py3 import OutboundRule - from ._models_py3 import OwaspCrsExclusionEntry from ._models_py3 import P2SConnectionConfiguration from ._models_py3 import P2SVpnConnectionHealth from ._models_py3 import P2SVpnConnectionHealthRequest @@ -365,7 +358,6 @@ from ._models_py3 import PatchRouteFilterRule from ._models_py3 import PeerExpressRouteCircuitConnection from ._models_py3 import PeerExpressRouteCircuitConnectionListResult - from ._models_py3 import PolicySettings from ._models_py3 import PrepareNetworkPoliciesRequest from ._models_py3 import PrivateDnsZoneConfig from ._models_py3 import PrivateDnsZoneGroup @@ -520,9 +512,6 @@ from ._models_py3 import VpnSiteId from ._models_py3 import VpnSiteLink from ._models_py3 import VpnSiteLinkConnection - from ._models_py3 import WebApplicationFirewallCustomRule - from ._models_py3 import WebApplicationFirewallPolicy - from ._models_py3 import WebApplicationFirewallPolicyListResult except (SyntaxError, ImportError): from ._models import AadAuthenticationParameters # type: ignore from ._models import AddressSpace # type: ignore @@ -811,13 +800,7 @@ from ._models import LocalNetworkGateway # type: ignore from ._models import LocalNetworkGatewayListResult # type: ignore from ._models import LogSpecification # type: ignore - from ._models import ManagedRuleGroupOverride # type: ignore - from ._models import ManagedRuleOverride # type: ignore - from ._models import ManagedRuleSet # type: ignore - from ._models import ManagedRulesDefinition # type: ignore from ._models import ManagedServiceIdentity # type: ignore - from ._models import MatchCondition # type: ignore - from ._models import MatchVariable # type: ignore from ._models import MatchedRule # type: ignore from ._models import MetricSpecification # type: ignore from ._models import NatGateway # type: ignore @@ -863,7 +846,6 @@ from ._models import OperationListResult # type: ignore from ._models import OperationPropertiesFormatServiceSpecification # type: ignore from ._models import OutboundRule # type: ignore - from ._models import OwaspCrsExclusionEntry # type: ignore from ._models import P2SConnectionConfiguration # type: ignore from ._models import P2SVpnConnectionHealth # type: ignore from ._models import P2SVpnConnectionHealthRequest # type: ignore @@ -882,7 +864,6 @@ from ._models import PatchRouteFilterRule # type: ignore from ._models import PeerExpressRouteCircuitConnection # type: ignore from ._models import PeerExpressRouteCircuitConnectionListResult # type: ignore - from ._models import PolicySettings # type: ignore from ._models import PrepareNetworkPoliciesRequest # type: ignore from ._models import PrivateDnsZoneConfig # type: ignore from ._models import PrivateDnsZoneGroup # type: ignore @@ -1037,9 +1018,6 @@ from ._models import VpnSiteId # type: ignore from ._models import VpnSiteLink # type: ignore from ._models import VpnSiteLinkConnection # type: ignore - from ._models import WebApplicationFirewallCustomRule # type: ignore - from ._models import WebApplicationFirewallPolicy # type: ignore - from ._models import WebApplicationFirewallPolicyListResult # type: ignore from ._network_management_client_enums import ( Access, @@ -1119,15 +1097,12 @@ LoadBalancerOutboundRuleProtocol, LoadBalancerSkuName, LoadDistribution, - ManagedRuleEnabledState, NatGatewaySkuName, NetworkOperationStatus, NextHopType, OfficeTrafficCategory, Origin, OutputType, - OwaspCrsExclusionEntryMatchVariable, - OwaspCrsExclusionEntrySelectorMatchOperator, PcError, PcProtocol, PcStatus, @@ -1168,14 +1143,6 @@ VpnGatewayGeneration, VpnGatewayTunnelingProtocol, VpnType, - WebApplicationFirewallAction, - WebApplicationFirewallEnabledState, - WebApplicationFirewallMatchVariable, - WebApplicationFirewallMode, - WebApplicationFirewallOperator, - WebApplicationFirewallPolicyResourceState, - WebApplicationFirewallRuleType, - WebApplicationFirewallTransform, ) __all__ = [ @@ -1466,13 +1433,7 @@ 'LocalNetworkGateway', 'LocalNetworkGatewayListResult', 'LogSpecification', - 'ManagedRuleGroupOverride', - 'ManagedRuleOverride', - 'ManagedRuleSet', - 'ManagedRulesDefinition', 'ManagedServiceIdentity', - 'MatchCondition', - 'MatchVariable', 'MatchedRule', 'MetricSpecification', 'NatGateway', @@ -1518,7 +1479,6 @@ 'OperationListResult', 'OperationPropertiesFormatServiceSpecification', 'OutboundRule', - 'OwaspCrsExclusionEntry', 'P2SConnectionConfiguration', 'P2SVpnConnectionHealth', 'P2SVpnConnectionHealthRequest', @@ -1537,7 +1497,6 @@ 'PatchRouteFilterRule', 'PeerExpressRouteCircuitConnection', 'PeerExpressRouteCircuitConnectionListResult', - 'PolicySettings', 'PrepareNetworkPoliciesRequest', 'PrivateDnsZoneConfig', 'PrivateDnsZoneGroup', @@ -1692,9 +1651,6 @@ 'VpnSiteId', 'VpnSiteLink', 'VpnSiteLinkConnection', - 'WebApplicationFirewallCustomRule', - 'WebApplicationFirewallPolicy', - 'WebApplicationFirewallPolicyListResult', 'Access', 'ApplicationGatewayBackendHealthServerHealth', 'ApplicationGatewayCookieBasedAffinity', @@ -1772,15 +1728,12 @@ 'LoadBalancerOutboundRuleProtocol', 'LoadBalancerSkuName', 'LoadDistribution', - 'ManagedRuleEnabledState', 'NatGatewaySkuName', 'NetworkOperationStatus', 'NextHopType', 'OfficeTrafficCategory', 'Origin', 'OutputType', - 'OwaspCrsExclusionEntryMatchVariable', - 'OwaspCrsExclusionEntrySelectorMatchOperator', 'PcError', 'PcProtocol', 'PcStatus', @@ -1821,12 +1774,4 @@ 'VpnGatewayGeneration', 'VpnGatewayTunnelingProtocol', 'VpnType', - 'WebApplicationFirewallAction', - 'WebApplicationFirewallEnabledState', - 'WebApplicationFirewallMatchVariable', - 'WebApplicationFirewallMode', - 'WebApplicationFirewallOperator', - 'WebApplicationFirewallPolicyResourceState', - 'WebApplicationFirewallRuleType', - 'WebApplicationFirewallTransform', ] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py index 43bc0abb84c2..e4ffa3bae6a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py @@ -11576,130 +11576,6 @@ def __init__( self.blob_duration = kwargs.get('blob_duration', None) -class ManagedRuleGroupOverride(msrest.serialization.Model): - """Defines a managed rule group override setting. - - All required parameters must be populated in order to send to Azure. - - :param rule_group_name: Required. The managed rule group to override. - :type rule_group_name: str - :param rules: List of rules that will be disabled. If none specified, all rules in the group - will be disabled. - :type rules: list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleOverride] - """ - - _validation = { - 'rule_group_name': {'required': True}, - } - - _attribute_map = { - 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, - 'rules': {'key': 'rules', 'type': '[ManagedRuleOverride]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedRuleGroupOverride, self).__init__(**kwargs) - self.rule_group_name = kwargs['rule_group_name'] - self.rules = kwargs.get('rules', None) - - -class ManagedRuleOverride(msrest.serialization.Model): - """Defines a managed rule group override setting. - - All required parameters must be populated in order to send to Azure. - - :param rule_id: Required. Identifier for the managed rule. - :type rule_id: str - :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible - values include: "Disabled". - :type state: str or ~azure.mgmt.network.v2020_05_01.models.ManagedRuleEnabledState - """ - - _validation = { - 'rule_id': {'required': True}, - } - - _attribute_map = { - 'rule_id': {'key': 'ruleId', 'type': 'str'}, - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedRuleOverride, self).__init__(**kwargs) - self.rule_id = kwargs['rule_id'] - self.state = kwargs.get('state', None) - - -class ManagedRulesDefinition(msrest.serialization.Model): - """Allow to exclude some variable satisfy the condition for the WAF check. - - All required parameters must be populated in order to send to Azure. - - :param exclusions: The Exclusions that are applied on the policy. - :type exclusions: list[~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntry] - :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. - :type managed_rule_sets: list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleSet] - """ - - _validation = { - 'managed_rule_sets': {'required': True}, - } - - _attribute_map = { - 'exclusions': {'key': 'exclusions', 'type': '[OwaspCrsExclusionEntry]'}, - 'managed_rule_sets': {'key': 'managedRuleSets', 'type': '[ManagedRuleSet]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedRulesDefinition, self).__init__(**kwargs) - self.exclusions = kwargs.get('exclusions', None) - self.managed_rule_sets = kwargs['managed_rule_sets'] - - -class ManagedRuleSet(msrest.serialization.Model): - """Defines a managed rule set. - - All required parameters must be populated in order to send to Azure. - - :param rule_set_type: Required. Defines the rule set type to use. - :type rule_set_type: str - :param rule_set_version: Required. Defines the version of the rule set to use. - :type rule_set_version: str - :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. - :type rule_group_overrides: - list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleGroupOverride] - """ - - _validation = { - 'rule_set_type': {'required': True}, - 'rule_set_version': {'required': True}, - } - - _attribute_map = { - 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, - 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, - 'rule_group_overrides': {'key': 'ruleGroupOverrides', 'type': '[ManagedRuleGroupOverride]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedRuleSet, self).__init__(**kwargs) - self.rule_set_type = kwargs['rule_set_type'] - self.rule_set_version = kwargs['rule_set_version'] - self.rule_group_overrides = kwargs.get('rule_group_overrides', None) - - class ManagedServiceIdentity(msrest.serialization.Model): """Identity for the resource. @@ -11746,52 +11622,6 @@ def __init__( self.user_assigned_identities = kwargs.get('user_assigned_identities', None) -class MatchCondition(msrest.serialization.Model): - """Define match conditions. - - All required parameters must be populated in order to send to Azure. - - :param match_variables: Required. List of match variables. - :type match_variables: list[~azure.mgmt.network.v2020_05_01.models.MatchVariable] - :param operator: Required. The operator to be matched. Possible values include: "IPMatch", - "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", - "BeginsWith", "EndsWith", "Regex", "GeoMatch". - :type operator: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallOperator - :param negation_conditon: Whether this is negate condition or not. - :type negation_conditon: bool - :param match_values: Required. Match value. - :type match_values: list[str] - :param transforms: List of transforms. - :type transforms: list[str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallTransform] - """ - - _validation = { - 'match_variables': {'required': True}, - 'operator': {'required': True}, - 'match_values': {'required': True}, - } - - _attribute_map = { - 'match_variables': {'key': 'matchVariables', 'type': '[MatchVariable]'}, - 'operator': {'key': 'operator', 'type': 'str'}, - 'negation_conditon': {'key': 'negationConditon', 'type': 'bool'}, - 'match_values': {'key': 'matchValues', 'type': '[str]'}, - 'transforms': {'key': 'transforms', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(MatchCondition, self).__init__(**kwargs) - self.match_variables = kwargs['match_variables'] - self.operator = kwargs['operator'] - self.negation_conditon = kwargs.get('negation_conditon', None) - self.match_values = kwargs['match_values'] - self.transforms = kwargs.get('transforms', None) - - class MatchedRule(msrest.serialization.Model): """Matched rule. @@ -11816,38 +11646,6 @@ def __init__( self.action = kwargs.get('action', None) -class MatchVariable(msrest.serialization.Model): - """Define match variables. - - All required parameters must be populated in order to send to Azure. - - :param variable_name: Required. Match Variable. Possible values include: "RemoteAddr", - "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", - "RequestCookies". - :type variable_name: str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMatchVariable - :param selector: The selector of match variable. - :type selector: str - """ - - _validation = { - 'variable_name': {'required': True}, - } - - _attribute_map = { - 'variable_name': {'key': 'variableName', 'type': 'str'}, - 'selector': {'key': 'selector', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(MatchVariable, self).__init__(**kwargs) - self.variable_name = kwargs['variable_name'] - self.selector = kwargs.get('selector', None) - - class MetricSpecification(msrest.serialization.Model): """Description of metrics specification. @@ -13692,47 +13490,6 @@ def __init__( self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) -class OwaspCrsExclusionEntry(msrest.serialization.Model): - """Allow to exclude some variable satisfy the condition for the WAF check. - - All required parameters must be populated in order to send to Azure. - - :param match_variable: Required. The variable to be excluded. Possible values include: - "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". - :type match_variable: str or - ~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntryMatchVariable - :param selector_match_operator: Required. When matchVariable is a collection, operate on the - selector to specify which elements in the collection this exclusion applies to. Possible values - include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". - :type selector_match_operator: str or - ~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntrySelectorMatchOperator - :param selector: Required. When matchVariable is a collection, operator used to specify which - elements in the collection this exclusion applies to. - :type selector: str - """ - - _validation = { - 'match_variable': {'required': True}, - 'selector_match_operator': {'required': True}, - 'selector': {'required': True}, - } - - _attribute_map = { - 'match_variable': {'key': 'matchVariable', 'type': 'str'}, - 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, - 'selector': {'key': 'selector', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OwaspCrsExclusionEntry, self).__init__(**kwargs) - self.match_variable = kwargs['match_variable'] - self.selector_match_operator = kwargs['selector_match_operator'] - self.selector = kwargs['selector'] - - class P2SConnectionConfiguration(SubResource): """P2SConnectionConfiguration Resource. @@ -14501,46 +14258,6 @@ def __init__( self.next_link = kwargs.get('next_link', None) -class PolicySettings(msrest.serialization.Model): - """Defines contents of a web application firewall global configuration. - - :param state: The state of the policy. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallEnabledState - :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". - :type mode: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMode - :param request_body_check: Whether to allow WAF to check request Body. - :type request_body_check: bool - :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. - :type max_request_body_size_in_kb: int - :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. - :type file_upload_limit_in_mb: int - """ - - _validation = { - 'max_request_body_size_in_kb': {'maximum': 128, 'minimum': 8}, - 'file_upload_limit_in_mb': {'minimum': 0}, - } - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'mode': {'key': 'mode', 'type': 'str'}, - 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, - 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, - 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(PolicySettings, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.mode = kwargs.get('mode', None) - self.request_body_check = kwargs.get('request_body_check', None) - self.max_request_body_size_in_kb = kwargs.get('max_request_body_size_in_kb', None) - self.file_upload_limit_in_mb = kwargs.get('file_upload_limit_in_mb', None) - - class PrepareNetworkPoliciesRequest(msrest.serialization.Model): """Details of PrepareNetworkPolicies for Subnet. @@ -20967,171 +20684,3 @@ def __init__( self.enable_rate_limiting = kwargs.get('enable_rate_limiting', None) self.use_local_azure_ip_address = kwargs.get('use_local_azure_ip_address', None) self.provisioning_state = None - - -class WebApplicationFirewallCustomRule(msrest.serialization.Model): - """Defines contents of a web application rule. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: The name of the resource that is unique within a policy. This name can be used to - access the resource. - :type name: str - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :param priority: Required. Priority of the rule. Rules with a lower value will be evaluated - before rules with a higher value. - :type priority: int - :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". - :type rule_type: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallRuleType - :param match_conditions: Required. List of match conditions. - :type match_conditions: list[~azure.mgmt.network.v2020_05_01.models.MatchCondition] - :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". - :type action: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallAction - """ - - _validation = { - 'name': {'max_length': 128, 'min_length': 0}, - 'etag': {'readonly': True}, - 'priority': {'required': True}, - 'rule_type': {'required': True}, - 'match_conditions': {'required': True}, - 'action': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'match_conditions': {'key': 'matchConditions', 'type': '[MatchCondition]'}, - 'action': {'key': 'action', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(WebApplicationFirewallCustomRule, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.etag = None - self.priority = kwargs['priority'] - self.rule_type = kwargs['rule_type'] - self.match_conditions = kwargs['match_conditions'] - self.action = kwargs['action'] - - -class WebApplicationFirewallPolicy(Resource): - """Defines web application firewall policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param id: Resource ID. - :type id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :param policy_settings: The PolicySettings for policy. - :type policy_settings: ~azure.mgmt.network.v2020_05_01.models.PolicySettings - :param custom_rules: The custom rules inside the policy. - :type custom_rules: - list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallCustomRule] - :ivar application_gateways: A collection of references to application gateways. - :vartype application_gateways: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway] - :ivar provisioning_state: The provisioning state of the web application firewall policy - resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_05_01.models.ProvisioningState - :ivar resource_state: Resource status of the policy. Possible values include: "Creating", - "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". - :vartype resource_state: str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyResourceState - :param managed_rules: Describes the managedRules structure. - :type managed_rules: ~azure.mgmt.network.v2020_05_01.models.ManagedRulesDefinition - :ivar http_listeners: A collection of references to application gateway http listeners. - :vartype http_listeners: list[~azure.mgmt.network.v2020_05_01.models.SubResource] - :ivar path_based_rules: A collection of references to application gateway path rules. - :vartype path_based_rules: list[~azure.mgmt.network.v2020_05_01.models.SubResource] - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'application_gateways': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'resource_state': {'readonly': True}, - 'http_listeners': {'readonly': True}, - 'path_based_rules': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'policy_settings': {'key': 'properties.policySettings', 'type': 'PolicySettings'}, - 'custom_rules': {'key': 'properties.customRules', 'type': '[WebApplicationFirewallCustomRule]'}, - 'application_gateways': {'key': 'properties.applicationGateways', 'type': '[ApplicationGateway]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, - 'managed_rules': {'key': 'properties.managedRules', 'type': 'ManagedRulesDefinition'}, - 'http_listeners': {'key': 'properties.httpListeners', 'type': '[SubResource]'}, - 'path_based_rules': {'key': 'properties.pathBasedRules', 'type': '[SubResource]'}, - } - - def __init__( - self, - **kwargs - ): - super(WebApplicationFirewallPolicy, self).__init__(**kwargs) - self.etag = None - self.policy_settings = kwargs.get('policy_settings', None) - self.custom_rules = kwargs.get('custom_rules', None) - self.application_gateways = None - self.provisioning_state = None - self.resource_state = None - self.managed_rules = kwargs.get('managed_rules', None) - self.http_listeners = None - self.path_based_rules = None - - -class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): - """Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of WebApplicationFirewallPolicies within a resource group. - :vartype value: list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy] - :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are - any. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[WebApplicationFirewallPolicy]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(WebApplicationFirewallPolicyListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py index 056fc6755055..8fe5343ecef5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py @@ -12895,143 +12895,6 @@ def __init__( self.blob_duration = blob_duration -class ManagedRuleGroupOverride(msrest.serialization.Model): - """Defines a managed rule group override setting. - - All required parameters must be populated in order to send to Azure. - - :param rule_group_name: Required. The managed rule group to override. - :type rule_group_name: str - :param rules: List of rules that will be disabled. If none specified, all rules in the group - will be disabled. - :type rules: list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleOverride] - """ - - _validation = { - 'rule_group_name': {'required': True}, - } - - _attribute_map = { - 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, - 'rules': {'key': 'rules', 'type': '[ManagedRuleOverride]'}, - } - - def __init__( - self, - *, - rule_group_name: str, - rules: Optional[List["ManagedRuleOverride"]] = None, - **kwargs - ): - super(ManagedRuleGroupOverride, self).__init__(**kwargs) - self.rule_group_name = rule_group_name - self.rules = rules - - -class ManagedRuleOverride(msrest.serialization.Model): - """Defines a managed rule group override setting. - - All required parameters must be populated in order to send to Azure. - - :param rule_id: Required. Identifier for the managed rule. - :type rule_id: str - :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible - values include: "Disabled". - :type state: str or ~azure.mgmt.network.v2020_05_01.models.ManagedRuleEnabledState - """ - - _validation = { - 'rule_id': {'required': True}, - } - - _attribute_map = { - 'rule_id': {'key': 'ruleId', 'type': 'str'}, - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__( - self, - *, - rule_id: str, - state: Optional[Union[str, "ManagedRuleEnabledState"]] = None, - **kwargs - ): - super(ManagedRuleOverride, self).__init__(**kwargs) - self.rule_id = rule_id - self.state = state - - -class ManagedRulesDefinition(msrest.serialization.Model): - """Allow to exclude some variable satisfy the condition for the WAF check. - - All required parameters must be populated in order to send to Azure. - - :param exclusions: The Exclusions that are applied on the policy. - :type exclusions: list[~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntry] - :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. - :type managed_rule_sets: list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleSet] - """ - - _validation = { - 'managed_rule_sets': {'required': True}, - } - - _attribute_map = { - 'exclusions': {'key': 'exclusions', 'type': '[OwaspCrsExclusionEntry]'}, - 'managed_rule_sets': {'key': 'managedRuleSets', 'type': '[ManagedRuleSet]'}, - } - - def __init__( - self, - *, - managed_rule_sets: List["ManagedRuleSet"], - exclusions: Optional[List["OwaspCrsExclusionEntry"]] = None, - **kwargs - ): - super(ManagedRulesDefinition, self).__init__(**kwargs) - self.exclusions = exclusions - self.managed_rule_sets = managed_rule_sets - - -class ManagedRuleSet(msrest.serialization.Model): - """Defines a managed rule set. - - All required parameters must be populated in order to send to Azure. - - :param rule_set_type: Required. Defines the rule set type to use. - :type rule_set_type: str - :param rule_set_version: Required. Defines the version of the rule set to use. - :type rule_set_version: str - :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. - :type rule_group_overrides: - list[~azure.mgmt.network.v2020_05_01.models.ManagedRuleGroupOverride] - """ - - _validation = { - 'rule_set_type': {'required': True}, - 'rule_set_version': {'required': True}, - } - - _attribute_map = { - 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, - 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, - 'rule_group_overrides': {'key': 'ruleGroupOverrides', 'type': '[ManagedRuleGroupOverride]'}, - } - - def __init__( - self, - *, - rule_set_type: str, - rule_set_version: str, - rule_group_overrides: Optional[List["ManagedRuleGroupOverride"]] = None, - **kwargs - ): - super(ManagedRuleSet, self).__init__(**kwargs) - self.rule_set_type = rule_set_type - self.rule_set_version = rule_set_version - self.rule_group_overrides = rule_group_overrides - - class ManagedServiceIdentity(msrest.serialization.Model): """Identity for the resource. @@ -13081,58 +12944,6 @@ def __init__( self.user_assigned_identities = user_assigned_identities -class MatchCondition(msrest.serialization.Model): - """Define match conditions. - - All required parameters must be populated in order to send to Azure. - - :param match_variables: Required. List of match variables. - :type match_variables: list[~azure.mgmt.network.v2020_05_01.models.MatchVariable] - :param operator: Required. The operator to be matched. Possible values include: "IPMatch", - "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", - "BeginsWith", "EndsWith", "Regex", "GeoMatch". - :type operator: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallOperator - :param negation_conditon: Whether this is negate condition or not. - :type negation_conditon: bool - :param match_values: Required. Match value. - :type match_values: list[str] - :param transforms: List of transforms. - :type transforms: list[str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallTransform] - """ - - _validation = { - 'match_variables': {'required': True}, - 'operator': {'required': True}, - 'match_values': {'required': True}, - } - - _attribute_map = { - 'match_variables': {'key': 'matchVariables', 'type': '[MatchVariable]'}, - 'operator': {'key': 'operator', 'type': 'str'}, - 'negation_conditon': {'key': 'negationConditon', 'type': 'bool'}, - 'match_values': {'key': 'matchValues', 'type': '[str]'}, - 'transforms': {'key': 'transforms', 'type': '[str]'}, - } - - def __init__( - self, - *, - match_variables: List["MatchVariable"], - operator: Union[str, "WebApplicationFirewallOperator"], - match_values: List[str], - negation_conditon: Optional[bool] = None, - transforms: Optional[List[Union[str, "WebApplicationFirewallTransform"]]] = None, - **kwargs - ): - super(MatchCondition, self).__init__(**kwargs) - self.match_variables = match_variables - self.operator = operator - self.negation_conditon = negation_conditon - self.match_values = match_values - self.transforms = transforms - - class MatchedRule(msrest.serialization.Model): """Matched rule. @@ -13160,41 +12971,6 @@ def __init__( self.action = action -class MatchVariable(msrest.serialization.Model): - """Define match variables. - - All required parameters must be populated in order to send to Azure. - - :param variable_name: Required. Match Variable. Possible values include: "RemoteAddr", - "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", - "RequestCookies". - :type variable_name: str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMatchVariable - :param selector: The selector of match variable. - :type selector: str - """ - - _validation = { - 'variable_name': {'required': True}, - } - - _attribute_map = { - 'variable_name': {'key': 'variableName', 'type': 'str'}, - 'selector': {'key': 'selector', 'type': 'str'}, - } - - def __init__( - self, - *, - variable_name: Union[str, "WebApplicationFirewallMatchVariable"], - selector: Optional[str] = None, - **kwargs - ): - super(MatchVariable, self).__init__(**kwargs) - self.variable_name = variable_name - self.selector = selector - - class MetricSpecification(msrest.serialization.Model): """Description of metrics specification. @@ -15240,51 +15016,6 @@ def __init__( self.idle_timeout_in_minutes = idle_timeout_in_minutes -class OwaspCrsExclusionEntry(msrest.serialization.Model): - """Allow to exclude some variable satisfy the condition for the WAF check. - - All required parameters must be populated in order to send to Azure. - - :param match_variable: Required. The variable to be excluded. Possible values include: - "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". - :type match_variable: str or - ~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntryMatchVariable - :param selector_match_operator: Required. When matchVariable is a collection, operate on the - selector to specify which elements in the collection this exclusion applies to. Possible values - include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". - :type selector_match_operator: str or - ~azure.mgmt.network.v2020_05_01.models.OwaspCrsExclusionEntrySelectorMatchOperator - :param selector: Required. When matchVariable is a collection, operator used to specify which - elements in the collection this exclusion applies to. - :type selector: str - """ - - _validation = { - 'match_variable': {'required': True}, - 'selector_match_operator': {'required': True}, - 'selector': {'required': True}, - } - - _attribute_map = { - 'match_variable': {'key': 'matchVariable', 'type': 'str'}, - 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, - 'selector': {'key': 'selector', 'type': 'str'}, - } - - def __init__( - self, - *, - match_variable: Union[str, "OwaspCrsExclusionEntryMatchVariable"], - selector_match_operator: Union[str, "OwaspCrsExclusionEntrySelectorMatchOperator"], - selector: str, - **kwargs - ): - super(OwaspCrsExclusionEntry, self).__init__(**kwargs) - self.match_variable = match_variable - self.selector_match_operator = selector_match_operator - self.selector = selector - - class P2SConnectionConfiguration(SubResource): """P2SConnectionConfiguration Resource. @@ -16143,52 +15874,6 @@ def __init__( self.next_link = next_link -class PolicySettings(msrest.serialization.Model): - """Defines contents of a web application firewall global configuration. - - :param state: The state of the policy. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallEnabledState - :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". - :type mode: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMode - :param request_body_check: Whether to allow WAF to check request Body. - :type request_body_check: bool - :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. - :type max_request_body_size_in_kb: int - :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. - :type file_upload_limit_in_mb: int - """ - - _validation = { - 'max_request_body_size_in_kb': {'maximum': 128, 'minimum': 8}, - 'file_upload_limit_in_mb': {'minimum': 0}, - } - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'mode': {'key': 'mode', 'type': 'str'}, - 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, - 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, - 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, - } - - def __init__( - self, - *, - state: Optional[Union[str, "WebApplicationFirewallEnabledState"]] = None, - mode: Optional[Union[str, "WebApplicationFirewallMode"]] = None, - request_body_check: Optional[bool] = None, - max_request_body_size_in_kb: Optional[int] = None, - file_upload_limit_in_mb: Optional[int] = None, - **kwargs - ): - super(PolicySettings, self).__init__(**kwargs) - self.state = state - self.mode = mode - self.request_body_check = request_body_check - self.max_request_body_size_in_kb = max_request_body_size_in_kb - self.file_upload_limit_in_mb = file_upload_limit_in_mb - - class PrepareNetworkPoliciesRequest(msrest.serialization.Model): """Details of PrepareNetworkPolicies for Subnet. @@ -23318,184 +23003,3 @@ def __init__( self.enable_rate_limiting = enable_rate_limiting self.use_local_azure_ip_address = use_local_azure_ip_address self.provisioning_state = None - - -class WebApplicationFirewallCustomRule(msrest.serialization.Model): - """Defines contents of a web application rule. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: The name of the resource that is unique within a policy. This name can be used to - access the resource. - :type name: str - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :param priority: Required. Priority of the rule. Rules with a lower value will be evaluated - before rules with a higher value. - :type priority: int - :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". - :type rule_type: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallRuleType - :param match_conditions: Required. List of match conditions. - :type match_conditions: list[~azure.mgmt.network.v2020_05_01.models.MatchCondition] - :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". - :type action: str or ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallAction - """ - - _validation = { - 'name': {'max_length': 128, 'min_length': 0}, - 'etag': {'readonly': True}, - 'priority': {'required': True}, - 'rule_type': {'required': True}, - 'match_conditions': {'required': True}, - 'action': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'match_conditions': {'key': 'matchConditions', 'type': '[MatchCondition]'}, - 'action': {'key': 'action', 'type': 'str'}, - } - - def __init__( - self, - *, - priority: int, - rule_type: Union[str, "WebApplicationFirewallRuleType"], - match_conditions: List["MatchCondition"], - action: Union[str, "WebApplicationFirewallAction"], - name: Optional[str] = None, - **kwargs - ): - super(WebApplicationFirewallCustomRule, self).__init__(**kwargs) - self.name = name - self.etag = None - self.priority = priority - self.rule_type = rule_type - self.match_conditions = match_conditions - self.action = action - - -class WebApplicationFirewallPolicy(Resource): - """Defines web application firewall policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param id: Resource ID. - :type id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :param policy_settings: The PolicySettings for policy. - :type policy_settings: ~azure.mgmt.network.v2020_05_01.models.PolicySettings - :param custom_rules: The custom rules inside the policy. - :type custom_rules: - list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallCustomRule] - :ivar application_gateways: A collection of references to application gateways. - :vartype application_gateways: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway] - :ivar provisioning_state: The provisioning state of the web application firewall policy - resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_05_01.models.ProvisioningState - :ivar resource_state: Resource status of the policy. Possible values include: "Creating", - "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". - :vartype resource_state: str or - ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyResourceState - :param managed_rules: Describes the managedRules structure. - :type managed_rules: ~azure.mgmt.network.v2020_05_01.models.ManagedRulesDefinition - :ivar http_listeners: A collection of references to application gateway http listeners. - :vartype http_listeners: list[~azure.mgmt.network.v2020_05_01.models.SubResource] - :ivar path_based_rules: A collection of references to application gateway path rules. - :vartype path_based_rules: list[~azure.mgmt.network.v2020_05_01.models.SubResource] - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'application_gateways': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'resource_state': {'readonly': True}, - 'http_listeners': {'readonly': True}, - 'path_based_rules': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'policy_settings': {'key': 'properties.policySettings', 'type': 'PolicySettings'}, - 'custom_rules': {'key': 'properties.customRules', 'type': '[WebApplicationFirewallCustomRule]'}, - 'application_gateways': {'key': 'properties.applicationGateways', 'type': '[ApplicationGateway]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, - 'managed_rules': {'key': 'properties.managedRules', 'type': 'ManagedRulesDefinition'}, - 'http_listeners': {'key': 'properties.httpListeners', 'type': '[SubResource]'}, - 'path_based_rules': {'key': 'properties.pathBasedRules', 'type': '[SubResource]'}, - } - - def __init__( - self, - *, - id: Optional[str] = None, - location: Optional[str] = None, - tags: Optional[Dict[str, str]] = None, - policy_settings: Optional["PolicySettings"] = None, - custom_rules: Optional[List["WebApplicationFirewallCustomRule"]] = None, - managed_rules: Optional["ManagedRulesDefinition"] = None, - **kwargs - ): - super(WebApplicationFirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.etag = None - self.policy_settings = policy_settings - self.custom_rules = custom_rules - self.application_gateways = None - self.provisioning_state = None - self.resource_state = None - self.managed_rules = managed_rules - self.http_listeners = None - self.path_based_rules = None - - -class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): - """Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of WebApplicationFirewallPolicies within a resource group. - :vartype value: list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy] - :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are - any. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[WebApplicationFirewallPolicy]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(WebApplicationFirewallPolicyListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py index beb31b5cb0e4..7385ad86de71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py @@ -673,12 +673,6 @@ class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SOURCE_IP = "SourceIP" SOURCE_IP_PROTOCOL = "SourceIPProtocol" -class ManagedRuleEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The state of the managed rule. Defaults to Disabled if not specified. - """ - - DISABLED = "Disabled" - class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Name of Nat Gateway SKU. """ @@ -727,25 +721,6 @@ class OutputType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): WORKSPACE = "Workspace" -class OwaspCrsExclusionEntryMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The variable to be excluded. - """ - - REQUEST_HEADER_NAMES = "RequestHeaderNames" - REQUEST_COOKIE_NAMES = "RequestCookieNames" - REQUEST_ARG_NAMES = "RequestArgNames" - -class OwaspCrsExclusionEntrySelectorMatchOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """When matchVariable is a collection, operate on the selector to specify which elements in the - collection this exclusion applies to. - """ - - EQUALS = "Equals" - CONTAINS = "Contains" - STARTS_WITH = "StartsWith" - ENDS_WITH = "EndsWith" - EQUALS_ANY = "EqualsAny" - class PcError(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): INTERNAL_ERROR = "InternalError" @@ -1105,83 +1080,3 @@ class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): POLICY_BASED = "PolicyBased" ROUTE_BASED = "RouteBased" - -class WebApplicationFirewallAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Type of Actions. - """ - - ALLOW = "Allow" - BLOCK = "Block" - LOG = "Log" - -class WebApplicationFirewallEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The state of the policy. - """ - - DISABLED = "Disabled" - ENABLED = "Enabled" - -class WebApplicationFirewallMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Match Variable. - """ - - REMOTE_ADDR = "RemoteAddr" - REQUEST_METHOD = "RequestMethod" - QUERY_STRING = "QueryString" - POST_ARGS = "PostArgs" - REQUEST_URI = "RequestUri" - REQUEST_HEADERS = "RequestHeaders" - REQUEST_BODY = "RequestBody" - REQUEST_COOKIES = "RequestCookies" - -class WebApplicationFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The mode of the policy. - """ - - PREVENTION = "Prevention" - DETECTION = "Detection" - -class WebApplicationFirewallOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The operator to be matched. - """ - - IP_MATCH = "IPMatch" - EQUAL = "Equal" - CONTAINS = "Contains" - LESS_THAN = "LessThan" - GREATER_THAN = "GreaterThan" - LESS_THAN_OR_EQUAL = "LessThanOrEqual" - GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" - BEGINS_WITH = "BeginsWith" - ENDS_WITH = "EndsWith" - REGEX = "Regex" - GEO_MATCH = "GeoMatch" - -class WebApplicationFirewallPolicyResourceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Resource status of the policy. - """ - - CREATING = "Creating" - ENABLING = "Enabling" - ENABLED = "Enabled" - DISABLING = "Disabling" - DISABLED = "Disabled" - DELETING = "Deleting" - -class WebApplicationFirewallRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The rule type. - """ - - MATCH_RULE = "MatchRule" - INVALID = "Invalid" - -class WebApplicationFirewallTransform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Transforms applied before matching. - """ - - LOWERCASE = "Lowercase" - TRIM = "Trim" - URL_DECODE = "UrlDecode" - URL_ENCODE = "UrlEncode" - REMOVE_NULLS = "RemoveNulls" - HTML_ENTITY_DECODE = "HtmlEntityDecode" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/__init__.py index bd9ad96de2ed..b8406ae6988d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/__init__.py @@ -107,7 +107,6 @@ from ._virtual_hub_bgp_connections_operations import VirtualHubBgpConnectionsOperations from ._virtual_hub_ip_configuration_operations import VirtualHubIpConfigurationOperations from ._hub_route_tables_operations import HubRouteTablesOperations -from ._web_application_firewall_policies_operations import WebApplicationFirewallPoliciesOperations __all__ = [ 'ApplicationGatewaysOperations', @@ -211,5 +210,4 @@ 'VirtualHubBgpConnectionsOperations', 'VirtualHubIpConfigurationOperations', 'HubRouteTablesOperations', - 'WebApplicationFirewallPoliciesOperations', ] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py index fec4008c11a4..667b52ec569b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py @@ -681,62 +681,3 @@ def get_next(next_link=None): get_next, extract_data ) list_usage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages'} # type: ignore - - def get_bastion_hosts( - self, - resource_group_name, # type: str - virtual_network_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.BastionHostListResult" - """Get a list of bastion hosts accessible from the given network. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param virtual_network_name: The name of the virtual network. - :type virtual_network_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BastionHostListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.BastionHostListResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" - accept = "application/json" - - # Construct URL - url = self.get_bastion_hosts.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BastionHostListResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_bastion_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/bastionHosts'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py deleted file mode 100644 index e98a9d8ac179..000000000000 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py +++ /dev/null @@ -1,410 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class WebApplicationFirewallPoliciesOperations: - """WebApplicationFirewallPoliciesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.WebApplicationFirewallPolicyListResult"]: - """Lists all of the protection policies within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore - - def list_all( - self, - **kwargs - ) -> AsyncIterable["models.WebApplicationFirewallPolicyListResult"]: - """Gets all the WAF policies in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_all.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore - - async def get( - self, - resource_group_name: str, - policy_name: str, - **kwargs - ) -> "models.WebApplicationFirewallPolicy": - """Retrieve protection policy with specified name within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - policy_name: str, - parameters: "models.WebApplicationFirewallPolicy", - **kwargs - ) -> "models.WebApplicationFirewallPolicy": - """Creates or update policy with specified rule set name within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :param parameters: Policy to be created. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'WebApplicationFirewallPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - policy_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - policy_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes Policy. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._delete_initial( - resource_group_name=resource_group_name, - policy_name=policy_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py deleted file mode 100644 index d05214e7dd76..000000000000 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py +++ /dev/null @@ -1,420 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class WebApplicationFirewallPoliciesOperations(object): - """WebApplicationFirewallPoliciesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.WebApplicationFirewallPolicyListResult"] - """Lists all of the protection policies within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore - - def list_all( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.WebApplicationFirewallPolicyListResult"] - """Gets all the WAF policies in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_all.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore - - def get( - self, - resource_group_name, # type: str - policy_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.WebApplicationFirewallPolicy" - """Retrieve protection policy with specified name within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - policy_name, # type: str - parameters, # type: "models.WebApplicationFirewallPolicy" - **kwargs # type: Any - ): - # type: (...) -> "models.WebApplicationFirewallPolicy" - """Creates or update policy with specified rule set name within a resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :param parameters: Policy to be created. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'WebApplicationFirewallPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - policy_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - policy_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes Policy. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param policy_name: The name of the policy. - :type policy_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - policy_name=policy_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/__init__.py similarity index 100% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/__init__.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/__init__.py diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_configuration.py similarity index 100% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_configuration.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_configuration.py diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json similarity index 93% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json index f4b6288cb036..b7c6b7d9e00e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json @@ -1,6 +1,6 @@ { - "chosen_version": "2020-06-01", - "total_api_version_list": ["2018-10-01", "2020-06-01"], + "chosen_version": "2020-07-01", + "total_api_version_list": ["2018-10-01", "2020-07-01"], "client": { "name": "NetworkManagementClient", "filename": "_network_management_client", @@ -60,6 +60,7 @@ "available_service_aliases": "AvailableServiceAliasesOperations", "azure_firewalls": "AzureFirewallsOperations", "azure_firewall_fqdn_tags": "AzureFirewallFqdnTagsOperations", + "web_categories": "WebCategoriesOperations", "bastion_hosts": "BastionHostsOperations", "custom_ip_prefixes": "CustomIPPrefixesOperations", "ddos_custom_policies": "DdosCustomPoliciesOperations", @@ -160,144 +161,144 @@ "_put_bastion_shareable_link_initial" : { "sync": { "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, bsl_request" }, "begin_put_bastion_shareable_link" : { "sync": { "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": false, "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, bsl_request" }, "_delete_bastion_shareable_link_initial" : { "sync": { "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, bsl_request" }, "begin_delete_bastion_shareable_link" : { "sync": { "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, bsl_request" }, "get_bastion_shareable_link" : { "sync": { "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": false, "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, bsl_request" }, "_get_active_sessions_initial" : { "sync": { "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, bastion_host_name" }, "begin_get_active_sessions" : { "sync": { "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": false, "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "resource_group_name, bastion_host_name" }, "disconnect_active_sessions" : { "sync": { "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": false, "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, bastion_host_name, session_ids" }, "check_dns_name_availability" : { "sync": { "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "location, domain_name_label" }, "supported_security_providers" : { "sync": { "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, virtual_wan_name" }, "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { "sync": { "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { "sync": { "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": true, "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "resource_group_name, virtual_wan_name, vpn_client_params" } diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py similarity index 84% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py index 2b386eac147c..913fb289ce08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py @@ -27,6 +27,7 @@ from .operations import AvailableServiceAliasesOperations from .operations import AzureFirewallsOperations from .operations import AzureFirewallFqdnTagsOperations +from .operations import WebCategoriesOperations from .operations import BastionHostsOperations from .operations import NetworkManagementClientOperationsMixin from .operations import CustomIPPrefixesOperations @@ -130,213 +131,215 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin): """Network Client. :ivar application_gateways: ApplicationGatewaysOperations operations - :vartype application_gateways: azure.mgmt.network.v2020_06_01.operations.ApplicationGatewaysOperations + :vartype application_gateways: azure.mgmt.network.v2020_07_01.operations.ApplicationGatewaysOperations :ivar application_gateway_private_link_resources: ApplicationGatewayPrivateLinkResourcesOperations operations - :vartype application_gateway_private_link_resources: azure.mgmt.network.v2020_06_01.operations.ApplicationGatewayPrivateLinkResourcesOperations + :vartype application_gateway_private_link_resources: azure.mgmt.network.v2020_07_01.operations.ApplicationGatewayPrivateLinkResourcesOperations :ivar application_gateway_private_endpoint_connections: ApplicationGatewayPrivateEndpointConnectionsOperations operations - :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2020_06_01.operations.ApplicationGatewayPrivateEndpointConnectionsOperations + :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2020_07_01.operations.ApplicationGatewayPrivateEndpointConnectionsOperations :ivar application_security_groups: ApplicationSecurityGroupsOperations operations - :vartype application_security_groups: azure.mgmt.network.v2020_06_01.operations.ApplicationSecurityGroupsOperations + :vartype application_security_groups: azure.mgmt.network.v2020_07_01.operations.ApplicationSecurityGroupsOperations :ivar available_delegations: AvailableDelegationsOperations operations - :vartype available_delegations: azure.mgmt.network.v2020_06_01.operations.AvailableDelegationsOperations + :vartype available_delegations: azure.mgmt.network.v2020_07_01.operations.AvailableDelegationsOperations :ivar available_resource_group_delegations: AvailableResourceGroupDelegationsOperations operations - :vartype available_resource_group_delegations: azure.mgmt.network.v2020_06_01.operations.AvailableResourceGroupDelegationsOperations + :vartype available_resource_group_delegations: azure.mgmt.network.v2020_07_01.operations.AvailableResourceGroupDelegationsOperations :ivar available_service_aliases: AvailableServiceAliasesOperations operations - :vartype available_service_aliases: azure.mgmt.network.v2020_06_01.operations.AvailableServiceAliasesOperations + :vartype available_service_aliases: azure.mgmt.network.v2020_07_01.operations.AvailableServiceAliasesOperations :ivar azure_firewalls: AzureFirewallsOperations operations - :vartype azure_firewalls: azure.mgmt.network.v2020_06_01.operations.AzureFirewallsOperations + :vartype azure_firewalls: azure.mgmt.network.v2020_07_01.operations.AzureFirewallsOperations :ivar azure_firewall_fqdn_tags: AzureFirewallFqdnTagsOperations operations - :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2020_06_01.operations.AzureFirewallFqdnTagsOperations + :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2020_07_01.operations.AzureFirewallFqdnTagsOperations + :ivar web_categories: WebCategoriesOperations operations + :vartype web_categories: azure.mgmt.network.v2020_07_01.operations.WebCategoriesOperations :ivar bastion_hosts: BastionHostsOperations operations - :vartype bastion_hosts: azure.mgmt.network.v2020_06_01.operations.BastionHostsOperations + :vartype bastion_hosts: azure.mgmt.network.v2020_07_01.operations.BastionHostsOperations :ivar custom_ip_prefixes: CustomIPPrefixesOperations operations - :vartype custom_ip_prefixes: azure.mgmt.network.v2020_06_01.operations.CustomIPPrefixesOperations + :vartype custom_ip_prefixes: azure.mgmt.network.v2020_07_01.operations.CustomIPPrefixesOperations :ivar ddos_custom_policies: DdosCustomPoliciesOperations operations - :vartype ddos_custom_policies: azure.mgmt.network.v2020_06_01.operations.DdosCustomPoliciesOperations + :vartype ddos_custom_policies: azure.mgmt.network.v2020_07_01.operations.DdosCustomPoliciesOperations :ivar ddos_protection_plans: DdosProtectionPlansOperations operations - :vartype ddos_protection_plans: azure.mgmt.network.v2020_06_01.operations.DdosProtectionPlansOperations + :vartype ddos_protection_plans: azure.mgmt.network.v2020_07_01.operations.DdosProtectionPlansOperations :ivar dscp_configuration: DscpConfigurationOperations operations - :vartype dscp_configuration: azure.mgmt.network.v2020_06_01.operations.DscpConfigurationOperations + :vartype dscp_configuration: azure.mgmt.network.v2020_07_01.operations.DscpConfigurationOperations :ivar available_endpoint_services: AvailableEndpointServicesOperations operations - :vartype available_endpoint_services: azure.mgmt.network.v2020_06_01.operations.AvailableEndpointServicesOperations + :vartype available_endpoint_services: azure.mgmt.network.v2020_07_01.operations.AvailableEndpointServicesOperations :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizationsOperations operations - :vartype express_route_circuit_authorizations: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCircuitAuthorizationsOperations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCircuitAuthorizationsOperations :ivar express_route_circuit_peerings: ExpressRouteCircuitPeeringsOperations operations - :vartype express_route_circuit_peerings: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCircuitPeeringsOperations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCircuitPeeringsOperations :ivar express_route_circuit_connections: ExpressRouteCircuitConnectionsOperations operations - :vartype express_route_circuit_connections: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCircuitConnectionsOperations + :vartype express_route_circuit_connections: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCircuitConnectionsOperations :ivar peer_express_route_circuit_connections: PeerExpressRouteCircuitConnectionsOperations operations - :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2020_06_01.operations.PeerExpressRouteCircuitConnectionsOperations + :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2020_07_01.operations.PeerExpressRouteCircuitConnectionsOperations :ivar express_route_circuits: ExpressRouteCircuitsOperations operations - :vartype express_route_circuits: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCircuitsOperations + :vartype express_route_circuits: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCircuitsOperations :ivar express_route_service_providers: ExpressRouteServiceProvidersOperations operations - :vartype express_route_service_providers: azure.mgmt.network.v2020_06_01.operations.ExpressRouteServiceProvidersOperations + :vartype express_route_service_providers: azure.mgmt.network.v2020_07_01.operations.ExpressRouteServiceProvidersOperations :ivar express_route_cross_connections: ExpressRouteCrossConnectionsOperations operations - :vartype express_route_cross_connections: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCrossConnectionsOperations + :vartype express_route_cross_connections: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCrossConnectionsOperations :ivar express_route_cross_connection_peerings: ExpressRouteCrossConnectionPeeringsOperations operations - :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2020_06_01.operations.ExpressRouteCrossConnectionPeeringsOperations + :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2020_07_01.operations.ExpressRouteCrossConnectionPeeringsOperations :ivar express_route_ports_locations: ExpressRoutePortsLocationsOperations operations - :vartype express_route_ports_locations: azure.mgmt.network.v2020_06_01.operations.ExpressRoutePortsLocationsOperations + :vartype express_route_ports_locations: azure.mgmt.network.v2020_07_01.operations.ExpressRoutePortsLocationsOperations :ivar express_route_ports: ExpressRoutePortsOperations operations - :vartype express_route_ports: azure.mgmt.network.v2020_06_01.operations.ExpressRoutePortsOperations + :vartype express_route_ports: azure.mgmt.network.v2020_07_01.operations.ExpressRoutePortsOperations :ivar express_route_links: ExpressRouteLinksOperations operations - :vartype express_route_links: azure.mgmt.network.v2020_06_01.operations.ExpressRouteLinksOperations + :vartype express_route_links: azure.mgmt.network.v2020_07_01.operations.ExpressRouteLinksOperations :ivar firewall_policies: FirewallPoliciesOperations operations - :vartype firewall_policies: azure.mgmt.network.v2020_06_01.operations.FirewallPoliciesOperations + :vartype firewall_policies: azure.mgmt.network.v2020_07_01.operations.FirewallPoliciesOperations :ivar firewall_policy_rule_collection_groups: FirewallPolicyRuleCollectionGroupsOperations operations - :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2020_06_01.operations.FirewallPolicyRuleCollectionGroupsOperations + :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2020_07_01.operations.FirewallPolicyRuleCollectionGroupsOperations :ivar ip_allocations: IpAllocationsOperations operations - :vartype ip_allocations: azure.mgmt.network.v2020_06_01.operations.IpAllocationsOperations + :vartype ip_allocations: azure.mgmt.network.v2020_07_01.operations.IpAllocationsOperations :ivar ip_groups: IpGroupsOperations operations - :vartype ip_groups: azure.mgmt.network.v2020_06_01.operations.IpGroupsOperations + :vartype ip_groups: azure.mgmt.network.v2020_07_01.operations.IpGroupsOperations :ivar load_balancers: LoadBalancersOperations operations - :vartype load_balancers: azure.mgmt.network.v2020_06_01.operations.LoadBalancersOperations + :vartype load_balancers: azure.mgmt.network.v2020_07_01.operations.LoadBalancersOperations :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPoolsOperations operations - :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2020_06_01.operations.LoadBalancerBackendAddressPoolsOperations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2020_07_01.operations.LoadBalancerBackendAddressPoolsOperations :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurationsOperations operations - :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2020_06_01.operations.LoadBalancerFrontendIPConfigurationsOperations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2020_07_01.operations.LoadBalancerFrontendIPConfigurationsOperations :ivar inbound_nat_rules: InboundNatRulesOperations operations - :vartype inbound_nat_rules: azure.mgmt.network.v2020_06_01.operations.InboundNatRulesOperations + :vartype inbound_nat_rules: azure.mgmt.network.v2020_07_01.operations.InboundNatRulesOperations :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRulesOperations operations - :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2020_06_01.operations.LoadBalancerLoadBalancingRulesOperations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2020_07_01.operations.LoadBalancerLoadBalancingRulesOperations :ivar load_balancer_outbound_rules: LoadBalancerOutboundRulesOperations operations - :vartype load_balancer_outbound_rules: azure.mgmt.network.v2020_06_01.operations.LoadBalancerOutboundRulesOperations + :vartype load_balancer_outbound_rules: azure.mgmt.network.v2020_07_01.operations.LoadBalancerOutboundRulesOperations :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfacesOperations operations - :vartype load_balancer_network_interfaces: azure.mgmt.network.v2020_06_01.operations.LoadBalancerNetworkInterfacesOperations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2020_07_01.operations.LoadBalancerNetworkInterfacesOperations :ivar load_balancer_probes: LoadBalancerProbesOperations operations - :vartype load_balancer_probes: azure.mgmt.network.v2020_06_01.operations.LoadBalancerProbesOperations + :vartype load_balancer_probes: azure.mgmt.network.v2020_07_01.operations.LoadBalancerProbesOperations :ivar nat_gateways: NatGatewaysOperations operations - :vartype nat_gateways: azure.mgmt.network.v2020_06_01.operations.NatGatewaysOperations + :vartype nat_gateways: azure.mgmt.network.v2020_07_01.operations.NatGatewaysOperations :ivar network_interfaces: NetworkInterfacesOperations operations - :vartype network_interfaces: azure.mgmt.network.v2020_06_01.operations.NetworkInterfacesOperations + :vartype network_interfaces: azure.mgmt.network.v2020_07_01.operations.NetworkInterfacesOperations :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurationsOperations operations - :vartype network_interface_ip_configurations: azure.mgmt.network.v2020_06_01.operations.NetworkInterfaceIPConfigurationsOperations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2020_07_01.operations.NetworkInterfaceIPConfigurationsOperations :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancersOperations operations - :vartype network_interface_load_balancers: azure.mgmt.network.v2020_06_01.operations.NetworkInterfaceLoadBalancersOperations + :vartype network_interface_load_balancers: azure.mgmt.network.v2020_07_01.operations.NetworkInterfaceLoadBalancersOperations :ivar network_interface_tap_configurations: NetworkInterfaceTapConfigurationsOperations operations - :vartype network_interface_tap_configurations: azure.mgmt.network.v2020_06_01.operations.NetworkInterfaceTapConfigurationsOperations + :vartype network_interface_tap_configurations: azure.mgmt.network.v2020_07_01.operations.NetworkInterfaceTapConfigurationsOperations :ivar network_profiles: NetworkProfilesOperations operations - :vartype network_profiles: azure.mgmt.network.v2020_06_01.operations.NetworkProfilesOperations + :vartype network_profiles: azure.mgmt.network.v2020_07_01.operations.NetworkProfilesOperations :ivar network_security_groups: NetworkSecurityGroupsOperations operations - :vartype network_security_groups: azure.mgmt.network.v2020_06_01.operations.NetworkSecurityGroupsOperations + :vartype network_security_groups: azure.mgmt.network.v2020_07_01.operations.NetworkSecurityGroupsOperations :ivar security_rules: SecurityRulesOperations operations - :vartype security_rules: azure.mgmt.network.v2020_06_01.operations.SecurityRulesOperations + :vartype security_rules: azure.mgmt.network.v2020_07_01.operations.SecurityRulesOperations :ivar default_security_rules: DefaultSecurityRulesOperations operations - :vartype default_security_rules: azure.mgmt.network.v2020_06_01.operations.DefaultSecurityRulesOperations + :vartype default_security_rules: azure.mgmt.network.v2020_07_01.operations.DefaultSecurityRulesOperations :ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations - :vartype network_virtual_appliances: azure.mgmt.network.v2020_06_01.operations.NetworkVirtualAppliancesOperations + :vartype network_virtual_appliances: azure.mgmt.network.v2020_07_01.operations.NetworkVirtualAppliancesOperations :ivar virtual_appliance_sites: VirtualApplianceSitesOperations operations - :vartype virtual_appliance_sites: azure.mgmt.network.v2020_06_01.operations.VirtualApplianceSitesOperations + :vartype virtual_appliance_sites: azure.mgmt.network.v2020_07_01.operations.VirtualApplianceSitesOperations :ivar virtual_appliance_skus: VirtualApplianceSkusOperations operations - :vartype virtual_appliance_skus: azure.mgmt.network.v2020_06_01.operations.VirtualApplianceSkusOperations + :vartype virtual_appliance_skus: azure.mgmt.network.v2020_07_01.operations.VirtualApplianceSkusOperations :ivar inbound_security_rule: InboundSecurityRuleOperations operations - :vartype inbound_security_rule: azure.mgmt.network.v2020_06_01.operations.InboundSecurityRuleOperations + :vartype inbound_security_rule: azure.mgmt.network.v2020_07_01.operations.InboundSecurityRuleOperations :ivar network_watchers: NetworkWatchersOperations operations - :vartype network_watchers: azure.mgmt.network.v2020_06_01.operations.NetworkWatchersOperations + :vartype network_watchers: azure.mgmt.network.v2020_07_01.operations.NetworkWatchersOperations :ivar packet_captures: PacketCapturesOperations operations - :vartype packet_captures: azure.mgmt.network.v2020_06_01.operations.PacketCapturesOperations + :vartype packet_captures: azure.mgmt.network.v2020_07_01.operations.PacketCapturesOperations :ivar connection_monitors: ConnectionMonitorsOperations operations - :vartype connection_monitors: azure.mgmt.network.v2020_06_01.operations.ConnectionMonitorsOperations + :vartype connection_monitors: azure.mgmt.network.v2020_07_01.operations.ConnectionMonitorsOperations :ivar flow_logs: FlowLogsOperations operations - :vartype flow_logs: azure.mgmt.network.v2020_06_01.operations.FlowLogsOperations + :vartype flow_logs: azure.mgmt.network.v2020_07_01.operations.FlowLogsOperations :ivar operations: Operations operations - :vartype operations: azure.mgmt.network.v2020_06_01.operations.Operations + :vartype operations: azure.mgmt.network.v2020_07_01.operations.Operations :ivar private_endpoints: PrivateEndpointsOperations operations - :vartype private_endpoints: azure.mgmt.network.v2020_06_01.operations.PrivateEndpointsOperations + :vartype private_endpoints: azure.mgmt.network.v2020_07_01.operations.PrivateEndpointsOperations :ivar available_private_endpoint_types: AvailablePrivateEndpointTypesOperations operations - :vartype available_private_endpoint_types: azure.mgmt.network.v2020_06_01.operations.AvailablePrivateEndpointTypesOperations + :vartype available_private_endpoint_types: azure.mgmt.network.v2020_07_01.operations.AvailablePrivateEndpointTypesOperations :ivar private_dns_zone_groups: PrivateDnsZoneGroupsOperations operations - :vartype private_dns_zone_groups: azure.mgmt.network.v2020_06_01.operations.PrivateDnsZoneGroupsOperations + :vartype private_dns_zone_groups: azure.mgmt.network.v2020_07_01.operations.PrivateDnsZoneGroupsOperations :ivar private_link_services: PrivateLinkServicesOperations operations - :vartype private_link_services: azure.mgmt.network.v2020_06_01.operations.PrivateLinkServicesOperations + :vartype private_link_services: azure.mgmt.network.v2020_07_01.operations.PrivateLinkServicesOperations :ivar public_ip_addresses: PublicIPAddressesOperations operations - :vartype public_ip_addresses: azure.mgmt.network.v2020_06_01.operations.PublicIPAddressesOperations + :vartype public_ip_addresses: azure.mgmt.network.v2020_07_01.operations.PublicIPAddressesOperations :ivar public_ip_prefixes: PublicIPPrefixesOperations operations - :vartype public_ip_prefixes: azure.mgmt.network.v2020_06_01.operations.PublicIPPrefixesOperations + :vartype public_ip_prefixes: azure.mgmt.network.v2020_07_01.operations.PublicIPPrefixesOperations :ivar route_filters: RouteFiltersOperations operations - :vartype route_filters: azure.mgmt.network.v2020_06_01.operations.RouteFiltersOperations + :vartype route_filters: azure.mgmt.network.v2020_07_01.operations.RouteFiltersOperations :ivar route_filter_rules: RouteFilterRulesOperations operations - :vartype route_filter_rules: azure.mgmt.network.v2020_06_01.operations.RouteFilterRulesOperations + :vartype route_filter_rules: azure.mgmt.network.v2020_07_01.operations.RouteFilterRulesOperations :ivar route_tables: RouteTablesOperations operations - :vartype route_tables: azure.mgmt.network.v2020_06_01.operations.RouteTablesOperations + :vartype route_tables: azure.mgmt.network.v2020_07_01.operations.RouteTablesOperations :ivar routes: RoutesOperations operations - :vartype routes: azure.mgmt.network.v2020_06_01.operations.RoutesOperations + :vartype routes: azure.mgmt.network.v2020_07_01.operations.RoutesOperations :ivar security_partner_providers: SecurityPartnerProvidersOperations operations - :vartype security_partner_providers: azure.mgmt.network.v2020_06_01.operations.SecurityPartnerProvidersOperations + :vartype security_partner_providers: azure.mgmt.network.v2020_07_01.operations.SecurityPartnerProvidersOperations :ivar bgp_service_communities: BgpServiceCommunitiesOperations operations - :vartype bgp_service_communities: azure.mgmt.network.v2020_06_01.operations.BgpServiceCommunitiesOperations + :vartype bgp_service_communities: azure.mgmt.network.v2020_07_01.operations.BgpServiceCommunitiesOperations :ivar service_endpoint_policies: ServiceEndpointPoliciesOperations operations - :vartype service_endpoint_policies: azure.mgmt.network.v2020_06_01.operations.ServiceEndpointPoliciesOperations + :vartype service_endpoint_policies: azure.mgmt.network.v2020_07_01.operations.ServiceEndpointPoliciesOperations :ivar service_endpoint_policy_definitions: ServiceEndpointPolicyDefinitionsOperations operations - :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2020_06_01.operations.ServiceEndpointPolicyDefinitionsOperations + :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2020_07_01.operations.ServiceEndpointPolicyDefinitionsOperations :ivar service_tags: ServiceTagsOperations operations - :vartype service_tags: azure.mgmt.network.v2020_06_01.operations.ServiceTagsOperations + :vartype service_tags: azure.mgmt.network.v2020_07_01.operations.ServiceTagsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.network.v2020_06_01.operations.UsagesOperations + :vartype usages: azure.mgmt.network.v2020_07_01.operations.UsagesOperations :ivar virtual_networks: VirtualNetworksOperations operations - :vartype virtual_networks: azure.mgmt.network.v2020_06_01.operations.VirtualNetworksOperations + :vartype virtual_networks: azure.mgmt.network.v2020_07_01.operations.VirtualNetworksOperations :ivar subnets: SubnetsOperations operations - :vartype subnets: azure.mgmt.network.v2020_06_01.operations.SubnetsOperations + :vartype subnets: azure.mgmt.network.v2020_07_01.operations.SubnetsOperations :ivar resource_navigation_links: ResourceNavigationLinksOperations operations - :vartype resource_navigation_links: azure.mgmt.network.v2020_06_01.operations.ResourceNavigationLinksOperations + :vartype resource_navigation_links: azure.mgmt.network.v2020_07_01.operations.ResourceNavigationLinksOperations :ivar service_association_links: ServiceAssociationLinksOperations operations - :vartype service_association_links: azure.mgmt.network.v2020_06_01.operations.ServiceAssociationLinksOperations + :vartype service_association_links: azure.mgmt.network.v2020_07_01.operations.ServiceAssociationLinksOperations :ivar virtual_network_peerings: VirtualNetworkPeeringsOperations operations - :vartype virtual_network_peerings: azure.mgmt.network.v2020_06_01.operations.VirtualNetworkPeeringsOperations + :vartype virtual_network_peerings: azure.mgmt.network.v2020_07_01.operations.VirtualNetworkPeeringsOperations :ivar virtual_network_gateways: VirtualNetworkGatewaysOperations operations - :vartype virtual_network_gateways: azure.mgmt.network.v2020_06_01.operations.VirtualNetworkGatewaysOperations + :vartype virtual_network_gateways: azure.mgmt.network.v2020_07_01.operations.VirtualNetworkGatewaysOperations :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnectionsOperations operations - :vartype virtual_network_gateway_connections: azure.mgmt.network.v2020_06_01.operations.VirtualNetworkGatewayConnectionsOperations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2020_07_01.operations.VirtualNetworkGatewayConnectionsOperations :ivar local_network_gateways: LocalNetworkGatewaysOperations operations - :vartype local_network_gateways: azure.mgmt.network.v2020_06_01.operations.LocalNetworkGatewaysOperations + :vartype local_network_gateways: azure.mgmt.network.v2020_07_01.operations.LocalNetworkGatewaysOperations :ivar virtual_network_taps: VirtualNetworkTapsOperations operations - :vartype virtual_network_taps: azure.mgmt.network.v2020_06_01.operations.VirtualNetworkTapsOperations + :vartype virtual_network_taps: azure.mgmt.network.v2020_07_01.operations.VirtualNetworkTapsOperations :ivar virtual_routers: VirtualRoutersOperations operations - :vartype virtual_routers: azure.mgmt.network.v2020_06_01.operations.VirtualRoutersOperations + :vartype virtual_routers: azure.mgmt.network.v2020_07_01.operations.VirtualRoutersOperations :ivar virtual_router_peerings: VirtualRouterPeeringsOperations operations - :vartype virtual_router_peerings: azure.mgmt.network.v2020_06_01.operations.VirtualRouterPeeringsOperations + :vartype virtual_router_peerings: azure.mgmt.network.v2020_07_01.operations.VirtualRouterPeeringsOperations :ivar virtual_wans: VirtualWansOperations operations - :vartype virtual_wans: azure.mgmt.network.v2020_06_01.operations.VirtualWansOperations + :vartype virtual_wans: azure.mgmt.network.v2020_07_01.operations.VirtualWansOperations :ivar vpn_sites: VpnSitesOperations operations - :vartype vpn_sites: azure.mgmt.network.v2020_06_01.operations.VpnSitesOperations + :vartype vpn_sites: azure.mgmt.network.v2020_07_01.operations.VpnSitesOperations :ivar vpn_site_links: VpnSiteLinksOperations operations - :vartype vpn_site_links: azure.mgmt.network.v2020_06_01.operations.VpnSiteLinksOperations + :vartype vpn_site_links: azure.mgmt.network.v2020_07_01.operations.VpnSiteLinksOperations :ivar vpn_sites_configuration: VpnSitesConfigurationOperations operations - :vartype vpn_sites_configuration: azure.mgmt.network.v2020_06_01.operations.VpnSitesConfigurationOperations + :vartype vpn_sites_configuration: azure.mgmt.network.v2020_07_01.operations.VpnSitesConfigurationOperations :ivar vpn_server_configurations: VpnServerConfigurationsOperations operations - :vartype vpn_server_configurations: azure.mgmt.network.v2020_06_01.operations.VpnServerConfigurationsOperations + :vartype vpn_server_configurations: azure.mgmt.network.v2020_07_01.operations.VpnServerConfigurationsOperations :ivar virtual_hubs: VirtualHubsOperations operations - :vartype virtual_hubs: azure.mgmt.network.v2020_06_01.operations.VirtualHubsOperations + :vartype virtual_hubs: azure.mgmt.network.v2020_07_01.operations.VirtualHubsOperations :ivar hub_virtual_network_connections: HubVirtualNetworkConnectionsOperations operations - :vartype hub_virtual_network_connections: azure.mgmt.network.v2020_06_01.operations.HubVirtualNetworkConnectionsOperations + :vartype hub_virtual_network_connections: azure.mgmt.network.v2020_07_01.operations.HubVirtualNetworkConnectionsOperations :ivar vpn_gateways: VpnGatewaysOperations operations - :vartype vpn_gateways: azure.mgmt.network.v2020_06_01.operations.VpnGatewaysOperations + :vartype vpn_gateways: azure.mgmt.network.v2020_07_01.operations.VpnGatewaysOperations :ivar vpn_connections: VpnConnectionsOperations operations - :vartype vpn_connections: azure.mgmt.network.v2020_06_01.operations.VpnConnectionsOperations + :vartype vpn_connections: azure.mgmt.network.v2020_07_01.operations.VpnConnectionsOperations :ivar vpn_site_link_connections: VpnSiteLinkConnectionsOperations operations - :vartype vpn_site_link_connections: azure.mgmt.network.v2020_06_01.operations.VpnSiteLinkConnectionsOperations + :vartype vpn_site_link_connections: azure.mgmt.network.v2020_07_01.operations.VpnSiteLinkConnectionsOperations :ivar vpn_link_connections: VpnLinkConnectionsOperations operations - :vartype vpn_link_connections: azure.mgmt.network.v2020_06_01.operations.VpnLinkConnectionsOperations + :vartype vpn_link_connections: azure.mgmt.network.v2020_07_01.operations.VpnLinkConnectionsOperations :ivar p2_svpn_gateways: P2SVpnGatewaysOperations operations - :vartype p2_svpn_gateways: azure.mgmt.network.v2020_06_01.operations.P2SVpnGatewaysOperations + :vartype p2_svpn_gateways: azure.mgmt.network.v2020_07_01.operations.P2SVpnGatewaysOperations :ivar vpn_server_configurations_associated_with_virtual_wan: VpnServerConfigurationsAssociatedWithVirtualWanOperations operations - :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2020_06_01.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations + :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2020_07_01.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations :ivar virtual_hub_route_table_v2_s: VirtualHubRouteTableV2SOperations operations - :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2020_06_01.operations.VirtualHubRouteTableV2SOperations + :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2020_07_01.operations.VirtualHubRouteTableV2SOperations :ivar express_route_gateways: ExpressRouteGatewaysOperations operations - :vartype express_route_gateways: azure.mgmt.network.v2020_06_01.operations.ExpressRouteGatewaysOperations + :vartype express_route_gateways: azure.mgmt.network.v2020_07_01.operations.ExpressRouteGatewaysOperations :ivar express_route_connections: ExpressRouteConnectionsOperations operations - :vartype express_route_connections: azure.mgmt.network.v2020_06_01.operations.ExpressRouteConnectionsOperations + :vartype express_route_connections: azure.mgmt.network.v2020_07_01.operations.ExpressRouteConnectionsOperations :ivar virtual_hub_bgp_connection: VirtualHubBgpConnectionOperations operations - :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2020_06_01.operations.VirtualHubBgpConnectionOperations + :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2020_07_01.operations.VirtualHubBgpConnectionOperations :ivar virtual_hub_bgp_connections: VirtualHubBgpConnectionsOperations operations - :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2020_06_01.operations.VirtualHubBgpConnectionsOperations + :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2020_07_01.operations.VirtualHubBgpConnectionsOperations :ivar virtual_hub_ip_configuration: VirtualHubIpConfigurationOperations operations - :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_06_01.operations.VirtualHubIpConfigurationOperations + :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_07_01.operations.VirtualHubIpConfigurationOperations :ivar hub_route_tables: HubRouteTablesOperations operations - :vartype hub_route_tables: azure.mgmt.network.v2020_06_01.operations.HubRouteTablesOperations + :vartype hub_route_tables: azure.mgmt.network.v2020_07_01.operations.HubRouteTablesOperations :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations - :vartype web_application_firewall_policies: azure.mgmt.network.v2020_06_01.operations.WebApplicationFirewallPoliciesOperations + :vartype web_application_firewall_policies: azure.mgmt.network.v2020_07_01.operations.WebApplicationFirewallPoliciesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -360,7 +363,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -381,6 +383,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( self._client, self._config, self._serialize, self._deserialize) + self.web_categories = WebCategoriesOperations( + self._client, self._config, self._serialize, self._deserialize) self.bastion_hosts = BastionHostsOperations( self._client, self._config, self._serialize, self._deserialize) self.custom_ip_prefixes = CustomIPPrefixesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/__init__.py similarity index 100% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/__init__.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/__init__.py diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_configuration.py similarity index 100% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_configuration.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_configuration.py diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py similarity index 84% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py index a6cb69d079bc..408d7633730b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py @@ -25,6 +25,7 @@ from .operations import AvailableServiceAliasesOperations from .operations import AzureFirewallsOperations from .operations import AzureFirewallFqdnTagsOperations +from .operations import WebCategoriesOperations from .operations import BastionHostsOperations from .operations import NetworkManagementClientOperationsMixin from .operations import CustomIPPrefixesOperations @@ -128,213 +129,215 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin): """Network Client. :ivar application_gateways: ApplicationGatewaysOperations operations - :vartype application_gateways: azure.mgmt.network.v2020_06_01.aio.operations.ApplicationGatewaysOperations + :vartype application_gateways: azure.mgmt.network.v2020_07_01.aio.operations.ApplicationGatewaysOperations :ivar application_gateway_private_link_resources: ApplicationGatewayPrivateLinkResourcesOperations operations - :vartype application_gateway_private_link_resources: azure.mgmt.network.v2020_06_01.aio.operations.ApplicationGatewayPrivateLinkResourcesOperations + :vartype application_gateway_private_link_resources: azure.mgmt.network.v2020_07_01.aio.operations.ApplicationGatewayPrivateLinkResourcesOperations :ivar application_gateway_private_endpoint_connections: ApplicationGatewayPrivateEndpointConnectionsOperations operations - :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2020_06_01.aio.operations.ApplicationGatewayPrivateEndpointConnectionsOperations + :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2020_07_01.aio.operations.ApplicationGatewayPrivateEndpointConnectionsOperations :ivar application_security_groups: ApplicationSecurityGroupsOperations operations - :vartype application_security_groups: azure.mgmt.network.v2020_06_01.aio.operations.ApplicationSecurityGroupsOperations + :vartype application_security_groups: azure.mgmt.network.v2020_07_01.aio.operations.ApplicationSecurityGroupsOperations :ivar available_delegations: AvailableDelegationsOperations operations - :vartype available_delegations: azure.mgmt.network.v2020_06_01.aio.operations.AvailableDelegationsOperations + :vartype available_delegations: azure.mgmt.network.v2020_07_01.aio.operations.AvailableDelegationsOperations :ivar available_resource_group_delegations: AvailableResourceGroupDelegationsOperations operations - :vartype available_resource_group_delegations: azure.mgmt.network.v2020_06_01.aio.operations.AvailableResourceGroupDelegationsOperations + :vartype available_resource_group_delegations: azure.mgmt.network.v2020_07_01.aio.operations.AvailableResourceGroupDelegationsOperations :ivar available_service_aliases: AvailableServiceAliasesOperations operations - :vartype available_service_aliases: azure.mgmt.network.v2020_06_01.aio.operations.AvailableServiceAliasesOperations + :vartype available_service_aliases: azure.mgmt.network.v2020_07_01.aio.operations.AvailableServiceAliasesOperations :ivar azure_firewalls: AzureFirewallsOperations operations - :vartype azure_firewalls: azure.mgmt.network.v2020_06_01.aio.operations.AzureFirewallsOperations + :vartype azure_firewalls: azure.mgmt.network.v2020_07_01.aio.operations.AzureFirewallsOperations :ivar azure_firewall_fqdn_tags: AzureFirewallFqdnTagsOperations operations - :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2020_06_01.aio.operations.AzureFirewallFqdnTagsOperations + :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2020_07_01.aio.operations.AzureFirewallFqdnTagsOperations + :ivar web_categories: WebCategoriesOperations operations + :vartype web_categories: azure.mgmt.network.v2020_07_01.aio.operations.WebCategoriesOperations :ivar bastion_hosts: BastionHostsOperations operations - :vartype bastion_hosts: azure.mgmt.network.v2020_06_01.aio.operations.BastionHostsOperations + :vartype bastion_hosts: azure.mgmt.network.v2020_07_01.aio.operations.BastionHostsOperations :ivar custom_ip_prefixes: CustomIPPrefixesOperations operations - :vartype custom_ip_prefixes: azure.mgmt.network.v2020_06_01.aio.operations.CustomIPPrefixesOperations + :vartype custom_ip_prefixes: azure.mgmt.network.v2020_07_01.aio.operations.CustomIPPrefixesOperations :ivar ddos_custom_policies: DdosCustomPoliciesOperations operations - :vartype ddos_custom_policies: azure.mgmt.network.v2020_06_01.aio.operations.DdosCustomPoliciesOperations + :vartype ddos_custom_policies: azure.mgmt.network.v2020_07_01.aio.operations.DdosCustomPoliciesOperations :ivar ddos_protection_plans: DdosProtectionPlansOperations operations - :vartype ddos_protection_plans: azure.mgmt.network.v2020_06_01.aio.operations.DdosProtectionPlansOperations + :vartype ddos_protection_plans: azure.mgmt.network.v2020_07_01.aio.operations.DdosProtectionPlansOperations :ivar dscp_configuration: DscpConfigurationOperations operations - :vartype dscp_configuration: azure.mgmt.network.v2020_06_01.aio.operations.DscpConfigurationOperations + :vartype dscp_configuration: azure.mgmt.network.v2020_07_01.aio.operations.DscpConfigurationOperations :ivar available_endpoint_services: AvailableEndpointServicesOperations operations - :vartype available_endpoint_services: azure.mgmt.network.v2020_06_01.aio.operations.AvailableEndpointServicesOperations + :vartype available_endpoint_services: azure.mgmt.network.v2020_07_01.aio.operations.AvailableEndpointServicesOperations :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizationsOperations operations - :vartype express_route_circuit_authorizations: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCircuitAuthorizationsOperations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCircuitAuthorizationsOperations :ivar express_route_circuit_peerings: ExpressRouteCircuitPeeringsOperations operations - :vartype express_route_circuit_peerings: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCircuitPeeringsOperations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCircuitPeeringsOperations :ivar express_route_circuit_connections: ExpressRouteCircuitConnectionsOperations operations - :vartype express_route_circuit_connections: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCircuitConnectionsOperations + :vartype express_route_circuit_connections: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCircuitConnectionsOperations :ivar peer_express_route_circuit_connections: PeerExpressRouteCircuitConnectionsOperations operations - :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2020_06_01.aio.operations.PeerExpressRouteCircuitConnectionsOperations + :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2020_07_01.aio.operations.PeerExpressRouteCircuitConnectionsOperations :ivar express_route_circuits: ExpressRouteCircuitsOperations operations - :vartype express_route_circuits: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCircuitsOperations + :vartype express_route_circuits: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCircuitsOperations :ivar express_route_service_providers: ExpressRouteServiceProvidersOperations operations - :vartype express_route_service_providers: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteServiceProvidersOperations + :vartype express_route_service_providers: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteServiceProvidersOperations :ivar express_route_cross_connections: ExpressRouteCrossConnectionsOperations operations - :vartype express_route_cross_connections: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCrossConnectionsOperations + :vartype express_route_cross_connections: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCrossConnectionsOperations :ivar express_route_cross_connection_peerings: ExpressRouteCrossConnectionPeeringsOperations operations - :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteCrossConnectionPeeringsOperations + :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteCrossConnectionPeeringsOperations :ivar express_route_ports_locations: ExpressRoutePortsLocationsOperations operations - :vartype express_route_ports_locations: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRoutePortsLocationsOperations + :vartype express_route_ports_locations: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRoutePortsLocationsOperations :ivar express_route_ports: ExpressRoutePortsOperations operations - :vartype express_route_ports: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRoutePortsOperations + :vartype express_route_ports: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRoutePortsOperations :ivar express_route_links: ExpressRouteLinksOperations operations - :vartype express_route_links: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteLinksOperations + :vartype express_route_links: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteLinksOperations :ivar firewall_policies: FirewallPoliciesOperations operations - :vartype firewall_policies: azure.mgmt.network.v2020_06_01.aio.operations.FirewallPoliciesOperations + :vartype firewall_policies: azure.mgmt.network.v2020_07_01.aio.operations.FirewallPoliciesOperations :ivar firewall_policy_rule_collection_groups: FirewallPolicyRuleCollectionGroupsOperations operations - :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2020_06_01.aio.operations.FirewallPolicyRuleCollectionGroupsOperations + :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2020_07_01.aio.operations.FirewallPolicyRuleCollectionGroupsOperations :ivar ip_allocations: IpAllocationsOperations operations - :vartype ip_allocations: azure.mgmt.network.v2020_06_01.aio.operations.IpAllocationsOperations + :vartype ip_allocations: azure.mgmt.network.v2020_07_01.aio.operations.IpAllocationsOperations :ivar ip_groups: IpGroupsOperations operations - :vartype ip_groups: azure.mgmt.network.v2020_06_01.aio.operations.IpGroupsOperations + :vartype ip_groups: azure.mgmt.network.v2020_07_01.aio.operations.IpGroupsOperations :ivar load_balancers: LoadBalancersOperations operations - :vartype load_balancers: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancersOperations + :vartype load_balancers: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancersOperations :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPoolsOperations operations - :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerBackendAddressPoolsOperations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerBackendAddressPoolsOperations :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurationsOperations operations - :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerFrontendIPConfigurationsOperations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerFrontendIPConfigurationsOperations :ivar inbound_nat_rules: InboundNatRulesOperations operations - :vartype inbound_nat_rules: azure.mgmt.network.v2020_06_01.aio.operations.InboundNatRulesOperations + :vartype inbound_nat_rules: azure.mgmt.network.v2020_07_01.aio.operations.InboundNatRulesOperations :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRulesOperations operations - :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerLoadBalancingRulesOperations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerLoadBalancingRulesOperations :ivar load_balancer_outbound_rules: LoadBalancerOutboundRulesOperations operations - :vartype load_balancer_outbound_rules: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerOutboundRulesOperations + :vartype load_balancer_outbound_rules: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerOutboundRulesOperations :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfacesOperations operations - :vartype load_balancer_network_interfaces: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerNetworkInterfacesOperations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerNetworkInterfacesOperations :ivar load_balancer_probes: LoadBalancerProbesOperations operations - :vartype load_balancer_probes: azure.mgmt.network.v2020_06_01.aio.operations.LoadBalancerProbesOperations + :vartype load_balancer_probes: azure.mgmt.network.v2020_07_01.aio.operations.LoadBalancerProbesOperations :ivar nat_gateways: NatGatewaysOperations operations - :vartype nat_gateways: azure.mgmt.network.v2020_06_01.aio.operations.NatGatewaysOperations + :vartype nat_gateways: azure.mgmt.network.v2020_07_01.aio.operations.NatGatewaysOperations :ivar network_interfaces: NetworkInterfacesOperations operations - :vartype network_interfaces: azure.mgmt.network.v2020_06_01.aio.operations.NetworkInterfacesOperations + :vartype network_interfaces: azure.mgmt.network.v2020_07_01.aio.operations.NetworkInterfacesOperations :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurationsOperations operations - :vartype network_interface_ip_configurations: azure.mgmt.network.v2020_06_01.aio.operations.NetworkInterfaceIPConfigurationsOperations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2020_07_01.aio.operations.NetworkInterfaceIPConfigurationsOperations :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancersOperations operations - :vartype network_interface_load_balancers: azure.mgmt.network.v2020_06_01.aio.operations.NetworkInterfaceLoadBalancersOperations + :vartype network_interface_load_balancers: azure.mgmt.network.v2020_07_01.aio.operations.NetworkInterfaceLoadBalancersOperations :ivar network_interface_tap_configurations: NetworkInterfaceTapConfigurationsOperations operations - :vartype network_interface_tap_configurations: azure.mgmt.network.v2020_06_01.aio.operations.NetworkInterfaceTapConfigurationsOperations + :vartype network_interface_tap_configurations: azure.mgmt.network.v2020_07_01.aio.operations.NetworkInterfaceTapConfigurationsOperations :ivar network_profiles: NetworkProfilesOperations operations - :vartype network_profiles: azure.mgmt.network.v2020_06_01.aio.operations.NetworkProfilesOperations + :vartype network_profiles: azure.mgmt.network.v2020_07_01.aio.operations.NetworkProfilesOperations :ivar network_security_groups: NetworkSecurityGroupsOperations operations - :vartype network_security_groups: azure.mgmt.network.v2020_06_01.aio.operations.NetworkSecurityGroupsOperations + :vartype network_security_groups: azure.mgmt.network.v2020_07_01.aio.operations.NetworkSecurityGroupsOperations :ivar security_rules: SecurityRulesOperations operations - :vartype security_rules: azure.mgmt.network.v2020_06_01.aio.operations.SecurityRulesOperations + :vartype security_rules: azure.mgmt.network.v2020_07_01.aio.operations.SecurityRulesOperations :ivar default_security_rules: DefaultSecurityRulesOperations operations - :vartype default_security_rules: azure.mgmt.network.v2020_06_01.aio.operations.DefaultSecurityRulesOperations + :vartype default_security_rules: azure.mgmt.network.v2020_07_01.aio.operations.DefaultSecurityRulesOperations :ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations - :vartype network_virtual_appliances: azure.mgmt.network.v2020_06_01.aio.operations.NetworkVirtualAppliancesOperations + :vartype network_virtual_appliances: azure.mgmt.network.v2020_07_01.aio.operations.NetworkVirtualAppliancesOperations :ivar virtual_appliance_sites: VirtualApplianceSitesOperations operations - :vartype virtual_appliance_sites: azure.mgmt.network.v2020_06_01.aio.operations.VirtualApplianceSitesOperations + :vartype virtual_appliance_sites: azure.mgmt.network.v2020_07_01.aio.operations.VirtualApplianceSitesOperations :ivar virtual_appliance_skus: VirtualApplianceSkusOperations operations - :vartype virtual_appliance_skus: azure.mgmt.network.v2020_06_01.aio.operations.VirtualApplianceSkusOperations + :vartype virtual_appliance_skus: azure.mgmt.network.v2020_07_01.aio.operations.VirtualApplianceSkusOperations :ivar inbound_security_rule: InboundSecurityRuleOperations operations - :vartype inbound_security_rule: azure.mgmt.network.v2020_06_01.aio.operations.InboundSecurityRuleOperations + :vartype inbound_security_rule: azure.mgmt.network.v2020_07_01.aio.operations.InboundSecurityRuleOperations :ivar network_watchers: NetworkWatchersOperations operations - :vartype network_watchers: azure.mgmt.network.v2020_06_01.aio.operations.NetworkWatchersOperations + :vartype network_watchers: azure.mgmt.network.v2020_07_01.aio.operations.NetworkWatchersOperations :ivar packet_captures: PacketCapturesOperations operations - :vartype packet_captures: azure.mgmt.network.v2020_06_01.aio.operations.PacketCapturesOperations + :vartype packet_captures: azure.mgmt.network.v2020_07_01.aio.operations.PacketCapturesOperations :ivar connection_monitors: ConnectionMonitorsOperations operations - :vartype connection_monitors: azure.mgmt.network.v2020_06_01.aio.operations.ConnectionMonitorsOperations + :vartype connection_monitors: azure.mgmt.network.v2020_07_01.aio.operations.ConnectionMonitorsOperations :ivar flow_logs: FlowLogsOperations operations - :vartype flow_logs: azure.mgmt.network.v2020_06_01.aio.operations.FlowLogsOperations + :vartype flow_logs: azure.mgmt.network.v2020_07_01.aio.operations.FlowLogsOperations :ivar operations: Operations operations - :vartype operations: azure.mgmt.network.v2020_06_01.aio.operations.Operations + :vartype operations: azure.mgmt.network.v2020_07_01.aio.operations.Operations :ivar private_endpoints: PrivateEndpointsOperations operations - :vartype private_endpoints: azure.mgmt.network.v2020_06_01.aio.operations.PrivateEndpointsOperations + :vartype private_endpoints: azure.mgmt.network.v2020_07_01.aio.operations.PrivateEndpointsOperations :ivar available_private_endpoint_types: AvailablePrivateEndpointTypesOperations operations - :vartype available_private_endpoint_types: azure.mgmt.network.v2020_06_01.aio.operations.AvailablePrivateEndpointTypesOperations + :vartype available_private_endpoint_types: azure.mgmt.network.v2020_07_01.aio.operations.AvailablePrivateEndpointTypesOperations :ivar private_dns_zone_groups: PrivateDnsZoneGroupsOperations operations - :vartype private_dns_zone_groups: azure.mgmt.network.v2020_06_01.aio.operations.PrivateDnsZoneGroupsOperations + :vartype private_dns_zone_groups: azure.mgmt.network.v2020_07_01.aio.operations.PrivateDnsZoneGroupsOperations :ivar private_link_services: PrivateLinkServicesOperations operations - :vartype private_link_services: azure.mgmt.network.v2020_06_01.aio.operations.PrivateLinkServicesOperations + :vartype private_link_services: azure.mgmt.network.v2020_07_01.aio.operations.PrivateLinkServicesOperations :ivar public_ip_addresses: PublicIPAddressesOperations operations - :vartype public_ip_addresses: azure.mgmt.network.v2020_06_01.aio.operations.PublicIPAddressesOperations + :vartype public_ip_addresses: azure.mgmt.network.v2020_07_01.aio.operations.PublicIPAddressesOperations :ivar public_ip_prefixes: PublicIPPrefixesOperations operations - :vartype public_ip_prefixes: azure.mgmt.network.v2020_06_01.aio.operations.PublicIPPrefixesOperations + :vartype public_ip_prefixes: azure.mgmt.network.v2020_07_01.aio.operations.PublicIPPrefixesOperations :ivar route_filters: RouteFiltersOperations operations - :vartype route_filters: azure.mgmt.network.v2020_06_01.aio.operations.RouteFiltersOperations + :vartype route_filters: azure.mgmt.network.v2020_07_01.aio.operations.RouteFiltersOperations :ivar route_filter_rules: RouteFilterRulesOperations operations - :vartype route_filter_rules: azure.mgmt.network.v2020_06_01.aio.operations.RouteFilterRulesOperations + :vartype route_filter_rules: azure.mgmt.network.v2020_07_01.aio.operations.RouteFilterRulesOperations :ivar route_tables: RouteTablesOperations operations - :vartype route_tables: azure.mgmt.network.v2020_06_01.aio.operations.RouteTablesOperations + :vartype route_tables: azure.mgmt.network.v2020_07_01.aio.operations.RouteTablesOperations :ivar routes: RoutesOperations operations - :vartype routes: azure.mgmt.network.v2020_06_01.aio.operations.RoutesOperations + :vartype routes: azure.mgmt.network.v2020_07_01.aio.operations.RoutesOperations :ivar security_partner_providers: SecurityPartnerProvidersOperations operations - :vartype security_partner_providers: azure.mgmt.network.v2020_06_01.aio.operations.SecurityPartnerProvidersOperations + :vartype security_partner_providers: azure.mgmt.network.v2020_07_01.aio.operations.SecurityPartnerProvidersOperations :ivar bgp_service_communities: BgpServiceCommunitiesOperations operations - :vartype bgp_service_communities: azure.mgmt.network.v2020_06_01.aio.operations.BgpServiceCommunitiesOperations + :vartype bgp_service_communities: azure.mgmt.network.v2020_07_01.aio.operations.BgpServiceCommunitiesOperations :ivar service_endpoint_policies: ServiceEndpointPoliciesOperations operations - :vartype service_endpoint_policies: azure.mgmt.network.v2020_06_01.aio.operations.ServiceEndpointPoliciesOperations + :vartype service_endpoint_policies: azure.mgmt.network.v2020_07_01.aio.operations.ServiceEndpointPoliciesOperations :ivar service_endpoint_policy_definitions: ServiceEndpointPolicyDefinitionsOperations operations - :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2020_06_01.aio.operations.ServiceEndpointPolicyDefinitionsOperations + :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2020_07_01.aio.operations.ServiceEndpointPolicyDefinitionsOperations :ivar service_tags: ServiceTagsOperations operations - :vartype service_tags: azure.mgmt.network.v2020_06_01.aio.operations.ServiceTagsOperations + :vartype service_tags: azure.mgmt.network.v2020_07_01.aio.operations.ServiceTagsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.network.v2020_06_01.aio.operations.UsagesOperations + :vartype usages: azure.mgmt.network.v2020_07_01.aio.operations.UsagesOperations :ivar virtual_networks: VirtualNetworksOperations operations - :vartype virtual_networks: azure.mgmt.network.v2020_06_01.aio.operations.VirtualNetworksOperations + :vartype virtual_networks: azure.mgmt.network.v2020_07_01.aio.operations.VirtualNetworksOperations :ivar subnets: SubnetsOperations operations - :vartype subnets: azure.mgmt.network.v2020_06_01.aio.operations.SubnetsOperations + :vartype subnets: azure.mgmt.network.v2020_07_01.aio.operations.SubnetsOperations :ivar resource_navigation_links: ResourceNavigationLinksOperations operations - :vartype resource_navigation_links: azure.mgmt.network.v2020_06_01.aio.operations.ResourceNavigationLinksOperations + :vartype resource_navigation_links: azure.mgmt.network.v2020_07_01.aio.operations.ResourceNavigationLinksOperations :ivar service_association_links: ServiceAssociationLinksOperations operations - :vartype service_association_links: azure.mgmt.network.v2020_06_01.aio.operations.ServiceAssociationLinksOperations + :vartype service_association_links: azure.mgmt.network.v2020_07_01.aio.operations.ServiceAssociationLinksOperations :ivar virtual_network_peerings: VirtualNetworkPeeringsOperations operations - :vartype virtual_network_peerings: azure.mgmt.network.v2020_06_01.aio.operations.VirtualNetworkPeeringsOperations + :vartype virtual_network_peerings: azure.mgmt.network.v2020_07_01.aio.operations.VirtualNetworkPeeringsOperations :ivar virtual_network_gateways: VirtualNetworkGatewaysOperations operations - :vartype virtual_network_gateways: azure.mgmt.network.v2020_06_01.aio.operations.VirtualNetworkGatewaysOperations + :vartype virtual_network_gateways: azure.mgmt.network.v2020_07_01.aio.operations.VirtualNetworkGatewaysOperations :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnectionsOperations operations - :vartype virtual_network_gateway_connections: azure.mgmt.network.v2020_06_01.aio.operations.VirtualNetworkGatewayConnectionsOperations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2020_07_01.aio.operations.VirtualNetworkGatewayConnectionsOperations :ivar local_network_gateways: LocalNetworkGatewaysOperations operations - :vartype local_network_gateways: azure.mgmt.network.v2020_06_01.aio.operations.LocalNetworkGatewaysOperations + :vartype local_network_gateways: azure.mgmt.network.v2020_07_01.aio.operations.LocalNetworkGatewaysOperations :ivar virtual_network_taps: VirtualNetworkTapsOperations operations - :vartype virtual_network_taps: azure.mgmt.network.v2020_06_01.aio.operations.VirtualNetworkTapsOperations + :vartype virtual_network_taps: azure.mgmt.network.v2020_07_01.aio.operations.VirtualNetworkTapsOperations :ivar virtual_routers: VirtualRoutersOperations operations - :vartype virtual_routers: azure.mgmt.network.v2020_06_01.aio.operations.VirtualRoutersOperations + :vartype virtual_routers: azure.mgmt.network.v2020_07_01.aio.operations.VirtualRoutersOperations :ivar virtual_router_peerings: VirtualRouterPeeringsOperations operations - :vartype virtual_router_peerings: azure.mgmt.network.v2020_06_01.aio.operations.VirtualRouterPeeringsOperations + :vartype virtual_router_peerings: azure.mgmt.network.v2020_07_01.aio.operations.VirtualRouterPeeringsOperations :ivar virtual_wans: VirtualWansOperations operations - :vartype virtual_wans: azure.mgmt.network.v2020_06_01.aio.operations.VirtualWansOperations + :vartype virtual_wans: azure.mgmt.network.v2020_07_01.aio.operations.VirtualWansOperations :ivar vpn_sites: VpnSitesOperations operations - :vartype vpn_sites: azure.mgmt.network.v2020_06_01.aio.operations.VpnSitesOperations + :vartype vpn_sites: azure.mgmt.network.v2020_07_01.aio.operations.VpnSitesOperations :ivar vpn_site_links: VpnSiteLinksOperations operations - :vartype vpn_site_links: azure.mgmt.network.v2020_06_01.aio.operations.VpnSiteLinksOperations + :vartype vpn_site_links: azure.mgmt.network.v2020_07_01.aio.operations.VpnSiteLinksOperations :ivar vpn_sites_configuration: VpnSitesConfigurationOperations operations - :vartype vpn_sites_configuration: azure.mgmt.network.v2020_06_01.aio.operations.VpnSitesConfigurationOperations + :vartype vpn_sites_configuration: azure.mgmt.network.v2020_07_01.aio.operations.VpnSitesConfigurationOperations :ivar vpn_server_configurations: VpnServerConfigurationsOperations operations - :vartype vpn_server_configurations: azure.mgmt.network.v2020_06_01.aio.operations.VpnServerConfigurationsOperations + :vartype vpn_server_configurations: azure.mgmt.network.v2020_07_01.aio.operations.VpnServerConfigurationsOperations :ivar virtual_hubs: VirtualHubsOperations operations - :vartype virtual_hubs: azure.mgmt.network.v2020_06_01.aio.operations.VirtualHubsOperations + :vartype virtual_hubs: azure.mgmt.network.v2020_07_01.aio.operations.VirtualHubsOperations :ivar hub_virtual_network_connections: HubVirtualNetworkConnectionsOperations operations - :vartype hub_virtual_network_connections: azure.mgmt.network.v2020_06_01.aio.operations.HubVirtualNetworkConnectionsOperations + :vartype hub_virtual_network_connections: azure.mgmt.network.v2020_07_01.aio.operations.HubVirtualNetworkConnectionsOperations :ivar vpn_gateways: VpnGatewaysOperations operations - :vartype vpn_gateways: azure.mgmt.network.v2020_06_01.aio.operations.VpnGatewaysOperations + :vartype vpn_gateways: azure.mgmt.network.v2020_07_01.aio.operations.VpnGatewaysOperations :ivar vpn_connections: VpnConnectionsOperations operations - :vartype vpn_connections: azure.mgmt.network.v2020_06_01.aio.operations.VpnConnectionsOperations + :vartype vpn_connections: azure.mgmt.network.v2020_07_01.aio.operations.VpnConnectionsOperations :ivar vpn_site_link_connections: VpnSiteLinkConnectionsOperations operations - :vartype vpn_site_link_connections: azure.mgmt.network.v2020_06_01.aio.operations.VpnSiteLinkConnectionsOperations + :vartype vpn_site_link_connections: azure.mgmt.network.v2020_07_01.aio.operations.VpnSiteLinkConnectionsOperations :ivar vpn_link_connections: VpnLinkConnectionsOperations operations - :vartype vpn_link_connections: azure.mgmt.network.v2020_06_01.aio.operations.VpnLinkConnectionsOperations + :vartype vpn_link_connections: azure.mgmt.network.v2020_07_01.aio.operations.VpnLinkConnectionsOperations :ivar p2_svpn_gateways: P2SVpnGatewaysOperations operations - :vartype p2_svpn_gateways: azure.mgmt.network.v2020_06_01.aio.operations.P2SVpnGatewaysOperations + :vartype p2_svpn_gateways: azure.mgmt.network.v2020_07_01.aio.operations.P2SVpnGatewaysOperations :ivar vpn_server_configurations_associated_with_virtual_wan: VpnServerConfigurationsAssociatedWithVirtualWanOperations operations - :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2020_06_01.aio.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations + :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2020_07_01.aio.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations :ivar virtual_hub_route_table_v2_s: VirtualHubRouteTableV2SOperations operations - :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2020_06_01.aio.operations.VirtualHubRouteTableV2SOperations + :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2020_07_01.aio.operations.VirtualHubRouteTableV2SOperations :ivar express_route_gateways: ExpressRouteGatewaysOperations operations - :vartype express_route_gateways: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteGatewaysOperations + :vartype express_route_gateways: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteGatewaysOperations :ivar express_route_connections: ExpressRouteConnectionsOperations operations - :vartype express_route_connections: azure.mgmt.network.v2020_06_01.aio.operations.ExpressRouteConnectionsOperations + :vartype express_route_connections: azure.mgmt.network.v2020_07_01.aio.operations.ExpressRouteConnectionsOperations :ivar virtual_hub_bgp_connection: VirtualHubBgpConnectionOperations operations - :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2020_06_01.aio.operations.VirtualHubBgpConnectionOperations + :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2020_07_01.aio.operations.VirtualHubBgpConnectionOperations :ivar virtual_hub_bgp_connections: VirtualHubBgpConnectionsOperations operations - :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2020_06_01.aio.operations.VirtualHubBgpConnectionsOperations + :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2020_07_01.aio.operations.VirtualHubBgpConnectionsOperations :ivar virtual_hub_ip_configuration: VirtualHubIpConfigurationOperations operations - :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_06_01.aio.operations.VirtualHubIpConfigurationOperations + :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_07_01.aio.operations.VirtualHubIpConfigurationOperations :ivar hub_route_tables: HubRouteTablesOperations operations - :vartype hub_route_tables: azure.mgmt.network.v2020_06_01.aio.operations.HubRouteTablesOperations + :vartype hub_route_tables: azure.mgmt.network.v2020_07_01.aio.operations.HubRouteTablesOperations :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations - :vartype web_application_firewall_policies: azure.mgmt.network.v2020_06_01.aio.operations.WebApplicationFirewallPoliciesOperations + :vartype web_application_firewall_policies: azure.mgmt.network.v2020_07_01.aio.operations.WebApplicationFirewallPoliciesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -357,7 +360,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -378,6 +380,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( self._client, self._config, self._serialize, self._deserialize) + self.web_categories = WebCategoriesOperations( + self._client, self._config, self._serialize, self._deserialize) self.bastion_hosts = BastionHostsOperations( self._client, self._config, self._serialize, self._deserialize) self.custom_ip_prefixes = CustomIPPrefixesOperations( diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/__init__.py similarity index 99% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/__init__.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/__init__.py index 8c6fe1ec8a6e..579cf30e3f80 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/__init__.py @@ -15,6 +15,7 @@ from ._available_service_aliases_operations import AvailableServiceAliasesOperations from ._azure_firewalls_operations import AzureFirewallsOperations from ._azure_firewall_fqdn_tags_operations import AzureFirewallFqdnTagsOperations +from ._web_categories_operations import WebCategoriesOperations from ._bastion_hosts_operations import BastionHostsOperations from ._network_management_client_operations import NetworkManagementClientOperationsMixin from ._custom_ip_prefixes_operations import CustomIPPrefixesOperations @@ -122,6 +123,7 @@ 'AvailableServiceAliasesOperations', 'AzureFirewallsOperations', 'AzureFirewallFqdnTagsOperations', + 'WebCategoriesOperations', 'BastionHostsOperations', 'NetworkManagementClientOperationsMixin', 'CustomIPPrefixesOperations', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index 30db91ebe4cd..80573bd9f76b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -28,7 +28,7 @@ class ApplicationGatewayPrivateEndpointConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -164,7 +164,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -226,7 +226,7 @@ async def begin_update( :type connection_name: str :param parameters: Parameters supplied to update application gateway private endpoint connection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -234,7 +234,7 @@ async def begin_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -295,7 +295,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayPrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateEndpointConnection"] @@ -303,7 +303,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -354,7 +354,7 @@ def list( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayPrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateEndpointConnectionListResult"] @@ -362,7 +362,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_link_resources_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_link_resources_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_link_resources_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_link_resources_operations.py index 88ae11e696c3..72f5b66d1dae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_link_resources_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_link_resources_operations.py @@ -26,7 +26,7 @@ class ApplicationGatewayPrivateLinkResourcesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayPrivateLinkResourceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkResourceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateLinkResourceListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py index 96bc75a4a6f2..69a075dac1cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py @@ -28,7 +28,7 @@ class ApplicationGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGateway"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param parameters: Parameters supplied to the create or update application gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -339,10 +339,10 @@ async def update_tags( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param parameters: Parameters supplied to update application gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGateway"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -402,7 +402,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayListResult"] @@ -410,7 +410,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayListResult"] @@ -477,7 +477,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -538,7 +538,7 @@ async def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -640,7 +640,7 @@ async def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -743,7 +743,7 @@ async def _backend_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -805,7 +805,7 @@ async def begin_backend_health( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealth] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealth] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -861,7 +861,7 @@ async def _backend_health_on_demand_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -922,7 +922,7 @@ async def begin_backend_health_on_demand( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param probe_request: Request body for on-demand test probe operation. - :type probe_request: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOnDemandProbe + :type probe_request: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOnDemandProbe :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response @@ -932,7 +932,7 @@ async def begin_backend_health_on_demand( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthOnDemand] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthOnDemand] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -992,7 +992,7 @@ async def list_available_server_variables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1043,7 +1043,7 @@ async def list_available_request_headers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1094,7 +1094,7 @@ async def list_available_response_headers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1137,7 +1137,7 @@ async def list_available_waf_rule_sets( :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayAvailableWafRuleSetsResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableWafRuleSetsResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableWafRuleSetsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableWafRuleSetsResult"] @@ -1145,7 +1145,7 @@ async def list_available_waf_rule_sets( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1187,7 +1187,7 @@ async def list_available_ssl_options( :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayAvailableSslOptions, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableSslOptions + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableSslOptions :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableSslOptions"] @@ -1195,7 +1195,7 @@ async def list_available_ssl_options( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1237,7 +1237,7 @@ def list_available_ssl_predefined_policies( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayAvailableSslPredefinedPolicies or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableSslPredefinedPolicies"] @@ -1245,7 +1245,7 @@ def list_available_ssl_predefined_policies( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -1306,7 +1306,7 @@ async def get_ssl_predefined_policy( :type predefined_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewaySslPredefinedPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPredefinedPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPredefinedPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewaySslPredefinedPolicy"] @@ -1314,7 +1314,7 @@ async def get_ssl_predefined_policy( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py index 692bdd69c992..d8791dc87ba6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py @@ -28,7 +28,7 @@ class ApplicationSecurityGroupsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroup"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -275,7 +275,7 @@ async def begin_create_or_update( :type application_security_group_name: str :param parameters: Parameters supplied to the create or update ApplicationSecurityGroup operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -283,7 +283,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -340,10 +340,10 @@ async def update_tags( :param application_security_group_name: The name of the application security group. :type application_security_group_name: str :param parameters: Parameters supplied to update application security group tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroup"] @@ -351,7 +351,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -400,7 +400,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroupListResult"] @@ -408,7 +408,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroupListResult"] @@ -477,7 +477,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_delegations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_delegations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_delegations_operations.py index de755d8117ac..ece0e183bc01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_delegations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_delegations_operations.py @@ -26,7 +26,7 @@ class AvailableDelegationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -52,7 +52,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableDelegationsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableDelegationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableDelegationsResult"] @@ -60,7 +60,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_endpoint_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_endpoint_services_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_endpoint_services_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_endpoint_services_operations.py index 41f0421ddfa0..6f004efb38db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_endpoint_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_endpoint_services_operations.py @@ -26,7 +26,7 @@ class AvailableEndpointServicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -52,7 +52,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EndpointServicesListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.EndpointServicesListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.EndpointServicesListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EndpointServicesListResult"] @@ -60,7 +60,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_private_endpoint_types_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_private_endpoint_types_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_private_endpoint_types_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_private_endpoint_types_operations.py index d737080f85cc..e5b577225ea7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_private_endpoint_types_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_private_endpoint_types_operations.py @@ -26,7 +26,7 @@ class AvailablePrivateEndpointTypesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,7 +53,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointTypesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointTypesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailablePrivateEndpointTypesResult"] @@ -61,7 +61,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointTypesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointTypesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailablePrivateEndpointTypesResult"] @@ -135,7 +135,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_resource_group_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_resource_group_delegations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_resource_group_delegations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_resource_group_delegations_operations.py index 1e6f2f52d776..7b5e69f19bcf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_resource_group_delegations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_resource_group_delegations_operations.py @@ -26,7 +26,7 @@ class AvailableResourceGroupDelegationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableDelegationsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableDelegationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableDelegationsResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_service_aliases_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_service_aliases_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_service_aliases_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_service_aliases_operations.py index 24d32d97ea6a..33a6da789b49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_available_service_aliases_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_available_service_aliases_operations.py @@ -26,7 +26,7 @@ class AvailableServiceAliasesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -52,7 +52,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAliasesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAliasesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableServiceAliasesResult"] @@ -60,7 +60,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -125,7 +125,7 @@ def list_by_resource_group( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAliasesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAliasesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableServiceAliasesResult"] @@ -133,7 +133,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewall_fqdn_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewall_fqdn_tags_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewall_fqdn_tags_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewall_fqdn_tags_operations.py index 692d87d0605e..1e1bb11694e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewall_fqdn_tags_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewall_fqdn_tags_operations.py @@ -26,7 +26,7 @@ class AzureFirewallFqdnTagsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallFqdnTagListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallFqdnTagListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallFqdnTagListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallFqdnTagListResult"] @@ -57,7 +57,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py index ecf30a4f680c..9f5867da51a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py @@ -28,7 +28,7 @@ class AzureFirewallsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AzureFirewall, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall + :rtype: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewall"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param azure_firewall_name: The name of the Azure Firewall. :type azure_firewall_name: str :param parameters: Parameters supplied to the create or update Azure Firewall operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -337,7 +337,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -394,7 +394,7 @@ async def begin_update_tags( :param azure_firewall_name: The name of the Azure Firewall. :type azure_firewall_name: str :param parameters: Parameters supplied to update azure firewall tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -402,7 +402,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -456,7 +456,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallListResult"] @@ -464,7 +464,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -523,7 +523,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallListResult"] @@ -531,7 +531,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py index 21c048d46baf..e839cf2be302 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py @@ -28,7 +28,7 @@ class BastionHostsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BastionHost, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BastionHost + :rtype: ~azure.mgmt.network.v2020_07_01.models.BastionHost :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHost"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param parameters: Parameters supplied to the create or update Bastion Host operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BastionHost + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.BastionHost] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.BastionHost] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -333,7 +333,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionHostListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionHostListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionHostListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] @@ -341,7 +341,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -402,7 +402,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionHostListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionHostListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionHostListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] @@ -410,7 +410,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bgp_service_communities_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bgp_service_communities_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bgp_service_communities_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bgp_service_communities_operations.py index 4f07f2f33654..3b069c97c3db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bgp_service_communities_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bgp_service_communities_operations.py @@ -26,7 +26,7 @@ class BgpServiceCommunitiesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BgpServiceCommunityListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BgpServiceCommunityListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BgpServiceCommunityListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BgpServiceCommunityListResult"] @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py index 14654596271a..b12ae8e9239b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py @@ -28,7 +28,7 @@ class ConnectionMonitorsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,6 +49,7 @@ async def _create_or_update_initial( network_watcher_name: str, connection_monitor_name: str, parameters: "models.ConnectionMonitor", + migrate: Optional[str] = None, **kwargs ) -> "models.ConnectionMonitorResult": cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorResult"] @@ -56,7 +57,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -73,6 +74,8 @@ async def _create_or_update_initial( # Construct parameters query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if migrate is not None: + query_parameters['migrate'] = self._serialize.query("migrate", migrate, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -109,6 +112,7 @@ async def begin_create_or_update( network_watcher_name: str, connection_monitor_name: str, parameters: "models.ConnectionMonitor", + migrate: Optional[str] = None, **kwargs ) -> AsyncLROPoller["models.ConnectionMonitorResult"]: """Create or update a connection monitor. @@ -120,7 +124,9 @@ async def begin_create_or_update( :param connection_monitor_name: The name of the connection monitor. :type connection_monitor_name: str :param parameters: Parameters that define the operation to create a connection monitor. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitor + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitor + :param migrate: Value indicating whether connection monitor V1 should be migrated to V2 format. + :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +134,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -144,6 +150,7 @@ async def begin_create_or_update( network_watcher_name=network_watcher_name, connection_monitor_name=connection_monitor_name, parameters=parameters, + migrate=migrate, cls=lambda x,y,z: x, **kwargs ) @@ -189,7 +196,7 @@ async def get( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionMonitorResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorResult"] @@ -197,7 +204,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -247,7 +254,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -361,10 +368,10 @@ async def update_tags( :param connection_monitor_name: The name of the connection monitor. :type connection_monitor_name: str :param parameters: Parameters supplied to update connection monitor tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionMonitorResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorResult"] @@ -372,7 +379,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -427,7 +434,7 @@ async def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -536,7 +543,7 @@ async def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -645,7 +652,7 @@ async def _query_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -709,7 +716,7 @@ async def begin_query( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorQueryResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorQueryResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -766,7 +773,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ConnectionMonitorListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorListResult"] @@ -774,7 +781,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py index 4cbbbf93045c..c5029b70a59a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py @@ -28,7 +28,7 @@ class CustomIPPrefixesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CustomIpPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefix"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param custom_ip_prefix_name: The name of the custom IP prefix. :type custom_ip_prefix_name: str :param parameters: Parameters supplied to the create or update custom IP prefix operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param custom_ip_prefix_name: The name of the custom IP prefix. :type custom_ip_prefix_name: str :param parameters: Parameters supplied to update custom IP prefix tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: CustomIpPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefix"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefixListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefixListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefixListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefixListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py index ed743bb9aaf1..53042cc41c92 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py @@ -27,7 +27,7 @@ class DdosCustomPoliciesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,7 +53,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -158,7 +158,7 @@ async def get( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosCustomPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosCustomPolicy"] @@ -166,7 +166,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -273,7 +273,7 @@ async def begin_create_or_update( :param ddos_custom_policy_name: The name of the DDoS custom policy. :type ddos_custom_policy_name: str :param parameters: Parameters supplied to the create or update operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -281,7 +281,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -338,10 +338,10 @@ async def update_tags( :param ddos_custom_policy_name: The name of the DDoS custom policy. :type ddos_custom_policy_name: str :param parameters: Parameters supplied to update DDoS custom policy resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosCustomPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosCustomPolicy"] @@ -349,7 +349,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py index 04ce049c9db6..ff81ac703f26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py @@ -28,7 +28,7 @@ class DdosProtectionPlansOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosProtectionPlan, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlan"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param ddos_protection_plan_name: The name of the DDoS protection plan. :type ddos_protection_plan_name: str :param parameters: Parameters supplied to the create or update operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -339,10 +339,10 @@ async def update_tags( :param ddos_protection_plan_name: The name of the DDoS protection plan. :type ddos_protection_plan_name: str :param parameters: Parameters supplied to the update DDoS protection plan resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosProtectionPlan, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlan"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -399,7 +399,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlanListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlanListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlanListResult"] @@ -407,7 +407,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -468,7 +468,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlanListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlanListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlanListResult"] @@ -476,7 +476,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_default_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_default_security_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_default_security_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_default_security_rules_operations.py index 83be2f089d1e..8fb9f6cc348d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_default_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_default_security_rules_operations.py @@ -26,7 +26,7 @@ class DefaultSecurityRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRuleListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type default_security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRule"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py index 8c6532bd877b..a548a1be04ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py @@ -28,7 +28,7 @@ class DscpConfigurationOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -114,7 +114,7 @@ async def begin_create_or_update( :param dscp_configuration_name: The name of the resource. :type dscp_configuration_name: str :param parameters: Parameters supplied to the create or update dscp configuration operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -122,7 +122,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.DscpConfiguration] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.DscpConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -176,7 +176,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -281,7 +281,7 @@ async def get( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DscpConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfiguration"] @@ -289,7 +289,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -336,7 +336,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.DscpConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.DscpConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfigurationListResult"] @@ -344,7 +344,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -403,7 +403,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.DscpConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.DscpConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfigurationListResult"] @@ -411,7 +411,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py index 429939fd264d..2b05c7b29aaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCircuitAuthorizationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitAuthorization, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitAuthorization"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type authorization_name: str :param authorization_parameters: Parameters supplied to the create or update express route circuit authorization operation. - :type authorization_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization + :type authorization_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AuthorizationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AuthorizationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AuthorizationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AuthorizationListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py index 682dfdabdcf0..0df3909f7040 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCircuitConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -178,7 +178,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitConnection"] @@ -186,7 +186,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -238,7 +238,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -306,7 +306,7 @@ async def begin_create_or_update( :type connection_name: str :param express_route_circuit_connection_parameters: Parameters supplied to the create or update express route circuit connection operation. - :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection + :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -314,7 +314,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -377,7 +377,7 @@ def list( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitConnectionListResult"] @@ -385,7 +385,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py index d92b5417f104..9ce1aae14079 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCircuitPeeringsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitPeering"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type peering_name: str :param peering_parameters: Parameters supplied to the create or update express route circuit peering operation. - :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering + :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitPeeringListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitPeeringListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py index 76819d64a0e5..ad3601e28b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCircuitsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuit, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuit"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param circuit_name: The name of the circuit. :type circuit_name: str :param parameters: Parameters supplied to the create or update express route circuit operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -339,10 +339,10 @@ async def update_tags( :param circuit_name: The name of the circuit. :type circuit_name: str :param parameters: Parameters supplied to update express route circuit tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuit, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuit"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ async def _list_arp_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -470,7 +470,7 @@ async def begin_list_arp_table( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsArpTableListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsArpTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -527,7 +527,7 @@ async def _list_routes_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -593,7 +593,7 @@ async def begin_list_routes_table( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -650,7 +650,7 @@ async def _list_routes_table_summary_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -716,7 +716,7 @@ async def begin_list_routes_table_summary( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -774,7 +774,7 @@ async def get_stats( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitStats, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitStats"] @@ -782,7 +782,7 @@ async def get_stats( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -835,7 +835,7 @@ async def get_peering_stats( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitStats, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitStats"] @@ -843,7 +843,7 @@ async def get_peering_stats( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -891,7 +891,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitListResult"] @@ -899,7 +899,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -958,7 +958,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitListResult"] @@ -966,7 +966,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py index 1b9a46f151e5..e392be852b0c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py @@ -27,7 +27,7 @@ class ExpressRouteConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -119,7 +119,7 @@ async def begin_create_or_update( :type connection_name: str :param put_express_route_connection_parameters: Parameters required in an ExpressRouteConnection PUT operation. - :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection + :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -127,7 +127,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -188,7 +188,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteConnection"] @@ -196,7 +196,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -245,7 +245,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -355,7 +355,7 @@ async def list( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteConnectionList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnectionList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnectionList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteConnectionList"] @@ -363,7 +363,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 9adeb78b3337..ee4f342043f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCrossConnectionPeeringsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type cross_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionPeeringList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeeringList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeeringList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionPeeringList"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -129,7 +129,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -242,7 +242,7 @@ async def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnectionPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionPeering"] @@ -250,7 +250,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -300,7 +300,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -364,7 +364,7 @@ async def begin_create_or_update( :type peering_name: str :param peering_parameters: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. - :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering + :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -372,7 +372,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py index a61329239a1f..b2fa5c2a21b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py @@ -28,7 +28,7 @@ class ExpressRouteCrossConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionListResult"] @@ -59,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -120,7 +120,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionListResult"] @@ -128,7 +128,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -194,7 +194,7 @@ async def get( :type cross_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnection"] @@ -202,7 +202,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -250,7 +250,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -305,7 +305,7 @@ async def begin_create_or_update( :param cross_connection_name: The name of the ExpressRouteCrossConnection. :type cross_connection_name: str :param parameters: Parameters supplied to the update express route crossConnection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -313,7 +313,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -371,10 +371,10 @@ async def update_tags( :type cross_connection_name: str :param cross_connection_parameters: Parameters supplied to update express route cross connection tags. - :type cross_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type cross_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnection"] @@ -382,7 +382,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -436,7 +436,7 @@ async def _list_arp_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -502,7 +502,7 @@ async def begin_list_arp_table( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsArpTableListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsArpTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -559,7 +559,7 @@ async def _list_routes_table_summary_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -625,7 +625,7 @@ async def begin_list_routes_table_summary( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -682,7 +682,7 @@ async def _list_routes_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -748,7 +748,7 @@ async def begin_list_routes_table( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py index 0c6ef9658a1b..0895549652d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py @@ -27,7 +27,7 @@ class ExpressRouteGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -50,7 +50,7 @@ async def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGatewayList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGatewayList"] @@ -58,7 +58,7 @@ async def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -103,7 +103,7 @@ async def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGatewayList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGatewayList"] @@ -111,7 +111,7 @@ async def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -158,7 +158,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -218,7 +218,7 @@ async def begin_create_or_update( :type express_route_gateway_name: str :param put_express_route_gateway_parameters: Parameters required in an ExpressRoute gateway PUT operation. - :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway + :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -226,7 +226,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -283,7 +283,7 @@ async def get( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGateway"] @@ -291,7 +291,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -338,7 +338,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_links_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_links_operations.py index f5f203add061..d5e26d4d81b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_links_operations.py @@ -26,7 +26,7 @@ class ExpressRouteLinksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ async def get( :type link_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteLink, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteLink"] @@ -66,7 +66,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -117,7 +117,7 @@ def list( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteLinkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteLinkListResult"] @@ -125,7 +125,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_locations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_locations_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_locations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_locations_operations.py index 65098cfaf76f..3f873247a516 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_locations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_locations_operations.py @@ -26,7 +26,7 @@ class ExpressRoutePortsLocationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortsLocationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortsLocationListResult"] @@ -59,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -121,7 +121,7 @@ async def get( :type location_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePortsLocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortsLocation"] @@ -129,7 +129,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py index b03252d5a72a..435095b05950 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py @@ -28,7 +28,7 @@ class ExpressRoutePortsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePort, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePort"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param express_route_port_name: The name of the ExpressRoutePort resource. :type express_route_port_name: str :param parameters: Parameters supplied to the create ExpressRoutePort operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -339,10 +339,10 @@ async def update_tags( :param express_route_port_name: The name of the ExpressRoutePort resource. :type express_route_port_name: str :param parameters: Parameters supplied to update ExpressRoutePort resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePort, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePort"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -402,7 +402,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortListResult"] @@ -410,7 +410,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortListResult"] @@ -477,7 +477,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -541,10 +541,10 @@ async def generate_loa( :param express_route_port_name: The name of ExpressRoutePort. :type express_route_port_name: str :param request: Request parameters supplied to generate a letter of authorization. - :type request: ~azure.mgmt.network.v2020_06_01.models.GenerateExpressRoutePortsLOARequest + :type request: ~azure.mgmt.network.v2020_07_01.models.GenerateExpressRoutePortsLOARequest :keyword callable cls: A custom type or function that will be passed the direct response :return: GenerateExpressRoutePortsLOAResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.GenerateExpressRoutePortsLOAResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.GenerateExpressRoutePortsLOAResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GenerateExpressRoutePortsLOAResult"] @@ -552,7 +552,7 @@ async def generate_loa( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_service_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_service_providers_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_service_providers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_service_providers_operations.py index b54ab644c9aa..7b9af7f30fd4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_service_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_service_providers_operations.py @@ -26,7 +26,7 @@ class ExpressRouteServiceProvidersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteServiceProviderListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProviderListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteServiceProviderListResult"] @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py index 16673ba31fb5..47daed895b76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py @@ -28,7 +28,7 @@ class FirewallPoliciesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicy"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param firewall_policy_name: The name of the Firewall Policy. :type firewall_policy_name: str :param parameters: Parameters supplied to the create or update Firewall Policy operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.FirewallPolicy] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.FirewallPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -341,7 +341,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyListResult"] @@ -349,7 +349,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -408,7 +408,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyListResult"] @@ -416,7 +416,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index bd9c59395739..2dc45844d64c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -28,7 +28,7 @@ class FirewallPolicyRuleCollectionGroupsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FirewallPolicyRuleCollectionGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyRuleCollectionGroup"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type rule_collection_group_name: str :param parameters: Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyRuleCollectionGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyRuleCollectionGroupListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py index d81fb555cd1d..028c03f9bc2e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py @@ -28,7 +28,7 @@ class FlowLogsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -120,7 +120,7 @@ async def begin_create_or_update( :param flow_log_name: The name of the flow log. :type flow_log_name: str :param parameters: Parameters that define the create or update flow log resource. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +128,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLog] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -189,10 +189,10 @@ async def update_tags( :param flow_log_name: The name of the flow log. :type flow_log_name: str :param parameters: Parameters supplied to update flow log tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: FlowLog, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :rtype: ~azure.mgmt.network.v2020_07_01.models.FlowLog :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLog"] @@ -200,7 +200,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -260,7 +260,7 @@ async def get( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FlowLog, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :rtype: ~azure.mgmt.network.v2020_07_01.models.FlowLog :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLog"] @@ -268,7 +268,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -318,7 +318,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -429,7 +429,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FlowLogListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.FlowLogListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.FlowLogListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLogListResult"] @@ -437,7 +437,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py index 40a094d3477f..2e20cdf6dc1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py @@ -28,7 +28,7 @@ class HubRouteTablesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -119,7 +119,7 @@ async def begin_create_or_update( :param route_table_name: The name of the RouteTable. :type route_table_name: str :param route_table_parameters: Parameters supplied to create or update RouteTable. - :type route_table_parameters: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable + :type route_table_parameters: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -127,7 +127,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.HubRouteTable] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.HubRouteTable] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -188,7 +188,7 @@ async def get( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubRouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubRouteTable"] @@ -196,7 +196,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -245,7 +245,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -355,7 +355,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListHubRouteTablesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListHubRouteTablesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListHubRouteTablesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListHubRouteTablesResult"] @@ -363,7 +363,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py index 5cfd24a0a915..ff856f4463e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -28,7 +28,7 @@ class HubVirtualNetworkConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -120,7 +120,7 @@ async def begin_create_or_update( :type connection_name: str :param hub_virtual_network_connection_parameters: Parameters supplied to create or update a hub virtual network connection. - :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection + :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +128,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -184,7 +184,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -297,7 +297,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubVirtualNetworkConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubVirtualNetworkConnection"] @@ -305,7 +305,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -356,7 +356,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListHubVirtualNetworkConnectionsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListHubVirtualNetworkConnectionsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListHubVirtualNetworkConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListHubVirtualNetworkConnectionsResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py index 26a55262aad1..349434307671 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py @@ -28,7 +28,7 @@ class InboundNatRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either InboundNatRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.InboundNatRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.InboundNatRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.InboundNatRuleListResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -129,7 +129,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -245,7 +245,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: InboundNatRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.InboundNatRule"] @@ -253,7 +253,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -305,7 +305,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -369,7 +369,7 @@ async def begin_create_or_update( :type inbound_nat_rule_name: str :param inbound_nat_rule_parameters: Parameters supplied to the create or update inbound nat rule operation. - :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule + :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -377,7 +377,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py index aaf655100fb4..cebfdf463184 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py @@ -27,7 +27,7 @@ class InboundSecurityRuleOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -119,7 +119,7 @@ async def begin_create_or_update( :type rule_collection_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule + :type parameters: ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -127,7 +127,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py index de48317a8c3d..99d8e1976306 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py @@ -28,7 +28,7 @@ class IpAllocationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IpAllocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocation"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param ip_allocation_name: The name of the IpAllocation. :type ip_allocation_name: str :param parameters: Parameters supplied to the create or update virtual network operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.IpAllocation] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.IpAllocation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param ip_allocation_name: The name of the IpAllocation. :type ip_allocation_name: str :param parameters: Parameters supplied to update IpAllocation tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: IpAllocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocation"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.IpAllocationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.IpAllocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocationListResult"] @@ -412,7 +412,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.IpAllocationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.IpAllocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocationListResult"] @@ -481,7 +481,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py index 57b302fd707a..1a56b862e30a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py @@ -28,7 +28,7 @@ class IpGroupsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IpGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroup"] @@ -69,7 +69,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -120,7 +120,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -180,7 +180,7 @@ async def begin_create_or_update( :param ip_groups_name: The name of the ipGroups. :type ip_groups_name: str :param parameters: Parameters supplied to the create or update IpGroups operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -188,7 +188,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.IpGroup] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.IpGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -245,10 +245,10 @@ async def update_groups( :param ip_groups_name: The name of the ipGroups. :type ip_groups_name: str :param parameters: Parameters supplied to the update ipGroups operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: IpGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroup"] @@ -256,7 +256,7 @@ async def update_groups( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -412,7 +412,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.IpGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.IpGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroupListResult"] @@ -420,7 +420,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -480,7 +480,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.IpGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.IpGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroupListResult"] @@ -488,7 +488,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 35149a2acf79..de4b9f212492 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -28,7 +28,7 @@ class LoadBalancerBackendAddressPoolsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerBackendAddressPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerBackendAddressPoolListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerBackendAddressPoolListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerBackendAddressPoolListResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -134,7 +134,7 @@ async def get( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BackendAddressPool, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool + :rtype: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BackendAddressPool"] @@ -142,7 +142,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -192,7 +192,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -256,7 +256,7 @@ async def begin_create_or_update( :type backend_address_pool_name: str :param parameters: Parameters supplied to the create or update load balancer backend address pool operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -264,7 +264,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -320,7 +320,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py index 3c6ff4b79c6d..7cdf9ca8def6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py @@ -26,7 +26,7 @@ class LoadBalancerFrontendIPConfigurationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerFrontendIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerFrontendIPConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerFrontendIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerFrontendIPConfigurationListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type frontend_ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FrontendIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FrontendIPConfiguration"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_load_balancing_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_load_balancing_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_load_balancing_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_load_balancing_rules_operations.py index 78e41815eb5e..6020d83fb304 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_load_balancing_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_load_balancing_rules_operations.py @@ -26,7 +26,7 @@ class LoadBalancerLoadBalancingRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerLoadBalancingRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerLoadBalancingRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerLoadBalancingRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerLoadBalancingRuleListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type load_balancing_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancingRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancingRule"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_network_interfaces_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_network_interfaces_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_network_interfaces_operations.py index 1f26c1619665..aa5d3286cdc6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_network_interfaces_operations.py @@ -26,7 +26,7 @@ class LoadBalancerNetworkInterfacesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_outbound_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_outbound_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_outbound_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_outbound_rules_operations.py index c57e724e6165..f6239529519c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_outbound_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_outbound_rules_operations.py @@ -26,7 +26,7 @@ class LoadBalancerOutboundRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerOutboundRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerOutboundRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerOutboundRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerOutboundRuleListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type outbound_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: OutboundRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.OutboundRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.OutboundRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OutboundRule"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_probes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_probes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_probes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_probes_operations.py index b9a448d11b04..884e9d014b90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_probes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_probes_operations.py @@ -26,7 +26,7 @@ class LoadBalancerProbesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerProbeListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerProbeListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerProbeListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerProbeListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type probe_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Probe, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Probe + :rtype: ~azure.mgmt.network.v2020_07_01.models.Probe :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Probe"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py index 7ec2ef3f5341..3aff12e88e53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py @@ -28,7 +28,7 @@ class LoadBalancersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancer, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancer"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param load_balancer_name: The name of the load balancer. :type load_balancer_name: str :param parameters: Parameters supplied to the create or update load balancer operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :type parameters: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param load_balancer_name: The name of the load balancer. :type load_balancer_name: str :param parameters: Parameters supplied to update load balancer tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancer, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancer"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py index 8687cdbdd5e2..7e41049a03de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py @@ -28,7 +28,7 @@ class LocalNetworkGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -114,7 +114,7 @@ async def begin_create_or_update( :param local_network_gateway_name: The name of the local network gateway. :type local_network_gateway_name: str :param parameters: Parameters supplied to the create or update local network gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -122,7 +122,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -179,7 +179,7 @@ async def get( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LocalNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGateway"] @@ -187,7 +187,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -339,10 +339,10 @@ async def update_tags( :param local_network_gateway_name: The name of the local network gateway. :type local_network_gateway_name: str :param parameters: Parameters supplied to update local network gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: LocalNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGateway"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -402,7 +402,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LocalNetworkGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGatewayListResult"] @@ -410,7 +410,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py index 5bd6ee6caae2..acfca56a09c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py @@ -28,7 +28,7 @@ class NatGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NatGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.NatGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -214,13 +214,13 @@ async def _create_or_update_initial( nat_gateway_name: str, parameters: "models.NatGateway", **kwargs - ) -> "models.NatGateway": - cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] + ) -> Optional["models.NatGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.NatGateway"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -253,15 +253,13 @@ async def _create_or_update_initial( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) + deserialized = None if response.status_code == 200: deserialized = self._deserialize('NatGateway', pipeline_response) if response.status_code == 201: deserialized = self._deserialize('NatGateway', pipeline_response) - if response.status_code == 202: - deserialized = self._deserialize('NatGateway', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) @@ -282,7 +280,7 @@ async def begin_create_or_update( :param nat_gateway_name: The name of the nat gateway. :type nat_gateway_name: str :param parameters: Parameters supplied to the create or update nat gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -290,7 +288,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NatGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NatGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -347,10 +345,10 @@ async def update_tags( :param nat_gateway_name: The name of the nat gateway. :type nat_gateway_name: str :param parameters: Parameters supplied to update nat gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NatGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.NatGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] @@ -358,7 +356,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -407,7 +405,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NatGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NatGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGatewayListResult"] @@ -415,7 +413,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -476,7 +474,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NatGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NatGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGatewayListResult"] @@ -484,7 +482,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_ip_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_ip_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_ip_configurations_operations.py index 04d1fbb00899..8e154118eecb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_ip_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_ip_configurations_operations.py @@ -26,7 +26,7 @@ class NetworkInterfaceIPConfigurationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfigurationListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( :type ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfiguration"] @@ -140,7 +140,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_load_balancers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_load_balancers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_load_balancers_operations.py index e9c6dec98135..c5392244dd1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_load_balancers_operations.py @@ -26,7 +26,7 @@ class NetworkInterfaceLoadBalancersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceLoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceLoadBalancerListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceLoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceLoadBalancerListResult"] @@ -63,7 +63,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py index f5267921ee8c..ef92e0f8c576 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -28,7 +28,7 @@ class NetworkInterfaceTapConfigurationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceTapConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceTapConfiguration"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type tap_configuration_name: str :param tap_configuration_parameters: Parameters supplied to the create or update tap configuration operation. - :type tap_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration + :type tap_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceTapConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceTapConfigurationListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py index 3e9816fe563d..4ec94c66580d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py @@ -28,7 +28,7 @@ class NetworkInterfacesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param network_interface_name: The name of the network interface. :type network_interface_name: str :param parameters: Parameters supplied to the create or update network interface operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param network_interface_name: The name of the network interface. :type network_interface_name: str :param parameters: Parameters supplied to update network interface tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -543,7 +543,7 @@ async def _get_effective_route_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -600,7 +600,7 @@ async def begin_get_effective_route_table( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.EffectiveRouteListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.EffectiveRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -653,7 +653,7 @@ async def _list_effective_network_security_groups_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -710,7 +710,7 @@ async def begin_list_effective_network_security_groups( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroupListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroupListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -770,7 +770,7 @@ def list_virtual_machine_scale_set_vm_network_interfaces( :type virtualmachine_index: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -845,7 +845,7 @@ def list_virtual_machine_scale_set_network_interfaces( :type virtual_machine_scale_set_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -928,7 +928,7 @@ async def get_virtual_machine_scale_set_network_interface( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -999,7 +999,7 @@ def list_virtual_machine_scale_set_ip_configurations( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfigurationListResult"] @@ -1089,7 +1089,7 @@ async def get_virtual_machine_scale_set_ip_configuration( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfiguration"] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py index b049c2b34f01..1a5f27cc4802 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py @@ -35,7 +35,7 @@ async def _put_bastion_shareable_link_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -92,7 +92,7 @@ async def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -100,7 +100,7 @@ async def begin_put_bastion_shareable_link( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionShareableLinkListResult"] @@ -108,7 +108,7 @@ async def begin_put_bastion_shareable_link( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -217,7 +217,7 @@ async def _delete_bastion_shareable_link_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -269,7 +269,7 @@ async def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -331,10 +331,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionShareableLinkListResult"] @@ -342,7 +342,7 @@ def get_bastion_shareable_link( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -413,7 +413,7 @@ async def _get_active_sessions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -470,7 +470,7 @@ async def begin_get_active_sessions( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionActiveSessionListResult"] @@ -478,7 +478,7 @@ async def begin_get_active_sessions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -580,10 +580,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionSessionDeleteResult"] @@ -591,7 +591,7 @@ def disconnect_active_sessions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -666,7 +666,7 @@ async def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DnsNameAvailabilityResult"] @@ -674,7 +674,7 @@ async def check_dns_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -725,7 +725,7 @@ async def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWanSecurityProviders"] @@ -733,7 +733,7 @@ async def supported_security_providers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -781,7 +781,7 @@ async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -841,7 +841,7 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -849,7 +849,7 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py index 186d94c7378f..a96b59946be3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py @@ -28,7 +28,7 @@ class NetworkProfilesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,10 +222,10 @@ async def create_or_update( :param network_profile_name: The name of the network profile. :type network_profile_name: str :param parameters: Parameters supplied to the create or update network profile operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -233,7 +233,7 @@ async def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -292,10 +292,10 @@ async def update_tags( :param network_profile_name: The name of the network profile. :type network_profile_name: str :param parameters: Parameters supplied to update network profile tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -303,7 +303,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -352,7 +352,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkProfileListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkProfileListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfileListResult"] @@ -360,7 +360,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -421,7 +421,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkProfileListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkProfileListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfileListResult"] @@ -429,7 +429,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py index e697d7ee3ee2..ffd75e331cf9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py @@ -28,7 +28,7 @@ class NetworkSecurityGroupsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroup"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -280,7 +280,7 @@ async def begin_create_or_update( :type network_security_group_name: str :param parameters: Parameters supplied to the create or update network security group operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -288,7 +288,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -345,10 +345,10 @@ async def update_tags( :param network_security_group_name: The name of the network security group. :type network_security_group_name: str :param parameters: Parameters supplied to update network security group tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroup"] @@ -356,7 +356,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -405,7 +405,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroupListResult"] @@ -413,7 +413,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -474,7 +474,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroupListResult"] @@ -482,7 +482,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py index ec7460467051..030950cee0d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py @@ -28,7 +28,7 @@ class NetworkVirtualAppliancesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualAppliance, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualAppliance"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,10 +222,10 @@ async def update_tags( :param network_virtual_appliance_name: The name of Network Virtual Appliance being updated. :type network_virtual_appliance_name: str :param parameters: Parameters supplied to Update Network Virtual Appliance Tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualAppliance, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualAppliance"] @@ -233,7 +233,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -286,7 +286,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -345,7 +345,7 @@ async def begin_create_or_update( :param network_virtual_appliance_name: The name of Network Virtual Appliance. :type network_virtual_appliance_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -353,7 +353,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -407,7 +407,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceListResult"] @@ -415,7 +415,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -474,7 +474,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceListResult"] @@ -482,7 +482,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py index 4e7e1665b4cf..dfa730e264dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py @@ -28,7 +28,7 @@ class NetworkWatchersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,10 +57,10 @@ async def create_or_update( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the network watcher resource. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -68,7 +68,7 @@ async def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -128,7 +128,7 @@ async def get( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -136,7 +136,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -184,7 +184,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -290,10 +290,10 @@ async def update_tags( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters supplied to update network watcher tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -301,7 +301,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -354,7 +354,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkWatcherListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkWatcherListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcherListResult"] @@ -362,7 +362,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -422,7 +422,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkWatcherListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkWatcherListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcherListResult"] @@ -430,7 +430,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -495,10 +495,10 @@ async def get_topology( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the representation of topology. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TopologyParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TopologyParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: Topology, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Topology + :rtype: ~azure.mgmt.network.v2020_07_01.models.Topology :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Topology"] @@ -506,7 +506,7 @@ async def get_topology( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -560,7 +560,7 @@ async def _verify_ip_flow_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -620,7 +620,7 @@ async def begin_verify_ip_flow( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the IP flow to be verified. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -628,7 +628,7 @@ async def begin_verify_ip_flow( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -683,7 +683,7 @@ async def _get_next_hop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -743,7 +743,7 @@ async def begin_get_next_hop( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the source and destination endpoint. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NextHopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -751,7 +751,7 @@ async def begin_get_next_hop( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NextHopResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NextHopResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -806,7 +806,7 @@ async def _get_vm_security_rules_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -866,7 +866,7 @@ async def begin_get_vm_security_rules( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the VM to check security groups for. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -874,7 +874,7 @@ async def begin_get_vm_security_rules( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -929,7 +929,7 @@ async def _get_troubleshooting_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -989,7 +989,7 @@ async def begin_get_troubleshooting( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the resource to troubleshoot. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TroubleshootingParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -997,7 +997,7 @@ async def begin_get_troubleshooting( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.TroubleshootingResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.TroubleshootingResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1052,7 +1052,7 @@ async def _get_troubleshooting_result_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1112,7 +1112,7 @@ async def begin_get_troubleshooting_result( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the resource to query the troubleshooting result. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.QueryTroubleshootingParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1120,7 +1120,7 @@ async def begin_get_troubleshooting_result( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.TroubleshootingResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.TroubleshootingResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1175,7 +1175,7 @@ async def _set_flow_log_configuration_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1235,7 +1235,7 @@ async def begin_set_flow_log_configuration( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the configuration of flow log. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogInformation + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1243,7 +1243,7 @@ async def begin_set_flow_log_configuration( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLogInformation] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLogInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1298,7 +1298,7 @@ async def _get_flow_log_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1359,7 +1359,7 @@ async def begin_get_flow_log_status( :type network_watcher_name: str :param parameters: Parameters that define a resource to query flow log and traffic analytics (optional) status. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogStatusParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1367,7 +1367,7 @@ async def begin_get_flow_log_status( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLogInformation] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLogInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1422,7 +1422,7 @@ async def _check_connectivity_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1483,7 +1483,7 @@ async def begin_check_connectivity( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that determine how the connectivity check will be performed. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectivityParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1491,7 +1491,7 @@ async def begin_check_connectivity( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectivityInformation] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectivityInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1546,7 +1546,7 @@ async def _get_azure_reachability_report_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1608,7 +1608,7 @@ async def begin_get_azure_reachability_report( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that determine Azure reachability report configuration. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1616,7 +1616,7 @@ async def begin_get_azure_reachability_report( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReport] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReport] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1671,7 +1671,7 @@ async def _list_available_providers_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1732,7 +1732,7 @@ async def begin_list_available_providers( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that scope the list of available providers. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1740,7 +1740,7 @@ async def begin_list_available_providers( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersList] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1795,7 +1795,7 @@ async def _get_network_configuration_diagnostic_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1859,7 +1859,7 @@ async def begin_get_network_configuration_diagnostic( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters to get network configuration diagnostic. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1867,7 +1867,7 @@ async def begin_get_network_configuration_diagnostic( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_operations.py index 829e36b17ff1..0340d012d30d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.OperationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py index dccacac8f5a2..77e8cc7e7b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py @@ -28,7 +28,7 @@ class P2SVpnGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: P2SVpnGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.P2SVpnGateway"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -173,7 +173,7 @@ async def begin_create_or_update( :type gateway_name: str :param p2_s_vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan p2s vpn gateway. - :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -181,7 +181,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -236,7 +236,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -294,7 +294,7 @@ async def begin_update_tags( :type gateway_name: str :param p2_s_vpn_gateway_parameters: Parameters supplied to update a virtual wan p2s vpn gateway tags. - :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -302,7 +302,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -458,7 +458,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListP2SVpnGatewaysResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListP2SVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListP2SVpnGatewaysResult"] @@ -466,7 +466,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -525,7 +525,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListP2SVpnGatewaysResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListP2SVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListP2SVpnGatewaysResult"] @@ -533,7 +533,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -594,7 +594,7 @@ async def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -651,7 +651,7 @@ async def begin_reset( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -705,7 +705,7 @@ async def _generate_vpn_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -763,7 +763,7 @@ async def begin_generate_vpn_profile( :type gateway_name: str :param parameters: Parameters supplied to the generate P2SVpnGateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnProfileParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -771,7 +771,7 @@ async def begin_generate_vpn_profile( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -825,7 +825,7 @@ async def _get_p2_s_vpn_connection_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -883,7 +883,7 @@ async def begin_get_p2_s_vpn_connection_health( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -937,7 +937,7 @@ async def _get_p2_s_vpn_connection_health_detailed_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -995,7 +995,7 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :param gateway_name: The name of the P2SVpnGateway. :type gateway_name: str :param request: Request parameters supplied to get p2s vpn connections detailed health. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealthRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1003,7 +1003,7 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealth] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealth] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1058,7 +1058,7 @@ async def _disconnect_p2_s_vpn_connections_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1111,7 +1111,7 @@ async def begin_disconnect_p2_s_vpn_connections( :param p2_s_vpn_gateway_name: The name of the P2S Vpn Gateway. :type p2_s_vpn_gateway_name: str :param request: The parameters are supplied to disconnect p2s vpn connections. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py index b362bdb20480..5eeef99bd656 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py @@ -28,7 +28,7 @@ class PacketCapturesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -116,7 +116,7 @@ async def begin_create( :param packet_capture_name: The name of the packet capture session. :type packet_capture_name: str :param parameters: Parameters that define the create packet capture operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PacketCapture + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -124,7 +124,7 @@ async def begin_create( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -185,7 +185,7 @@ async def get( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PacketCaptureResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PacketCaptureResult"] @@ -193,7 +193,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -243,7 +243,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -352,7 +352,7 @@ async def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -461,7 +461,7 @@ async def _get_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -525,7 +525,7 @@ async def begin_get_status( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PacketCaptureQueryStatusResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PacketCaptureQueryStatusResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -582,7 +582,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PacketCaptureListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PacketCaptureListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PacketCaptureListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PacketCaptureListResult"] @@ -590,7 +590,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_peer_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_peer_express_route_circuit_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_peer_express_route_circuit_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_peer_express_route_circuit_connections_operations.py index 2612dcca1e84..14d57bda5629 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_peer_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_peer_express_route_circuit_connections_operations.py @@ -26,7 +26,7 @@ class PeerExpressRouteCircuitConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PeerExpressRouteCircuitConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PeerExpressRouteCircuitConnection"] @@ -70,7 +70,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -126,7 +126,7 @@ def list( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PeerExpressRouteCircuitConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PeerExpressRouteCircuitConnectionListResult"] @@ -134,7 +134,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py index b01890d426fa..709a2530cb29 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py @@ -28,7 +28,7 @@ class PrivateDnsZoneGroupsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateDnsZoneGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateDnsZoneGroup"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type private_dns_zone_group_name: str :param parameters: Parameters supplied to the create or update private dns zone group operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateDnsZoneGroupListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroupListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateDnsZoneGroupListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py index 1d39d84ba397..4651e1434a9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py @@ -28,7 +28,7 @@ class PrivateEndpointsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -163,7 +163,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpoint, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpoint"] @@ -171,7 +171,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,7 +222,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -282,7 +282,7 @@ async def begin_create_or_update( :param private_endpoint_name: The name of the private endpoint. :type private_endpoint_name: str :param parameters: Parameters supplied to the create or update private endpoint operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -290,7 +290,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,7 +344,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointListResult"] @@ -352,7 +352,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -412,7 +412,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointListResult"] @@ -420,7 +420,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py index 5e387626e204..91917ed53a9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py @@ -28,7 +28,7 @@ class PrivateLinkServicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -163,7 +163,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkService, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkService"] @@ -171,7 +171,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,7 +222,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -282,7 +282,7 @@ async def begin_create_or_update( :param service_name: The name of the private link service. :type service_name: str :param parameters: Parameters supplied to the create or update private link service operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -290,7 +290,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkService] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkService] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,7 +344,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkServiceListResult"] @@ -352,7 +352,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -412,7 +412,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkServiceListResult"] @@ -420,7 +420,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -492,7 +492,7 @@ async def get_private_endpoint_connection( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] @@ -500,7 +500,7 @@ async def get_private_endpoint_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -557,10 +557,10 @@ async def update_private_endpoint_connection( :param pe_connection_name: The name of the private end point connection. :type pe_connection_name: str :param parameters: Parameters supplied to approve or reject the private end point connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] @@ -568,7 +568,7 @@ async def update_private_endpoint_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -623,7 +623,7 @@ async def _delete_private_endpoint_connection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -734,7 +734,7 @@ def list_private_endpoint_connections( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] @@ -742,7 +742,7 @@ def list_private_endpoint_connections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -806,7 +806,7 @@ async def _check_private_link_service_visibility_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -859,7 +859,7 @@ async def begin_check_private_link_service_visibility( :param location: The location of the domain name. :type location: str :param parameters: The request body of CheckPrivateLinkService API call. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -867,7 +867,7 @@ async def begin_check_private_link_service_visibility( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceVisibility] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceVisibility] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -921,7 +921,7 @@ async def _check_private_link_service_visibility_by_resource_group_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -979,7 +979,7 @@ async def begin_check_private_link_service_visibility_by_resource_group( :param resource_group_name: The name of the resource group. :type resource_group_name: str :param parameters: The request body of CheckPrivateLinkService API call. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -987,7 +987,7 @@ async def begin_check_private_link_service_visibility_by_resource_group( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceVisibility] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceVisibility] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1042,7 +1042,7 @@ def list_auto_approved_private_link_services( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkServicesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkServicesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutoApprovedPrivateLinkServicesResult"] @@ -1050,7 +1050,7 @@ def list_auto_approved_private_link_services( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -1116,7 +1116,7 @@ def list_auto_approved_private_link_services_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkServicesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkServicesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutoApprovedPrivateLinkServicesResult"] @@ -1124,7 +1124,7 @@ def list_auto_approved_private_link_services_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py index 7d69979087a5..cafeefe2f454 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py @@ -28,7 +28,7 @@ class PublicIPAddressesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -97,7 +97,7 @@ async def begin_delete( :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param public_ip_address_name: The name of the subnet. + :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -156,13 +156,13 @@ async def get( :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param public_ip_address_name: The name of the subnet. + :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param expand: Expands referenced resources. :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param parameters: Parameters supplied to the create or update public IP address operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PublicIPAddress] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PublicIPAddress] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param parameters: Parameters supplied to update public IP address tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -546,7 +546,7 @@ def list_virtual_machine_scale_set_public_ip_addresses( :type virtual_machine_scale_set_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -630,7 +630,7 @@ def list_virtual_machine_scale_set_vm_public_ip_addresses( :type ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -722,7 +722,7 @@ async def get_virtual_machine_scale_set_public_ip_address( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py index cb8f4fbf962c..3ab8acbec693 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py @@ -28,7 +28,7 @@ class PublicIPPrefixesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefix"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param public_ip_prefix_name: The name of the public IP prefix. :type public_ip_prefix_name: str :param parameters: Parameters supplied to the create or update public IP prefix operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param public_ip_prefix_name: The name of the public IP prefix. :type public_ip_prefix_name: str :param parameters: Parameters supplied to update public IP prefix tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefix"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefixListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefixListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_resource_navigation_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_resource_navigation_links_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_resource_navigation_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_resource_navigation_links_operations.py index 92ee52e8d41b..30f97b167470 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_resource_navigation_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_resource_navigation_links_operations.py @@ -25,7 +25,7 @@ class ResourceNavigationLinksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def list( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ResourceNavigationLinksListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLinksListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLinksListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceNavigationLinksListResult"] @@ -65,7 +65,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py index 1d2e94d87f6f..806fb0b1265f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py @@ -28,7 +28,7 @@ class RouteFilterRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilterRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterRule"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type rule_name: str :param route_filter_rule_parameters: Parameters supplied to the create or update route filter rule operation. - :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule + :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list_by_route_filter( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterRuleListResult"] @@ -364,7 +364,7 @@ def list_by_route_filter( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py index ef6fcc854a78..dc9a3350105f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py @@ -28,7 +28,7 @@ class RouteFiltersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilter"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -280,7 +280,7 @@ async def begin_create_or_update( :type route_filter_name: str :param route_filter_parameters: Parameters supplied to the create or update route filter operation. - :type route_filter_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :type route_filter_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -288,7 +288,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.RouteFilter] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.RouteFilter] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -345,10 +345,10 @@ async def update_tags( :param route_filter_name: The name of the route filter. :type route_filter_name: str :param parameters: Parameters supplied to update route filter tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilter"] @@ -356,7 +356,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -408,7 +408,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterListResult"] @@ -416,7 +416,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -475,7 +475,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterListResult"] @@ -483,7 +483,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py index ad3812fe0848..156f5aa1d816 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py @@ -28,7 +28,7 @@ class RouteTablesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTable"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param route_table_name: The name of the route table. :type route_table_name: str :param parameters: Parameters supplied to the create or update route table operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :type parameters: ~azure.mgmt.network.v2020_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.RouteTable] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.RouteTable] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param route_table_name: The name of the route table. :type route_table_name: str :param parameters: Parameters supplied to update route table tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTable"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -407,7 +407,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteTableListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteTableListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteTableListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTableListResult"] @@ -415,7 +415,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -474,7 +474,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteTableListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteTableListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteTableListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTableListResult"] @@ -482,7 +482,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py index a2ca1ba9ed39..4f091ca01569 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py @@ -28,7 +28,7 @@ class RoutesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Route, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Route + :rtype: ~azure.mgmt.network.v2020_07_01.models.Route :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Route"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ async def begin_create_or_update( :param route_name: The name of the route. :type route_name: str :param route_parameters: Parameters supplied to the create or update route operation. - :type route_parameters: ~azure.mgmt.network.v2020_06_01.models.Route + :type route_parameters: ~azure.mgmt.network.v2020_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -297,7 +297,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.Route] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.Route] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -355,7 +355,7 @@ def list( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteListResult"] @@ -363,7 +363,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py index cb41190d1560..ff3846457112 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py @@ -28,7 +28,7 @@ class SecurityPartnerProvidersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityPartnerProvider, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProvider"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -275,7 +275,7 @@ async def begin_create_or_update( :type security_partner_provider_name: str :param parameters: Parameters supplied to the create or update Security Partner Provider operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -283,7 +283,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -340,10 +340,10 @@ async def update_tags( :param security_partner_provider_name: The name of the Security Partner Provider. :type security_partner_provider_name: str :param parameters: Parameters supplied to update Security Partner Provider tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityPartnerProvider, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProvider"] @@ -351,7 +351,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -403,7 +403,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProviderListResult"] @@ -411,7 +411,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -470,7 +470,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProviderListResult"] @@ -478,7 +478,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py index b913bce2dc52..8ac0b36d9959 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py @@ -28,7 +28,7 @@ class SecurityRulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRule"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type security_rule_name: str :param security_rule_parameters: Parameters supplied to the create or update network security rule operation. - :type security_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :type security_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityRuleListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRuleListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_association_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_association_links_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_association_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_association_links_operations.py index a5b5e2850320..1cba95cc34ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_association_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_association_links_operations.py @@ -25,7 +25,7 @@ class ServiceAssociationLinksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def list( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceAssociationLinksListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLinksListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLinksListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceAssociationLinksListResult"] @@ -65,7 +65,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py index 6edc586611a8..d67eca234ff5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py @@ -28,7 +28,7 @@ class ServiceEndpointPoliciesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicy"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -280,7 +280,7 @@ async def begin_create_or_update( :type service_endpoint_policy_name: str :param parameters: Parameters supplied to the create or update service endpoint policy operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -288,7 +288,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -345,10 +345,10 @@ async def update_tags( :param service_endpoint_policy_name: The name of the service endpoint policy. :type service_endpoint_policy_name: str :param parameters: Parameters supplied to update service endpoint policy tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicy"] @@ -356,7 +356,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -405,7 +405,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyListResult"] @@ -413,7 +413,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -474,7 +474,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyListResult"] @@ -482,7 +482,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 6a97a31d85d2..0b867f117675 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -28,7 +28,7 @@ class ServiceEndpointPolicyDefinitionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -170,7 +170,7 @@ async def get( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicyDefinition, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyDefinition"] @@ -178,7 +178,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -294,7 +294,7 @@ async def begin_create_or_update( :type service_endpoint_policy_definition_name: str :param service_endpoint_policy_definitions: Parameters supplied to the create or update service endpoint policy operation. - :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition + :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -302,7 +302,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -360,7 +360,7 @@ def list_by_resource_group( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyDefinitionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinitionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinitionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyDefinitionListResult"] @@ -368,7 +368,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_tags_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_tags_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_tags_operations.py index 2f7c81627ee6..f6b15a0c234b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_tags_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_tags_operations.py @@ -25,7 +25,7 @@ class ServiceTagsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,7 +53,7 @@ async def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceTagsListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceTagsListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceTagsListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceTagsListResult"] @@ -61,7 +61,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py index 197b3d2df25d..caa021084cda 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py @@ -28,7 +28,7 @@ class SubnetsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -171,7 +171,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Subnet, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Subnet + :rtype: ~azure.mgmt.network.v2020_07_01.models.Subnet :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Subnet"] @@ -179,7 +179,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -231,7 +231,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -294,7 +294,7 @@ async def begin_create_or_update( :param subnet_name: The name of the subnet. :type subnet_name: str :param subnet_parameters: Parameters supplied to the create or update subnet operation. - :type subnet_parameters: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet_parameters: ~azure.mgmt.network.v2020_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -302,7 +302,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.Subnet] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.Subnet] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -359,7 +359,7 @@ async def _prepare_network_policies_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -416,7 +416,7 @@ async def begin_prepare_network_policies( :type subnet_name: str :param prepare_network_policies_request_parameters: Parameters supplied to prepare subnet by applying network intent policies. - :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.PrepareNetworkPoliciesRequest + :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -478,7 +478,7 @@ async def _unprepare_network_policies_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -535,7 +535,7 @@ async def begin_unprepare_network_policies( :type subnet_name: str :param unprepare_network_policies_request_parameters: Parameters supplied to unprepare subnet to remove network intent policies. - :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.UnprepareNetworkPoliciesRequest + :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -598,7 +598,7 @@ def list( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SubnetListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.SubnetListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.SubnetListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SubnetListResult"] @@ -606,7 +606,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_usages_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_usages_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_usages_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_usages_operations.py index f1e564eb3ae9..aa093b0b8f92 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_usages_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_usages_operations.py @@ -26,7 +26,7 @@ class UsagesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -52,7 +52,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UsagesListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.UsagesListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.UsagesListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsagesListResult"] @@ -60,7 +60,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py index d80f7cb9fa5a..064a87ebf006 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py @@ -28,7 +28,7 @@ class VirtualApplianceSitesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualApplianceSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualApplianceSite"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type site_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance Site operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceSiteListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSiteListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSiteListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSiteListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_skus_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_skus_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_skus_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_skus_operations.py index 77e6bfbe40f7..9ccdee2ee211 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_skus_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_skus_operations.py @@ -26,7 +26,7 @@ class VirtualApplianceSkusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceSkuListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSkuListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSkuListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSkuListResult"] @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -118,7 +118,7 @@ async def get( :type sku_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualApplianceSku, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSku + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSku :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSku"] @@ -126,7 +126,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py index 761b2811b436..d6fc448e7b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -27,7 +27,7 @@ class VirtualHubBgpConnectionOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BgpConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BgpConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BgpConnection"] @@ -67,7 +67,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -117,7 +117,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -181,7 +181,7 @@ async def begin_create_or_update( :param connection_name: The name of the connection. :type connection_name: str :param parameters: Parameters of Bgp connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BgpConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -189,7 +189,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.BgpConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.BgpConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -245,7 +245,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py index da1a04a857aa..fa6024970d46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -28,7 +28,7 @@ class VirtualHubBgpConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubBgpConnectionResults or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubBgpConnectionResults] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubBgpConnectionResults] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubBgpConnectionResults"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -129,7 +129,7 @@ async def _list_learned_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -190,7 +190,7 @@ async def begin_list_learned_routes( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PeerRouteList] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PeerRouteList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -245,7 +245,7 @@ async def _list_advertised_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -306,7 +306,7 @@ async def begin_list_advertised_routes( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.PeerRouteList] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.PeerRouteList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py index 3ff749c7143c..90d0acc6f7f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -28,7 +28,7 @@ class VirtualHubIpConfigurationOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ async def get( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubIpConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubIpConfiguration"] @@ -68,7 +68,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -118,7 +118,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -182,7 +182,7 @@ async def begin_create_or_update( :param ip_config_name: The name of the ipconfig. :type ip_config_name: str :param parameters: Hub Ip Configuration parameters. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration + :type parameters: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -190,7 +190,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -246,7 +246,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -356,7 +356,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubIpConfigurationResults or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubIpConfigurationResults] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubIpConfigurationResults] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubIpConfigurationResults"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index e9ffbd97d5f5..f6b2a640244d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -28,7 +28,7 @@ class VirtualHubRouteTableV2SOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ async def get( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHubRouteTableV2, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHubRouteTableV2"] @@ -68,7 +68,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -185,7 +185,7 @@ async def begin_create_or_update( :type route_table_name: str :param virtual_hub_route_table_v2_parameters: Parameters supplied to create or update VirtualHubRouteTableV2. - :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 + :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -193,7 +193,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -249,7 +249,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -360,7 +360,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubRouteTableV2SResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubRouteTableV2SResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubRouteTableV2SResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubRouteTableV2SResult"] @@ -368,7 +368,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py index e2dfaf45bed8..415909a6f78c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py @@ -28,7 +28,7 @@ class VirtualHubsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHub, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHub"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -172,7 +172,7 @@ async def begin_create_or_update( :param virtual_hub_name: The name of the VirtualHub. :type virtual_hub_name: str :param virtual_hub_parameters: Parameters supplied to create or update VirtualHub. - :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -180,7 +180,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualHub] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualHub] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -237,10 +237,10 @@ async def update_tags( :param virtual_hub_name: The name of the VirtualHub. :type virtual_hub_name: str :param virtual_hub_parameters: Parameters supplied to update VirtualHub tags. - :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHub, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHub"] @@ -248,7 +248,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -300,7 +300,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -402,7 +402,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubsResult"] @@ -410,7 +410,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubsResult"] @@ -477,7 +477,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -539,7 +539,7 @@ async def _get_effective_virtual_hub_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -595,7 +595,7 @@ async def begin_get_effective_virtual_hub_routes( :type virtual_hub_name: str :param effective_routes_parameters: Parameters supplied to get the effective routes for a specific resource. - :type effective_routes_parameters: ~azure.mgmt.network.v2020_06_01.models.EffectiveRoutesParameters + :type effective_routes_parameters: ~azure.mgmt.network.v2020_07_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py index 3df08178a3f5..b729918b0e44 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -28,7 +28,7 @@ class VirtualNetworkGatewayConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -116,7 +116,7 @@ async def begin_create_or_update( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the create or update virtual network gateway connection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -124,7 +124,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -182,7 +182,7 @@ async def get( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkGatewayConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayConnection"] @@ -190,7 +190,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -237,7 +237,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -341,7 +341,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -399,7 +399,7 @@ async def begin_update_tags( connection. :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to update virtual network gateway connection tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -407,7 +407,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -462,7 +462,7 @@ async def _set_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -524,7 +524,7 @@ async def begin_set_shared_key( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -532,7 +532,7 @@ async def begin_set_shared_key( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -591,7 +591,7 @@ async def get_shared_key( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionSharedKey, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionSharedKey"] @@ -599,7 +599,7 @@ async def get_shared_key( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -647,7 +647,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayConnectionListResult"] @@ -655,7 +655,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -718,7 +718,7 @@ async def _reset_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -779,7 +779,7 @@ async def begin_reset_shared_key( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -787,7 +787,7 @@ async def begin_reset_shared_key( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -842,7 +842,7 @@ async def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -905,7 +905,7 @@ async def begin_start_packet_capture( :type virtual_network_gateway_connection_name: str :param parameters: Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -968,7 +968,7 @@ async def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1028,7 +1028,7 @@ async def begin_stop_packet_capture( :type virtual_network_gateway_connection_name: str :param parameters: Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py index c56920ab80af..85b334dcd5d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py @@ -28,7 +28,7 @@ class VirtualNetworkGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -114,7 +114,7 @@ async def begin_create_or_update( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param parameters: Parameters supplied to create or update virtual network gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -122,7 +122,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -179,7 +179,7 @@ async def get( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGateway"] @@ -187,7 +187,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -337,7 +337,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -394,7 +394,7 @@ async def begin_update_tags( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param parameters: Parameters supplied to update virtual network gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -402,7 +402,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -456,7 +456,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayListResult"] @@ -464,7 +464,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -529,7 +529,7 @@ def list_connections( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayListConnectionsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayListConnectionsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayListConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayListConnectionsResult"] @@ -537,7 +537,7 @@ def list_connections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -601,7 +601,7 @@ async def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -664,7 +664,7 @@ async def begin_reset( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -718,7 +718,7 @@ async def _reset_vpn_client_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -822,7 +822,7 @@ async def _generatevpnclientpackage_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -881,7 +881,7 @@ async def begin_generatevpnclientpackage( :type virtual_network_gateway_name: str :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -944,7 +944,7 @@ async def _generate_vpn_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1003,7 +1003,7 @@ async def begin_generate_vpn_profile( :type virtual_network_gateway_name: str :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1065,7 +1065,7 @@ async def _get_vpn_profile_package_url_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1177,7 +1177,7 @@ async def _get_bgp_peer_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1239,7 +1239,7 @@ async def begin_get_bgp_peer_status( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.BgpPeerStatusListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.BgpPeerStatusListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1304,7 +1304,7 @@ async def supported_vpn_devices( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1351,7 +1351,7 @@ async def _get_learned_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1409,7 +1409,7 @@ async def begin_get_learned_routes( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.GatewayRouteListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.GatewayRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1463,7 +1463,7 @@ async def _get_advertised_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1525,7 +1525,7 @@ async def begin_get_advertised_routes( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.GatewayRouteListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.GatewayRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1580,7 +1580,7 @@ async def _set_vpnclient_ipsec_parameters_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1639,7 +1639,7 @@ async def begin_set_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :param vpnclient_ipsec_params: Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. - :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters + :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1647,7 +1647,7 @@ async def begin_set_vpnclient_ipsec_parameters( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1701,7 +1701,7 @@ async def _get_vpnclient_ipsec_parameters_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1758,7 +1758,7 @@ async def begin_get_vpnclient_ipsec_parameters( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1815,7 +1815,7 @@ async def vpn_device_configuration_script( connection for which the configuration script is generated. :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the generate vpn device script operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnDeviceScriptParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnDeviceScriptParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: str, or the result of cls(response) :rtype: str @@ -1826,7 +1826,7 @@ async def vpn_device_configuration_script( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1879,7 +1879,7 @@ async def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1941,7 +1941,7 @@ async def begin_start_packet_capture( :type virtual_network_gateway_name: str :param parameters: Virtual network gateway packet capture parameters supplied to start packet capture on gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -2004,7 +2004,7 @@ async def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2063,7 +2063,7 @@ async def begin_stop_packet_capture( :type virtual_network_gateway_name: str :param parameters: Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -2125,7 +2125,7 @@ async def _get_vpnclient_connection_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -2183,7 +2183,7 @@ async def begin_get_vpnclient_connection_health( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealthDetailListResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealthDetailListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -2237,7 +2237,7 @@ async def _disconnect_virtual_network_gateway_vpn_connections_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2289,7 +2289,7 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param request: The parameters are supplied to disconnect vpn connections. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py index 4f39e050dfbf..10e6761178d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py @@ -28,7 +28,7 @@ class VirtualNetworkPeeringsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -168,7 +168,7 @@ async def get( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkPeering"] @@ -176,7 +176,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -226,7 +226,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -290,7 +290,7 @@ async def begin_create_or_update( :type virtual_network_peering_name: str :param virtual_network_peering_parameters: Parameters supplied to the create or update virtual network peering operation. - :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering + :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -298,7 +298,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -356,7 +356,7 @@ def list( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkPeeringListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeeringListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkPeeringListResult"] @@ -364,7 +364,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py index a68292a10490..fcecd4957d19 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py @@ -28,7 +28,7 @@ class VirtualNetworkTapsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -159,7 +159,7 @@ async def get( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkTap, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTap"] @@ -167,7 +167,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ async def begin_create_or_update( :param tap_name: The name of the virtual network tap. :type tap_name: str :param parameters: Parameters supplied to the create or update virtual network tap operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -282,7 +282,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -339,10 +339,10 @@ async def update_tags( :param tap_name: The name of the tap. :type tap_name: str :param tap_parameters: Parameters supplied to update VirtualNetworkTap tags. - :type tap_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type tap_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkTap, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTap"] @@ -350,7 +350,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -399,7 +399,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTapListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTapListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTapListResult"] @@ -407,7 +407,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -468,7 +468,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTapListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTapListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTapListResult"] @@ -476,7 +476,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py index e42b637c8b87..e3c389e95eec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py @@ -28,7 +28,7 @@ class VirtualNetworksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -162,7 +162,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetwork, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetwork"] @@ -170,7 +170,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -220,7 +220,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -279,7 +279,7 @@ async def begin_create_or_update( :param virtual_network_name: The name of the virtual network. :type virtual_network_name: str :param parameters: Parameters supplied to the create or update virtual network operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -287,7 +287,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetwork] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetwork] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,10 +344,10 @@ async def update_tags( :param virtual_network_name: The name of the virtual network. :type virtual_network_name: str :param parameters: Parameters supplied to update virtual network tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetwork, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetwork"] @@ -355,7 +355,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -404,7 +404,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListResult"] @@ -412,7 +412,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -549,7 +549,7 @@ async def check_ip_address_availability( :type ip_address: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IPAddressAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IPAddressAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.IPAddressAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IPAddressAvailabilityResult"] @@ -557,7 +557,7 @@ async def check_ip_address_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -608,7 +608,7 @@ def list_usage( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListUsageResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListUsageResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListUsageResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListUsageResult"] @@ -616,7 +616,7 @@ def list_usage( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py index 30fdbc4a12e0..fde3a207f5db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py @@ -28,7 +28,7 @@ class VirtualRouterPeeringsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ async def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualRouterPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterPeering"] @@ -177,7 +177,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -293,7 +293,7 @@ async def begin_create_or_update( :type peering_name: str :param parameters: Parameters supplied to the create or update Virtual Router Peering operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -301,7 +301,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -359,7 +359,7 @@ def list( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterPeeringListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeeringListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterPeeringListResult"] @@ -367,7 +367,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py index b38dfc1d6ea9..149e794d6bd7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py @@ -28,7 +28,7 @@ class VirtualRoutersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -163,7 +163,7 @@ async def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualRouter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouter"] @@ -171,7 +171,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,7 +222,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -282,7 +282,7 @@ async def begin_create_or_update( :param virtual_router_name: The name of the Virtual Router. :type virtual_router_name: str :param parameters: Parameters supplied to the create or update Virtual Router. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -290,7 +290,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualRouter] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualRouter] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -344,7 +344,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterListResult"] @@ -352,7 +352,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -412,7 +412,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterListResult"] @@ -420,7 +420,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py index f67feb344832..fab5137d359e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py @@ -28,7 +28,7 @@ class VirtualWansOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWAN, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWAN"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -172,7 +172,7 @@ async def begin_create_or_update( :param virtual_wan_name: The name of the VirtualWAN being created or updated. :type virtual_wan_name: str :param wan_parameters: Parameters supplied to create or update VirtualWAN. - :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -180,7 +180,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualWAN] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualWAN] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -237,10 +237,10 @@ async def update_tags( :param virtual_wan_name: The name of the VirtualWAN being updated. :type virtual_wan_name: str :param wan_parameters: Parameters supplied to Update VirtualWAN tags. - :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWAN, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWAN"] @@ -248,7 +248,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -300,7 +300,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -402,7 +402,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualWANsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualWANsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualWANsResult"] @@ -410,7 +410,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualWANsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualWANsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualWANsResult"] @@ -477,7 +477,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py index 5ce1a3b68f88..348dae1eac35 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py @@ -28,7 +28,7 @@ class VpnConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ async def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnConnection"] @@ -68,7 +68,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -118,7 +118,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -182,7 +182,7 @@ async def begin_create_or_update( :param connection_name: The name of the connection. :type connection_name: str :param vpn_connection_parameters: Parameters supplied to create or Update a VPN Connection. - :type vpn_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnection + :type vpn_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -190,7 +190,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -246,7 +246,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -355,7 +355,7 @@ async def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -420,7 +420,7 @@ async def begin_start_packet_capture( :type vpn_connection_name: str :param parameters: Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -485,7 +485,7 @@ async def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -550,7 +550,7 @@ async def begin_stop_packet_capture( :type vpn_connection_name: str :param parameters: Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -616,7 +616,7 @@ def list_by_vpn_gateway( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnConnectionsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnConnectionsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnConnectionsResult"] @@ -624,7 +624,7 @@ def list_by_vpn_gateway( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py index 0c91030a391d..ea9c878d05ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py @@ -28,7 +28,7 @@ class VpnGatewaysOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnGateway"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -173,7 +173,7 @@ async def begin_create_or_update( :type gateway_name: str :param vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan vpn gateway. - :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGateway + :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -181,7 +181,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -236,7 +236,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -293,7 +293,7 @@ async def begin_update_tags( :param gateway_name: The name of the gateway. :type gateway_name: str :param vpn_gateway_parameters: Parameters supplied to update a virtual wan vpn gateway tags. - :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -301,7 +301,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -355,7 +355,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -457,7 +457,7 @@ async def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -514,7 +514,7 @@ async def begin_reset( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -568,7 +568,7 @@ async def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -629,7 +629,7 @@ async def begin_start_packet_capture( :type gateway_name: str :param parameters: Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -692,7 +692,7 @@ async def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -753,7 +753,7 @@ async def begin_stop_packet_capture( :type gateway_name: str :param parameters: Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -815,7 +815,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnGatewaysResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnGatewaysResult"] @@ -823,7 +823,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -882,7 +882,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnGatewaysResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnGatewaysResult"] @@ -890,7 +890,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_link_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_link_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_link_connections_operations.py index e30f29d5c353..e7c5ec2d6cfe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_link_connections_operations.py @@ -26,7 +26,7 @@ class VpnLinkConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_vpn_connection( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSiteLinkConnectionsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSiteLinkConnectionsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSiteLinkConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSiteLinkConnectionsResult"] @@ -67,7 +67,7 @@ def list_by_vpn_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 78c019866697..d20e36e413df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -27,7 +27,7 @@ class VpnServerConfigurationsAssociatedWithVirtualWanOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,7 +53,7 @@ async def _list_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -111,7 +111,7 @@ async def begin_list( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigurationsResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigurationsResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py index d6f98c706186..4dfb902fdb16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py @@ -28,7 +28,7 @@ class VpnServerConfigurationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnServerConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnServerConfiguration"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -175,7 +175,7 @@ async def begin_create_or_update( :type vpn_server_configuration_name: str :param vpn_server_configuration_parameters: Parameters supplied to create or update VpnServerConfiguration. - :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -183,7 +183,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -241,10 +241,10 @@ async def update_tags( :type vpn_server_configuration_name: str :param vpn_server_configuration_parameters: Parameters supplied to update VpnServerConfiguration tags. - :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnServerConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnServerConfiguration"] @@ -252,7 +252,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -304,7 +304,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -406,7 +406,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnServerConfigurationsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnServerConfigurationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnServerConfigurationsResult"] @@ -414,7 +414,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -473,7 +473,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnServerConfigurationsResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnServerConfigurationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnServerConfigurationsResult"] @@ -481,7 +481,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_link_connections_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_link_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_link_connections_operations.py index 86527b3b3226..23cbad14dfb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_link_connections_operations.py @@ -25,7 +25,7 @@ class VpnSiteLinkConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ async def get( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSiteLinkConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSiteLinkConnection"] @@ -68,7 +68,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_links_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_links_operations.py index efb378126ee0..5d72d71a56af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_site_links_operations.py @@ -26,7 +26,7 @@ class VpnSiteLinksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ async def get( :type vpn_site_link_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSiteLink, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSiteLink + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSiteLink :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSiteLink"] @@ -66,7 +66,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -117,7 +117,7 @@ def list_by_vpn_site( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSiteLinksResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSiteLinksResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSiteLinksResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSiteLinksResult"] @@ -125,7 +125,7 @@ def list_by_vpn_site( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py index 2388d24db687..42d905bdeb71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py @@ -27,7 +27,7 @@ class VpnSitesConfigurationOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def _download_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -107,7 +107,7 @@ async def begin_download( needed. :type virtual_wan_name: str :param request: Parameters supplied to download vpn-sites configuration. - :type request: ~azure.mgmt.network.v2020_06_01.models.GetVpnSitesConfigurationRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py index 71c44f4eb813..02bbea641f73 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py @@ -28,7 +28,7 @@ class VpnSitesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ async def get( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSite"] @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -113,7 +113,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -172,7 +172,7 @@ async def begin_create_or_update( :param vpn_site_name: The name of the VpnSite being created or updated. :type vpn_site_name: str :param vpn_site_parameters: Parameters supplied to create or update VpnSite. - :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -180,7 +180,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnSite] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnSite] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -237,10 +237,10 @@ async def update_tags( :param vpn_site_name: The name of the VpnSite being updated. :type vpn_site_name: str :param vpn_site_parameters: Parameters supplied to update VpnSite tags. - :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSite"] @@ -248,7 +248,7 @@ async def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -300,7 +300,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -402,7 +402,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSitesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSitesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSitesResult"] @@ -410,7 +410,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -469,7 +469,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSitesResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSitesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSitesResult"] @@ -477,7 +477,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py index 7402dc72b3e5..c8c33894ed76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py @@ -28,7 +28,7 @@ class WebApplicationFirewallPoliciesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_05_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -121,7 +121,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] @@ -129,7 +129,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -193,7 +193,7 @@ async def get( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] @@ -201,7 +201,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -251,10 +251,10 @@ async def create_or_update( :param policy_name: The name of the policy. :type policy_name: str :param parameters: Policy to be created. - :type parameters: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] @@ -262,7 +262,7 @@ async def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -318,7 +318,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_categories_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_categories_operations.py new file mode 100644 index 000000000000..836d40e71b23 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_categories_operations.py @@ -0,0 +1,167 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class WebCategoriesOperations: + """WebCategoriesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2020_07_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + name: str, + expand: Optional[str] = None, + **kwargs + ) -> "models.AzureWebCategory": + """Gets the specified Azure Web Category. + + :param name: The name of the azureWebCategory. + :type name: str + :param expand: Expands resourceIds back referenced by the azureWebCategory resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureWebCategory, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2020_07_01.models.AzureWebCategory + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AzureWebCategory"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureWebCategory', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}'} # type: ignore + + def list_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.AzureWebCategoryListResult"]: + """Gets all the Azure Web Categories in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureWebCategoryListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureWebCategoryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AzureWebCategoryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AzureWebCategoryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/__init__.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py index 6d160208fb0b..1f9f2937c0a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py @@ -104,6 +104,8 @@ from ._models_py3 import AzureReachabilityReportLatencyInfo from ._models_py3 import AzureReachabilityReportLocation from ._models_py3 import AzureReachabilityReportParameters + from ._models_py3 import AzureWebCategory + from ._models_py3 import AzureWebCategoryListResult from ._models_py3 import BGPCommunity from ._models_py3 import BackendAddressPool from ._models_py3 import BastionActiveSession @@ -231,9 +233,15 @@ from ._models_py3 import ExpressRouteServiceProvider from ._models_py3 import ExpressRouteServiceProviderBandwidthsOffered from ._models_py3 import ExpressRouteServiceProviderListResult + from ._models_py3 import ExtendedLocation from ._models_py3 import FirewallPolicy + from ._models_py3 import FirewallPolicyCertificateAuthority from ._models_py3 import FirewallPolicyFilterRuleCollection from ._models_py3 import FirewallPolicyFilterRuleCollectionAction + from ._models_py3 import FirewallPolicyIntrusionDetection + from ._models_py3 import FirewallPolicyIntrusionDetectionBypassTrafficSpecifications + from ._models_py3 import FirewallPolicyIntrusionDetectionConfiguration + from ._models_py3 import FirewallPolicyIntrusionDetectionSignatureSpecification from ._models_py3 import FirewallPolicyListResult from ._models_py3 import FirewallPolicyNatRuleCollection from ._models_py3 import FirewallPolicyNatRuleCollectionAction @@ -242,7 +250,9 @@ from ._models_py3 import FirewallPolicyRuleCollection from ._models_py3 import FirewallPolicyRuleCollectionGroup from ._models_py3 import FirewallPolicyRuleCollectionGroupListResult + from ._models_py3 import FirewallPolicySku from ._models_py3 import FirewallPolicyThreatIntelWhitelist + from ._models_py3 import FirewallPolicyTransportSecurity from ._models_py3 import FlowLog from ._models_py3 import FlowLogFormatParameters from ._models_py3 import FlowLogInformation @@ -645,6 +655,8 @@ from ._models import AzureReachabilityReportLatencyInfo # type: ignore from ._models import AzureReachabilityReportLocation # type: ignore from ._models import AzureReachabilityReportParameters # type: ignore + from ._models import AzureWebCategory # type: ignore + from ._models import AzureWebCategoryListResult # type: ignore from ._models import BGPCommunity # type: ignore from ._models import BackendAddressPool # type: ignore from ._models import BastionActiveSession # type: ignore @@ -772,9 +784,15 @@ from ._models import ExpressRouteServiceProvider # type: ignore from ._models import ExpressRouteServiceProviderBandwidthsOffered # type: ignore from ._models import ExpressRouteServiceProviderListResult # type: ignore + from ._models import ExtendedLocation # type: ignore from ._models import FirewallPolicy # type: ignore + from ._models import FirewallPolicyCertificateAuthority # type: ignore from ._models import FirewallPolicyFilterRuleCollection # type: ignore from ._models import FirewallPolicyFilterRuleCollectionAction # type: ignore + from ._models import FirewallPolicyIntrusionDetection # type: ignore + from ._models import FirewallPolicyIntrusionDetectionBypassTrafficSpecifications # type: ignore + from ._models import FirewallPolicyIntrusionDetectionConfiguration # type: ignore + from ._models import FirewallPolicyIntrusionDetectionSignatureSpecification # type: ignore from ._models import FirewallPolicyListResult # type: ignore from ._models import FirewallPolicyNatRuleCollection # type: ignore from ._models import FirewallPolicyNatRuleCollectionAction # type: ignore @@ -783,7 +801,9 @@ from ._models import FirewallPolicyRuleCollection # type: ignore from ._models import FirewallPolicyRuleCollectionGroup # type: ignore from ._models import FirewallPolicyRuleCollectionGroupListResult # type: ignore + from ._models import FirewallPolicySku # type: ignore from ._models import FirewallPolicyThreatIntelWhitelist # type: ignore + from ._models import FirewallPolicyTransportSecurity # type: ignore from ._models import FlowLog # type: ignore from ._models import FlowLogFormatParameters # type: ignore from ._models import FlowLogInformation # type: ignore @@ -1149,12 +1169,16 @@ ExpressRoutePeeringState, ExpressRoutePeeringType, ExpressRoutePortsEncapsulation, + ExtendedLocationTypes, FirewallPolicyFilterRuleCollectionActionType, + FirewallPolicyIntrusionDetectionProtocol, + FirewallPolicyIntrusionDetectionStateType, FirewallPolicyNatRuleCollectionActionType, FirewallPolicyRuleApplicationProtocolType, FirewallPolicyRuleCollectionType, FirewallPolicyRuleNetworkProtocol, FirewallPolicyRuleType, + FirewallPolicySkuTier, FlowLogFormatType, HTTPConfigurationMethod, HTTPMethod, @@ -1172,6 +1196,7 @@ IssueType, LoadBalancerOutboundRuleProtocol, LoadBalancerSkuName, + LoadBalancerSkuTier, LoadDistribution, ManagedRuleEnabledState, NatGatewaySkuName, @@ -1193,7 +1218,9 @@ ProtocolType, ProvisioningState, PublicIPAddressSkuName, + PublicIPAddressSkuTier, PublicIPPrefixSkuName, + PublicIPPrefixSkuTier, ResourceIdentityType, RouteFilterRuleType, RouteNextHopType, @@ -1215,6 +1242,7 @@ VirtualNetworkGatewaySkuName, VirtualNetworkGatewaySkuTier, VirtualNetworkGatewayType, + VirtualNetworkPeeringLevel, VirtualNetworkPeeringState, VirtualWanSecurityProviderType, VpnAuthenticationType, @@ -1331,6 +1359,8 @@ 'AzureReachabilityReportLatencyInfo', 'AzureReachabilityReportLocation', 'AzureReachabilityReportParameters', + 'AzureWebCategory', + 'AzureWebCategoryListResult', 'BGPCommunity', 'BackendAddressPool', 'BastionActiveSession', @@ -1458,9 +1488,15 @@ 'ExpressRouteServiceProvider', 'ExpressRouteServiceProviderBandwidthsOffered', 'ExpressRouteServiceProviderListResult', + 'ExtendedLocation', 'FirewallPolicy', + 'FirewallPolicyCertificateAuthority', 'FirewallPolicyFilterRuleCollection', 'FirewallPolicyFilterRuleCollectionAction', + 'FirewallPolicyIntrusionDetection', + 'FirewallPolicyIntrusionDetectionBypassTrafficSpecifications', + 'FirewallPolicyIntrusionDetectionConfiguration', + 'FirewallPolicyIntrusionDetectionSignatureSpecification', 'FirewallPolicyListResult', 'FirewallPolicyNatRuleCollection', 'FirewallPolicyNatRuleCollectionAction', @@ -1469,7 +1505,9 @@ 'FirewallPolicyRuleCollection', 'FirewallPolicyRuleCollectionGroup', 'FirewallPolicyRuleCollectionGroupListResult', + 'FirewallPolicySku', 'FirewallPolicyThreatIntelWhitelist', + 'FirewallPolicyTransportSecurity', 'FlowLog', 'FlowLogFormatParameters', 'FlowLogInformation', @@ -1833,12 +1871,16 @@ 'ExpressRoutePeeringState', 'ExpressRoutePeeringType', 'ExpressRoutePortsEncapsulation', + 'ExtendedLocationTypes', 'FirewallPolicyFilterRuleCollectionActionType', + 'FirewallPolicyIntrusionDetectionProtocol', + 'FirewallPolicyIntrusionDetectionStateType', 'FirewallPolicyNatRuleCollectionActionType', 'FirewallPolicyRuleApplicationProtocolType', 'FirewallPolicyRuleCollectionType', 'FirewallPolicyRuleNetworkProtocol', 'FirewallPolicyRuleType', + 'FirewallPolicySkuTier', 'FlowLogFormatType', 'HTTPConfigurationMethod', 'HTTPMethod', @@ -1856,6 +1898,7 @@ 'IssueType', 'LoadBalancerOutboundRuleProtocol', 'LoadBalancerSkuName', + 'LoadBalancerSkuTier', 'LoadDistribution', 'ManagedRuleEnabledState', 'NatGatewaySkuName', @@ -1877,7 +1920,9 @@ 'ProtocolType', 'ProvisioningState', 'PublicIPAddressSkuName', + 'PublicIPAddressSkuTier', 'PublicIPPrefixSkuName', + 'PublicIPPrefixSkuTier', 'ResourceIdentityType', 'RouteFilterRuleType', 'RouteNextHopType', @@ -1899,6 +1944,7 @@ 'VirtualNetworkGatewaySkuName', 'VirtualNetworkGatewaySkuTier', 'VirtualNetworkGatewayType', + 'VirtualNetworkPeeringLevel', 'VirtualNetworkPeeringState', 'VirtualWanSecurityProviderType', 'VpnAuthenticationType', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py similarity index 91% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py index 72b6f1c29788..ea7b270f9a24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py @@ -119,117 +119,117 @@ class ApplicationGateway(Resource): :param zones: A list of availability zones denoting where the resource needs to come from. :type zones: list[str] :param identity: The identity of the application gateway, if configured. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :param sku: SKU of the application gateway resource. - :type sku: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySku :param ssl_policy: SSL policy of the application gateway resource. - :type ssl_policy: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicy + :type ssl_policy: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicy :ivar operational_state: Operational state of the application gateway resource. Possible values include: "Stopped", "Starting", "Running", "Stopping". :vartype operational_state: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOperationalState + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default limits, see `Application Gateway limits `_. :type gateway_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type authentication_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAuthenticationCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type trusted_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type trusted_client_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedClientCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type ssl_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. For default limits, see `Application Gateway limits `_. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, see `Application Gateway limits `_. :type frontend_ports: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendPort] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. - :type probes: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbe] + :type probes: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For default limits, see `Application Gateway limits `_. :type backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits `_. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, see `Application Gateway limits `_. :type http_listeners: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHttpListener] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see `Application Gateway limits `_. - :type ssl_profiles: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProfile] + :type ssl_profiles: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see `Application Gateway limits `_. - :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlPathMap] + :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRequestRoutingRule] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRequestRoutingRule] :param rewrite_rule_sets: Rewrite rules for the application gateway resource. :type rewrite_rule_sets: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleSet] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. For default limits, see `Application Gateway limits `_. :type redirect_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. :type web_application_firewall_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayWebApplicationFirewallConfiguration :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. :type enable_http2: bool :param enable_fips: Whether FIPS is enabled on the application gateway resource. :type enable_fips: bool :param autoscale_configuration: Autoscale Configuration. :type autoscale_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAutoscaleConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAutoscaleConfiguration :param private_link_configurations: PrivateLink configurations on application gateway. :type private_link_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkConfiguration] :ivar private_endpoint_connections: Private Endpoint connections on application gateway. :vartype private_endpoint_connections: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :ivar resource_guid: The resource GUID property of the application gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the application gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the application gateway resource. :type custom_error_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomError] :param force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :type force_firewall_policy_association: bool @@ -363,7 +363,7 @@ class ApplicationGatewayAuthenticationCertificate(SubResource): :type data: str :ivar provisioning_state: The provisioning state of the authentication certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -439,18 +439,18 @@ class ApplicationGatewayAvailableSslOptions(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param predefined_policies: List of available Ssl predefined policy. - :type predefined_policies: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type predefined_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param default_policy: Name of the Ssl predefined policy applied by default to application gateway. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". :type default_policy: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyName :param available_cipher_suites: List of available Ssl cipher suites. :type available_cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param available_protocols: List of available Ssl protocols. :type available_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol] """ _validation = { @@ -485,7 +485,7 @@ class ApplicationGatewayAvailableSslPredefinedPolicies(msrest.serialization.Mode """Response for ApplicationGatewayAvailableSslOptions API service call. :param value: List of available Ssl predefined policy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPredefinedPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPredefinedPolicy] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -508,7 +508,7 @@ class ApplicationGatewayAvailableWafRuleSetsResult(msrest.serialization.Model): """Response for ApplicationGatewayAvailableWafRuleSets API service call. :param value: The list of application gateway rule sets. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRuleSet] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRuleSet] """ _attribute_map = { @@ -561,13 +561,13 @@ class ApplicationGatewayBackendAddressPool(SubResource): :vartype type: str :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :param backend_addresses: Backend addresses. :type backend_addresses: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddress] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddress] :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -605,7 +605,7 @@ class ApplicationGatewayBackendHealth(msrest.serialization.Model): :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. :type backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthPool] """ _attribute_map = { @@ -625,10 +625,10 @@ class ApplicationGatewayBackendHealthHttpSettings(msrest.serialization.Model): :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. :type backend_http_settings: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings :param servers: List of ApplicationGatewayBackendHealthServer resources. :type servers: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthServer] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthServer] """ _attribute_map = { @@ -650,10 +650,10 @@ class ApplicationGatewayBackendHealthOnDemand(msrest.serialization.Model): :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool :param backend_health_http_settings: Application gateway BackendHealthHttp settings. :type backend_health_http_settings: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthHttpSettings + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthHttpSettings """ _attribute_map = { @@ -675,11 +675,11 @@ class ApplicationGatewayBackendHealthPool(msrest.serialization.Model): :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings resources. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthHttpSettings] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthHttpSettings] """ _attribute_map = { @@ -702,11 +702,11 @@ class ApplicationGatewayBackendHealthServer(msrest.serialization.Model): :param address: IP address or FQDN of backend server. :type address: str :param ip_configuration: Reference to IP configuration of backend server. - :type ip_configuration: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :type ip_configuration: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param health: Health of backend server. Possible values include: "Unknown", "Up", "Down", "Partial", "Draining". :type health: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthServerHealth + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthServerHealth :param health_probe_log: Health Probe Log. :type health_probe_log: str """ @@ -746,26 +746,26 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :type port: int :param protocol: The protocol used to communicate with the backend. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param cookie_based_affinity: Cookie based affinity. Possible values include: "Enabled", "Disabled". :type cookie_based_affinity: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCookieBasedAffinity + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCookieBasedAffinity :param request_timeout: Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds. :type request_timeout: int :param probe: Probe resource of an application gateway. - :type probe: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_07_01.models.SubResource :param authentication_certificates: Array of references to application gateway authentication certificates. - :type authentication_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type authentication_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param trusted_root_certificates: Array of references to application gateway trusted root certificates. - :type trusted_root_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type trusted_root_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param connection_draining: Connection draining of the backend http settings resource. :type connection_draining: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayConnectionDraining + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayConnectionDraining :param host_name: Host header to be sent to the backend servers. :type host_name: str :param pick_host_name_from_backend_address: Whether to pick host header should be picked from @@ -780,7 +780,7 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :type path: str :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -891,7 +891,7 @@ class ApplicationGatewayCustomError(msrest.serialization.Model): :param status_code: Status code of the application gateway customer error. Possible values include: "HttpStatus403", "HttpStatus502". :type status_code: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomErrorStatusCode + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomErrorStatusCode :param custom_error_page_url: Error page URL of the application gateway customer error. :type custom_error_page_url: str """ @@ -1016,7 +1016,7 @@ class ApplicationGatewayFirewallRuleGroup(msrest.serialization.Model): :param description: The description of the web application firewall rule group. :type description: str :param rules: Required. The rules of the web application firewall rule group. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRule] """ _validation = { @@ -1057,14 +1057,14 @@ class ApplicationGatewayFirewallRuleSet(Resource): :type tags: dict[str, str] :ivar provisioning_state: The provisioning state of the web application firewall rule set. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param rule_set_type: The type of the web application firewall rule set. :type rule_set_type: str :param rule_set_version: The version of the web application firewall rule set type. :type rule_set_version: str :param rule_groups: The rule groups of the web application firewall rule set. :type rule_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRuleGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRuleGroup] """ _validation = { @@ -1115,17 +1115,17 @@ class ApplicationGatewayFrontendIPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: Reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference to the PublicIP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :param private_link_configuration: Reference to the application gateway private link configuration. - :type private_link_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type private_link_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1180,7 +1180,7 @@ class ApplicationGatewayFrontendPort(SubResource): :type port: int :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1247,28 +1247,28 @@ class ApplicationGatewayHttpListener(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: Frontend IP configuration resource of an application gateway. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param frontend_port: Frontend port resource of an application gateway. - :type frontend_port: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_port: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: Protocol of the HTTP listener. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host_name: Host name of HTTP listener. :type host_name: str :param ssl_certificate: SSL certificate resource of an application gateway. - :type ssl_certificate: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ssl_certificate: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ssl_profile: SSL profile resource of the application gateway. - :type ssl_profile: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ssl_profile: ~azure.mgmt.network.v2020_07_01.models.SubResource :param require_server_name_indication: Applicable only if protocol is https. Enables SNI for multi-hosting. :type require_server_name_indication: bool :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the HTTP listener. :type custom_error_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomError] :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param host_names: List of Host names for HTTP Listener that allows special wildcard characters as well. :type host_names: list[str] @@ -1334,10 +1334,10 @@ class ApplicationGatewayIPConfiguration(SubResource): :vartype type: str :param subnet: Reference to the subnet resource. A subnet from where application gateway gets its private address. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the application gateway IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1371,7 +1371,7 @@ class ApplicationGatewayListResult(msrest.serialization.Model): """Response for ListApplicationGateways API service call. :param value: List of an application gateways in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -1394,7 +1394,7 @@ class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): """Details of on demand test probe request. :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host: Host name to send the probe to. :type host: str :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to @@ -1407,13 +1407,13 @@ class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): the backend http settings. Default value is false. :type pick_host_name_from_backend_http_settings: bool :param match: Criterion for classifying a healthy probe response. - :type match: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbeHealthResponseMatch + :type match: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbeHealthResponseMatch :param backend_address_pool: Reference to backend pool of application gateway to which probe request will be sent. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Reference to backend http setting of application gateway to be used for test probe. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -1458,18 +1458,18 @@ class ApplicationGatewayPathRule(SubResource): :param paths: Path rules of URL path map. :type paths: list[str] :param backend_address_pool: Backend address pool resource of URL path map path rule. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Backend http settings resource of URL path map path rule. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param redirect_configuration: Redirect configuration resource of URL path map path rule. - :type redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. - :type rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the path rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -1523,14 +1523,14 @@ class ApplicationGatewayPrivateEndpointConnection(SubResource): :ivar type: Type of the resource. :vartype type: str :ivar private_endpoint: The resource of private end point. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState :ivar provisioning_state: The provisioning state of the application gateway private endpoint connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar link_identifier: The consumer link id. :vartype link_identifier: str """ @@ -1573,7 +1573,7 @@ class ApplicationGatewayPrivateEndpointConnectionListResult(msrest.serialization :param value: List of private endpoint connections on an application gateway. :type value: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -1608,10 +1608,10 @@ class ApplicationGatewayPrivateLinkConfiguration(SubResource): :vartype type: str :param ip_configurations: An array of application gateway private link ip configurations. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkIpConfiguration] :ivar provisioning_state: The provisioning state of the application gateway private link configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1659,14 +1659,14 @@ class ApplicationGatewayPrivateLinkIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: Reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param primary: Whether the ip configuration is primary or not. :type primary: bool :ivar provisioning_state: The provisioning state of the application gateway private link IP configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1757,7 +1757,7 @@ class ApplicationGatewayPrivateLinkResourceListResult(msrest.serialization.Model """Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway. :param value: List of private link resources of an application gateway. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkResource] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkResource] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -1790,7 +1790,7 @@ class ApplicationGatewayProbe(SubResource): :ivar type: Type of the resource. :vartype type: str :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host: Host name to send the probe to. :type host: str :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to @@ -1813,10 +1813,10 @@ class ApplicationGatewayProbe(SubResource): 0. :type min_servers: int :param match: Criterion for classifying a healthy probe response. - :type match: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbeHealthResponseMatch + :type match: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbeHealthResponseMatch :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param port: Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. @@ -1909,9 +1909,9 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param redirect_type: HTTP redirection type. Possible values include: "Permanent", "Found", "SeeOther", "Temporary". :type redirect_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectType :param target_listener: Reference to a listener to redirect the request to. - :type target_listener: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_listener: ~azure.mgmt.network.v2020_07_01.models.SubResource :param target_url: Url to redirect the request to. :type target_url: str :param include_path: Include path in the redirected url. @@ -1919,11 +1919,11 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param include_query_string: Include query string in the redirected url. :type include_query_string: bool :param request_routing_rules: Request routing specifying redirect configuration. - :type request_routing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type request_routing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param url_path_maps: Url path maps specifying default redirect configuration. - :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param path_rules: Path rules specifying redirect configuration. - :type path_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type path_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -1979,24 +1979,24 @@ class ApplicationGatewayRequestRoutingRule(SubResource): :vartype type: str :param rule_type: Rule type. Possible values include: "Basic", "PathBasedRouting". :type rule_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRequestRoutingRuleType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRequestRoutingRuleType :param priority: Priority of the request routing rule. :type priority: int :param backend_address_pool: Backend address pool resource of the application gateway. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Backend http settings resource of the application gateway. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param http_listener: Http listener resource of the application gateway. - :type http_listener: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type http_listener: ~azure.mgmt.network.v2020_07_01.models.SubResource :param url_path_map: URL path map resource of the application gateway. - :type url_path_map: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type url_path_map: ~azure.mgmt.network.v2020_07_01.models.SubResource :param rewrite_rule_set: Rewrite Rule Set resource in Basic rule of the application gateway. - :type rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :param redirect_configuration: Redirect configuration resource of the application gateway. - :type redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2051,9 +2051,9 @@ class ApplicationGatewayRewriteRule(msrest.serialization.Model): :type rule_sequence: int :param conditions: Conditions based on which the action set execution will be evaluated. :type conditions: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleCondition] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleCondition] :param action_set: Set of actions to be done as part of the rewrite Rule. - :type action_set: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleActionSet + :type action_set: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleActionSet """ _attribute_map = { @@ -2079,13 +2079,13 @@ class ApplicationGatewayRewriteRuleActionSet(msrest.serialization.Model): :param request_header_configurations: Request Header Actions in the Action Set. :type request_header_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHeaderConfiguration] :param response_header_configurations: Response Header Actions in the Action Set. :type response_header_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHeaderConfiguration] :param url_configuration: Url Configuration Action in the Action Set. :type url_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlConfiguration """ _attribute_map = { @@ -2150,10 +2150,10 @@ class ApplicationGatewayRewriteRuleSet(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param rewrite_rules: Rewrite rules in the rewrite rule set. - :type rewrite_rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRule] + :type rewrite_rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRule] :ivar provisioning_state: The provisioning state of the rewrite rule set resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2185,10 +2185,10 @@ class ApplicationGatewaySku(msrest.serialization.Model): :param name: Name of an application gateway SKU. Possible values include: "Standard_Small", "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySkuName :param tier: Tier of an application gateway. Possible values include: "Standard", "WAF", "Standard_v2", "WAF_v2". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTier :param capacity: Capacity (instance count) of an application gateway. :type capacity: int """ @@ -2234,7 +2234,7 @@ class ApplicationGatewaySslCertificate(SubResource): :type key_vault_secret_id: str :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2276,22 +2276,22 @@ class ApplicationGatewaySslPolicy(msrest.serialization.Model): :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. :type disabled_ssl_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol] :param policy_type: Type of Ssl Policy. Possible values include: "Predefined", "Custom". :type policy_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyType :param policy_name: Name of Ssl predefined policy. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". :type policy_name: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyName :param cipher_suites: Ssl cipher suites to be enabled in the specified order to application gateway. :type cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param min_protocol_version: Minimum version of Ssl protocol to be supported on application gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". :type min_protocol_version: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -2324,11 +2324,11 @@ class ApplicationGatewaySslPredefinedPolicy(SubResource): :param cipher_suites: Ssl cipher suites to be enabled in the specified order for application gateway. :type cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param min_protocol_version: Minimum version of Ssl protocol to be supported on application gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". :type min_protocol_version: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -2363,16 +2363,16 @@ class ApplicationGatewaySslProfile(SubResource): :vartype type: str :param trusted_client_certificates: Array of references to application gateway trusted client certificates. - :type trusted_client_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type trusted_client_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param ssl_policy: SSL policy of the application gateway resource. - :type ssl_policy: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicy + :type ssl_policy: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicy :param client_auth_configuration: Client authentication configuration of the application gateway resource. :type client_auth_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayClientAuthConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayClientAuthConfiguration :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2424,7 +2424,7 @@ class ApplicationGatewayTrustedClientCertificate(SubResource): :type data: str :ivar provisioning_state: The provisioning state of the trusted client certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2474,7 +2474,7 @@ class ApplicationGatewayTrustedRootCertificate(SubResource): :type key_vault_secret_id: str :ivar provisioning_state: The provisioning state of the trusted root certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2550,18 +2550,18 @@ class ApplicationGatewayUrlPathMap(SubResource): :ivar type: Type of the resource. :vartype type: str :param default_backend_address_pool: Default backend address pool resource of URL path map. - :type default_backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_backend_http_settings: Default backend http settings resource of URL path map. - :type default_backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_rewrite_rule_set: Default Rewrite rule set resource of URL path map. - :type default_rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_redirect_configuration: Default redirect configuration resource of URL path map. - :type default_redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param path_rules: Path rule of URL path map resource. - :type path_rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPathRule] + :type path_rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPathRule] :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2609,7 +2609,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :param firewall_mode: Required. Web application firewall mode. Possible values include: "Detection", "Prevention". :type firewall_mode: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallMode + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallMode :param rule_set_type: Required. The type of the web application firewall rule set. Possible values are: 'OWASP'. :type rule_set_type: str @@ -2617,7 +2617,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :type rule_set_version: str :param disabled_rule_groups: The disabled rule groups. :type disabled_rule_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallDisabledRuleGroup] :param request_body_check: Whether allow WAF to check request Body. :type request_body_check: bool :param max_request_body_size: Maximum request body size for WAF. @@ -2628,7 +2628,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :type file_upload_limit_in_mb: int :param exclusions: The exclusion list. :type exclusions: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallExclusion] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallExclusion] """ _validation = { @@ -2685,7 +2685,7 @@ class FirewallPolicyRule(msrest.serialization.Model): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType """ _validation = { @@ -2723,20 +2723,26 @@ class ApplicationRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. :type destination_addresses: list[str] :param protocols: Array of Application Protocols. :type protocols: - list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleApplicationProtocol] + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleApplicationProtocol] :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] :param fqdn_tags: List of FQDN Tags for this rule. :type fqdn_tags: list[str] :param source_ip_groups: List of source IpGroups for this rule. :type source_ip_groups: list[str] + :param terminate_tls: Terminate TLS connections for this rule. + :type terminate_tls: bool + :param web_categories: List of destination azure web categories. + :type web_categories: list[str] """ _validation = { @@ -2751,8 +2757,11 @@ class ApplicationRule(FirewallPolicyRule): 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, + 'web_categories': {'key': 'webCategories', 'type': '[str]'}, } def __init__( @@ -2765,8 +2774,11 @@ def __init__( self.destination_addresses = kwargs.get('destination_addresses', None) self.protocols = kwargs.get('protocols', None) self.target_fqdns = kwargs.get('target_fqdns', None) + self.target_urls = kwargs.get('target_urls', None) self.fqdn_tags = kwargs.get('fqdn_tags', None) self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.terminate_tls = kwargs.get('terminate_tls', None) + self.web_categories = kwargs.get('web_categories', None) class ApplicationSecurityGroup(Resource): @@ -2792,7 +2804,7 @@ class ApplicationSecurityGroup(Resource): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the application security group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2830,7 +2842,7 @@ class ApplicationSecurityGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of application security groups. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -2857,7 +2869,7 @@ class AuthorizationListResult(msrest.serialization.Model): """Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. :param value: The authorizations in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -2901,7 +2913,7 @@ class AutoApprovedPrivateLinkServicesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of auto approved private link service. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkService] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkService] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -2992,7 +3004,7 @@ class AvailableDelegationsResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available delegations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailableDelegation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailableDelegation] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3052,7 +3064,7 @@ class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available privateEndpoint type. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointType] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointType] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3081,7 +3093,7 @@ class AvailableProvidersList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param countries: Required. List of available countries. - :type countries: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListCountry] + :type countries: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListCountry] """ _validation = { @@ -3131,7 +3143,7 @@ class AvailableProvidersListCountry(msrest.serialization.Model): :param providers: A list of Internet service providers. :type providers: list[str] :param states: List of available states in the country. - :type states: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListState] + :type states: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListState] """ _attribute_map = { @@ -3189,7 +3201,7 @@ class AvailableProvidersListState(msrest.serialization.Model): :param providers: A list of Internet service providers. :type providers: list[str] :param cities: List of available cities or towns in the state. - :type cities: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListCity] + :type cities: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListCity] """ _attribute_map = { @@ -3245,7 +3257,7 @@ class AvailableServiceAliasesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available service aliases. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAlias] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAlias] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3273,9 +3285,9 @@ class AzureAsyncOperationResult(msrest.serialization.Model): :param status: Status of the Azure async operation. Possible values include: "InProgress", "Succeeded", "Failed". - :type status: str or ~azure.mgmt.network.v2020_06_01.models.NetworkOperationStatus + :type status: str or ~azure.mgmt.network.v2020_07_01.models.NetworkOperationStatus :param error: Details of the error occurred during specified asynchronous operation. - :type error: ~azure.mgmt.network.v2020_06_01.models.Error + :type error: ~azure.mgmt.network.v2020_07_01.models.Error """ _attribute_map = { @@ -3314,37 +3326,37 @@ class AzureFirewall(Resource): :param application_rule_collections: Collection of application rule collections used by Azure Firewall. :type application_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleCollection] :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. :type nat_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRuleCollection] :param network_rule_collections: Collection of network rule collections used by Azure Firewall. :type network_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleCollection] :param ip_configurations: IP configuration of the Azure Firewall resource. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallIPConfiguration] :param management_ip_configuration: IP configuration of the Azure Firewall used for management traffic. :type management_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallIPConfiguration :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: "Alert", "Deny", "Off". :type threat_intel_mode: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallThreatIntelMode :param virtual_hub: The virtualHub to which the firewall belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param firewall_policy: The firewallPolicy associated with this azure firewall. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param hub_ip_addresses: IP addresses associated with AzureFirewall. - :type hub_ip_addresses: ~azure.mgmt.network.v2020_06_01.models.HubIPAddresses + :type hub_ip_addresses: ~azure.mgmt.network.v2020_07_01.models.HubIPAddresses :ivar ip_groups: IpGroups associated with AzureFirewall. - :vartype ip_groups: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallIpGroups] + :vartype ip_groups: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallIpGroups] :param sku: The Azure Firewall Resource SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSku :param additional_properties: The additional properties used to further config this azure firewall. :type additional_properties: dict[str, str] @@ -3414,7 +3426,7 @@ class AzureFirewallApplicationRule(msrest.serialization.Model): :type source_addresses: list[str] :param protocols: Array of ApplicationRuleProtocols. :type protocols: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleProtocol] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleProtocol] :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] :param fqdn_tags: List of FQDN Tags for this rule. @@ -3462,12 +3474,12 @@ class AzureFirewallApplicationRuleCollection(SubResource): :param priority: Priority of the application rule collection resource. :type priority: int :param action: The action type of a rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a application rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRule] :ivar provisioning_state: The provisioning state of the application rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3504,7 +3516,7 @@ class AzureFirewallApplicationRuleProtocol(msrest.serialization.Model): :param protocol_type: Protocol type. Possible values include: "Http", "Https", "Mssql". :type protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleProtocolType + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleProtocolType :param port: Port number for the protocol, cannot be greater than 64000. This field is optional. :type port: int @@ -3547,7 +3559,7 @@ class AzureFirewallFqdnTag(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the Azure firewall FQDN tag resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar fqdn_tag_name: The name of this FQDN Tag. :vartype fqdn_tag_name: str """ @@ -3585,7 +3597,7 @@ class AzureFirewallFqdnTagListResult(msrest.serialization.Model): """Response for ListAzureFirewallFqdnTags API service call. :param value: List of Azure Firewall FQDN Tags in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallFqdnTag] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallFqdnTag] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -3623,13 +3635,13 @@ class AzureFirewallIPConfiguration(SubResource): :vartype private_ip_address: str :param subnet: Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3698,7 +3710,7 @@ class AzureFirewallListResult(msrest.serialization.Model): """Response for ListAzureFirewalls API service call. :param value: List of Azure Firewalls in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -3721,7 +3733,7 @@ class AzureFirewallNatRCAction(msrest.serialization.Model): """AzureFirewall NAT Rule Collection Action. :param type: The type of action. Possible values include: "Snat", "Dnat". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRCActionType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRCActionType """ _attribute_map = { @@ -3752,7 +3764,7 @@ class AzureFirewallNatRule(msrest.serialization.Model): :type destination_ports: list[str] :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. :type protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleProtocol] :param translated_address: The translated address for this NAT rule. :type translated_address: str :param translated_port: The translated port for this NAT rule. @@ -3808,12 +3820,12 @@ class AzureFirewallNatRuleCollection(SubResource): :param priority: Priority of the NAT rule collection resource. :type priority: int :param action: The action type of a NAT rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRCAction :param rules: Collection of rules used by a NAT rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRule] :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3854,7 +3866,7 @@ class AzureFirewallNetworkRule(msrest.serialization.Model): :type description: str :param protocols: Array of AzureFirewallNetworkRuleProtocols. :type protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses. @@ -3912,12 +3924,12 @@ class AzureFirewallNetworkRuleCollection(SubResource): :param priority: Priority of the network rule collection resource. :type priority: int :param action: The action type of a rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a network rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRule] :ivar provisioning_state: The provisioning state of the network rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3972,7 +3984,7 @@ class AzureFirewallRCAction(msrest.serialization.Model): """Properties of the AzureFirewallRCAction. :param type: The type of action. Possible values include: "Allow", "Deny". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCActionType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCActionType """ _attribute_map = { @@ -3991,9 +4003,9 @@ class AzureFirewallSku(msrest.serialization.Model): """SKU of an Azure Firewall. :param name: Name of an Azure Firewall SKU. Possible values include: "AZFW_VNet", "AZFW_Hub". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSkuName :param tier: Tier of an Azure Firewall. Possible values include: "Standard", "Premium". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSkuTier """ _attribute_map = { @@ -4019,10 +4031,10 @@ class AzureReachabilityReport(msrest.serialization.Model): Country, State or City. :type aggregation_level: str :param provider_location: Required. Parameters that define a geographic location. - :type provider_location: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLocation + :type provider_location: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLocation :param reachability_report: Required. List of Azure reachability report items. :type reachability_report: - list[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportItem] + list[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportItem] """ _validation = { @@ -4056,7 +4068,7 @@ class AzureReachabilityReportItem(msrest.serialization.Model): :type azure_location: str :param latencies: List of latency details for each of the time series. :type latencies: - list[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLatencyInfo] + list[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLatencyInfo] """ _attribute_map = { @@ -4142,7 +4154,7 @@ class AzureReachabilityReportParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param provider_location: Required. Parameters that define a geographic location. - :type provider_location: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLocation + :type provider_location: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLocation :param providers: List of Internet service providers. :type providers: list[str] :param azure_locations: Optional Azure regions to scope the query to. @@ -4179,6 +4191,73 @@ def __init__( self.end_time = kwargs['end_time'] +class AzureWebCategory(msrest.serialization.Model): + """Azure Web Category Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar group: The name of the group that the category belongs to. + :vartype group: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'group': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'group': {'key': 'properties.group', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureWebCategory, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = None + self.type = None + self.etag = None + self.group = None + + +class AzureWebCategoryListResult(msrest.serialization.Model): + """Response for ListAzureWebCategories API service call. + + :param value: List of Azure Web Categories for a given Subscription. + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureWebCategory] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureWebCategory]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureWebCategoryListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + class BackendAddressPool(SubResource): """Pool of backend IP addresses. @@ -4195,22 +4274,22 @@ class BackendAddressPool(SubResource): :vartype type: str :param load_balancer_backend_addresses: An array of backend addresses. :type load_balancer_backend_addresses: - list[~azure.mgmt.network.v2020_06_01.models.LoadBalancerBackendAddress] + list[~azure.mgmt.network.v2020_07_01.models.LoadBalancerBackendAddress] :ivar backend_ip_configurations: An array of references to IP addresses defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar load_balancing_rules: An array of references to load balancing rules that use this backend address pool. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. - :vartype outbound_rule: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype outbound_rule: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar outbound_rules: An array of references to outbound rules that use this backend address pool. - :vartype outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4275,7 +4354,7 @@ class BastionActiveSession(msrest.serialization.Model): :vartype target_ip_address: str :ivar protocol: The protocol used to connect to the target. Possible values include: "SSH", "RDP". - :vartype protocol: str or ~azure.mgmt.network.v2020_06_01.models.BastionConnectProtocol + :vartype protocol: str or ~azure.mgmt.network.v2020_07_01.models.BastionConnectProtocol :ivar target_resource_id: The resource id of the target. :vartype target_resource_id: str :ivar session_duration_in_mins: Duration in mins the session has been active. @@ -4332,7 +4411,7 @@ class BastionActiveSessionListResult(msrest.serialization.Model): """Response for GetActiveSessions. :param value: List of active sessions on the bastion. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionActiveSession] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionActiveSession] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -4370,12 +4449,12 @@ class BastionHost(Resource): :vartype etag: str :param ip_configurations: IP configuration of the Bastion Host resource. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.BastionHostIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.BastionHostIPConfiguration] :param dns_name: FQDN for the endpoint on which bastion host is accessible. :type dns_name: str :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4423,16 +4502,16 @@ class BastionHostIPConfiguration(SubResource): :ivar type: Ip configuration type. :vartype type: str :param subnet: Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference of the PublicIP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_ip_allocation_method: Private IP allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod """ _validation = { @@ -4470,7 +4549,7 @@ class BastionHostListResult(msrest.serialization.Model): """Response for ListBastionHosts API service call. :param value: List of Bastion Hosts in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionHost] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionHost] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -4493,7 +4572,7 @@ class BastionSessionDeleteResult(msrest.serialization.Model): """Response for DisconnectActiveSessions. :param value: List of sessions with their corresponding state. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionSessionState] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionSessionState] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -4555,7 +4634,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_06_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_07_01.models.Resource :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4594,7 +4673,7 @@ class BastionShareableLinkListRequest(msrest.serialization.Model): """Post request for all the Bastion Shareable Link endpoints. :param vms: List of VM references. - :type vms: list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink] + :type vms: list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink] """ _attribute_map = { @@ -4613,7 +4692,7 @@ class BastionShareableLinkListResult(msrest.serialization.Model): """Response for all the Bastion Shareable Link endpoints. :param value: List of Bastion Shareable Links for the request. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -4692,10 +4771,10 @@ class BgpConnection(SubResource): :type peer_ip: str :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar connection_state: The current state of the VirtualHub to Peer. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_state: str or ~azure.mgmt.network.v2020_06_01.models.HubBgpConnectionStatus + :vartype connection_state: str or ~azure.mgmt.network.v2020_07_01.models.HubBgpConnectionStatus """ _validation = { @@ -4744,7 +4823,7 @@ class BgpPeerStatus(msrest.serialization.Model): :vartype asn: long :ivar state: The BGP peer state. Possible values include: "Unknown", "Stopped", "Idle", "Connecting", "Connected". - :vartype state: str or ~azure.mgmt.network.v2020_06_01.models.BgpPeerState + :vartype state: str or ~azure.mgmt.network.v2020_07_01.models.BgpPeerState :ivar connected_duration: For how long the peering has been up. :vartype connected_duration: str :ivar routes_received: The number of routes learned from this peer. @@ -4796,7 +4875,7 @@ class BgpPeerStatusListResult(msrest.serialization.Model): """Response for list BGP peer status API service call. :param value: List of BGP peers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpPeerStatus] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpPeerStatus] """ _attribute_map = { @@ -4829,7 +4908,7 @@ class BgpServiceCommunity(Resource): :param service_name: The name of the bgp community. e.g. Skype. :type service_name: str :param bgp_communities: A list of bgp communities. - :type bgp_communities: list[~azure.mgmt.network.v2020_06_01.models.BGPCommunity] + :type bgp_communities: list[~azure.mgmt.network.v2020_07_01.models.BGPCommunity] """ _validation = { @@ -4860,7 +4939,7 @@ class BgpServiceCommunityListResult(msrest.serialization.Model): """Response for the ListServiceCommunity API service call. :param value: A list of service community resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpServiceCommunity] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpServiceCommunity] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -4891,7 +4970,7 @@ class BgpSettings(msrest.serialization.Model): :param bgp_peering_addresses: BGP peering address with IP configuration ID for virtual network gateway. :type bgp_peering_addresses: - list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationBgpPeeringAddress] + list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationBgpPeeringAddress] """ _validation = { @@ -4975,7 +5054,7 @@ class CloudErrorBody(msrest.serialization.Model): error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.network.v2020_06_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.network.v2020_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -5034,26 +5113,30 @@ class ConnectionMonitor(msrest.serialization.Model): :param tags: A set of tags. Connection monitor tags. :type tags: dict[str, str] :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str """ + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + _attribute_map = { 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -5097,6 +5180,10 @@ class ConnectionMonitorDestination(msrest.serialization.Model): :type port: int """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'address': {'key': 'address', 'type': 'str'}, @@ -5122,18 +5209,18 @@ class ConnectionMonitorEndpoint(msrest.serialization.Model): :type name: str :param type: The endpoint type. Possible values include: "AzureVM", "AzureVNet", "AzureSubnet", "ExternalAddress", "MMAWorkspaceMachine", "MMAWorkspaceNetwork". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.EndpointType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.EndpointType :param resource_id: Resource ID of the connection monitor endpoint. :type resource_id: str :param address: Address of the connection monitor endpoint (IP or domain name). :type address: str :param filter: Filter for sub-items within the endpoint. - :type filter: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilter + :type filter: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilter :param scope: Endpoint scope. - :type scope: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScope + :type scope: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScope :param coverage_level: Test coverage for the endpoint. Possible values include: "Default", "Low", "BelowAverage", "Average", "AboveAverage", "Full". - :type coverage_level: str or ~azure.mgmt.network.v2020_06_01.models.CoverageLevel + :type coverage_level: str or ~azure.mgmt.network.v2020_07_01.models.CoverageLevel """ _validation = { @@ -5169,9 +5256,9 @@ class ConnectionMonitorEndpointFilter(msrest.serialization.Model): :param type: The behavior of the endpoint filter. Currently only 'Include' is supported. Possible values include: "Include". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterType :param items: List of items in the filter. - :type items: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterItem] + :type items: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterItem] """ _attribute_map = { @@ -5194,7 +5281,7 @@ class ConnectionMonitorEndpointFilterItem(msrest.serialization.Model): :param type: The type of item included in the filter. Currently only 'AgentAddress' is supported. Possible values include: "AgentAddress". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterItemType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterItemType :param address: The address of the filter item. :type address: str """ @@ -5217,9 +5304,9 @@ class ConnectionMonitorEndpointScope(msrest.serialization.Model): """Describes the connection monitor endpoint scope. :param include: List of items which needs to be included to the endpoint scope. - :type include: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScopeItem] + :type include: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScopeItem] :param exclude: List of items which needs to be excluded from the endpoint scope. - :type exclude: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScopeItem] + :type exclude: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScopeItem] """ _attribute_map = { @@ -5262,11 +5349,11 @@ class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): :param port: The port to connect to. :type port: int :param method: The HTTP method to use. Possible values include: "Get", "Post". - :type method: str or ~azure.mgmt.network.v2020_06_01.models.HTTPConfigurationMethod + :type method: str or ~azure.mgmt.network.v2020_07_01.models.HTTPConfigurationMethod :param path: The path component of the URI. For instance, "/dir1/dir2". :type path: str :param request_headers: The HTTP headers to transmit with the request. - :type request_headers: list[~azure.mgmt.network.v2020_06_01.models.HTTPHeader] + :type request_headers: list[~azure.mgmt.network.v2020_07_01.models.HTTPHeader] :param valid_status_code_ranges: HTTP status codes to consider successful. For instance, "2xx,301-304,418". :type valid_status_code_ranges: list[str] @@ -5275,6 +5362,10 @@ class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): :type prefer_https: bool """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'port': {'key': 'port', 'type': 'int'}, 'method': {'key': 'method', 'type': 'str'}, @@ -5321,7 +5412,7 @@ class ConnectionMonitorListResult(msrest.serialization.Model): """List of connection monitors. :param value: Information about connection monitors. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult] """ _attribute_map = { @@ -5341,11 +5432,11 @@ class ConnectionMonitorOutput(msrest.serialization.Model): :param type: Connection monitor output destination type. Currently, only "Workspace" is supported. Possible values include: "Workspace". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.OutputType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.OutputType :param workspace_settings: Describes the settings for producing output into a log analytics workspace. :type workspace_settings: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorWorkspaceSettings + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorWorkspaceSettings """ _attribute_map = { @@ -5366,26 +5457,30 @@ class ConnectionMonitorParameters(msrest.serialization.Model): """Parameters that define the operation to create a connection monitor. :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str """ + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + _attribute_map = { 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, @@ -5420,9 +5515,9 @@ class ConnectionMonitorQueryResult(msrest.serialization.Model): :param source_status: Status of connection monitor source. Possible values include: "Unknown", "Active", "Inactive". :type source_status: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSourceStatus + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSourceStatus :param states: Information about connection states. - :type states: list[~azure.mgmt.network.v2020_06_01.models.ConnectionStateSnapshot] + :type states: list[~azure.mgmt.network.v2020_07_01.models.ConnectionStateSnapshot] """ _attribute_map = { @@ -5457,27 +5552,27 @@ class ConnectionMonitorResult(msrest.serialization.Model): :param tags: A set of tags. Connection monitor tags. :type tags: dict[str, str] :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str :ivar provisioning_state: The provisioning state of the connection monitor. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar start_time: The date and time when the connection monitor was started. :vartype start_time: ~datetime.datetime :ivar monitoring_status: The monitoring status of the connection monitor. @@ -5485,7 +5580,7 @@ class ConnectionMonitorResult(msrest.serialization.Model): :ivar connection_monitor_type: Type of connection monitor. Possible values include: "MultiEndpoint", "SingleSourceDestination". :vartype connection_monitor_type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorType """ _validation = { @@ -5493,6 +5588,7 @@ class ConnectionMonitorResult(msrest.serialization.Model): 'id': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, 'provisioning_state': {'readonly': True}, 'start_time': {'readonly': True}, 'monitoring_status': {'readonly': True}, @@ -5553,27 +5649,27 @@ class ConnectionMonitorResultProperties(ConnectionMonitorParameters): Variables are only populated by the server, and will be ignored when sending a request. :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str :ivar provisioning_state: The provisioning state of the connection monitor. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar start_time: The date and time when the connection monitor was started. :vartype start_time: ~datetime.datetime :ivar monitoring_status: The monitoring status of the connection monitor. @@ -5581,10 +5677,11 @@ class ConnectionMonitorResultProperties(ConnectionMonitorParameters): :ivar connection_monitor_type: Type of connection monitor. Possible values include: "MultiEndpoint", "SingleSourceDestination". :vartype connection_monitor_type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorType """ _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, 'provisioning_state': {'readonly': True}, 'start_time': {'readonly': True}, 'monitoring_status': {'readonly': True}, @@ -5631,6 +5728,7 @@ class ConnectionMonitorSource(msrest.serialization.Model): _validation = { 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, } _attribute_map = { @@ -5683,9 +5781,13 @@ class ConnectionMonitorTcpConfiguration(msrest.serialization.Model): :param destination_port_behavior: Destination port behavior. Possible values include: "None", "ListenIfAvailable". :type destination_port_behavior: str or - ~azure.mgmt.network.v2020_06_01.models.DestinationPortBehavior + ~azure.mgmt.network.v2020_07_01.models.DestinationPortBehavior """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'port': {'key': 'port', 'type': 'int'}, 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, @@ -5714,23 +5816,23 @@ class ConnectionMonitorTestConfiguration(msrest.serialization.Model): :param protocol: Required. The protocol to use in test evaluation. Possible values include: "Tcp", "Http", "Icmp". :type protocol: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfigurationProtocol + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfigurationProtocol :param preferred_ip_version: The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Possible values include: "IPv4", "IPv6". - :type preferred_ip_version: str or ~azure.mgmt.network.v2020_06_01.models.PreferredIPVersion + :type preferred_ip_version: str or ~azure.mgmt.network.v2020_07_01.models.PreferredIPVersion :param http_configuration: The parameters used to perform test evaluation over HTTP. :type http_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorHttpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorHttpConfiguration :param tcp_configuration: The parameters used to perform test evaluation over TCP. :type tcp_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTcpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTcpConfiguration :param icmp_configuration: The parameters used to perform test evaluation over ICMP. :type icmp_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorIcmpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorIcmpConfiguration :param success_threshold: The threshold for declaring a test successful. :type success_threshold: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSuccessThreshold + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSuccessThreshold """ _validation = { @@ -5888,29 +5990,34 @@ class ConnectionStateSnapshot(msrest.serialization.Model): :param connection_state: The connection state. Possible values include: "Reachable", "Unreachable", "Unknown". - :type connection_state: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionState + :type connection_state: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionState :param start_time: The start time of the connection snapshot. :type start_time: ~datetime.datetime :param end_time: The end time of the connection snapshot. :type end_time: ~datetime.datetime :param evaluation_state: Connectivity analysis evaluation state. Possible values include: "NotStarted", "InProgress", "Completed". - :type evaluation_state: str or ~azure.mgmt.network.v2020_06_01.models.EvaluationState + :type evaluation_state: str or ~azure.mgmt.network.v2020_07_01.models.EvaluationState :param avg_latency_in_ms: Average latency in ms. - :type avg_latency_in_ms: int + :type avg_latency_in_ms: long :param min_latency_in_ms: Minimum latency in ms. - :type min_latency_in_ms: int + :type min_latency_in_ms: long :param max_latency_in_ms: Maximum latency in ms. - :type max_latency_in_ms: int + :type max_latency_in_ms: long :param probes_sent: The number of sent probes. - :type probes_sent: int + :type probes_sent: long :param probes_failed: The number of failed probes. - :type probes_failed: int + :type probes_failed: long :ivar hops: List of hops between the source and the destination. - :vartype hops: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityHop] + :vartype hops: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityHop] """ _validation = { + 'avg_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'min_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'max_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'probes_sent': {'maximum': 4294967295, 'minimum': 0}, + 'probes_failed': {'maximum': 4294967295, 'minimum': 0}, 'hops': {'readonly': True}, } @@ -5919,11 +6026,11 @@ class ConnectionStateSnapshot(msrest.serialization.Model): 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, 'evaluation_state': {'key': 'evaluationState', 'type': 'str'}, - 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'int'}, - 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'int'}, - 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'int'}, - 'probes_sent': {'key': 'probesSent', 'type': 'int'}, - 'probes_failed': {'key': 'probesFailed', 'type': 'int'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'long'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'long'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'long'}, + 'probes_sent': {'key': 'probesSent', 'type': 'long'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'long'}, 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, } @@ -5955,6 +6062,10 @@ class ConnectivityDestination(msrest.serialization.Model): :type port: int """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'address': {'key': 'address', 'type': 'str'}, @@ -5989,11 +6100,11 @@ class ConnectivityHop(msrest.serialization.Model): :ivar previous_hop_ids: List of previous hop identifiers. :vartype previous_hop_ids: list[str] :ivar links: List of hop links. - :vartype links: list[~azure.mgmt.network.v2020_06_01.models.HopLink] + :vartype links: list[~azure.mgmt.network.v2020_07_01.models.HopLink] :ivar previous_links: List of previous hop links. - :vartype previous_links: list[~azure.mgmt.network.v2020_06_01.models.HopLink] + :vartype previous_links: list[~azure.mgmt.network.v2020_07_01.models.HopLink] :ivar issues: List of issues. - :vartype issues: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityIssue] + :vartype issues: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityIssue] """ _validation = { @@ -6042,10 +6153,10 @@ class ConnectivityInformation(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar hops: List of hops between the source and the destination. - :vartype hops: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityHop] + :vartype hops: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityHop] :ivar connection_status: The connection status. Possible values include: "Unknown", "Connected", "Disconnected", "Degraded". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionStatus :ivar avg_latency_in_ms: Average latency in milliseconds. :vartype avg_latency_in_ms: int :ivar min_latency_in_ms: Minimum latency in milliseconds. @@ -6098,13 +6209,13 @@ class ConnectivityIssue(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar origin: The origin of the issue. Possible values include: "Local", "Inbound", "Outbound". - :vartype origin: str or ~azure.mgmt.network.v2020_06_01.models.Origin + :vartype origin: str or ~azure.mgmt.network.v2020_07_01.models.Origin :ivar severity: The severity of the issue. Possible values include: "Error", "Warning". - :vartype severity: str or ~azure.mgmt.network.v2020_06_01.models.Severity + :vartype severity: str or ~azure.mgmt.network.v2020_07_01.models.Severity :ivar type: The type of issue. Possible values include: "Unknown", "AgentStopped", "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", "PortThrottled", "Platform". - :vartype type: str or ~azure.mgmt.network.v2020_06_01.models.IssueType + :vartype type: str or ~azure.mgmt.network.v2020_07_01.models.IssueType :ivar context: Provides additional context on the issue. :vartype context: list[dict[str, str]] """ @@ -6140,16 +6251,16 @@ class ConnectivityParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param source: Required. The source of the connection. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectivitySource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectivitySource :param destination: Required. The destination of connection. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectivityDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectivityDestination :param protocol: Network protocol. Possible values include: "Tcp", "Http", "Https", "Icmp". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.Protocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.Protocol :param protocol_configuration: Configuration of the protocol. - :type protocol_configuration: ~azure.mgmt.network.v2020_06_01.models.ProtocolConfiguration + :type protocol_configuration: ~azure.mgmt.network.v2020_07_01.models.ProtocolConfiguration :param preferred_ip_version: Preferred IP version of the connection. Possible values include: "IPv4", "IPv6". - :type preferred_ip_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type preferred_ip_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion """ _validation = { @@ -6191,6 +6302,7 @@ class ConnectivitySource(msrest.serialization.Model): _validation = { 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, } _attribute_map = { @@ -6241,16 +6353,16 @@ class ContainerNetworkInterface(SubResource): :ivar container_network_interface_configuration: Container network interface configuration from which this container network interface is created. :vartype container_network_interface_configuration: - ~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration + ~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceIpConfiguration] :ivar provisioning_state: The provisioning state of the container network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6301,13 +6413,13 @@ class ContainerNetworkInterfaceConfiguration(SubResource): :vartype etag: str :param ip_configurations: A list of ip configurations of the container network interface configuration. - :type ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationProfile] + :type ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationProfile] :param container_network_interfaces: A list of container network interfaces created from this container network interface configuration. - :type container_network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type container_network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the container network interface configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6352,7 +6464,7 @@ class ContainerNetworkInterfaceIpConfiguration(msrest.serialization.Model): :vartype etag: str :ivar provisioning_state: The provisioning state of the container network interface IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6428,14 +6540,14 @@ class CustomIpPrefix(Resource): :param commissioned_state: The commissioned state of the Custom IP Prefix. Possible values include: "Provisioning", "Provisioned", "Commissioning", "Commissioned", "Decommissioning", "Deprovisioning". - :type commissioned_state: str or ~azure.mgmt.network.v2020_06_01.models.CommissionedState + :type commissioned_state: str or ~azure.mgmt.network.v2020_07_01.models.CommissionedState :ivar public_ip_prefixes: The list of all referenced PublicIpPrefixes. - :vartype public_ip_prefixes: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype public_ip_prefixes: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_guid: The resource GUID property of the custom IP prefix resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the custom IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6480,7 +6592,7 @@ class CustomIpPrefixListResult(msrest.serialization.Model): """Response for ListCustomIpPrefixes API service call. :param value: A list of Custom IP prefixes that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix] + :type value: list[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -6522,13 +6634,13 @@ class DdosCustomPolicy(Resource): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DDoS custom policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar public_ip_addresses: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. - :vartype public_ip_addresses: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype public_ip_addresses: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. :type protocol_custom_settings: - list[~azure.mgmt.network.v2020_06_01.models.ProtocolCustomSettingsFormat] + list[~azure.mgmt.network.v2020_07_01.models.ProtocolCustomSettingsFormat] """ _validation = { @@ -6588,10 +6700,10 @@ class DdosProtectionPlan(msrest.serialization.Model): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DDoS protection plan resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar virtual_networks: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. - :vartype virtual_networks: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_networks: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -6638,7 +6750,7 @@ class DdosProtectionPlanListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of DDoS protection plans. - :type value: list[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan] + :type value: list[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -6665,12 +6777,12 @@ class DdosSettings(msrest.serialization.Model): """Contains the DDoS protection settings of the public IP. :param ddos_custom_policy: The DDoS custom policy associated with the public IP. - :type ddos_custom_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ddos_custom_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protection_coverage: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: "Basic", "Standard". :type protection_coverage: str or - ~azure.mgmt.network.v2020_06_01.models.DdosSettingsProtectionCoverage + ~azure.mgmt.network.v2020_07_01.models.DdosSettingsProtectionCoverage :param protected_ip: Enables DDoS protection on the public IP. :type protected_ip: bool """ @@ -6710,7 +6822,7 @@ class Delegation(SubResource): :vartype actions: list[str] :ivar provisioning_state: The provisioning state of the service delegation resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6879,26 +6991,26 @@ class DscpConfiguration(Resource): :param markings: List of markings to be used in the configuration. :type markings: list[int] :param source_ip_ranges: Source IP ranges. - :type source_ip_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosIpRange] + :type source_ip_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosIpRange] :param destination_ip_ranges: Destination IP ranges. - :type destination_ip_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosIpRange] + :type destination_ip_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosIpRange] :param source_port_ranges: Sources port ranges. - :type source_port_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosPortRange] + :type source_port_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosPortRange] :param destination_port_ranges: Destination port ranges. - :type destination_port_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosPortRange] + :type destination_port_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosPortRange] :param protocol: RNM supported protocol types. Possible values include: "DoNotUse", "Icmp", "Tcp", "Udp", "Gre", "Esp", "Ah", "Vxlan", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ProtocolType + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ProtocolType :ivar qos_collection_id: Qos Collection ID generated by RNM. :vartype qos_collection_id: str :ivar associated_network_interfaces: Associated Network Interfaces to the DSCP Configuration. :vartype associated_network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar resource_guid: The resource GUID property of the DSCP Configuration resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DSCP Configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -6954,7 +7066,7 @@ class DscpConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of dscp configurations in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.DscpConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.DscpConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -6981,13 +7093,13 @@ class EffectiveNetworkSecurityGroup(msrest.serialization.Model): """Effective network security group. :param network_security_group: The ID of network security group that is applied. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.SubResource :param association: Associated resources. :type association: - ~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroupAssociation + ~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroupAssociation :param effective_security_rules: A collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityRule] :param tag_map: Mapping of tags to list of IP Addresses included within the tag. :type tag_map: str """ @@ -7014,9 +7126,9 @@ class EffectiveNetworkSecurityGroupAssociation(msrest.serialization.Model): """The effective network security group association. :param subnet: The ID of the subnet if assigned. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param network_interface: The ID of the network interface if assigned. - :type network_interface: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type network_interface: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -7039,7 +7151,7 @@ class EffectiveNetworkSecurityGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of effective network security groups. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -7069,7 +7181,7 @@ class EffectiveNetworkSecurityRule(msrest.serialization.Model): :type name: str :param protocol: The network protocol this rule applies to. Possible values include: "Tcp", "Udp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveSecurityRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveSecurityRuleProtocol :param source_port_range: The source port or range. :type source_port_range: str :param destination_port_range: The destination port or range. @@ -7098,11 +7210,11 @@ class EffectiveNetworkSecurityRule(msrest.serialization.Model): :type expanded_destination_address_prefix: list[str] :param access: Whether network traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + :type access: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :param priority: The priority of the rule. :type priority: int :param direction: The direction of the rule. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleDirection + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleDirection """ _attribute_map = { @@ -7155,16 +7267,16 @@ class EffectiveRoute(msrest.serialization.Model): :type disable_bgp_route_propagation: bool :param source: Who created the route. Possible values include: "Unknown", "User", "VirtualNetworkGateway", "Default". - :type source: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveRouteSource + :type source: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveRouteSource :param state: The value of effective route. Possible values include: "Active", "Invalid". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveRouteState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveRouteState :param address_prefix: The address prefixes of the effective routes in CIDR notation. :type address_prefix: list[str] :param next_hop_ip_address: The IP address of the next hop of the effective route. :type next_hop_ip_address: list[str] :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteNextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteNextHopType """ _attribute_map = { @@ -7197,7 +7309,7 @@ class EffectiveRouteListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of effective routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EffectiveRoute] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -7224,14 +7336,14 @@ class EffectiveRoutesParameters(msrest.serialization.Model): """The parameters specifying the resource whose effective routes are being requested. :param resource_id: The resource whose effective routes are being requested. - :type resource_id: ~azure.mgmt.network.v2020_06_01.models.Resource + :type resource_id: str :param virtual_wan_resource_type: The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection. :type virtual_wan_resource_type: str """ _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'Resource'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'virtual_wan_resource_type': {'key': 'virtualWanResourceType', 'type': 'str'}, } @@ -7281,7 +7393,7 @@ class EndpointServicesListResult(msrest.serialization.Model): """Response for the ListAvailableEndpointServices API service call. :param value: List of available endpoint services in a region. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EndpointServiceResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EndpointServiceResult] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -7310,7 +7422,7 @@ class Error(msrest.serialization.Model): :param target: Error target. :type target: str :param details: Error details. - :type details: list[~azure.mgmt.network.v2020_06_01.models.ErrorDetails] + :type details: list[~azure.mgmt.network.v2020_07_01.models.ErrorDetails] :param inner_error: Inner error message. :type inner_error: str """ @@ -7366,7 +7478,7 @@ class ErrorResponse(msrest.serialization.Model): """The error object. :param error: The error details object. - :type error: ~azure.mgmt.network.v2020_06_01.models.ErrorDetails + :type error: ~azure.mgmt.network.v2020_07_01.models.ErrorDetails """ _attribute_map = { @@ -7391,10 +7503,10 @@ class EvaluatedNetworkSecurityGroup(msrest.serialization.Model): :param applied_to: Resource ID of nic or subnet to which network security group is applied. :type applied_to: str :param matched_rule: Matched network security rule. - :type matched_rule: ~azure.mgmt.network.v2020_06_01.models.MatchedRule + :type matched_rule: ~azure.mgmt.network.v2020_07_01.models.MatchedRule :ivar rules_evaluation_result: List of network security rules evaluation results. :vartype rules_evaluation_result: - list[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityRulesEvaluationResult] + list[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityRulesEvaluationResult] """ _validation = { @@ -7435,7 +7547,7 @@ class ExpressRouteCircuit(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param sku: The SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param allow_classic_operations: Allow classic operations. @@ -7446,22 +7558,22 @@ class ExpressRouteCircuit(Resource): resource. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", "Deprovisioning". :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2020_06_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_07_01.models.ServiceProviderProvisioningState :param authorizations: The list of authorizations. :type authorizations: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :param peerings: The list of peerings. - :type peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :type peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :param service_key: The ServiceKey. :type service_key: str :param service_provider_notes: The ServiceProviderNotes. :type service_provider_notes: str :param service_provider_properties: The ServiceProviderProperties. :type service_provider_properties: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitServiceProviderProperties + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitServiceProviderProperties :param express_route_port: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. - :type express_route_port: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_port: ~azure.mgmt.network.v2020_07_01.models.SubResource :param bandwidth_in_gbps: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. :type bandwidth_in_gbps: float @@ -7469,7 +7581,7 @@ class ExpressRouteCircuit(Resource): :vartype stag: int :ivar provisioning_state: The provisioning state of the express route circuit resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :param global_reach_enabled: Flag denoting global reach status. @@ -7581,10 +7693,10 @@ class ExpressRouteCircuitAuthorization(SubResource): :param authorization_use_status: The authorization use status. Possible values include: "Available", "InUse". :type authorization_use_status: str or - ~azure.mgmt.network.v2020_06_01.models.AuthorizationUseStatus + ~azure.mgmt.network.v2020_07_01.models.AuthorizationUseStatus :ivar provisioning_state: The provisioning state of the authorization resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7632,10 +7744,10 @@ class ExpressRouteCircuitConnection(SubResource): :vartype type: str :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. - :type express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the peered circuit. - :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :param authorization_key: The authorization key. @@ -7643,14 +7755,14 @@ class ExpressRouteCircuitConnection(SubResource): :param ipv6_circuit_connection_config: IPv6 Address PrefixProperties of the express route circuit connection. :type ipv6_circuit_connection_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6CircuitConnectionConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6CircuitConnectionConfig :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus :ivar provisioning_state: The provisioning state of the express route circuit connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7696,7 +7808,7 @@ class ExpressRouteCircuitConnectionListResult(msrest.serialization.Model): :param value: The global reach connection associated with Private Peering in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -7719,7 +7831,7 @@ class ExpressRouteCircuitListResult(msrest.serialization.Model): """Response for ListExpressRouteCircuit API service call. :param value: A list of ExpressRouteCircuits in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -7754,9 +7866,9 @@ class ExpressRouteCircuitPeering(SubResource): :vartype type: str :param peering_type: The peering type. Possible values include: "AzurePublicPeering", "AzurePrivatePeering", "MicrosoftPeering". - :type peering_type: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringType + :type peering_type: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringState :param azure_asn: The Azure ASN. :type azure_asn: int :param peer_asn: The peer ASN. @@ -7775,30 +7887,30 @@ class ExpressRouteCircuitPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :param stats: The peering stats of express route circuit. - :type stats: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :type stats: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :ivar provisioning_state: The provisioning state of the express route circuit peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :ivar last_modified_by: Who was the last to modify the peering. :vartype last_modified_by: str :param route_filter: The reference to the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type route_filter: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig :param express_route_connection: The ExpressRoute connection. - :type express_route_connection: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnectionId + :type express_route_connection: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnectionId :param connections: The list of circuit connections associated with Azure Private Peering for this circuit. - :type connections: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :type connections: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :ivar peered_connections: The list of peered circuit connections associated with Azure Private Peering for this circuit. :vartype peered_connections: - list[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection] """ _validation = { @@ -7880,7 +7992,7 @@ class ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): resource. Possible values include: "NotConfigured", "Configuring", "Configured", "ValidationNeeded". :vartype advertised_public_prefixes_state: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState :param legacy_mode: The legacy mode of the peering. :type legacy_mode: int :param customer_asn: The CustomerASN of the peering. @@ -7938,7 +8050,7 @@ class ExpressRouteCircuitPeeringListResult(msrest.serialization.Model): """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. :param value: The peerings in an express route circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8053,7 +8165,7 @@ class ExpressRouteCircuitsArpTableListResult(msrest.serialization.Model): """Response for ListArpTable associated with the Express Route Circuits API. :param value: A list of the ARP tables. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitArpTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitArpTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8106,9 +8218,9 @@ class ExpressRouteCircuitSku(msrest.serialization.Model): :type name: str :param tier: The tier of the SKU. Possible values include: "Standard", "Premium", "Basic", "Local". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSkuTier :param family: The family of the SKU. Possible values include: "UnlimitedData", "MeteredData". - :type family: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSkuFamily + :type family: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSkuFamily """ _attribute_map = { @@ -8131,7 +8243,7 @@ class ExpressRouteCircuitsRoutesTableListResult(msrest.serialization.Model): """Response for ListRoutesTable associated with the Express Route Circuits API. :param value: The list of routes table. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitRoutesTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitRoutesTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8154,7 +8266,7 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult(msrest.serialization.Mode """Response for ListRoutesTable associated with the Express Route Circuits API. :param value: A list of the routes table. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitRoutesTableSummary] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitRoutesTableSummary] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8217,19 +8329,21 @@ class ExpressRouteConnection(SubResource): :type name: str :ivar provisioning_state: The provisioning state of the express route connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_circuit_peering: The ExpressRoute circuit peering. :type express_route_circuit_peering: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringId + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringId :param authorization_key: Authorization key to establish the connection. :type authorization_key: str :param routing_weight: The routing weight associated to the connection. :type routing_weight: int :param enable_internet_security: Enable internet security. :type enable_internet_security: bool + :param express_route_gateway_bypass: Enable FastPath to vWan Firewall hub. + :type express_route_gateway_bypass: bool :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration """ _validation = { @@ -8245,6 +8359,7 @@ class ExpressRouteConnection(SubResource): 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, } @@ -8259,6 +8374,7 @@ def __init__( self.authorization_key = kwargs.get('authorization_key', None) self.routing_weight = kwargs.get('routing_weight', None) self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) self.routing_configuration = kwargs.get('routing_configuration', None) @@ -8291,7 +8407,7 @@ class ExpressRouteConnectionList(msrest.serialization.Model): """ExpressRouteConnection list. :param value: The list of ExpressRoute connections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] """ _attribute_map = { @@ -8335,19 +8451,19 @@ class ExpressRouteCrossConnection(Resource): :vartype bandwidth_in_mbps: int :param express_route_circuit: The ExpressRouteCircuit. :type express_route_circuit: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitReference + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitReference :param service_provider_provisioning_state: The provisioning state of the circuit in the connectivity provider system. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", "Deprovisioning". :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2020_06_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_07_01.models.ServiceProviderProvisioningState :param service_provider_notes: Additional read only notes set by the connectivity provider. :type service_provider_notes: str :ivar provisioning_state: The provisioning state of the express route cross connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param peerings: The list of peerings. - :type peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :type peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] """ _validation = { @@ -8405,7 +8521,7 @@ class ExpressRouteCrossConnectionListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ExpressRouteCrossConnection resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -8442,9 +8558,9 @@ class ExpressRouteCrossConnectionPeering(SubResource): :vartype etag: str :param peering_type: The peering type. Possible values include: "AzurePublicPeering", "AzurePrivatePeering", "MicrosoftPeering". - :type peering_type: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringType + :type peering_type: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringState :ivar azure_asn: The Azure ASN. :vartype azure_asn: int :param peer_asn: The peer ASN. @@ -8463,17 +8579,17 @@ class ExpressRouteCrossConnectionPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :ivar provisioning_state: The provisioning state of the express route cross connection peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :ivar last_modified_by: Who was the last to modify the peering. :vartype last_modified_by: str :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig """ _validation = { @@ -8537,7 +8653,7 @@ class ExpressRouteCrossConnectionPeeringList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The peerings in an express route cross connection. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -8600,7 +8716,7 @@ class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(msrest.serializat :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionRoutesTableSummary] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -8642,15 +8758,15 @@ class ExpressRouteGateway(Resource): :vartype etag: str :param auto_scale_configuration: Configuration for auto scaling. :type auto_scale_configuration: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. :vartype express_route_connections: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] :ivar provisioning_state: The provisioning state of the express route gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param virtual_hub: The Virtual Hub where the ExpressRoute gateway is or will be deployed. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.VirtualHubId + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.VirtualHubId """ _validation = { @@ -8690,7 +8806,7 @@ class ExpressRouteGatewayList(msrest.serialization.Model): """List of ExpressRoute gateways. :param value: List of ExpressRoute gateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway] """ _attribute_map = { @@ -8710,7 +8826,7 @@ class ExpressRouteGatewayPropertiesAutoScaleConfiguration(msrest.serialization.M :param bounds: Minimum and maximum number of scale units to deploy. :type bounds: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds """ _attribute_map = { @@ -8770,15 +8886,15 @@ class ExpressRouteLink(SubResource): :vartype rack_id: str :ivar connector_type: Physical fiber port type. Possible values include: "LC", "SC". :vartype connector_type: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkConnectorType + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkConnectorType :param admin_state: Administrative state of the physical port. Possible values include: "Enabled", "Disabled". - :type admin_state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkAdminState + :type admin_state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkAdminState :ivar provisioning_state: The provisioning state of the express route link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param mac_sec_config: MacSec configuration. - :type mac_sec_config: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecConfig + :type mac_sec_config: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecConfig """ _validation = { @@ -8826,7 +8942,7 @@ class ExpressRouteLinkListResult(msrest.serialization.Model): """Response for ListExpressRouteLinks API service call. :param value: The list of ExpressRouteLink sub-resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8854,9 +8970,9 @@ class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): :type cak_secret_identifier: str :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128", "GcmAesXpn128", "GcmAesXpn256". - :type cipher: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecCipher + :type cipher: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecCipher :param sci_state: Sci mode enabled/disabled. Possible values include: "Disabled", "Enabled". - :type sci_state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecSciState + :type sci_state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecSciState """ _attribute_map = { @@ -8895,7 +9011,7 @@ class ExpressRoutePort(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param identity: The identity of ExpressRoutePort, if configured. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :param peering_location: The name of the peering location that the ExpressRoutePort is mapped to physically. :type peering_location: str @@ -8908,20 +9024,20 @@ class ExpressRoutePort(Resource): :param encapsulation: Encapsulation method on physical ports. Possible values include: "Dot1Q", "QinQ". :type encapsulation: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsEncapsulation + ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsEncapsulation :ivar ether_type: Ether type of the physical port. :vartype ether_type: str :ivar allocation_date: Date of the physical port allocation to be used in Letter of Authorization. :vartype allocation_date: str :param links: The set of physical links of the ExpressRoutePort resource. - :type links: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink] + :type links: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink] :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. - :vartype circuits: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype circuits: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the express route port resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar resource_guid: The resource GUID property of the express route port resource. :vartype resource_guid: str """ @@ -8984,7 +9100,7 @@ class ExpressRoutePortListResult(msrest.serialization.Model): """Response for ListExpressRoutePorts API service call. :param value: A list of ExpressRoutePort resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9024,10 +9140,10 @@ class ExpressRoutePortsLocation(Resource): :vartype contact: str :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. :type available_bandwidths: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocationBandwidths] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocationBandwidths] :ivar provisioning_state: The provisioning state of the express route port location resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -9095,7 +9211,7 @@ class ExpressRoutePortsLocationListResult(msrest.serialization.Model): """Response for ListExpressRoutePortsLocations API service call. :param value: The list of all ExpressRoutePort peering locations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocation] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9133,10 +9249,10 @@ class ExpressRouteServiceProvider(Resource): :type peering_locations: list[str] :param bandwidths_offered: A list of bandwidths offered. :type bandwidths_offered: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProviderBandwidthsOffered] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProviderBandwidthsOffered] :ivar provisioning_state: The provisioning state of the express route service provider resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -9193,7 +9309,7 @@ class ExpressRouteServiceProviderListResult(msrest.serialization.Model): """Response for the ListExpressRouteServiceProvider API service call. :param value: A list of ExpressRouteResourceProvider resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProvider] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProvider] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9212,6 +9328,36 @@ def __init__( self.next_link = kwargs.get('next_link', None) +class ExtendedLocation(msrest.serialization.Model): + """ExtendedLocation complex type. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the extended location. + :type name: str + :param type: Required. The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ExtendedLocationTypes + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs['name'] + self.type = kwargs['type'] + + class FirewallPolicy(Resource): """FirewallPolicy Resource. @@ -9229,27 +9375,37 @@ class FirewallPolicy(Resource): :type tags: dict[str, str] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param identity: The identity of the firewall policy. + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :ivar rule_collection_groups: List of references to FirewallPolicyRuleCollectionGroups. - :vartype rule_collection_groups: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype rule_collection_groups: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param base_policy: The parent firewall policy from which rules are inherited. - :type base_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type base_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated with. - :vartype firewalls: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype firewalls: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar child_policies: List of references to Child Firewall Policies. - :vartype child_policies: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype child_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: "Alert", "Deny", "Off". :type threat_intel_mode: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallThreatIntelMode :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. :type threat_intel_whitelist: - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyThreatIntelWhitelist + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyThreatIntelWhitelist :param dns_settings: DNS Proxy Settings definition. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.DnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.DnsSettings + :param intrusion_detection: The configuration for Intrusion detection. + :type intrusion_detection: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetection + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyTransportSecurity + :param sku: The Firewall Policy SKU. + :type sku: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicySku """ _validation = { @@ -9269,6 +9425,7 @@ class FirewallPolicy(Resource): 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, 'rule_collection_groups': {'key': 'properties.ruleCollectionGroups', 'type': '[SubResource]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'base_policy': {'key': 'properties.basePolicy', 'type': 'SubResource'}, @@ -9277,6 +9434,9 @@ class FirewallPolicy(Resource): 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, 'threat_intel_whitelist': {'key': 'properties.threatIntelWhitelist', 'type': 'FirewallPolicyThreatIntelWhitelist'}, 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, + 'intrusion_detection': {'key': 'properties.intrusionDetection', 'type': 'FirewallPolicyIntrusionDetection'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'sku': {'key': 'properties.sku', 'type': 'FirewallPolicySku'}, } def __init__( @@ -9285,6 +9445,7 @@ def __init__( ): super(FirewallPolicy, self).__init__(**kwargs) self.etag = None + self.identity = kwargs.get('identity', None) self.rule_collection_groups = None self.provisioning_state = None self.base_policy = kwargs.get('base_policy', None) @@ -9293,6 +9454,33 @@ def __init__( self.threat_intel_mode = kwargs.get('threat_intel_mode', None) self.threat_intel_whitelist = kwargs.get('threat_intel_whitelist', None) self.dns_settings = kwargs.get('dns_settings', None) + self.intrusion_detection = kwargs.get('intrusion_detection', None) + self.transport_security = kwargs.get('transport_security', None) + self.sku = kwargs.get('sku', None) + + +class FirewallPolicyCertificateAuthority(msrest.serialization.Model): + """Trusted Root certificates properties for tls. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the CA certificate. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyCertificateAuthority, self).__init__(**kwargs) + self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) + self.name = kwargs.get('name', None) class FirewallPolicyRuleCollection(msrest.serialization.Model): @@ -9307,7 +9495,7 @@ class FirewallPolicyRuleCollection(msrest.serialization.Model): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. @@ -9348,15 +9536,15 @@ class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int :param action: The action type of a Filter rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyFilterRuleCollectionAction + :type action: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyFilterRuleCollectionAction :param rules: List of rules included in a rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRule] """ _validation = { @@ -9387,7 +9575,7 @@ class FirewallPolicyFilterRuleCollectionAction(msrest.serialization.Model): :param type: The type of action. Possible values include: "Allow", "Deny". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyFilterRuleCollectionActionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyFilterRuleCollectionActionType """ _attribute_map = { @@ -9402,11 +9590,135 @@ def __init__( self.type = kwargs.get('type', None) +class FirewallPolicyIntrusionDetection(msrest.serialization.Model): + """Configuration for intrusion detection mode and rules. + + :param mode: Intrusion detection general state. Possible values include: "Off", "Alert", + "Deny". + :type mode: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionStateType + :param configuration: Intrusion detection configuration properties. + :type configuration: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionConfiguration + """ + + _attribute_map = { + 'mode': {'key': 'mode', 'type': 'str'}, + 'configuration': {'key': 'configuration', 'type': 'FirewallPolicyIntrusionDetectionConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetection, self).__init__(**kwargs) + self.mode = kwargs.get('mode', None) + self.configuration = kwargs.get('configuration', None) + + +class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications(msrest.serialization.Model): + """Intrusion detection bypass traffic specification. + + :param name: Name of the bypass traffic rule. + :type name: str + :param description: Description of the bypass traffic rule. + :type description: str + :param protocol: The rule bypass protocol. Possible values include: "TCP", "UDP", "ICMP", + "ANY". + :type protocol: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionProtocol + :param source_addresses: List of source IP addresses or ranges for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or ranges for this rule. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports or ranges. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.protocol = kwargs.get('protocol', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.destination_ip_groups = kwargs.get('destination_ip_groups', None) + + +class FirewallPolicyIntrusionDetectionConfiguration(msrest.serialization.Model): + """The operation for configuring intrusion detection. + + :param signature_overrides: List of specific signatures states. + :type signature_overrides: + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionSignatureSpecification] + :param bypass_traffic_settings: List of rules for traffic to bypass. + :type bypass_traffic_settings: + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications] + """ + + _attribute_map = { + 'signature_overrides': {'key': 'signatureOverrides', 'type': '[FirewallPolicyIntrusionDetectionSignatureSpecification]'}, + 'bypass_traffic_settings': {'key': 'bypassTrafficSettings', 'type': '[FirewallPolicyIntrusionDetectionBypassTrafficSpecifications]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionConfiguration, self).__init__(**kwargs) + self.signature_overrides = kwargs.get('signature_overrides', None) + self.bypass_traffic_settings = kwargs.get('bypass_traffic_settings', None) + + +class FirewallPolicyIntrusionDetectionSignatureSpecification(msrest.serialization.Model): + """Intrusion detection signatures specification states. + + :param id: Signature id. + :type id: str + :param mode: The signature state. Possible values include: "Off", "Alert", "Deny". + :type mode: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionStateType + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionSignatureSpecification, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.mode = kwargs.get('mode', None) + + class FirewallPolicyListResult(msrest.serialization.Model): """Response for ListFirewallPolicies API service call. :param value: List of Firewall Policies in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicy] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -9434,15 +9746,15 @@ class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int :param action: The action type of a Nat rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyNatRuleCollectionAction + :type action: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyNatRuleCollectionAction :param rules: List of rules included in a rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRule] """ _validation = { @@ -9473,7 +9785,7 @@ class FirewallPolicyNatRuleCollectionAction(msrest.serialization.Model): :param type: The type of action. Possible values include: "DNAT". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyNatRuleCollectionActionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyNatRuleCollectionActionType """ _attribute_map = { @@ -9493,7 +9805,7 @@ class FirewallPolicyRuleApplicationProtocol(msrest.serialization.Model): :param protocol_type: Protocol type. Possible values include: "Http", "Https". :type protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleApplicationProtocolType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleApplicationProtocolType :param port: Port number for the protocol, cannot be greater than 64000. :type port: int """ @@ -9534,10 +9846,10 @@ class FirewallPolicyRuleCollectionGroup(SubResource): :type priority: int :param rule_collections: Group of Firewall Policy rule collections. :type rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollection] :ivar provisioning_state: The provisioning state of the firewall policy rule collection group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -9574,7 +9886,7 @@ class FirewallPolicyRuleCollectionGroupListResult(msrest.serialization.Model): """Response for ListFirewallPolicyRuleCollectionGroups API service call. :param value: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -9593,6 +9905,25 @@ def __init__( self.next_link = kwargs.get('next_link', None) +class FirewallPolicySku(msrest.serialization.Model): + """SKU of Firewall policy. + + :param tier: Tier of Firewall Policy. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicySkuTier + """ + + _attribute_map = { + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicySku, self).__init__(**kwargs) + self.tier = kwargs.get('tier', None) + + class FirewallPolicyThreatIntelWhitelist(msrest.serialization.Model): """ThreatIntel Whitelist for Firewall Policy. @@ -9616,6 +9947,26 @@ def __init__( self.fqdns = kwargs.get('fqdns', None) +class FirewallPolicyTransportSecurity(msrest.serialization.Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyCertificateAuthority + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = kwargs.get('certificate_authority', None) + + class FlowLog(Resource): """A flow log resource. @@ -9642,16 +9993,16 @@ class FlowLog(Resource): :param enabled: Flag to enable/disable flow logging. :type enabled: bool :param retention_policy: Parameters that define the retention policy for flow log. - :type retention_policy: ~azure.mgmt.network.v2020_06_01.models.RetentionPolicyParameters + :type retention_policy: ~azure.mgmt.network.v2020_07_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. - :type format: ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatParameters + :type format: ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatParameters :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsProperties :ivar provisioning_state: The provisioning state of the flow log. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -9699,7 +10050,7 @@ class FlowLogFormatParameters(msrest.serialization.Model): """Parameters that define the flow log format. :param type: The file type of flow log. Possible values include: "JSON". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatType :param version: The version (revision) of the flow log. :type version: int """ @@ -9729,15 +10080,15 @@ class FlowLogInformation(msrest.serialization.Model): :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsProperties :param storage_id: Required. ID of the storage account which is used to store the flow log. :type storage_id: str :param enabled: Required. Flag to enable/disable flow logging. :type enabled: bool :param retention_policy: Parameters that define the retention policy for flow log. - :type retention_policy: ~azure.mgmt.network.v2020_06_01.models.RetentionPolicyParameters + :type retention_policy: ~azure.mgmt.network.v2020_07_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. - :type format: ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatParameters + :type format: ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatParameters """ _validation = { @@ -9774,7 +10125,7 @@ class FlowLogListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: Information about flow log resource. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FlowLog] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -9841,32 +10192,32 @@ class FrontendIPConfiguration(SubResource): come from. :type zones: list[str] :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. - :vartype inbound_nat_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_nat_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar inbound_nat_pools: An array of references to inbound pools that use this frontend IP. - :vartype inbound_nat_pools: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_nat_pools: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar outbound_rules: An array of references to outbound rules that use this frontend IP. - :vartype outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar load_balancing_rules: An array of references to load balancing rules that use this frontend IP. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param private_ip_address: The private IP address of the IP configuration. :type private_ip_address: str :param private_ip_allocation_method: The Private IP allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param private_ip_address_version: Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the Public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :param public_ip_prefix: The reference to the Public IP Prefix resource. - :type public_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -9979,7 +10330,7 @@ class GatewayRouteListResult(msrest.serialization.Model): """List of virtual network gateway routes. :param value: List of gateway routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.GatewayRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.GatewayRoute] """ _attribute_map = { @@ -10077,17 +10428,17 @@ class HopLink(msrest.serialization.Model): :ivar link_type: Link type. :vartype link_type: str :ivar issues: List of issues. - :vartype issues: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityIssue] + :vartype issues: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityIssue] :ivar context: Provides additional context on links. :vartype context: dict[str, str] :ivar resource_id: Resource ID. :vartype resource_id: str :ivar round_trip_time_min: Minimum roundtrip time in milliseconds. - :vartype round_trip_time_min: int + :vartype round_trip_time_min: long :ivar round_trip_time_avg: Average roundtrip time in milliseconds. - :vartype round_trip_time_avg: int + :vartype round_trip_time_avg: long :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. - :vartype round_trip_time_max: int + :vartype round_trip_time_max: long """ _validation = { @@ -10096,9 +10447,9 @@ class HopLink(msrest.serialization.Model): 'issues': {'readonly': True}, 'context': {'readonly': True}, 'resource_id': {'readonly': True}, - 'round_trip_time_min': {'readonly': True}, - 'round_trip_time_avg': {'readonly': True}, - 'round_trip_time_max': {'readonly': True}, + 'round_trip_time_min': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_avg': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_max': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, } _attribute_map = { @@ -10107,9 +10458,9 @@ class HopLink(msrest.serialization.Model): 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, 'context': {'key': 'context', 'type': '{str}'}, 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'int'}, - 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'int'}, - 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'int'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'long'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'long'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'long'}, } def __init__( @@ -10131,9 +10482,9 @@ class HTTPConfiguration(msrest.serialization.Model): """HTTP configuration of the connectivity check. :param method: HTTP method. Possible values include: "Get". - :type method: str or ~azure.mgmt.network.v2020_06_01.models.HTTPMethod + :type method: str or ~azure.mgmt.network.v2020_07_01.models.HTTPMethod :param headers: List of HTTP headers. - :type headers: list[~azure.mgmt.network.v2020_06_01.models.HTTPHeader] + :type headers: list[~azure.mgmt.network.v2020_07_01.models.HTTPHeader] :param valid_status_codes: Valid status codes. :type valid_status_codes: list[int] """ @@ -10181,7 +10532,7 @@ class HubIPAddresses(msrest.serialization.Model): """IP addresses associated with azure firewall. :param public_i_ps: Public IP addresses associated with azure firewall. - :type public_i_ps: ~azure.mgmt.network.v2020_06_01.models.HubPublicIPAddresses + :type public_i_ps: ~azure.mgmt.network.v2020_07_01.models.HubPublicIPAddresses :param private_ip_address: Private IP Address associated with azure firewall. :type private_ip_address: str """ @@ -10218,14 +10569,14 @@ class HubIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10266,7 +10617,7 @@ class HubPublicIPAddresses(msrest.serialization.Model): :param addresses: The list of Public IP addresses associated with azure firewall or IP addresses to be retained. - :type addresses: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallPublicIPAddress] + :type addresses: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallPublicIPAddress] :param count: The number of Public IP addresses associated with azure firewall. :type count: int """ @@ -10346,16 +10697,16 @@ class HubRouteTable(SubResource): :ivar type: Resource type. :vartype type: str :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.HubRoute] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.HubRoute] :param labels: List of labels associated with this route table. :type labels: list[str] :ivar associated_connections: List of all connections associated with this route table. - :vartype associated_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype associated_connections: list[str] :ivar propagating_connections: List of all connections that advertise to this route table. - :vartype propagating_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype propagating_connections: list[str] :ivar provisioning_state: The provisioning state of the RouteTable resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10373,8 +10724,8 @@ class HubRouteTable(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, 'labels': {'key': 'properties.labels', 'type': '[str]'}, - 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[SubResource]'}, - 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[SubResource]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[str]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10406,7 +10757,7 @@ class HubVirtualNetworkConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param remote_virtual_network: Reference to the remote virtual network. - :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param allow_hub_to_remote_vnet_transit: Deprecated: VirtualHub to RemoteVnet transit to enabled or not. :type allow_hub_to_remote_vnet_transit: bool @@ -10417,10 +10768,10 @@ class HubVirtualNetworkConnection(SubResource): :type enable_internet_security: bool :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration :ivar provisioning_state: The provisioning state of the hub virtual network connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10470,10 +10821,10 @@ class InboundNatPool(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: The reference to the transport protocol used by the inbound NAT pool. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param frontend_port_range_start: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. @@ -10499,7 +10850,7 @@ class InboundNatPool(SubResource): :type enable_tcp_reset: bool :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10558,15 +10909,15 @@ class InboundNatRule(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar backend_ip_configuration: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. :vartype backend_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param protocol: The reference to the transport protocol used by the load balancing rule. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param frontend_port: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. :type frontend_port: int @@ -10587,7 +10938,7 @@ class InboundNatRule(SubResource): :type enable_tcp_reset: bool :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10638,7 +10989,7 @@ class InboundNatRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of inbound nat rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -10675,10 +11026,10 @@ class InboundSecurityRule(SubResource): :ivar type: NVA inbound security rule type. :vartype type: str :param rules: List of allowed rules. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.InboundSecurityRules] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.InboundSecurityRules] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10713,7 +11064,7 @@ class InboundSecurityRules(msrest.serialization.Model): :param protocol: Protocol. This should be either TCP or UDP. Possible values include: "TCP", "UDP". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRulesProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRulesProtocol :param source_address_prefix: The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed. :type source_address_prefix: str @@ -10784,19 +11135,19 @@ class IpAllocation(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar subnet: The Subnet that using the prefix of this IpAllocation resource. - :vartype subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar virtual_network: The VirtualNetwork that using the prefix of this IpAllocation resource. - :vartype virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param type_properties_type: The type for the IpAllocation. Possible values include: "Undefined", "Hypernet". - :type type_properties_type: str or ~azure.mgmt.network.v2020_06_01.models.IpAllocationType + :type type_properties_type: str or ~azure.mgmt.network.v2020_07_01.models.IpAllocationType :param prefix: The address prefix for the IpAllocation. :type prefix: str :param prefix_length: The address prefix length for the IpAllocation. :type prefix_length: int :param prefix_type: The address prefix Type for the IpAllocation. Possible values include: "IPv4", "IPv6". - :type prefix_type: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type prefix_type: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param ipam_allocation_id: The IPAM allocation ID. :type ipam_allocation_id: str :param allocation_tags: IpAllocation tags. @@ -10848,7 +11199,7 @@ class IpAllocationListResult(msrest.serialization.Model): """Response for the ListIpAllocations API service call. :param value: A list of IpAllocation resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.IpAllocation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.IpAllocation] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -10884,14 +11235,14 @@ class IPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10980,10 +11331,10 @@ class IPConfigurationProfile(SubResource): :vartype etag: str :param subnet: The reference to the subnet resource to create a container network interface ip configuration. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :ivar provisioning_state: The provisioning state of the IP configuration profile resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11032,11 +11383,15 @@ class IpGroup(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the IpGroups resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups resource. :type ip_addresses: list[str] - :ivar firewalls: List of references to Azure resources that this IpGroups is associated with. - :vartype firewalls: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :ivar firewalls: List of references to Firewall resources that this IpGroups is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2020_07_01.models.SubResource] + :ivar firewall_policies: List of references to Firewall Policies resources that this IpGroups + is associated with. + :vartype firewall_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -11045,6 +11400,7 @@ class IpGroup(Resource): 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'firewalls': {'readonly': True}, + 'firewall_policies': {'readonly': True}, } _attribute_map = { @@ -11057,6 +11413,7 @@ class IpGroup(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'firewall_policies': {'key': 'properties.firewallPolicies', 'type': '[SubResource]'}, } def __init__( @@ -11068,13 +11425,14 @@ def __init__( self.provisioning_state = None self.ip_addresses = kwargs.get('ip_addresses', None) self.firewalls = None + self.firewall_policies = None class IpGroupListResult(msrest.serialization.Model): """Response for the ListIpGroups API service call. :param value: The list of IpGroups information resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.IpGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.IpGroup] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -11107,23 +11465,23 @@ class IpsecPolicy(msrest.serialization.Model): :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IpsecEncryption + :type ipsec_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IpsecEncryption :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IpsecIntegrity + :type ipsec_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IpsecIntegrity :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". - :type ike_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IkeEncryption + :type ike_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IkeEncryption :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". - :type ike_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IkeIntegrity + :type ike_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IkeIntegrity :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", "DHGroup24". - :type dh_group: str or ~azure.mgmt.network.v2020_06_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_07_01.models.DhGroup :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". - :type pfs_group: str or ~azure.mgmt.network.v2020_06_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_07_01.models.PfsGroup """ _validation = { @@ -11196,7 +11554,7 @@ class Ipv6CircuitConnectionConfig(msrest.serialization.Model): :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus """ _validation = { @@ -11226,11 +11584,11 @@ class Ipv6ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): :type secondary_peer_address_prefix: str :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :param route_filter: The reference to the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type route_filter: ~azure.mgmt.network.v2020_07_01.models.SubResource :param state: The state of peering. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringState """ _attribute_map = { @@ -11257,7 +11615,7 @@ class ListHubRouteTablesResult(msrest.serialization.Model): """List of RouteTables and a URL nextLink to get the next set of results. :param value: List of RouteTables. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubRouteTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubRouteTable] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11280,7 +11638,7 @@ class ListHubVirtualNetworkConnectionsResult(msrest.serialization.Model): """List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. :param value: List of HubVirtualNetworkConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11303,7 +11661,7 @@ class ListP2SVpnGatewaysResult(msrest.serialization.Model): """Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results. :param value: List of P2SVpnGateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11326,7 +11684,7 @@ class ListVirtualHubBgpConnectionResults(msrest.serialization.Model): """VirtualHubBgpConnections list. :param value: The list of VirtualHubBgpConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpConnection] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -11349,7 +11707,7 @@ class ListVirtualHubIpConfigurationResults(msrest.serialization.Model): """VirtualHubIpConfigurations list. :param value: The list of VirtualHubIpConfigurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -11372,7 +11730,7 @@ class ListVirtualHubRouteTableV2SResult(msrest.serialization.Model): """List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. :param value: List of VirtualHubRouteTableV2s. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11395,7 +11753,7 @@ class ListVirtualHubsResult(msrest.serialization.Model): """Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. :param value: List of VirtualHubs. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHub] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHub] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11418,7 +11776,7 @@ class ListVirtualWANsResult(msrest.serialization.Model): """Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results. :param value: List of VirtualWANs. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualWAN] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualWAN] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11441,7 +11799,7 @@ class ListVpnConnectionsResult(msrest.serialization.Model): """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. :param value: List of Vpn Connections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11464,7 +11822,7 @@ class ListVpnGatewaysResult(msrest.serialization.Model): """Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. :param value: List of VpnGateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11487,7 +11845,7 @@ class ListVpnServerConfigurationsResult(msrest.serialization.Model): """Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results. :param value: List of VpnServerConfigurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11510,7 +11868,7 @@ class ListVpnSiteLinkConnectionsResult(msrest.serialization.Model): """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. :param value: List of VpnSiteLinkConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11533,7 +11891,7 @@ class ListVpnSiteLinksResult(msrest.serialization.Model): """Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results. :param value: List of VpnSitesLinks. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLink] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11556,7 +11914,7 @@ class ListVpnSitesResult(msrest.serialization.Model): """Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results. :param value: List of VpnSites. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSite] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSite] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -11590,27 +11948,29 @@ class LoadBalancer(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The load balancer SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.LoadBalancerSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :param backend_address_pools: Collection of backend address pools used by a load balancer. - :type backend_address_pools: list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :type backend_address_pools: list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :param load_balancing_rules: Object collection representing the load balancing rules Gets the provisioning. - :type load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule] + :type load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule] :param probes: Collection of probe objects used in the load balancer. - :type probes: list[~azure.mgmt.network.v2020_06_01.models.Probe] + :type probes: list[~azure.mgmt.network.v2020_07_01.models.Probe] :param inbound_nat_rules: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. - :type inbound_nat_rules: list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :type inbound_nat_rules: list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :param inbound_nat_pools: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an @@ -11618,14 +11978,14 @@ class LoadBalancer(Resource): Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. - :type inbound_nat_pools: list[~azure.mgmt.network.v2020_06_01.models.InboundNatPool] + :type inbound_nat_pools: list[~azure.mgmt.network.v2020_07_01.models.InboundNatPool] :param outbound_rules: The outbound rules. - :type outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.OutboundRule] + :type outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.OutboundRule] :ivar resource_guid: The resource GUID property of the load balancer resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11642,6 +12002,7 @@ class LoadBalancer(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'LoadBalancerSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[FrontendIPConfiguration]'}, @@ -11660,6 +12021,7 @@ def __init__( **kwargs ): super(LoadBalancer, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.sku = kwargs.get('sku', None) self.etag = None self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None) @@ -11681,12 +12043,16 @@ class LoadBalancerBackendAddress(msrest.serialization.Model): :param name: Name of the backend address. :type name: str :param virtual_network: Reference to an existing virtual network. - :type virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ip_address: IP Address belonging to the referenced virtual network. :type ip_address: str :ivar network_interface_ip_configuration: Reference to IP address defined in network interfaces. - :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource + :param load_balancer_frontend_ip_configuration: Reference to the frontend ip address + configuration defined in regional loadbalancer. + :type load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -11698,6 +12064,7 @@ class LoadBalancerBackendAddress(msrest.serialization.Model): 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIPConfiguration', 'type': 'SubResource'}, } def __init__( @@ -11709,6 +12076,7 @@ def __init__( self.virtual_network = kwargs.get('virtual_network', None) self.ip_address = kwargs.get('ip_address', None) self.network_interface_ip_configuration = None + self.load_balancer_frontend_ip_configuration = kwargs.get('load_balancer_frontend_ip_configuration', None) class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): @@ -11717,7 +12085,7 @@ class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of backend address pools in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11746,7 +12114,7 @@ class LoadBalancerFrontendIPConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of frontend IP configurations in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11775,7 +12143,7 @@ class LoadBalancerListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancers in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11804,7 +12172,7 @@ class LoadBalancerLoadBalancingRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancing rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11833,7 +12201,7 @@ class LoadBalancerOutboundRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of outbound rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.OutboundRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.OutboundRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11862,7 +12230,7 @@ class LoadBalancerProbeListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of probes in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Probe] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Probe] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11889,11 +12257,14 @@ class LoadBalancerSku(msrest.serialization.Model): """SKU of a load balancer. :param name: Name of a load balancer SKU. Possible values include: "Basic", "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.LoadBalancerSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSkuName + :param tier: Tier of a load balancer SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( @@ -11902,6 +12273,7 @@ def __init__( ): super(LoadBalancerSku, self).__init__(**kwargs) self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) class LoadBalancingRule(SubResource): @@ -11919,18 +12291,18 @@ class LoadBalancingRule(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_address_pool: A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param probe: The reference to the load balancer probe used by the load balancing rule. - :type probe: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: The reference to the transport protocol used by the load balancing rule. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param load_distribution: The load distribution policy for this rule. Possible values include: "Default", "SourceIP", "SourceIPProtocol". - :type load_distribution: str or ~azure.mgmt.network.v2020_06_01.models.LoadDistribution + :type load_distribution: str or ~azure.mgmt.network.v2020_07_01.models.LoadDistribution :param frontend_port: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". @@ -11955,7 +12327,7 @@ class LoadBalancingRule(SubResource): :type disable_outbound_snat: bool :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12023,18 +12395,18 @@ class LocalNetworkGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param local_network_address_space: Local network site address space. - :type local_network_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type local_network_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param gateway_ip_address: IP address of local network gateway. :type gateway_ip_address: str :param fqdn: FQDN of local network gateway. :type fqdn: str :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar resource_guid: The resource GUID property of the local network gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the local network gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12080,7 +12452,7 @@ class LocalNetworkGatewayListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of local network gateways that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -12139,7 +12511,7 @@ class ManagedRuleGroupOverride(msrest.serialization.Model): :type rule_group_name: str :param rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleOverride] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleOverride] """ _validation = { @@ -12169,7 +12541,7 @@ class ManagedRuleOverride(msrest.serialization.Model): :type rule_id: str :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible values include: "Disabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ManagedRuleEnabledState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ManagedRuleEnabledState """ _validation = { @@ -12196,9 +12568,9 @@ class ManagedRulesDefinition(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exclusions: The Exclusions that are applied on the policy. - :type exclusions: list[~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntry] + :type exclusions: list[~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntry] :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. - :type managed_rule_sets: list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleSet] + :type managed_rule_sets: list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleSet] """ _validation = { @@ -12230,7 +12602,7 @@ class ManagedRuleSet(msrest.serialization.Model): :type rule_set_version: str :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. :type rule_group_overrides: - list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleGroupOverride] + list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleGroupOverride] """ _validation = { @@ -12269,12 +12641,12 @@ class ManagedServiceIdentity(msrest.serialization.Model): UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.ResourceIdentityType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ResourceIdentityType :param user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.network.v2020_06_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] + ~azure.mgmt.network.v2020_07_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] """ _validation = { @@ -12306,18 +12678,18 @@ class MatchCondition(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param match_variables: Required. List of match variables. - :type match_variables: list[~azure.mgmt.network.v2020_06_01.models.MatchVariable] + :type match_variables: list[~azure.mgmt.network.v2020_07_01.models.MatchVariable] :param operator: Required. The operator to be matched. Possible values include: "IPMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "Regex", "GeoMatch". - :type operator: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallOperator + :type operator: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallOperator :param negation_conditon: Whether this is negate condition or not. :type negation_conditon: bool :param match_values: Required. Match value. :type match_values: list[str] :param transforms: List of transforms. :type transforms: list[str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallTransform] + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallTransform] """ _validation = { @@ -12379,7 +12751,7 @@ class MatchVariable(msrest.serialization.Model): "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", "RequestCookies". :type variable_name: str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallMatchVariable + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallMatchVariable :param selector: The selector of match variable. :type selector: str """ @@ -12416,7 +12788,7 @@ class MetricSpecification(msrest.serialization.Model): :param aggregation_type: The aggregation type. :type aggregation_type: str :param availabilities: List of availability. - :type availabilities: list[~azure.mgmt.network.v2020_06_01.models.Availability] + :type availabilities: list[~azure.mgmt.network.v2020_07_01.models.Availability] :param enable_regional_mdm_account: Whether regional MDM account enabled. :type enable_regional_mdm_account: bool :param fill_gap_with_zero: Whether gaps would be filled with zeros. @@ -12424,7 +12796,7 @@ class MetricSpecification(msrest.serialization.Model): :param metric_filter_pattern: Pattern for the filter of the metric. :type metric_filter_pattern: str :param dimensions: List of dimensions. - :type dimensions: list[~azure.mgmt.network.v2020_06_01.models.Dimension] + :type dimensions: list[~azure.mgmt.network.v2020_07_01.models.Dimension] :param is_internal: Whether the metric is internal. :type is_internal: bool :param source_mdm_account: The source MDM account. @@ -12489,7 +12861,7 @@ class NatGateway(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param sku: The nat gateway SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.NatGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.NatGatewaySku :param zones: A list of availability zones denoting the zone in which Nat Gateway should be deployed. :type zones: list[str] @@ -12499,17 +12871,17 @@ class NatGateway(Resource): :type idle_timeout_in_minutes: int :param public_ip_addresses: An array of public ip addresses associated with the nat gateway resource. - :type public_ip_addresses: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type public_ip_addresses: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param public_ip_prefixes: An array of public ip prefixes associated with the nat gateway resource. - :type public_ip_prefixes: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type public_ip_prefixes: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar subnets: An array of references to the subnets using this nat gateway resource. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_guid: The resource GUID property of the NAT gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12558,7 +12930,7 @@ class NatGatewayListResult(msrest.serialization.Model): """Response for ListNatGateways API service call. :param value: A list of Nat Gateways that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NatGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NatGateway] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -12581,7 +12953,7 @@ class NatGatewaySku(msrest.serialization.Model): """SKU of nat gateway. :param name: Name of Nat Gateway SKU. Possible values include: "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.NatGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.NatGatewaySkuName """ _attribute_map = { @@ -12607,10 +12979,10 @@ class NatRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleNetworkProtocol] + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleNetworkProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. @@ -12623,6 +12995,8 @@ class NatRule(FirewallPolicyRule): :type translated_port: str :param source_ip_groups: List of source IpGroups for this rule. :type source_ip_groups: list[str] + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str """ _validation = { @@ -12640,6 +13014,7 @@ class NatRule(FirewallPolicyRule): 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, 'translated_port': {'key': 'translatedPort', 'type': 'str'}, 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, } def __init__( @@ -12655,6 +13030,7 @@ def __init__( self.translated_address = kwargs.get('translated_address', None) self.translated_port = kwargs.get('translated_port', None) self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.translated_fqdn = kwargs.get('translated_fqdn', None) class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): @@ -12667,10 +13043,10 @@ class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): Application Gateway. :type target_resource_id: str :param verbosity_level: Verbosity level. Possible values include: "Normal", "Minimum", "Full". - :type verbosity_level: str or ~azure.mgmt.network.v2020_06_01.models.VerbosityLevel + :type verbosity_level: str or ~azure.mgmt.network.v2020_07_01.models.VerbosityLevel :param profiles: Required. List of network configuration diagnostic profiles. :type profiles: - list[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticProfile] + list[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticProfile] """ _validation = { @@ -12701,7 +13077,7 @@ class NetworkConfigurationDiagnosticProfile(msrest.serialization.Model): :param direction: Required. The direction of the traffic. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.Direction :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. :type protocol: str :param source: Required. Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. @@ -12749,7 +13125,7 @@ class NetworkConfigurationDiagnosticResponse(msrest.serialization.Model): :ivar results: List of network configuration diagnostic results. :vartype results: - list[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticResult] + list[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticResult] """ _validation = { @@ -12772,10 +13148,10 @@ class NetworkConfigurationDiagnosticResult(msrest.serialization.Model): """Network configuration diagnostic result corresponded to provided traffic query. :param profile: Network configuration diagnostic profile. - :type profile: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticProfile + :type profile: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticProfile :param network_security_group_result: Network security group result. :type network_security_group_result: - ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupResult + ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupResult """ _attribute_map = { @@ -12841,7 +13217,7 @@ class NetworkIntentPolicyConfiguration(msrest.serialization.Model): subscription. :type network_intent_policy_name: str :param source_network_intent_policy: Source network intent policy. - :type source_network_intent_policy: ~azure.mgmt.network.v2020_06_01.models.NetworkIntentPolicy + :type source_network_intent_policy: ~azure.mgmt.network.v2020_07_01.models.NetworkIntentPolicy """ _attribute_map = { @@ -12873,23 +13249,25 @@ class NetworkInterface(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the network interface. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar virtual_machine: The reference to a virtual machine. - :vartype virtual_machine: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype virtual_machine: ~azure.mgmt.network.v2020_07_01.models.SubResource :param network_security_group: The reference to the NetworkSecurityGroup resource. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :ivar private_endpoint: A reference to the private endpoint to which the network interface is linked. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param ip_configurations: A list of IPConfigurations of the network interface. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar tap_configurations: A list of TapConfigurations of the network interface. :vartype tap_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceDnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceDnsSettings :ivar mac_address: The MAC address of the network interface. :vartype mac_address: str :ivar primary: Whether this is a primary network interface on a virtual machine. @@ -12904,12 +13282,12 @@ class NetworkInterface(Resource): :vartype hosted_workloads: list[str] :ivar dscp_configuration: A reference to the dscp configuration to which the network interface is linked. - :vartype dscp_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype dscp_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar resource_guid: The resource GUID property of the network interface resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12933,6 +13311,7 @@ class NetworkInterface(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'virtual_machine': {'key': 'properties.virtualMachine', 'type': 'SubResource'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -12955,6 +13334,7 @@ def __init__( **kwargs ): super(NetworkInterface, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.etag = None self.virtual_machine = None self.network_security_group = kwargs.get('network_security_group', None) @@ -12980,7 +13360,7 @@ class NetworkInterfaceAssociation(msrest.serialization.Model): :ivar id: Network interface ID. :vartype id: str :param security_rules: Collection of custom security rules. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] """ _validation = { @@ -13065,44 +13445,44 @@ class NetworkInterfaceIPConfiguration(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_network_taps: The reference to Virtual Network Taps. - :type virtual_network_taps: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :type virtual_network_taps: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to ApplicationGatewayBackendAddressPool resource. :type application_gateway_backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool resource. :type load_balancer_backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :param load_balancer_inbound_nat_rules: A list of references of LoadBalancerInboundNatRules. :type load_balancer_inbound_nat_rules: - list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :param private_ip_address: Private IP address of the IP configuration. :type private_ip_address: str :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param subnet: Subnet bound to the IP configuration. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param primary: Whether this is a primary customer address on the network interface. :type primary: bool :param public_ip_address: Public IP address bound to the IP configuration. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :param application_security_groups: Application security groups in which the IP configuration is included. :type application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :ivar provisioning_state: The provisioning state of the network interface IP configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar private_link_connection_properties: PrivateLinkConnection properties for the network interface. :vartype private_link_connection_properties: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ _validation = { @@ -13158,7 +13538,7 @@ class NetworkInterfaceIPConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ip configurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13222,7 +13602,7 @@ class NetworkInterfaceListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of network interfaces in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13251,7 +13631,7 @@ class NetworkInterfaceLoadBalancerListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13289,10 +13669,10 @@ class NetworkInterfaceTapConfiguration(SubResource): :ivar type: Sub Resource type. :vartype type: str :param virtual_network_tap: The reference to the Virtual Network Tap resource. - :type virtual_network_tap: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :type virtual_network_tap: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :ivar provisioning_state: The provisioning state of the network interface tap configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13328,7 +13708,7 @@ class NetworkInterfaceTapConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of tap configurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13370,16 +13750,16 @@ class NetworkProfile(Resource): :vartype etag: str :ivar container_network_interfaces: List of child container network interfaces. :vartype container_network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterface] :param container_network_interface_configurations: List of chid container network interface configurations. :type container_network_interface_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration] :ivar resource_guid: The resource GUID property of the network profile resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network profile resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13420,7 +13800,7 @@ class NetworkProfileListResult(msrest.serialization.Model): """Response for ListNetworkProfiles API service call. :param value: A list of network profiles that exist in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkProfile] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkProfile] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -13450,10 +13830,10 @@ class NetworkRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleNetworkProtocol] + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleNetworkProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. @@ -13518,20 +13898,20 @@ class NetworkSecurityGroup(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param security_rules: A collection of security rules of the network security group. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :ivar default_security_rules: The default security rules of network security group. - :vartype default_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :vartype default_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :ivar network_interfaces: A collection of references to network interfaces. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :ivar flow_logs: A collection of references to flow log resources. - :vartype flow_logs: list[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :vartype flow_logs: list[~azure.mgmt.network.v2020_07_01.models.FlowLog] :ivar resource_guid: The resource GUID property of the network security group resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network security group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13581,7 +13961,7 @@ class NetworkSecurityGroupListResult(msrest.serialization.Model): """Response for ListNetworkSecurityGroups API service call. :param value: A list of NetworkSecurityGroup resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -13608,10 +13988,10 @@ class NetworkSecurityGroupResult(msrest.serialization.Model): :param security_rule_access_result: The network traffic is allowed or denied. Possible values include: "Allow", "Deny". :type security_rule_access_result: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :ivar evaluated_network_security_groups: List of results network security groups diagnostic. :vartype evaluated_network_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.EvaluatedNetworkSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.EvaluatedNetworkSecurityGroup] """ _validation = { @@ -13687,17 +14067,17 @@ class NetworkVirtualAppliance(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param identity: The service principal that has read access to cloud-init and config blob. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param nva_sku: Network Virtual Appliance SKU. - :type nva_sku: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSkuProperties + :type nva_sku: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSkuProperties :ivar address_prefix: Address Prefix. :vartype address_prefix: str :param boot_strap_configuration_blobs: BootStrapConfigurationBlobs storage URLs. :type boot_strap_configuration_blobs: list[str] :param virtual_hub: The Virtual Hub where Network Virtual Appliance is being deployed. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param cloud_init_configuration_blobs: CloudInitConfigurationBlob storage URLs. :type cloud_init_configuration_blobs: list[str] :param cloud_init_configuration: CloudInitConfiguration string in plain text. @@ -13706,14 +14086,14 @@ class NetworkVirtualAppliance(Resource): :type virtual_appliance_asn: long :ivar virtual_appliance_nics: List of Virtual Appliance Network Interfaces. :vartype virtual_appliance_nics: - list[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceNicProperties] + list[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceNicProperties] :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. - :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar inbound_security_rules: List of references to InboundSecurityRules. - :vartype inbound_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13773,7 +14153,7 @@ class NetworkVirtualApplianceListResult(msrest.serialization.Model): """Response for ListNetworkVirtualAppliances API service call. :param value: List of Network Virtual Appliances. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -13796,7 +14176,7 @@ class NetworkVirtualApplianceSiteListResult(msrest.serialization.Model): """Response for ListNetworkVirtualApplianceSites API service call. :param value: List of Network Virtual Appliance sites. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -13838,7 +14218,7 @@ class NetworkVirtualApplianceSku(Resource): :vartype available_versions: list[str] :param available_scale_units: The list of scale units available. :type available_scale_units: - list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSkuInstances] + list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSkuInstances] """ _validation = { @@ -13906,7 +14286,7 @@ class NetworkVirtualApplianceSkuListResult(msrest.serialization.Model): """Response for ListNetworkVirtualApplianceSkus API service call. :param value: List of Network Virtual Appliance Skus that are available. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSku] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSku] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -13944,7 +14324,7 @@ class NetworkWatcher(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the network watcher resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13977,7 +14357,7 @@ class NetworkWatcherListResult(msrest.serialization.Model): """Response for ListNetworkWatchers API service call. :param value: List of network watcher resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkWatcher] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkWatcher] """ _attribute_map = { @@ -14038,7 +14418,7 @@ class NextHopResult(msrest.serialization.Model): :param next_hop_type: Next hop type. Possible values include: "Internet", "VirtualAppliance", "VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.NextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.NextHopType :param next_hop_ip_address: Next hop IP Address. :type next_hop_ip_address: str :param route_table_id: The resource identifier for the route table associated with the route @@ -14094,7 +14474,7 @@ class O365PolicyProperties(msrest.serialization.Model): """The Office365 breakout policy. :param break_out_categories: Office365 breakout categories. - :type break_out_categories: ~azure.mgmt.network.v2020_06_01.models.O365BreakOutCategoryPolicies + :type break_out_categories: ~azure.mgmt.network.v2020_07_01.models.O365BreakOutCategoryPolicies """ _attribute_map = { @@ -14113,7 +14493,7 @@ class Office365PolicyProperties(msrest.serialization.Model): """Network Virtual Appliance Sku Properties. :param break_out_categories: Office 365 breakout categories. - :type break_out_categories: ~azure.mgmt.network.v2020_06_01.models.BreakOutCategoryPolicies + :type break_out_categories: ~azure.mgmt.network.v2020_07_01.models.BreakOutCategoryPolicies """ _attribute_map = { @@ -14134,12 +14514,12 @@ class Operation(msrest.serialization.Model): :param name: Operation name: {provider}/{resource}/{operation}. :type name: str :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.network.v2020_06_01.models.OperationDisplay + :type display: ~azure.mgmt.network.v2020_07_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Specification of the service. :type service_specification: - ~azure.mgmt.network.v2020_06_01.models.OperationPropertiesFormatServiceSpecification + ~azure.mgmt.network.v2020_07_01.models.OperationPropertiesFormatServiceSpecification """ _attribute_map = { @@ -14195,7 +14575,7 @@ class OperationListResult(msrest.serialization.Model): """Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. :param value: List of Network operations supported by the Network resource provider. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Operation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Operation] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -14218,9 +14598,9 @@ class OperationPropertiesFormatServiceSpecification(msrest.serialization.Model): """Specification of the service. :param metric_specifications: Operation service specification. - :type metric_specifications: list[~azure.mgmt.network.v2020_06_01.models.MetricSpecification] + :type metric_specifications: list[~azure.mgmt.network.v2020_07_01.models.MetricSpecification] :param log_specifications: Operation log specification. - :type log_specifications: list[~azure.mgmt.network.v2020_06_01.models.LogSpecification] + :type log_specifications: list[~azure.mgmt.network.v2020_07_01.models.LogSpecification] """ _attribute_map = { @@ -14254,16 +14634,16 @@ class OutboundRule(SubResource): :param allocated_outbound_ports: The number of outbound ports to be used for NAT. :type allocated_outbound_ports: int :param frontend_ip_configurations: The Frontend IP addresses of the load balancer. - :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param backend_address_pool: A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param protocol: The protocol for the outbound rule in load balancer. Possible values include: "Tcp", "Udp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.LoadBalancerOutboundRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerOutboundRuleProtocol :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool @@ -14316,12 +14696,12 @@ class OwaspCrsExclusionEntry(msrest.serialization.Model): :param match_variable: Required. The variable to be excluded. Possible values include: "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". :type match_variable: str or - ~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntryMatchVariable + ~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntryMatchVariable :param selector_match_operator: Required. When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. Possible values include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". :type selector_match_operator: str or - ~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntrySelectorMatchOperator + ~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntrySelectorMatchOperator :param selector: Required. When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. :type selector: str @@ -14363,16 +14743,16 @@ class P2SConnectionConfiguration(SubResource): :vartype etag: str :param vpn_client_address_pool: The reference to the address space resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type vpn_client_address_pool: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration :param enable_internet_security: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. :type enable_internet_security: bool :ivar provisioning_state: The provisioning state of the P2SConnectionConfiguration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -14484,24 +14864,27 @@ class P2SVpnGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param p2_s_connection_configurations: List of all p2s connection configurations of the gateway. :type p2_s_connection_configurations: - list[~azure.mgmt.network.v2020_06_01.models.P2SConnectionConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.P2SConnectionConfiguration] :ivar provisioning_state: The provisioning state of the P2S VPN gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. :type vpn_gateway_scale_unit: int :param vpn_server_configuration: The VpnServerConfiguration to which the p2sVpnGateway is attached to. - :type vpn_server_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_server_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar vpn_client_connection_health: All P2S VPN clients' connection health status. :vartype vpn_client_connection_health: - ~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealth + ~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealth :param custom_dns_servers: List of all customer specified DNS servers IP addresses. :type custom_dns_servers: list[str] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the P2SVpnGateway. + :type is_routing_preference_internet: bool """ _validation = { @@ -14526,6 +14909,7 @@ class P2SVpnGateway(Resource): 'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'}, 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, 'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, } def __init__( @@ -14541,6 +14925,7 @@ def __init__( self.vpn_server_configuration = kwargs.get('vpn_server_configuration', None) self.vpn_client_connection_health = None self.custom_dns_servers = kwargs.get('custom_dns_servers', None) + self.is_routing_preference_internet = kwargs.get('is_routing_preference_internet', None) class P2SVpnProfileParameters(msrest.serialization.Model): @@ -14548,7 +14933,7 @@ class P2SVpnProfileParameters(msrest.serialization.Model): :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod """ _attribute_map = { @@ -14572,26 +14957,29 @@ class PacketCapture(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, } _attribute_map = { 'target': {'key': 'properties.target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, @@ -14615,7 +15003,7 @@ class PacketCaptureFilter(msrest.serialization.Model): :param protocol: Protocol to be filtered on. Possible values include: "TCP", "UDP", "Any". Default value: "Any". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.PcProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.PcProtocol :param local_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently @@ -14660,7 +15048,7 @@ class PacketCaptureListResult(msrest.serialization.Model): """List of packet capture sessions. :param value: Information about packet capture sessions. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult] """ _attribute_map = { @@ -14684,26 +15072,29 @@ class PacketCaptureParameters(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, } _attribute_map = { 'target': {'key': 'target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, @@ -14733,11 +15124,11 @@ class PacketCaptureQueryStatusResult(msrest.serialization.Model): :type capture_start_time: ~datetime.datetime :param packet_capture_status: The status of the packet capture session. Possible values include: "NotStarted", "Running", "Stopped", "Error", "Unknown". - :type packet_capture_status: str or ~azure.mgmt.network.v2020_06_01.models.PcStatus + :type packet_capture_status: str or ~azure.mgmt.network.v2020_07_01.models.PcStatus :param stop_reason: The reason the current packet capture session was stopped. :type stop_reason: str :param packet_capture_error: List of errors of packet capture session. - :type packet_capture_error: list[str or ~azure.mgmt.network.v2020_06_01.models.PcError] + :type packet_capture_error: list[str or ~azure.mgmt.network.v2020_07_01.models.PcError] """ _attribute_map = { @@ -14777,24 +15168,27 @@ class PacketCaptureResult(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, 'etag': {'readonly': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'provisioning_state': {'readonly': True}, } @@ -14803,8 +15197,8 @@ class PacketCaptureResult(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'target': {'key': 'properties.target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, @@ -14839,30 +15233,33 @@ class PacketCaptureResultProperties(PacketCaptureParameters): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'target': {'key': 'target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, @@ -14925,14 +15322,14 @@ class PatchRouteFilter(SubResource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :ivar peerings: A collection of references to express route circuit peerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar provisioning_state: The provisioning state of the route filter resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -14984,15 +15381,15 @@ class PatchRouteFilterRule(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param access: The access type of the rule. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". - :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleType + :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleType :param communities: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. :type communities: list[str] :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -15040,16 +15437,16 @@ class PeerExpressRouteCircuitConnection(SubResource): :vartype type: str :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit. - :type express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the peered circuit. - :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus :param connection_name: The name of the express route circuit connection resource. :type connection_name: str :param auth_resource_guid: The resource guid of the authorization used for the express route @@ -15057,7 +15454,7 @@ class PeerExpressRouteCircuitConnection(SubResource): :type auth_resource_guid: str :ivar provisioning_state: The provisioning state of the peer express route circuit connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -15103,7 +15500,7 @@ class PeerExpressRouteCircuitConnectionListResult(msrest.serialization.Model): :param value: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -15181,7 +15578,7 @@ class PeerRouteList(msrest.serialization.Model): """List of virtual router peer routes. :param value: List of peer routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PeerRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PeerRoute] """ _attribute_map = { @@ -15200,9 +15597,9 @@ class PolicySettings(msrest.serialization.Model): """Defines contents of a web application firewall global configuration. :param state: The state of the policy. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallEnabledState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallEnabledState :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". - :type mode: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallMode + :type mode: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallMode :param request_body_check: Whether to allow WAF to check request Body. :type request_body_check: bool :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. @@ -15243,7 +15640,7 @@ class PrepareNetworkPoliciesRequest(msrest.serialization.Model): :type service_name: str :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. :type network_intent_policy_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkIntentPolicyConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkIntentPolicyConfiguration] """ _attribute_map = { @@ -15272,7 +15669,7 @@ class PrivateDnsZoneConfig(msrest.serialization.Model): :type private_dns_zone_id: str :ivar record_sets: A collection of information regarding a recordSet, holding information to identify private resources. - :vartype record_sets: list[~azure.mgmt.network.v2020_06_01.models.RecordSet] + :vartype record_sets: list[~azure.mgmt.network.v2020_07_01.models.RecordSet] """ _validation = { @@ -15309,11 +15706,11 @@ class PrivateDnsZoneGroup(SubResource): :vartype etag: str :ivar provisioning_state: The provisioning state of the private dns zone group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_dns_zone_configs: A collection of private dns zone configurations of the private dns zone group. :type private_dns_zone_configs: - list[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneConfig] + list[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneConfig] """ _validation = { @@ -15346,7 +15743,7 @@ class PrivateDnsZoneGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of private dns zone group resources in a private endpoint. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -15387,25 +15784,25 @@ class PrivateEndpoint(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param subnet: The ID of the subnet from which the private IP will be allocated. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :ivar network_interfaces: An array of references to the network interfaces created for this private endpoint. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_link_service_connections: A grouping of information about the connection to the remote resource. :type private_link_service_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnection] :param manual_private_link_service_connections: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. :type manual_private_link_service_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnection] :param custom_dns_configs: An array of custom dns configurations. :type custom_dns_configs: - list[~azure.mgmt.network.v2020_06_01.models.CustomDnsConfigPropertiesFormat] + list[~azure.mgmt.network.v2020_07_01.models.CustomDnsConfigPropertiesFormat] """ _validation = { @@ -15460,14 +15857,14 @@ class PrivateEndpointConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar private_endpoint: The resource of private end point. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState :ivar provisioning_state: The provisioning state of the private endpoint connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar link_identifier: The consumer link id. :vartype link_identifier: str """ @@ -15512,7 +15909,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model): :param value: A list of PrivateEndpointConnection resources for a specific private link service. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -15541,7 +15938,7 @@ class PrivateEndpointListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of private endpoint resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -15584,23 +15981,23 @@ class PrivateLinkService(Resource): :param load_balancer_frontend_ip_configurations: An array of references to the load balancer IP configurations. :type load_balancer_frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :param ip_configurations: An array of private link service IP configurations. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceIpConfiguration] :ivar network_interfaces: An array of references to the network interfaces created for this private link service. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar provisioning_state: The provisioning state of the private link service resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar private_endpoint_connections: An array of list about connections to the private endpoint. :vartype private_endpoint_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_07_01.models.ResourceSet :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type auto_approval: ~azure.mgmt.network.v2020_07_01.models.ResourceSet :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -15673,7 +16070,7 @@ class PrivateLinkServiceConnection(SubResource): :vartype etag: str :ivar provisioning_state: The provisioning state of the private link service connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_link_service_id: The resource id of private link service. :type private_link_service_id: str :param group_ids: The ID(s) of the group(s) obtained from the remote resource that this private @@ -15685,7 +16082,7 @@ class PrivateLinkServiceConnection(SubResource): :param private_link_service_connection_state: A collection of read-only information about the state of the connection to the remote resource. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState """ _validation = { @@ -15768,17 +16165,17 @@ class PrivateLinkServiceIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param primary: Whether the ip configuration is primary or not. :type primary: bool :ivar provisioning_state: The provisioning state of the private link service IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion """ _validation = { @@ -15822,7 +16219,7 @@ class PrivateLinkServiceListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of PrivateLinkService resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkService] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkService] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -15934,12 +16331,12 @@ class Probe(SubResource): :ivar type: Type of the resource. :vartype type: str :ivar load_balancing_rules: The load balancer rules that use this probe. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param protocol: The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: "Http", "Tcp", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ProbeProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ProbeProtocol :param port: The port for communicating the probe. Possible values range from 1 to 65535, inclusive. :type port: int @@ -15957,7 +16354,7 @@ class Probe(SubResource): :type request_path: str :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16004,7 +16401,7 @@ class PropagatedRouteTable(msrest.serialization.Model): :param labels: The list of labels. :type labels: list[str] :param ids: The list of resource ids of all the RouteTables. - :type ids: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ids: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _attribute_map = { @@ -16025,7 +16422,7 @@ class ProtocolConfiguration(msrest.serialization.Model): """Configuration of the protocol. :param http_configuration: HTTP configuration of the connectivity check. - :type http_configuration: ~azure.mgmt.network.v2020_06_01.models.HTTPConfiguration + :type http_configuration: ~azure.mgmt.network.v2020_07_01.models.HTTPConfiguration """ _attribute_map = { @@ -16045,7 +16442,7 @@ class ProtocolCustomSettingsFormat(msrest.serialization.Model): :param protocol: The protocol for which the DDoS protection policy is being customized. Possible values include: "Tcp", "Udp", "Syn". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicyProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicyProtocol :param trigger_rate_override: The customized DDoS protection trigger rate. :type trigger_rate_override: str :param source_rate_override: The customized DDoS protection source rate. @@ -16056,7 +16453,7 @@ class ProtocolCustomSettingsFormat(msrest.serialization.Model): sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: "Relaxed", "Low", "Default", "High". :type trigger_sensitivity_override: str or - ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicyTriggerSensitivityOverride + ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicyTriggerSensitivityOverride """ _attribute_map = { @@ -16092,8 +16489,10 @@ class PublicIPAddress(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The public IP address SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param zones: A list of availability zones denoting the IP allocated for the resource needs to @@ -16102,29 +16501,29 @@ class PublicIPAddress(Resource): :param public_ip_allocation_method: The public IP address allocation method. Possible values include: "Static", "Dynamic". :type public_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param public_ip_address_version: The public IP address version. Possible values include: "IPv4", "IPv6". - :type public_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type public_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :ivar ip_configuration: The IP configuration associated with the public IP address. - :vartype ip_configuration: ~azure.mgmt.network.v2020_06_01.models.IPConfiguration + :vartype ip_configuration: ~azure.mgmt.network.v2020_07_01.models.IPConfiguration :param dns_settings: The FQDN of the DNS record associated with the public IP address. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressDnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressDnsSettings :param ddos_settings: The DDoS protection custom policy associated with the public IP address. - :type ddos_settings: ~azure.mgmt.network.v2020_06_01.models.DdosSettings + :type ddos_settings: ~azure.mgmt.network.v2020_07_01.models.DdosSettings :param ip_tags: The list of tags associated with the public IP address. - :type ip_tags: list[~azure.mgmt.network.v2020_06_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_07_01.models.IpTag] :param ip_address: The IP address associated with the public IP address resource. :type ip_address: str :param public_ip_prefix: The Public IP Prefix this Public IP Address should be allocated from. - :type public_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :param idle_timeout_in_minutes: The idle timeout of the public IP address. :type idle_timeout_in_minutes: int :ivar resource_guid: The resource GUID property of the public IP address resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16142,6 +16541,7 @@ class PublicIPAddress(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'PublicIPAddressSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, @@ -16163,6 +16563,7 @@ def __init__( **kwargs ): super(PublicIPAddress, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.sku = kwargs.get('sku', None) self.etag = None self.zones = kwargs.get('zones', None) @@ -16216,7 +16617,7 @@ class PublicIPAddressListResult(msrest.serialization.Model): """Response for ListPublicIpAddresses API service call. :param value: A list of public IP addresses that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PublicIPAddress] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PublicIPAddress] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16239,11 +16640,14 @@ class PublicIPAddressSku(msrest.serialization.Model): """SKU of a public IP address. :param name: Name of a public IP address SKU. Possible values include: "Basic", "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSkuName + :param tier: Tier of a public IP address SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( @@ -16252,6 +16656,7 @@ def __init__( ): super(PublicIPAddressSku, self).__init__(**kwargs) self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) class PublicIPPrefix(Resource): @@ -16269,8 +16674,10 @@ class PublicIPPrefix(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The public IP prefix SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param zones: A list of availability zones denoting the IP allocated for the resource needs to @@ -16278,27 +16685,27 @@ class PublicIPPrefix(Resource): :type zones: list[str] :param public_ip_address_version: The public IP address version. Possible values include: "IPv4", "IPv6". - :type public_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type public_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param ip_tags: The list of tags associated with the public IP prefix. - :type ip_tags: list[~azure.mgmt.network.v2020_06_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_07_01.models.IpTag] :param prefix_length: The Length of the Public IP Prefix. :type prefix_length: int :ivar ip_prefix: The allocated Prefix. :vartype ip_prefix: str :ivar public_ip_addresses: The list of all referenced PublicIPAddresses. :vartype public_ip_addresses: - list[~azure.mgmt.network.v2020_06_01.models.ReferencedPublicIpAddress] + list[~azure.mgmt.network.v2020_07_01.models.ReferencedPublicIpAddress] :ivar load_balancer_frontend_ip_configuration: The reference to load balancer frontend IP configuration associated with the public IP prefix. :vartype load_balancer_frontend_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.SubResource + ~azure.mgmt.network.v2020_07_01.models.SubResource :param custom_ip_prefix: The customIpPrefix that this prefix is associated with. - :type custom_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type custom_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar resource_guid: The resource GUID property of the public IP prefix resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16318,6 +16725,7 @@ class PublicIPPrefix(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'PublicIPPrefixSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, @@ -16337,6 +16745,7 @@ def __init__( **kwargs ): super(PublicIPPrefix, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.sku = kwargs.get('sku', None) self.etag = None self.zones = kwargs.get('zones', None) @@ -16355,7 +16764,7 @@ class PublicIPPrefixListResult(msrest.serialization.Model): """Response for ListPublicIpPrefixes API service call. :param value: A list of public IP prefixes that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16378,11 +16787,14 @@ class PublicIPPrefixSku(msrest.serialization.Model): """SKU of a public IP prefix. :param name: Name of a public IP prefix SKU. Possible values include: "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSkuName + :param tier: Tier of a public IP prefix SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( @@ -16391,6 +16803,7 @@ def __init__( ): super(PublicIPPrefixSku, self).__init__(**kwargs) self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) class QosIpRange(msrest.serialization.Model): @@ -16511,7 +16924,7 @@ class RecordSet(msrest.serialization.Model): :type fqdn: str :ivar provisioning_state: The provisioning state of the recordset. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param ttl: Recordset time to live. :type ttl: int :param ip_addresses: The private ip address of the private endpoint. @@ -16583,7 +16996,7 @@ class ResourceNavigationLink(SubResource): :type link: str :ivar provisioning_state: The provisioning state of the resource navigation link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16621,7 +17034,7 @@ class ResourceNavigationLinksListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The resource navigation links in a subnet. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -16683,13 +17096,13 @@ class Route(SubResource): :type address_prefix: str :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteNextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteNextHopType :param next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. :type next_hop_ip_address: str :ivar provisioning_state: The provisioning state of the route resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16738,14 +17151,14 @@ class RouteFilter(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :ivar peerings: A collection of references to express route circuit peerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar provisioning_state: The provisioning state of the route filter resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16786,7 +17199,7 @@ class RouteFilterListResult(msrest.serialization.Model): """Response for the ListRouteFilters API service call. :param value: A list of route filters in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteFilter] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteFilter] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16820,15 +17233,15 @@ class RouteFilterRule(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param access: The access type of the rule. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". - :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleType + :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleType :param communities: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. :type communities: list[str] :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16865,7 +17278,7 @@ class RouteFilterRuleListResult(msrest.serialization.Model): """Response for the ListRouteFilterRules API service call. :param value: A list of RouteFilterRules in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16888,7 +17301,7 @@ class RouteListResult(msrest.serialization.Model): """Response for the ListRoute API service call. :param value: A list of routes in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Route] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Route] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16925,15 +17338,15 @@ class RouteTable(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param routes: Collection of routes contained within a route table. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.Route] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.Route] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param disable_bgp_route_propagation: Whether to disable the routes learned by BGP on that route table. True means disable. :type disable_bgp_route_propagation: bool :ivar provisioning_state: The provisioning state of the route table resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16973,7 +17386,7 @@ class RouteTableListResult(msrest.serialization.Model): """Response for the ListRouteTable API service call. :param value: A list of route tables in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16997,12 +17410,12 @@ class RoutingConfiguration(msrest.serialization.Model): :param associated_route_table: The resource id RouteTable associated with this RoutingConfiguration. - :type associated_route_table: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type associated_route_table: ~azure.mgmt.network.v2020_07_01.models.SubResource :param propagated_route_tables: The list of RouteTables to advertise the routes to. - :type propagated_route_tables: ~azure.mgmt.network.v2020_06_01.models.PropagatedRouteTable + :type propagated_route_tables: ~azure.mgmt.network.v2020_07_01.models.PropagatedRouteTable :param vnet_routes: List of routes that control routing from VirtualHub into a virtual network connection. - :type vnet_routes: ~azure.mgmt.network.v2020_06_01.models.VnetRoute + :type vnet_routes: ~azure.mgmt.network.v2020_07_01.models.VnetRoute """ _attribute_map = { @@ -17028,7 +17441,7 @@ class SecurityGroupNetworkInterface(msrest.serialization.Model): :type id: str :param security_rule_associations: All security rules associated with the network interface. :type security_rule_associations: - ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAssociations + ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAssociations """ _attribute_map = { @@ -17075,7 +17488,7 @@ class SecurityGroupViewResult(msrest.serialization.Model): :param network_interfaces: List of network interfaces on the specified VM. :type network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.SecurityGroupNetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.SecurityGroupNetworkInterface] """ _attribute_map = { @@ -17109,17 +17522,17 @@ class SecurityPartnerProvider(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the Security Partner Provider resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param security_provider_name: The security provider name. Possible values include: "ZScaler", "IBoss", "Checkpoint". :type security_provider_name: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityProviderName + ~azure.mgmt.network.v2020_07_01.models.SecurityProviderName :ivar connection_status: The connection status with the Security Partner Provider. Possible values include: "Unknown", "PartiallyConnected", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderConnectionStatus :param virtual_hub: The virtualHub to which the Security Partner Provider belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -17159,7 +17572,7 @@ class SecurityPartnerProviderListResult(msrest.serialization.Model): """Response for ListSecurityPartnerProviders API service call. :param value: List of Security Partner Providers in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider] + :type value: list[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -17194,7 +17607,7 @@ class SecurityRule(SubResource): :type description: str :param protocol: Network protocol this rule applies to. Possible values include: "Tcp", "Udp", "Icmp", "Esp", "*", "Ah". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleProtocol :param source_port_range: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. :type source_port_range: str @@ -17209,7 +17622,7 @@ class SecurityRule(SubResource): :type source_address_prefixes: list[str] :param source_application_security_groups: The application security group specified as source. :type source_application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :param destination_address_prefix: The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. @@ -17220,24 +17633,24 @@ class SecurityRule(SubResource): :param destination_application_security_groups: The application security group specified as destination. :type destination_application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :param source_port_ranges: The source port ranges. :type source_port_ranges: list[str] :param destination_port_ranges: The destination port ranges. :type destination_port_ranges: list[str] :param access: The network traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + :type access: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :param priority: The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. :type priority: int :param direction: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleDirection + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleDirection :ivar provisioning_state: The provisioning state of the security rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17297,15 +17710,15 @@ class SecurityRuleAssociations(msrest.serialization.Model): :param network_interface_association: Network interface and it's custom security rules. :type network_interface_association: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceAssociation + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceAssociation :param subnet_association: Subnet and it's custom security rules. - :type subnet_association: ~azure.mgmt.network.v2020_06_01.models.SubnetAssociation + :type subnet_association: ~azure.mgmt.network.v2020_07_01.models.SubnetAssociation :param default_security_rules: Collection of default security rules of the network security group. - :type default_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type default_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :param effective_security_rules: Collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityRule] """ _attribute_map = { @@ -17330,7 +17743,7 @@ class SecurityRuleListResult(msrest.serialization.Model): """Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. :param value: The security rules in a network security group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -17369,7 +17782,7 @@ class ServiceAssociationLink(SubResource): :type link: str :ivar provisioning_state: The provisioning state of the service association link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param allow_delete: If true, the resource can be deleted. :type allow_delete: bool :param locations: A list of locations. @@ -17415,7 +17828,7 @@ class ServiceAssociationLinksListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The service association links in a subnet. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17458,14 +17871,14 @@ class ServiceEndpointPolicy(Resource): :param service_endpoint_policy_definitions: A collection of service endpoint policy definitions of the service endpoint policy. :type service_endpoint_policy_definitions: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :ivar resource_guid: The resource GUID property of the service endpoint policy resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the service endpoint policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17522,7 +17935,7 @@ class ServiceEndpointPolicyDefinition(SubResource): :type service_resources: list[str] :ivar provisioning_state: The provisioning state of the service endpoint policy definition resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17557,7 +17970,7 @@ class ServiceEndpointPolicyDefinitionListResult(msrest.serialization.Model): """Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy. :param value: The service endpoint policy definition in a service endpoint policy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -17582,7 +17995,7 @@ class ServiceEndpointPolicyListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ServiceEndpointPolicy resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17616,7 +18029,7 @@ class ServiceEndpointPropertiesFormat(msrest.serialization.Model): :type locations: list[str] :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17646,7 +18059,7 @@ class ServiceTagInformation(msrest.serialization.Model): :ivar properties: Properties of the service tag information. :vartype properties: - ~azure.mgmt.network.v2020_06_01.models.ServiceTagInformationPropertiesFormat + ~azure.mgmt.network.v2020_07_01.models.ServiceTagInformationPropertiesFormat :ivar name: The name of service tag. :vartype name: str :ivar id: The ID of service tag. @@ -17731,7 +18144,9 @@ class ServiceTagsListResult(msrest.serialization.Model): :ivar cloud: The name of the cloud. :vartype cloud: str :ivar values: The list of service tag information resources. - :vartype values: list[~azure.mgmt.network.v2020_06_01.models.ServiceTagInformation] + :vartype values: list[~azure.mgmt.network.v2020_07_01.models.ServiceTagInformation] + :ivar next_link: The URL to get next page of service tag information resources. + :vartype next_link: str """ _validation = { @@ -17741,6 +18156,7 @@ class ServiceTagsListResult(msrest.serialization.Model): 'change_number': {'readonly': True}, 'cloud': {'readonly': True}, 'values': {'readonly': True}, + 'next_link': {'readonly': True}, } _attribute_map = { @@ -17750,6 +18166,7 @@ class ServiceTagsListResult(msrest.serialization.Model): 'change_number': {'key': 'changeNumber', 'type': 'str'}, 'cloud': {'key': 'cloud', 'type': 'str'}, 'values': {'key': 'values', 'type': '[ServiceTagInformation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( @@ -17763,6 +18180,7 @@ def __init__( self.change_number = None self.cloud = None self.values = None + self.next_link = None class SessionIds(msrest.serialization.Model): @@ -17828,42 +18246,42 @@ class Subnet(SubResource): :param address_prefixes: List of address prefixes for the subnet. :type address_prefixes: list[str] :param network_security_group: The reference to the NetworkSecurityGroup resource. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :param route_table: The reference to the RouteTable resource. - :type route_table: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :type route_table: ~azure.mgmt.network.v2020_07_01.models.RouteTable :param nat_gateway: Nat gateway associated with this subnet. - :type nat_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param service_endpoints: An array of service endpoints. :type service_endpoints: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPropertiesFormat] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPropertiesFormat] :param service_endpoint_policies: An array of service endpoint policies. :type service_endpoint_policies: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :ivar private_endpoints: An array of references to private endpoints. - :vartype private_endpoints: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :vartype private_endpoints: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :ivar ip_configurations: An array of references to the network interface IP configurations using subnet. - :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.IPConfiguration] + :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.IPConfiguration] :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this subnet. :vartype ip_configuration_profiles: - list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationProfile] + list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationProfile] :param ip_allocations: Array of IpAllocation which reference this subnet. - :type ip_allocations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ip_allocations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_navigation_links: An array of references to the external resources using subnet. :vartype resource_navigation_links: - list[~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLink] + list[~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLink] :ivar service_association_links: An array of references to services injecting into this subnet. :vartype service_association_links: - list[~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLink] + list[~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLink] :param delegations: An array of references to the delegations on the subnet. - :type delegations: list[~azure.mgmt.network.v2020_06_01.models.Delegation] + :type delegations: list[~azure.mgmt.network.v2020_07_01.models.Delegation] :ivar purpose: A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. :vartype purpose: str :ivar provisioning_state: The provisioning state of the subnet resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private end point in the subnet. :type private_endpoint_network_policies: str @@ -17942,7 +18360,7 @@ class SubnetAssociation(msrest.serialization.Model): :ivar id: Subnet ID. :vartype id: str :param security_rules: Collection of custom security rules. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] """ _validation = { @@ -17967,7 +18385,7 @@ class SubnetListResult(msrest.serialization.Model): """Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. :param value: The subnets in a virtual network. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18018,7 +18436,7 @@ class Topology(msrest.serialization.Model): :ivar last_modified: The datetime when the topology was last modified. :vartype last_modified: ~datetime.datetime :param resources: A list of topology resources. - :type resources: list[~azure.mgmt.network.v2020_06_01.models.TopologyResource] + :type resources: list[~azure.mgmt.network.v2020_07_01.models.TopologyResource] """ _validation = { @@ -18054,7 +18472,7 @@ class TopologyAssociation(msrest.serialization.Model): :type resource_id: str :param association_type: The association type of the child resource to the parent resource. Possible values include: "Associated", "Contains". - :type association_type: str or ~azure.mgmt.network.v2020_06_01.models.AssociationType + :type association_type: str or ~azure.mgmt.network.v2020_07_01.models.AssociationType """ _attribute_map = { @@ -18080,9 +18498,9 @@ class TopologyParameters(msrest.serialization.Model): on. :type target_resource_group_name: str :param target_virtual_network: The reference to the Virtual Network resource. - :type target_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param target_subnet: The reference to the Subnet resource. - :type target_subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -18112,7 +18530,7 @@ class TopologyResource(msrest.serialization.Model): :type location: str :param associations: Holds the associations the resource has with other resources in the resource group. - :type associations: list[~azure.mgmt.network.v2020_06_01.models.TopologyAssociation] + :type associations: list[~azure.mgmt.network.v2020_07_01.models.TopologyAssociation] """ _attribute_map = { @@ -18175,7 +18593,7 @@ class TrafficAnalyticsProperties(msrest.serialization.Model): :param network_watcher_flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type network_watcher_flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsConfigurationProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsConfigurationProperties """ _attribute_map = { @@ -18233,7 +18651,7 @@ class TroubleshootingDetails(msrest.serialization.Model): :type detail: str :param recommended_actions: List of recommended actions. :type recommended_actions: - list[~azure.mgmt.network.v2020_06_01.models.TroubleshootingRecommendedActions] + list[~azure.mgmt.network.v2020_07_01.models.TroubleshootingRecommendedActions] """ _attribute_map = { @@ -18334,7 +18752,7 @@ class TroubleshootingResult(msrest.serialization.Model): :param code: The result code of the troubleshooting. :type code: str :param results: Information from troubleshooting. - :type results: list[~azure.mgmt.network.v2020_06_01.models.TroubleshootingDetails] + :type results: list[~azure.mgmt.network.v2020_07_01.models.TroubleshootingDetails] """ _attribute_map = { @@ -18365,7 +18783,7 @@ class TunnelConnectionHealth(msrest.serialization.Model): :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: The Egress Bytes Transferred in this connection. @@ -18433,13 +18851,13 @@ class Usage(msrest.serialization.Model): :vartype id: str :param unit: Required. An enum describing the unit of measurement. Possible values include: "Count". - :type unit: str or ~azure.mgmt.network.v2020_06_01.models.UsageUnit + :type unit: str or ~azure.mgmt.network.v2020_07_01.models.UsageUnit :param current_value: Required. The current value of the usage. :type current_value: long :param limit: Required. The limit of usage. :type limit: long :param name: Required. The name of the type of usage. - :type name: ~azure.mgmt.network.v2020_06_01.models.UsageName + :type name: ~azure.mgmt.network.v2020_07_01.models.UsageName """ _validation = { @@ -18497,7 +18915,7 @@ class UsagesListResult(msrest.serialization.Model): """The list usages operation response. :param value: The list network resource usages. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Usage] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Usage] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -18525,9 +18943,9 @@ class VerificationIPFlowParameters(msrest.serialization.Model): :type target_resource_id: str :param direction: Required. The direction of the packet represented as a 5-tuple. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.Direction :param protocol: Required. Protocol to be verified on. Possible values include: "TCP", "UDP". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.IpFlowProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.IpFlowProtocol :param local_port: Required. The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. :type local_port: str @@ -18586,7 +19004,7 @@ class VerificationIPFlowResult(msrest.serialization.Model): :param access: Indicates whether the traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param rule_name: Name of the rule. If input is not matched against any security rule, it is not displayed. :type rule_name: str @@ -18657,10 +19075,10 @@ class VirtualApplianceSite(SubResource): :param address_prefix: Address Prefix. :type address_prefix: str :param o365_policy: Office 365 Policy. - :type o365_policy: ~azure.mgmt.network.v2020_06_01.models.Office365PolicyProperties + :type o365_policy: ~azure.mgmt.network.v2020_07_01.models.Office365PolicyProperties :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18737,46 +19155,45 @@ class VirtualHub(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. - :type virtual_wan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param vpn_gateway: The VpnGateway associated with this VirtualHub. - :type vpn_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param p2_s_vpn_gateway: The P2SVpnGateway associated with this VirtualHub. - :type p2_s_vpn_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type p2_s_vpn_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. - :type express_route_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param azure_firewall: The azureFirewall associated with this VirtualHub. - :type azure_firewall: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type azure_firewall: ~azure.mgmt.network.v2020_07_01.models.SubResource :param security_partner_provider: The securityPartnerProvider associated with this VirtualHub. - :type security_partner_provider: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type security_partner_provider: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: Address-prefix for this VirtualHub. :type address_prefix: str :param route_table: The routeTable associated with this virtual hub. - :type route_table: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTable + :type route_table: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTable :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param security_provider_name: The Security Provider name. :type security_provider_name: str :param virtual_hub_route_table_v2_s: List of all virtual hub route table v2s associated with this VirtualHub. :type virtual_hub_route_table_v2_s: - list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :param sku: The sku of this VirtualHub. :type sku: str :ivar routing_state: The routing state. Possible values include: "None", "Provisioned", "Provisioning", "Failed". - :vartype routing_state: str or ~azure.mgmt.network.v2020_06_01.models.RoutingState + :vartype routing_state: str or ~azure.mgmt.network.v2020_07_01.models.RoutingState :ivar bgp_connections: List of references to Bgp Connections. - :vartype bgp_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype bgp_connections: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar ip_configurations: List of references to IpConfigurations. - :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param virtual_router_asn: VirtualRouter ASN. :type virtual_router_asn: long :param virtual_router_ips: VirtualRouter IPs. :type virtual_router_ips: list[str] - :param enable_virtual_router_route_propogation: Flag to control route propogation for - VirtualRouter hub. - :type enable_virtual_router_route_propogation: bool + :param allow_branch_to_branch_traffic: Flag to control transit for VirtualRouter hub. + :type allow_branch_to_branch_traffic: bool """ _validation = { @@ -18814,7 +19231,7 @@ class VirtualHub(Resource): 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[SubResource]'}, 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, - 'enable_virtual_router_route_propogation': {'key': 'properties.enableVirtualRouterRoutePropogation', 'type': 'bool'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, } def __init__( @@ -18840,7 +19257,7 @@ def __init__( self.ip_configurations = None self.virtual_router_asn = kwargs.get('virtual_router_asn', None) self.virtual_router_ips = kwargs.get('virtual_router_ips', None) - self.enable_virtual_router_route_propogation = kwargs.get('enable_virtual_router_route_propogation', None) + self.allow_branch_to_branch_traffic = kwargs.get('allow_branch_to_branch_traffic', None) class VirtualHubEffectiveRoute(msrest.serialization.Model): @@ -18883,7 +19300,7 @@ class VirtualHubEffectiveRouteList(msrest.serialization.Model): :param value: The list of effective routes configured on the virtual hub or the specified resource. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubEffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubEffectiveRoute] """ _attribute_map = { @@ -18946,7 +19363,7 @@ class VirtualHubRouteTable(msrest.serialization.Model): """VirtualHub route table. :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRoute] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRoute] """ _attribute_map = { @@ -18974,12 +19391,12 @@ class VirtualHubRouteTableV2(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteV2] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteV2] :param attached_connections: List of all connections attached to this route table v2. :type attached_connections: list[str] :ivar provisioning_state: The provisioning state of the virtual hub route table v2 resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19054,24 +19471,26 @@ class VirtualNetwork(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the virtual network. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param address_space: The AddressSpace that contains an array of IP address ranges that can be used by subnets. - :type address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param dhcp_options: The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network. - :type dhcp_options: ~azure.mgmt.network.v2020_06_01.models.DhcpOptions + :type dhcp_options: ~azure.mgmt.network.v2020_07_01.models.DhcpOptions :param subnets: A list of subnets in a Virtual Network. - :type subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :type subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param virtual_network_peerings: A list of peerings in a Virtual Network. :type virtual_network_peerings: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :ivar resource_guid: The resourceGuid property of the Virtual Network resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param enable_ddos_protection: Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. @@ -19080,12 +19499,12 @@ class VirtualNetwork(Resource): virtual network. :type enable_vm_protection: bool :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. - :type ddos_protection_plan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ddos_protection_plan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param bgp_communities: Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - :type bgp_communities: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkBgpCommunities + :type bgp_communities: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkBgpCommunities :param ip_allocations: Array of IpAllocation which reference this VNET. - :type ip_allocations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ip_allocations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -19102,6 +19521,7 @@ class VirtualNetwork(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, 'dhcp_options': {'key': 'properties.dhcpOptions', 'type': 'DhcpOptions'}, @@ -19121,6 +19541,7 @@ def __init__( **kwargs ): super(VirtualNetwork, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.etag = None self.address_space = kwargs.get('address_space', None) self.dhcp_options = kwargs.get('dhcp_options', None) @@ -19212,17 +19633,17 @@ class VirtualNetworkGateway(Resource): :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayIPConfiguration] :param gateway_type: The type of this virtual network gateway. Possible values include: "Vpn", - "ExpressRoute". - :type gateway_type: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayType + "ExpressRoute", "LocalGateway". + :type gateway_type: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayType :param vpn_type: The type of this virtual network gateway. Possible values include: "PolicyBased", "RouteBased". - :type vpn_type: str or ~azure.mgmt.network.v2020_06_01.models.VpnType + :type vpn_type: str or ~azure.mgmt.network.v2020_07_01.models.VpnType :param vpn_gateway_generation: The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: "None", "Generation1", "Generation2". :type vpn_gateway_generation: str or - ~azure.mgmt.network.v2020_06_01.models.VpnGatewayGeneration + ~azure.mgmt.network.v2020_07_01.models.VpnGatewayGeneration :param enable_bgp: Whether BGP is enabled for this virtual network gateway or not. :type enable_bgp: bool :param enable_private_ip_address: Whether private IP needs to be enabled on this gateway for @@ -19233,28 +19654,33 @@ class VirtualNetworkGateway(Resource): :param gateway_default_site: The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. - :type gateway_default_site: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type gateway_default_site: ~azure.mgmt.network.v2020_07_01.models.SubResource :param sku: The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. - :type sku: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySku :param vpn_client_configuration: The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations. - :type vpn_client_configuration: ~azure.mgmt.network.v2020_06_01.models.VpnClientConfiguration + :type vpn_client_configuration: ~azure.mgmt.network.v2020_07_01.models.VpnClientConfiguration :param bgp_settings: Virtual network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :param custom_routes: The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient. - :type custom_routes: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type custom_routes: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :ivar resource_guid: The resource GUID property of the virtual network gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param enable_dns_forwarding: Whether dns forwarding is enabled or not. :type enable_dns_forwarding: bool :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str + :param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id. + VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :type virtual_network_extended_location_resource_id: str + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation """ _validation = { @@ -19289,6 +19715,8 @@ class VirtualNetworkGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, + 'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'}, + 'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -19313,6 +19741,8 @@ def __init__( self.provisioning_state = None self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) self.inbound_dns_forwarding_endpoint = None + self.virtual_network_extended_location_resource_id = kwargs.get('virtual_network_extended_location_resource_id', None) + self.extended_location = kwargs.get('extended_location', None) class VirtualNetworkGatewayConnection(Resource): @@ -19337,38 +19767,40 @@ class VirtualNetworkGatewayConnection(Resource): :param authorization_key: The authorizationKey. :type authorization_key: str :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. - :type virtual_network_gateway1: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type virtual_network_gateway1: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :param virtual_network_gateway2: The reference to virtual network gateway resource. - :type virtual_network_gateway2: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type virtual_network_gateway2: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :param local_network_gateway2: The reference to local network gateway resource. - :type local_network_gateway2: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :type local_network_gateway2: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", "Vnet2Vnet", "ExpressRoute", "VPNClient". :type connection_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionType :param connection_protocol: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type connection_protocol: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param dpd_timeout_seconds: The dead peer detection timeout of this connection in seconds. :type dpd_timeout_seconds: int + :param connection_mode: The connection mode for this connection. + :type connection_mode: str :param shared_key: The IPSec shared key. :type shared_key: str :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2020_06_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_07_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_local_azure_ip_address: Use private local Azure IP for the connection. @@ -19376,17 +19808,17 @@ class VirtualNetworkGatewayConnection(Resource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param traffic_selector_policies: The Traffic Selector Policies to be considered by this connection. :type traffic_selector_policies: - list[~azure.mgmt.network.v2020_06_01.models.TrafficSelectorPolicy] + list[~azure.mgmt.network.v2020_07_01.models.TrafficSelectorPolicy] :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool """ @@ -19420,6 +19852,7 @@ class VirtualNetworkGatewayConnection(Resource): 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, @@ -19450,6 +19883,7 @@ def __init__( self.connection_protocol = kwargs.get('connection_protocol', None) self.routing_weight = kwargs.get('routing_weight', None) self.dpd_timeout_seconds = kwargs.get('dpd_timeout_seconds', None) + self.connection_mode = kwargs.get('connection_mode', None) self.shared_key = kwargs.get('shared_key', None) self.connection_status = None self.tunnel_connection_status = None @@ -19489,21 +19923,21 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :type authorization_key: str :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", "Vnet2Vnet", "ExpressRoute", "VPNClient". :type connection_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionType :param connection_protocol: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type connection_protocol: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param shared_key: The IPSec shared key. @@ -19511,32 +19945,32 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2020_06_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_07_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param traffic_selector_policies: The Traffic Selector Policies to be considered by this connection. :type traffic_selector_policies: - list[~azure.mgmt.network.v2020_06_01.models.TrafficSelectorPolicy] + list[~azure.mgmt.network.v2020_07_01.models.TrafficSelectorPolicy] :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool """ @@ -19619,7 +20053,7 @@ class VirtualNetworkGatewayConnectionListResult(msrest.serialization.Model): :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -19657,16 +20091,16 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar private_ip_address: Private IP Address for this gateway. :vartype private_ip_address: str :ivar provisioning_state: The provisioning state of the virtual network gateway IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19708,7 +20142,7 @@ class VirtualNetworkGatewayListConnectionsResult(msrest.serialization.Model): :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. :type value: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionListEntity] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionListEntity] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -19737,7 +20171,7 @@ class VirtualNetworkGatewayListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of VirtualNetworkGateway resources that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -19768,11 +20202,11 @@ class VirtualNetworkGatewaySku(msrest.serialization.Model): :param name: Gateway SKU name. Possible values include: "Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySkuName :param tier: Gateway SKU tier. Possible values include: "Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySkuTier :ivar capacity: The capacity. :vartype capacity: int """ @@ -19801,7 +20235,7 @@ class VirtualNetworkListResult(msrest.serialization.Model): """Response for the ListVirtualNetworks API service call. :param value: A list of VirtualNetwork resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetwork] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetwork] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -19826,7 +20260,7 @@ class VirtualNetworkListUsageResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: VirtualNetwork usage stats. - :vartype value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkUsage] + :vartype value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkUsage] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -19879,18 +20313,29 @@ class VirtualNetworkPeering(SubResource): network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- peering). - :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource - :param remote_address_space: The reference to the remote virtual network address space. - :type remote_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource + :param remote_address_space: The reference to the address space peered with the remote virtual + network. + :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace + :param remote_virtual_network_address_space: The reference to the current address space of the + remote virtual network. + :type remote_virtual_network_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. :type remote_bgp_communities: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkBgpCommunities + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkBgpCommunities :param peering_state: The status of the virtual network peering. Possible values include: "Initiated", "Connected", "Disconnected". - :type peering_state: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeeringState + :type peering_state: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState + :param peering_sync_level: The peering sync status of the virtual network peering. Possible + values include: "FullySynced", "RemoteUnsynced", "LocalUnsynced", "LocalAndRemoteUnsynced". + :type peering_sync_level: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel + :param sync_remote_address_space: Provided when user wants to sync the peering with address + space on the remote virtual network after the address space is updated. + :type sync_remote_address_space: bool :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19908,8 +20353,11 @@ class VirtualNetworkPeering(SubResource): 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, + 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, + 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, + 'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -19926,8 +20374,11 @@ def __init__( self.use_remote_gateways = kwargs.get('use_remote_gateways', None) self.remote_virtual_network = kwargs.get('remote_virtual_network', None) self.remote_address_space = kwargs.get('remote_address_space', None) + self.remote_virtual_network_address_space = kwargs.get('remote_virtual_network_address_space', None) self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) self.peering_state = kwargs.get('peering_state', None) + self.peering_sync_level = kwargs.get('peering_sync_level', None) + self.sync_remote_address_space = kwargs.get('sync_remote_address_space', False) self.provisioning_state = None @@ -19935,7 +20386,7 @@ class VirtualNetworkPeeringListResult(msrest.serialization.Model): """Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network. :param value: The peerings in a virtual network. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -19974,20 +20425,20 @@ class VirtualNetworkTap(Resource): :ivar network_interface_tap_configurations: Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. :vartype network_interface_tap_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :ivar resource_guid: The resource GUID property of the virtual network tap resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network tap resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param destination_network_interface_ip_configuration: The reference to the private IP Address of the collector nic that will receive the tap. :type destination_network_interface_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param destination_load_balancer_front_end_ip_configuration: The reference to the private IP address on the internal Load Balancer that will receive the tap. :type destination_load_balancer_front_end_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration :param destination_port: The VXLAN destination port that will receive the tapped traffic. :type destination_port: int """ @@ -20034,7 +20485,7 @@ class VirtualNetworkTapListResult(msrest.serialization.Model): """Response for ListVirtualNetworkTap API service call. :param value: A list of VirtualNetworkTaps in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -20065,7 +20516,7 @@ class VirtualNetworkUsage(msrest.serialization.Model): :ivar limit: Indicates the size of the subnet. :vartype limit: float :ivar name: The name containing common and localized value for usage. - :vartype name: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkUsageName + :vartype name: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkUsageName :ivar unit: Usage units. Returns 'Count'. :vartype unit: str """ @@ -20150,14 +20601,14 @@ class VirtualRouter(Resource): :param virtual_router_ips: VirtualRouter IPs. :type virtual_router_ips: list[str] :param hosted_subnet: The Subnet on which VirtualRouter is hosted. - :type hosted_subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type hosted_subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param hosted_gateway: The Gateway on which VirtualRouter is hosted. - :type hosted_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type hosted_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar peerings: List of references to VirtualRouterPeerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -20202,7 +20653,7 @@ class VirtualRouterListResult(msrest.serialization.Model): """Response for ListVirtualRouters API service call. :param value: List of Virtual Routers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualRouter] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualRouter] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -20240,7 +20691,7 @@ class VirtualRouterPeering(SubResource): :type peer_ip: str :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -20277,7 +20728,7 @@ class VirtualRouterPeeringListResult(msrest.serialization.Model): """Response for ListVirtualRouterPeerings API service call. :param value: List of VirtualRouterPeerings in a VirtualRouter. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -20316,9 +20767,9 @@ class VirtualWAN(Resource): :param disable_vpn_encryption: Vpn encryption to be disabled or not. :type disable_vpn_encryption: bool :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. - :vartype virtual_hubs: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_hubs: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar vpn_sites: List of VpnSites in the VirtualWAN. - :vartype vpn_sites: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype vpn_sites: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. :type allow_branch_to_branch_traffic: bool :param allow_vnet_to_vnet_traffic: True if Vnet to Vnet traffic is allowed. @@ -20326,10 +20777,10 @@ class VirtualWAN(Resource): :ivar office365_local_breakout_category: The office local breakout category. Possible values include: "Optimize", "OptimizeAndAllow", "All", "None". :vartype office365_local_breakout_category: str or - ~azure.mgmt.network.v2020_06_01.models.OfficeTrafficCategory + ~azure.mgmt.network.v2020_07_01.models.OfficeTrafficCategory :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param type_properties_type: The type of the VirtualWAN. :type type_properties_type: str """ @@ -20387,7 +20838,7 @@ class VirtualWanSecurityProvider(msrest.serialization.Model): :param url: Url of the security provider. :type url: str :ivar type: Name of the security provider. Possible values include: "External", "Native". - :vartype type: str or ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviderType + :vartype type: str or ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviderType """ _validation = { @@ -20415,7 +20866,7 @@ class VirtualWanSecurityProviders(msrest.serialization.Model): :param supported_providers: List of VirtualWAN security providers. :type supported_providers: - list[~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProvider] + list[~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProvider] """ _attribute_map = { @@ -20438,7 +20889,7 @@ class VirtualWanVpnProfileParameters(msrest.serialization.Model): :type vpn_server_configuration_resource_id: str :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod """ _attribute_map = { @@ -20496,7 +20947,7 @@ class VnetRoute(msrest.serialization.Model): """List of routes that control routing from VirtualHub into a virtual network connection. :param static_routes: List of all Static Routes. - :type static_routes: list[~azure.mgmt.network.v2020_06_01.models.StaticRoute] + :type static_routes: list[~azure.mgmt.network.v2020_07_01.models.StaticRoute] """ _attribute_map = { @@ -20516,20 +20967,20 @@ class VpnClientConfiguration(msrest.serialization.Model): :param vpn_client_address_pool: The reference to the address space resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type vpn_client_address_pool: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnClientRootCertificate] :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network gateway. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnClientRevokedCertificate] :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. :type vpn_client_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnClientProtocol] + ~azure.mgmt.network.v2020_07_01.models.VpnClientProtocol] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S client. - :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param radius_server_address: The radius server address property of the VirtualNetworkGateway resource for vpn client connection. :type radius_server_address: str @@ -20537,7 +20988,7 @@ class VpnClientConfiguration(msrest.serialization.Model): for vpn client connection. :type radius_server_secret: str :param radius_servers: The radiusServers property for multiple radius server configuration. - :type radius_servers: list[~azure.mgmt.network.v2020_06_01.models.RadiusServer] + :type radius_servers: list[~azure.mgmt.network.v2020_07_01.models.RadiusServer] :param aad_tenant: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. :type aad_tenant: str @@ -20705,7 +21156,7 @@ class VpnClientConnectionHealthDetailListResult(msrest.serialization.Model): """List of virtual network gateway vpn client connection health. :param value: List of vpn client connection health. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealthDetail] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealthDetail] """ _attribute_map = { @@ -20734,23 +21185,23 @@ class VpnClientIPsecParameters(msrest.serialization.Model): :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IpsecEncryption + :type ipsec_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IpsecEncryption :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IpsecIntegrity + :type ipsec_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IpsecIntegrity :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". - :type ike_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IkeEncryption + :type ike_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IkeEncryption :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". - :type ike_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IkeIntegrity + :type ike_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IkeIntegrity :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", "DHGroup24". - :type dh_group: str or ~azure.mgmt.network.v2020_06_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_07_01.models.DhGroup :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". - :type pfs_group: str or ~azure.mgmt.network.v2020_06_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_07_01.models.PfsGroup """ _validation = { @@ -20796,10 +21247,10 @@ class VpnClientParameters(msrest.serialization.Model): :param processor_architecture: VPN client Processor Architecture. Possible values include: "Amd64", "X86". :type processor_architecture: str or - ~azure.mgmt.network.v2020_06_01.models.ProcessorArchitecture + ~azure.mgmt.network.v2020_07_01.models.ProcessorArchitecture :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod :param radius_server_auth_certificate: The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication. @@ -20844,7 +21295,7 @@ class VpnClientRevokedCertificate(SubResource): :type thumbprint: str :ivar provisioning_state: The provisioning state of the VPN client revoked certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -20889,7 +21340,7 @@ class VpnClientRootCertificate(SubResource): :type public_cert_data: str :ivar provisioning_state: The provisioning state of the VPN client root certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -20930,18 +21381,18 @@ class VpnConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param remote_vpn_site: Id of the connected vpn site. - :type remote_vpn_site: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type remote_vpn_site: ~azure.mgmt.network.v2020_07_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :param dpd_timeout_seconds: DPD timeout in seconds for vpn connection. :type dpd_timeout_seconds: int :ivar connection_status: The connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.VpnConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.VpnConnectionStatus :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type vpn_connection_protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -20955,7 +21406,7 @@ class VpnConnection(SubResource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security. @@ -20964,12 +21415,12 @@ class VpnConnection(SubResource): :type use_local_azure_ip_address: bool :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_link_connections: List of all vpn site link connections to the gateway. - :type vpn_link_connections: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection] + :type vpn_link_connections: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection] :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration """ _validation = { @@ -21122,19 +21573,22 @@ class VpnGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param connections: List of all vpn connections to the gateway. - :type connections: list[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :type connections: list[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. :type vpn_gateway_scale_unit: int :ivar ip_configurations: List of all IPs configured on the gateway. :vartype ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.VpnGatewayIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.VpnGatewayIpConfiguration] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the VpnGateway. + :type is_routing_preference_internet: bool """ _validation = { @@ -21158,6 +21612,7 @@ class VpnGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VpnGatewayIpConfiguration]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, } def __init__( @@ -21172,6 +21627,7 @@ def __init__( self.provisioning_state = None self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None) self.ip_configurations = None + self.is_routing_preference_internet = kwargs.get('is_routing_preference_internet', None) class VpnGatewayIpConfiguration(msrest.serialization.Model): @@ -21410,27 +21866,27 @@ class VpnServerConfiguration(Resource): :type name_properties_name: str :param vpn_protocols: VPN protocols for the VpnServerConfiguration. :type vpn_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnGatewayTunnelingProtocol] + ~azure.mgmt.network.v2020_07_01.models.VpnGatewayTunnelingProtocol] :param vpn_authentication_types: VPN authentication types for the VpnServerConfiguration. :type vpn_authentication_types: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnAuthenticationType] + ~azure.mgmt.network.v2020_07_01.models.VpnAuthenticationType] :param vpn_client_root_certificates: VPN client root certificate of VpnServerConfiguration. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigVpnClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigVpnClientRootCertificate] :param vpn_client_revoked_certificates: VPN client revoked certificate of VpnServerConfiguration. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigVpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigVpnClientRevokedCertificate] :param radius_server_root_certificates: Radius Server root certificate of VpnServerConfiguration. :type radius_server_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigRadiusServerRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigRadiusServerRootCertificate] :param radius_client_root_certificates: Radius client root certificate of VpnServerConfiguration. :type radius_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigRadiusClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigRadiusClientRootCertificate] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for VpnServerConfiguration. - :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param radius_server_address: The radius server address property of the VpnServerConfiguration resource for point to site client connection. :type radius_server_address: str @@ -21438,15 +21894,15 @@ class VpnServerConfiguration(Resource): for point to site client connection. :type radius_server_secret: str :param radius_servers: Multiple Radius Server configuration for VpnServerConfiguration. - :type radius_servers: list[~azure.mgmt.network.v2020_06_01.models.RadiusServer] + :type radius_servers: list[~azure.mgmt.network.v2020_07_01.models.RadiusServer] :param aad_authentication_parameters: The set of aad vpn authentication parameters. :type aad_authentication_parameters: - ~azure.mgmt.network.v2020_06_01.models.AadAuthenticationParameters + ~azure.mgmt.network.v2020_07_01.models.AadAuthenticationParameters :ivar provisioning_state: The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :ivar p2_s_vpn_gateways: List of references to P2SVpnGateways. - :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :ivar etag_properties_etag: A unique read-only string that changes whenever the resource is updated. :vartype etag_properties_etag: str @@ -21592,26 +22048,26 @@ class VpnSite(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_wan: The VirtualWAN to which the vpnSite belongs. - :type virtual_wan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param device_properties: The device properties. - :type device_properties: ~azure.mgmt.network.v2020_06_01.models.DeviceProperties + :type device_properties: ~azure.mgmt.network.v2020_07_01.models.DeviceProperties :param ip_address: The ip-address for the vpn-site. :type ip_address: str :param site_key: The key for vpn-site that can be used for connections. :type site_key: str :param address_space: The AddressSpace that contains an array of IP address ranges. - :type address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_properties: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar provisioning_state: The provisioning state of the VPN site resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param is_security_site: IsSecuritySite flag. :type is_security_site: bool :param vpn_site_links: List of all vpn site links. - :type vpn_site_links: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLink] + :type vpn_site_links: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLink] :param o365_policy: Office365 Policy. - :type o365_policy: ~azure.mgmt.network.v2020_06_01.models.O365PolicyProperties + :type o365_policy: ~azure.mgmt.network.v2020_07_01.models.O365PolicyProperties """ _validation = { @@ -21698,16 +22154,16 @@ class VpnSiteLink(SubResource): :ivar type: Resource type. :vartype type: str :param link_properties: The link provider properties. - :type link_properties: ~azure.mgmt.network.v2020_06_01.models.VpnLinkProviderProperties + :type link_properties: ~azure.mgmt.network.v2020_07_01.models.VpnLinkProviderProperties :param ip_address: The ip-address for the vpn-site-link. :type ip_address: str :param fqdn: FQDN of vpn-site-link. :type fqdn: str :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2020_06_01.models.VpnLinkBgpSettings + :type bgp_properties: ~azure.mgmt.network.v2020_07_01.models.VpnLinkBgpSettings :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -21758,16 +22214,16 @@ class VpnSiteLinkConnection(SubResource): :ivar type: Resource type. :vartype type: str :param vpn_site_link: Id of the connected vpn site link. - :type vpn_site_link: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_site_link: ~azure.mgmt.network.v2020_07_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :ivar connection_status: The connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.VpnConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.VpnConnectionStatus :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type vpn_connection_protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -21781,14 +22237,14 @@ class VpnSiteLinkConnection(SubResource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param use_local_azure_ip_address: Use local azure ip to initiate connection. :type use_local_azure_ip_address: bool :ivar provisioning_state: The provisioning state of the VPN site link connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -21861,11 +22317,11 @@ class WebApplicationFirewallCustomRule(msrest.serialization.Model): before rules with a higher value. :type priority: int :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallRuleType :param match_conditions: Required. List of match conditions. - :type match_conditions: list[~azure.mgmt.network.v2020_06_01.models.MatchCondition] + :type match_conditions: list[~azure.mgmt.network.v2020_07_01.models.MatchCondition] :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". - :type action: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallAction + :type action: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallAction """ _validation = { @@ -21917,25 +22373,25 @@ class WebApplicationFirewallPolicy(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param policy_settings: The PolicySettings for policy. - :type policy_settings: ~azure.mgmt.network.v2020_06_01.models.PolicySettings + :type policy_settings: ~azure.mgmt.network.v2020_07_01.models.PolicySettings :param custom_rules: The custom rules inside the policy. :type custom_rules: - list[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallCustomRule] + list[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallCustomRule] :ivar application_gateways: A collection of references to application gateways. - :vartype application_gateways: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :vartype application_gateways: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :ivar provisioning_state: The provisioning state of the web application firewall policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar resource_state: Resource status of the policy. Possible values include: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". :vartype resource_state: str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyResourceState + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyResourceState :param managed_rules: Describes the managedRules structure. - :type managed_rules: ~azure.mgmt.network.v2020_06_01.models.ManagedRulesDefinition + :type managed_rules: ~azure.mgmt.network.v2020_07_01.models.ManagedRulesDefinition :ivar http_listeners: A collection of references to application gateway http listeners. - :vartype http_listeners: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype http_listeners: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar path_based_rules: A collection of references to application gateway path rules. - :vartype path_based_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype path_based_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -21988,7 +22444,7 @@ class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of WebApplicationFirewallPolicies within a resource group. - :vartype value: list[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy] + :vartype value: list[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy] :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are any. :vartype next_link: str diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py similarity index 91% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py index 2dc854f49c77..649e15c41864 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py @@ -134,117 +134,117 @@ class ApplicationGateway(Resource): :param zones: A list of availability zones denoting where the resource needs to come from. :type zones: list[str] :param identity: The identity of the application gateway, if configured. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :param sku: SKU of the application gateway resource. - :type sku: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySku :param ssl_policy: SSL policy of the application gateway resource. - :type ssl_policy: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicy + :type ssl_policy: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicy :ivar operational_state: Operational state of the application gateway resource. Possible values include: "Stopped", "Starting", "Running", "Stopping". :vartype operational_state: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOperationalState + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default limits, see `Application Gateway limits `_. :type gateway_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type authentication_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAuthenticationCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type trusted_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type trusted_client_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedClientCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default limits, see `Application Gateway limits `_. :type ssl_certificates: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCertificate] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. For default limits, see `Application Gateway limits `_. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, see `Application Gateway limits `_. :type frontend_ports: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendPort] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. - :type probes: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbe] + :type probes: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For default limits, see `Application Gateway limits `_. :type backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits `_. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, see `Application Gateway limits `_. :type http_listeners: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHttpListener] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see `Application Gateway limits `_. - :type ssl_profiles: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProfile] + :type ssl_profiles: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see `Application Gateway limits `_. - :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlPathMap] + :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRequestRoutingRule] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRequestRoutingRule] :param rewrite_rule_sets: Rewrite rules for the application gateway resource. :type rewrite_rule_sets: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleSet] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. For default limits, see `Application Gateway limits `_. :type redirect_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. :type web_application_firewall_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayWebApplicationFirewallConfiguration :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. :type enable_http2: bool :param enable_fips: Whether FIPS is enabled on the application gateway resource. :type enable_fips: bool :param autoscale_configuration: Autoscale Configuration. :type autoscale_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAutoscaleConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAutoscaleConfiguration :param private_link_configurations: PrivateLink configurations on application gateway. :type private_link_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkConfiguration] :ivar private_endpoint_connections: Private Endpoint connections on application gateway. :vartype private_endpoint_connections: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :ivar resource_guid: The resource GUID property of the application gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the application gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the application gateway resource. :type custom_error_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomError] :param force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :type force_firewall_policy_association: bool @@ -412,7 +412,7 @@ class ApplicationGatewayAuthenticationCertificate(SubResource): :type data: str :ivar provisioning_state: The provisioning state of the authentication certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -495,18 +495,18 @@ class ApplicationGatewayAvailableSslOptions(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param predefined_policies: List of available Ssl predefined policy. - :type predefined_policies: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type predefined_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param default_policy: Name of the Ssl predefined policy applied by default to application gateway. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". :type default_policy: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyName :param available_cipher_suites: List of available Ssl cipher suites. :type available_cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param available_protocols: List of available Ssl protocols. :type available_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol] """ _validation = { @@ -549,7 +549,7 @@ class ApplicationGatewayAvailableSslPredefinedPolicies(msrest.serialization.Mode """Response for ApplicationGatewayAvailableSslOptions API service call. :param value: List of available Ssl predefined policy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPredefinedPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPredefinedPolicy] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -575,7 +575,7 @@ class ApplicationGatewayAvailableWafRuleSetsResult(msrest.serialization.Model): """Response for ApplicationGatewayAvailableWafRuleSets API service call. :param value: The list of application gateway rule sets. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRuleSet] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRuleSet] """ _attribute_map = { @@ -633,13 +633,13 @@ class ApplicationGatewayBackendAddressPool(SubResource): :vartype type: str :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :param backend_addresses: Backend addresses. :type backend_addresses: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddress] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddress] :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -681,7 +681,7 @@ class ApplicationGatewayBackendHealth(msrest.serialization.Model): :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. :type backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthPool] """ _attribute_map = { @@ -703,10 +703,10 @@ class ApplicationGatewayBackendHealthHttpSettings(msrest.serialization.Model): :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. :type backend_http_settings: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings :param servers: List of ApplicationGatewayBackendHealthServer resources. :type servers: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthServer] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthServer] """ _attribute_map = { @@ -731,10 +731,10 @@ class ApplicationGatewayBackendHealthOnDemand(msrest.serialization.Model): :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool :param backend_health_http_settings: Application gateway BackendHealthHttp settings. :type backend_health_http_settings: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthHttpSettings + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthHttpSettings """ _attribute_map = { @@ -759,11 +759,11 @@ class ApplicationGatewayBackendHealthPool(msrest.serialization.Model): :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings resources. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthHttpSettings] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthHttpSettings] """ _attribute_map = { @@ -789,11 +789,11 @@ class ApplicationGatewayBackendHealthServer(msrest.serialization.Model): :param address: IP address or FQDN of backend server. :type address: str :param ip_configuration: Reference to IP configuration of backend server. - :type ip_configuration: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :type ip_configuration: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param health: Health of backend server. Possible values include: "Unknown", "Up", "Down", "Partial", "Draining". :type health: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthServerHealth + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthServerHealth :param health_probe_log: Health Probe Log. :type health_probe_log: str """ @@ -838,26 +838,26 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :type port: int :param protocol: The protocol used to communicate with the backend. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param cookie_based_affinity: Cookie based affinity. Possible values include: "Enabled", "Disabled". :type cookie_based_affinity: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCookieBasedAffinity + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCookieBasedAffinity :param request_timeout: Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds. :type request_timeout: int :param probe: Probe resource of an application gateway. - :type probe: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_07_01.models.SubResource :param authentication_certificates: Array of references to application gateway authentication certificates. - :type authentication_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type authentication_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param trusted_root_certificates: Array of references to application gateway trusted root certificates. - :type trusted_root_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type trusted_root_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param connection_draining: Connection draining of the backend http settings resource. :type connection_draining: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayConnectionDraining + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayConnectionDraining :param host_name: Host header to be sent to the backend servers. :type host_name: str :param pick_host_name_from_backend_address: Whether to pick host header should be picked from @@ -872,7 +872,7 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :type path: str :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1004,7 +1004,7 @@ class ApplicationGatewayCustomError(msrest.serialization.Model): :param status_code: Status code of the application gateway customer error. Possible values include: "HttpStatus403", "HttpStatus502". :type status_code: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomErrorStatusCode + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomErrorStatusCode :param custom_error_page_url: Error page URL of the application gateway customer error. :type custom_error_page_url: str """ @@ -1142,7 +1142,7 @@ class ApplicationGatewayFirewallRuleGroup(msrest.serialization.Model): :param description: The description of the web application firewall rule group. :type description: str :param rules: Required. The rules of the web application firewall rule group. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRule] """ _validation = { @@ -1187,14 +1187,14 @@ class ApplicationGatewayFirewallRuleSet(Resource): :type tags: dict[str, str] :ivar provisioning_state: The provisioning state of the web application firewall rule set. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param rule_set_type: The type of the web application firewall rule set. :type rule_set_type: str :param rule_set_version: The version of the web application firewall rule set type. :type rule_set_version: str :param rule_groups: The rule groups of the web application firewall rule set. :type rule_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallRuleGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallRuleGroup] """ _validation = { @@ -1252,17 +1252,17 @@ class ApplicationGatewayFrontendIPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: Reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference to the PublicIP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :param private_link_configuration: Reference to the application gateway private link configuration. - :type private_link_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type private_link_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1325,7 +1325,7 @@ class ApplicationGatewayFrontendPort(SubResource): :type port: int :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1399,28 +1399,28 @@ class ApplicationGatewayHttpListener(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: Frontend IP configuration resource of an application gateway. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param frontend_port: Frontend port resource of an application gateway. - :type frontend_port: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_port: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: Protocol of the HTTP listener. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host_name: Host name of HTTP listener. :type host_name: str :param ssl_certificate: SSL certificate resource of an application gateway. - :type ssl_certificate: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ssl_certificate: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ssl_profile: SSL profile resource of the application gateway. - :type ssl_profile: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ssl_profile: ~azure.mgmt.network.v2020_07_01.models.SubResource :param require_server_name_indication: Applicable only if protocol is https. Enables SNI for multi-hosting. :type require_server_name_indication: bool :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the HTTP listener. :type custom_error_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayCustomError] :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param host_names: List of Host names for HTTP Listener that allows special wildcard characters as well. :type host_names: list[str] @@ -1499,10 +1499,10 @@ class ApplicationGatewayIPConfiguration(SubResource): :vartype type: str :param subnet: Reference to the subnet resource. A subnet from where application gateway gets its private address. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the application gateway IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1540,7 +1540,7 @@ class ApplicationGatewayListResult(msrest.serialization.Model): """Response for ListApplicationGateways API service call. :param value: List of an application gateways in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -1566,7 +1566,7 @@ class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): """Details of on demand test probe request. :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host: Host name to send the probe to. :type host: str :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to @@ -1579,13 +1579,13 @@ class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): the backend http settings. Default value is false. :type pick_host_name_from_backend_http_settings: bool :param match: Criterion for classifying a healthy probe response. - :type match: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbeHealthResponseMatch + :type match: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbeHealthResponseMatch :param backend_address_pool: Reference to backend pool of application gateway to which probe request will be sent. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Reference to backend http setting of application gateway to be used for test probe. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -1639,18 +1639,18 @@ class ApplicationGatewayPathRule(SubResource): :param paths: Path rules of URL path map. :type paths: list[str] :param backend_address_pool: Backend address pool resource of URL path map path rule. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Backend http settings resource of URL path map path rule. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param redirect_configuration: Redirect configuration resource of URL path map path rule. - :type redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. - :type rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the path rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param firewall_policy: Reference to the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -1713,14 +1713,14 @@ class ApplicationGatewayPrivateEndpointConnection(SubResource): :ivar type: Type of the resource. :vartype type: str :ivar private_endpoint: The resource of private end point. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState :ivar provisioning_state: The provisioning state of the application gateway private endpoint connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar link_identifier: The consumer link id. :vartype link_identifier: str """ @@ -1767,7 +1767,7 @@ class ApplicationGatewayPrivateEndpointConnectionListResult(msrest.serialization :param value: List of private endpoint connections on an application gateway. :type value: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -1805,10 +1805,10 @@ class ApplicationGatewayPrivateLinkConfiguration(SubResource): :vartype type: str :param ip_configurations: An array of application gateway private link ip configurations. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkIpConfiguration] :ivar provisioning_state: The provisioning state of the application gateway private link configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1860,14 +1860,14 @@ class ApplicationGatewayPrivateLinkIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: Reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param primary: Whether the ip configuration is primary or not. :type primary: bool :ivar provisioning_state: The provisioning state of the application gateway private link IP configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -1969,7 +1969,7 @@ class ApplicationGatewayPrivateLinkResourceListResult(msrest.serialization.Model """Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway. :param value: List of private link resources of an application gateway. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkResource] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkResource] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -2005,7 +2005,7 @@ class ApplicationGatewayProbe(SubResource): :ivar type: Type of the resource. :vartype type: str :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProtocol :param host: Host name to send the probe to. :type host: str :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to @@ -2028,10 +2028,10 @@ class ApplicationGatewayProbe(SubResource): 0. :type min_servers: int :param match: Criterion for classifying a healthy probe response. - :type match: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbeHealthResponseMatch + :type match: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbeHealthResponseMatch :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param port: Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. @@ -2140,9 +2140,9 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param redirect_type: HTTP redirection type. Possible values include: "Permanent", "Found", "SeeOther", "Temporary". :type redirect_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectType :param target_listener: Reference to a listener to redirect the request to. - :type target_listener: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_listener: ~azure.mgmt.network.v2020_07_01.models.SubResource :param target_url: Url to redirect the request to. :type target_url: str :param include_path: Include path in the redirected url. @@ -2150,11 +2150,11 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param include_query_string: Include query string in the redirected url. :type include_query_string: bool :param request_routing_rules: Request routing specifying redirect configuration. - :type request_routing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type request_routing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param url_path_maps: Url path maps specifying default redirect configuration. - :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param path_rules: Path rules specifying redirect configuration. - :type path_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type path_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -2221,24 +2221,24 @@ class ApplicationGatewayRequestRoutingRule(SubResource): :vartype type: str :param rule_type: Rule type. Possible values include: "Basic", "PathBasedRouting". :type rule_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRequestRoutingRuleType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRequestRoutingRuleType :param priority: Priority of the request routing rule. :type priority: int :param backend_address_pool: Backend address pool resource of the application gateway. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_http_settings: Backend http settings resource of the application gateway. - :type backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param http_listener: Http listener resource of the application gateway. - :type http_listener: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type http_listener: ~azure.mgmt.network.v2020_07_01.models.SubResource :param url_path_map: URL path map resource of the application gateway. - :type url_path_map: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type url_path_map: ~azure.mgmt.network.v2020_07_01.models.SubResource :param rewrite_rule_set: Rewrite Rule Set resource in Basic rule of the application gateway. - :type rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :param redirect_configuration: Redirect configuration resource of the application gateway. - :type redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2304,9 +2304,9 @@ class ApplicationGatewayRewriteRule(msrest.serialization.Model): :type rule_sequence: int :param conditions: Conditions based on which the action set execution will be evaluated. :type conditions: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleCondition] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleCondition] :param action_set: Set of actions to be done as part of the rewrite Rule. - :type action_set: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleActionSet + :type action_set: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleActionSet """ _attribute_map = { @@ -2337,13 +2337,13 @@ class ApplicationGatewayRewriteRuleActionSet(msrest.serialization.Model): :param request_header_configurations: Request Header Actions in the Action Set. :type request_header_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHeaderConfiguration] :param response_header_configurations: Response Header Actions in the Action Set. :type response_header_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHeaderConfiguration] :param url_configuration: Url Configuration Action in the Action Set. :type url_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlConfiguration """ _attribute_map = { @@ -2417,10 +2417,10 @@ class ApplicationGatewayRewriteRuleSet(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param rewrite_rules: Rewrite rules in the rewrite rule set. - :type rewrite_rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRule] + :type rewrite_rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRule] :ivar provisioning_state: The provisioning state of the rewrite rule set resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2456,10 +2456,10 @@ class ApplicationGatewaySku(msrest.serialization.Model): :param name: Name of an application gateway SKU. Possible values include: "Standard_Small", "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySkuName :param tier: Tier of an application gateway. Possible values include: "Standard", "WAF", "Standard_v2", "WAF_v2". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTier :param capacity: Capacity (instance count) of an application gateway. :type capacity: int """ @@ -2509,7 +2509,7 @@ class ApplicationGatewaySslCertificate(SubResource): :type key_vault_secret_id: str :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2557,22 +2557,22 @@ class ApplicationGatewaySslPolicy(msrest.serialization.Model): :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. :type disabled_ssl_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol] :param policy_type: Type of Ssl Policy. Possible values include: "Predefined", "Custom". :type policy_type: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyType + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyType :param policy_name: Name of Ssl predefined policy. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". :type policy_name: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicyName :param cipher_suites: Ssl cipher suites to be enabled in the specified order to application gateway. :type cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param min_protocol_version: Minimum version of Ssl protocol to be supported on application gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". :type min_protocol_version: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -2611,11 +2611,11 @@ class ApplicationGatewaySslPredefinedPolicy(SubResource): :param cipher_suites: Ssl cipher suites to be enabled in the specified order for application gateway. :type cipher_suites: list[str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCipherSuite] :param min_protocol_version: Minimum version of Ssl protocol to be supported on application gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". :type min_protocol_version: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -2655,16 +2655,16 @@ class ApplicationGatewaySslProfile(SubResource): :vartype type: str :param trusted_client_certificates: Array of references to application gateway trusted client certificates. - :type trusted_client_certificates: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type trusted_client_certificates: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param ssl_policy: SSL policy of the application gateway resource. - :type ssl_policy: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPolicy + :type ssl_policy: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPolicy :param client_auth_configuration: Client authentication configuration of the application gateway resource. :type client_auth_configuration: - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayClientAuthConfiguration + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayClientAuthConfiguration :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2722,7 +2722,7 @@ class ApplicationGatewayTrustedClientCertificate(SubResource): :type data: str :ivar provisioning_state: The provisioning state of the trusted client certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2776,7 +2776,7 @@ class ApplicationGatewayTrustedRootCertificate(SubResource): :type key_vault_secret_id: str :ivar provisioning_state: The provisioning state of the trusted root certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2861,18 +2861,18 @@ class ApplicationGatewayUrlPathMap(SubResource): :ivar type: Type of the resource. :vartype type: str :param default_backend_address_pool: Default backend address pool resource of URL path map. - :type default_backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_backend_http_settings: Default backend http settings resource of URL path map. - :type default_backend_http_settings: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_backend_http_settings: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_rewrite_rule_set: Default Rewrite rule set resource of URL path map. - :type default_rewrite_rule_set: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_rewrite_rule_set: ~azure.mgmt.network.v2020_07_01.models.SubResource :param default_redirect_configuration: Default redirect configuration resource of URL path map. - :type default_redirect_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type default_redirect_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param path_rules: Path rule of URL path map resource. - :type path_rules: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPathRule] + :type path_rules: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPathRule] :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -2928,7 +2928,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :param firewall_mode: Required. Web application firewall mode. Possible values include: "Detection", "Prevention". :type firewall_mode: str or - ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallMode + ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallMode :param rule_set_type: Required. The type of the web application firewall rule set. Possible values are: 'OWASP'. :type rule_set_type: str @@ -2936,7 +2936,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :type rule_set_version: str :param disabled_rule_groups: The disabled rule groups. :type disabled_rule_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallDisabledRuleGroup] :param request_body_check: Whether allow WAF to check request Body. :type request_body_check: bool :param max_request_body_size: Maximum request body size for WAF. @@ -2947,7 +2947,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization :type file_upload_limit_in_mb: int :param exclusions: The exclusion list. :type exclusions: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFirewallExclusion] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFirewallExclusion] """ _validation = { @@ -3015,7 +3015,7 @@ class FirewallPolicyRule(msrest.serialization.Model): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType """ _validation = { @@ -3056,20 +3056,26 @@ class ApplicationRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. :type destination_addresses: list[str] :param protocols: Array of Application Protocols. :type protocols: - list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleApplicationProtocol] + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleApplicationProtocol] :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] :param fqdn_tags: List of FQDN Tags for this rule. :type fqdn_tags: list[str] :param source_ip_groups: List of source IpGroups for this rule. :type source_ip_groups: list[str] + :param terminate_tls: Terminate TLS connections for this rule. + :type terminate_tls: bool + :param web_categories: List of destination azure web categories. + :type web_categories: list[str] """ _validation = { @@ -3084,8 +3090,11 @@ class ApplicationRule(FirewallPolicyRule): 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, + 'web_categories': {'key': 'webCategories', 'type': '[str]'}, } def __init__( @@ -3097,8 +3106,11 @@ def __init__( destination_addresses: Optional[List[str]] = None, protocols: Optional[List["FirewallPolicyRuleApplicationProtocol"]] = None, target_fqdns: Optional[List[str]] = None, + target_urls: Optional[List[str]] = None, fqdn_tags: Optional[List[str]] = None, source_ip_groups: Optional[List[str]] = None, + terminate_tls: Optional[bool] = None, + web_categories: Optional[List[str]] = None, **kwargs ): super(ApplicationRule, self).__init__(name=name, description=description, **kwargs) @@ -3107,8 +3119,11 @@ def __init__( self.destination_addresses = destination_addresses self.protocols = protocols self.target_fqdns = target_fqdns + self.target_urls = target_urls self.fqdn_tags = fqdn_tags self.source_ip_groups = source_ip_groups + self.terminate_tls = terminate_tls + self.web_categories = web_categories class ApplicationSecurityGroup(Resource): @@ -3134,7 +3149,7 @@ class ApplicationSecurityGroup(Resource): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the application security group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3176,7 +3191,7 @@ class ApplicationSecurityGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of application security groups. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3205,7 +3220,7 @@ class AuthorizationListResult(msrest.serialization.Model): """Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. :param value: The authorizations in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -3254,7 +3269,7 @@ class AutoApprovedPrivateLinkServicesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of auto approved private link service. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkService] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkService] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3357,7 +3372,7 @@ class AvailableDelegationsResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available delegations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailableDelegation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailableDelegation] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3424,7 +3439,7 @@ class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available privateEndpoint type. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointType] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointType] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3455,7 +3470,7 @@ class AvailableProvidersList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param countries: Required. List of available countries. - :type countries: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListCountry] + :type countries: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListCountry] """ _validation = { @@ -3510,7 +3525,7 @@ class AvailableProvidersListCountry(msrest.serialization.Model): :param providers: A list of Internet service providers. :type providers: list[str] :param states: List of available states in the country. - :type states: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListState] + :type states: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListState] """ _attribute_map = { @@ -3577,7 +3592,7 @@ class AvailableProvidersListState(msrest.serialization.Model): :param providers: A list of Internet service providers. :type providers: list[str] :param cities: List of available cities or towns in the state. - :type cities: list[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListCity] + :type cities: list[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListCity] """ _attribute_map = { @@ -3642,7 +3657,7 @@ class AvailableServiceAliasesResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: An array of available service aliases. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAlias] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAlias] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -3672,9 +3687,9 @@ class AzureAsyncOperationResult(msrest.serialization.Model): :param status: Status of the Azure async operation. Possible values include: "InProgress", "Succeeded", "Failed". - :type status: str or ~azure.mgmt.network.v2020_06_01.models.NetworkOperationStatus + :type status: str or ~azure.mgmt.network.v2020_07_01.models.NetworkOperationStatus :param error: Details of the error occurred during specified asynchronous operation. - :type error: ~azure.mgmt.network.v2020_06_01.models.Error + :type error: ~azure.mgmt.network.v2020_07_01.models.Error """ _attribute_map = { @@ -3716,37 +3731,37 @@ class AzureFirewall(Resource): :param application_rule_collections: Collection of application rule collections used by Azure Firewall. :type application_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleCollection] :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. :type nat_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRuleCollection] :param network_rule_collections: Collection of network rule collections used by Azure Firewall. :type network_rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleCollection] :param ip_configurations: IP configuration of the Azure Firewall resource. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallIPConfiguration] :param management_ip_configuration: IP configuration of the Azure Firewall used for management traffic. :type management_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallIPConfiguration :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: "Alert", "Deny", "Off". :type threat_intel_mode: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallThreatIntelMode :param virtual_hub: The virtualHub to which the firewall belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param firewall_policy: The firewallPolicy associated with this azure firewall. - :type firewall_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type firewall_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param hub_ip_addresses: IP addresses associated with AzureFirewall. - :type hub_ip_addresses: ~azure.mgmt.network.v2020_06_01.models.HubIPAddresses + :type hub_ip_addresses: ~azure.mgmt.network.v2020_07_01.models.HubIPAddresses :ivar ip_groups: IpGroups associated with AzureFirewall. - :vartype ip_groups: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallIpGroups] + :vartype ip_groups: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallIpGroups] :param sku: The Azure Firewall Resource SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSku :param additional_properties: The additional properties used to further config this azure firewall. :type additional_properties: dict[str, str] @@ -3832,7 +3847,7 @@ class AzureFirewallApplicationRule(msrest.serialization.Model): :type source_addresses: list[str] :param protocols: Array of ApplicationRuleProtocols. :type protocols: - list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleProtocol] + list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleProtocol] :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] :param fqdn_tags: List of FQDN Tags for this rule. @@ -3888,12 +3903,12 @@ class AzureFirewallApplicationRuleCollection(SubResource): :param priority: Priority of the application rule collection resource. :type priority: int :param action: The action type of a rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a application rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRule] :ivar provisioning_state: The provisioning state of the application rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -3936,7 +3951,7 @@ class AzureFirewallApplicationRuleProtocol(msrest.serialization.Model): :param protocol_type: Protocol type. Possible values include: "Http", "Https", "Mssql". :type protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallApplicationRuleProtocolType + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallApplicationRuleProtocolType :param port: Port number for the protocol, cannot be greater than 64000. This field is optional. :type port: int @@ -3982,7 +3997,7 @@ class AzureFirewallFqdnTag(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the Azure firewall FQDN tag resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar fqdn_tag_name: The name of this FQDN Tag. :vartype fqdn_tag_name: str """ @@ -4024,7 +4039,7 @@ class AzureFirewallFqdnTagListResult(msrest.serialization.Model): """Response for ListAzureFirewallFqdnTags API service call. :param value: List of Azure Firewall FQDN Tags in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallFqdnTag] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallFqdnTag] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -4065,13 +4080,13 @@ class AzureFirewallIPConfiguration(SubResource): :vartype private_ip_address: str :param subnet: Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4145,7 +4160,7 @@ class AzureFirewallListResult(msrest.serialization.Model): """Response for ListAzureFirewalls API service call. :param value: List of Azure Firewalls in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -4171,7 +4186,7 @@ class AzureFirewallNatRCAction(msrest.serialization.Model): """AzureFirewall NAT Rule Collection Action. :param type: The type of action. Possible values include: "Snat", "Dnat". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRCActionType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRCActionType """ _attribute_map = { @@ -4204,7 +4219,7 @@ class AzureFirewallNatRule(msrest.serialization.Model): :type destination_ports: list[str] :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. :type protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleProtocol] :param translated_address: The translated address for this NAT rule. :type translated_address: str :param translated_port: The translated port for this NAT rule. @@ -4271,12 +4286,12 @@ class AzureFirewallNatRuleCollection(SubResource): :param priority: Priority of the NAT rule collection resource. :type priority: int :param action: The action type of a NAT rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRCAction :param rules: Collection of rules used by a NAT rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNatRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNatRule] :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4323,7 +4338,7 @@ class AzureFirewallNetworkRule(msrest.serialization.Model): :type description: str :param protocols: Array of AzureFirewallNetworkRuleProtocols. :type protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRuleProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses. @@ -4391,12 +4406,12 @@ class AzureFirewallNetworkRuleCollection(SubResource): :param priority: Priority of the network rule collection resource. :type priority: int :param action: The action type of a rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a network rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallNetworkRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallNetworkRule] :ivar provisioning_state: The provisioning state of the network rule collection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4459,7 +4474,7 @@ class AzureFirewallRCAction(msrest.serialization.Model): """Properties of the AzureFirewallRCAction. :param type: The type of action. Possible values include: "Allow", "Deny". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallRCActionType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallRCActionType """ _attribute_map = { @@ -4480,9 +4495,9 @@ class AzureFirewallSku(msrest.serialization.Model): """SKU of an Azure Firewall. :param name: Name of an Azure Firewall SKU. Possible values include: "AZFW_VNet", "AZFW_Hub". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSkuName :param tier: Tier of an Azure Firewall. Possible values include: "Standard", "Premium". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.AzureFirewallSkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.AzureFirewallSkuTier """ _attribute_map = { @@ -4511,10 +4526,10 @@ class AzureReachabilityReport(msrest.serialization.Model): Country, State or City. :type aggregation_level: str :param provider_location: Required. Parameters that define a geographic location. - :type provider_location: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLocation + :type provider_location: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLocation :param reachability_report: Required. List of Azure reachability report items. :type reachability_report: - list[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportItem] + list[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportItem] """ _validation = { @@ -4552,7 +4567,7 @@ class AzureReachabilityReportItem(msrest.serialization.Model): :type azure_location: str :param latencies: List of latency details for each of the time series. :type latencies: - list[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLatencyInfo] + list[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLatencyInfo] """ _attribute_map = { @@ -4649,7 +4664,7 @@ class AzureReachabilityReportParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param provider_location: Required. Parameters that define a geographic location. - :type provider_location: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportLocation + :type provider_location: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportLocation :param providers: List of Internet service providers. :type providers: list[str] :param azure_locations: Optional Azure regions to scope the query to. @@ -4692,6 +4707,78 @@ def __init__( self.end_time = end_time +class AzureWebCategory(msrest.serialization.Model): + """Azure Web Category Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar group: The name of the group that the category belongs to. + :vartype group: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'group': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'group': {'key': 'properties.group', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(AzureWebCategory, self).__init__(**kwargs) + self.id = id + self.name = None + self.type = None + self.etag = None + self.group = None + + +class AzureWebCategoryListResult(msrest.serialization.Model): + """Response for ListAzureWebCategories API service call. + + :param value: List of Azure Web Categories for a given Subscription. + :type value: list[~azure.mgmt.network.v2020_07_01.models.AzureWebCategory] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureWebCategory]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AzureWebCategory"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AzureWebCategoryListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + class BackendAddressPool(SubResource): """Pool of backend IP addresses. @@ -4708,22 +4795,22 @@ class BackendAddressPool(SubResource): :vartype type: str :param load_balancer_backend_addresses: An array of backend addresses. :type load_balancer_backend_addresses: - list[~azure.mgmt.network.v2020_06_01.models.LoadBalancerBackendAddress] + list[~azure.mgmt.network.v2020_07_01.models.LoadBalancerBackendAddress] :ivar backend_ip_configurations: An array of references to IP addresses defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar load_balancing_rules: An array of references to load balancing rules that use this backend address pool. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. - :vartype outbound_rule: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype outbound_rule: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar outbound_rules: An array of references to outbound rules that use this backend address pool. - :vartype outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4792,7 +4879,7 @@ class BastionActiveSession(msrest.serialization.Model): :vartype target_ip_address: str :ivar protocol: The protocol used to connect to the target. Possible values include: "SSH", "RDP". - :vartype protocol: str or ~azure.mgmt.network.v2020_06_01.models.BastionConnectProtocol + :vartype protocol: str or ~azure.mgmt.network.v2020_07_01.models.BastionConnectProtocol :ivar target_resource_id: The resource id of the target. :vartype target_resource_id: str :ivar session_duration_in_mins: Duration in mins the session has been active. @@ -4849,7 +4936,7 @@ class BastionActiveSessionListResult(msrest.serialization.Model): """Response for GetActiveSessions. :param value: List of active sessions on the bastion. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionActiveSession] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionActiveSession] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -4890,12 +4977,12 @@ class BastionHost(Resource): :vartype etag: str :param ip_configurations: IP configuration of the Bastion Host resource. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.BastionHostIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.BastionHostIPConfiguration] :param dns_name: FQDN for the endpoint on which bastion host is accessible. :type dns_name: str :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -4949,16 +5036,16 @@ class BastionHostIPConfiguration(SubResource): :ivar type: Ip configuration type. :vartype type: str :param subnet: Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: Reference of the PublicIP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_ip_allocation_method: Private IP allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod """ _validation = { @@ -5002,7 +5089,7 @@ class BastionHostListResult(msrest.serialization.Model): """Response for ListBastionHosts API service call. :param value: List of Bastion Hosts in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionHost] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionHost] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -5028,7 +5115,7 @@ class BastionSessionDeleteResult(msrest.serialization.Model): """Response for DisconnectActiveSessions. :param value: List of sessions with their corresponding state. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionSessionState] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionSessionState] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5093,7 +5180,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_06_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_07_01.models.Resource :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -5134,7 +5221,7 @@ class BastionShareableLinkListRequest(msrest.serialization.Model): """Post request for all the Bastion Shareable Link endpoints. :param vms: List of VM references. - :type vms: list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink] + :type vms: list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink] """ _attribute_map = { @@ -5155,7 +5242,7 @@ class BastionShareableLinkListResult(msrest.serialization.Model): """Response for all the Bastion Shareable Link endpoints. :param value: List of Bastion Shareable Links for the request. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5244,10 +5331,10 @@ class BgpConnection(SubResource): :type peer_ip: str :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar connection_state: The current state of the VirtualHub to Peer. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_state: str or ~azure.mgmt.network.v2020_06_01.models.HubBgpConnectionStatus + :vartype connection_state: str or ~azure.mgmt.network.v2020_07_01.models.HubBgpConnectionStatus """ _validation = { @@ -5301,7 +5388,7 @@ class BgpPeerStatus(msrest.serialization.Model): :vartype asn: long :ivar state: The BGP peer state. Possible values include: "Unknown", "Stopped", "Idle", "Connecting", "Connected". - :vartype state: str or ~azure.mgmt.network.v2020_06_01.models.BgpPeerState + :vartype state: str or ~azure.mgmt.network.v2020_07_01.models.BgpPeerState :ivar connected_duration: For how long the peering has been up. :vartype connected_duration: str :ivar routes_received: The number of routes learned from this peer. @@ -5353,7 +5440,7 @@ class BgpPeerStatusListResult(msrest.serialization.Model): """Response for list BGP peer status API service call. :param value: List of BGP peers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpPeerStatus] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpPeerStatus] """ _attribute_map = { @@ -5388,7 +5475,7 @@ class BgpServiceCommunity(Resource): :param service_name: The name of the bgp community. e.g. Skype. :type service_name: str :param bgp_communities: A list of bgp communities. - :type bgp_communities: list[~azure.mgmt.network.v2020_06_01.models.BGPCommunity] + :type bgp_communities: list[~azure.mgmt.network.v2020_07_01.models.BGPCommunity] """ _validation = { @@ -5425,7 +5512,7 @@ class BgpServiceCommunityListResult(msrest.serialization.Model): """Response for the ListServiceCommunity API service call. :param value: A list of service community resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpServiceCommunity] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpServiceCommunity] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5459,7 +5546,7 @@ class BgpSettings(msrest.serialization.Model): :param bgp_peering_addresses: BGP peering address with IP configuration ID for virtual network gateway. :type bgp_peering_addresses: - list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationBgpPeeringAddress] + list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationBgpPeeringAddress] """ _validation = { @@ -5554,7 +5641,7 @@ class CloudErrorBody(msrest.serialization.Model): error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.network.v2020_06_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.network.v2020_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -5618,26 +5705,30 @@ class ConnectionMonitor(msrest.serialization.Model): :param tags: A set of tags. Connection monitor tags. :type tags: dict[str, str] :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str """ + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + _attribute_map = { 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -5693,6 +5784,10 @@ class ConnectionMonitorDestination(msrest.serialization.Model): :type port: int """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'address': {'key': 'address', 'type': 'str'}, @@ -5722,18 +5817,18 @@ class ConnectionMonitorEndpoint(msrest.serialization.Model): :type name: str :param type: The endpoint type. Possible values include: "AzureVM", "AzureVNet", "AzureSubnet", "ExternalAddress", "MMAWorkspaceMachine", "MMAWorkspaceNetwork". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.EndpointType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.EndpointType :param resource_id: Resource ID of the connection monitor endpoint. :type resource_id: str :param address: Address of the connection monitor endpoint (IP or domain name). :type address: str :param filter: Filter for sub-items within the endpoint. - :type filter: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilter + :type filter: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilter :param scope: Endpoint scope. - :type scope: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScope + :type scope: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScope :param coverage_level: Test coverage for the endpoint. Possible values include: "Default", "Low", "BelowAverage", "Average", "AboveAverage", "Full". - :type coverage_level: str or ~azure.mgmt.network.v2020_06_01.models.CoverageLevel + :type coverage_level: str or ~azure.mgmt.network.v2020_07_01.models.CoverageLevel """ _validation = { @@ -5777,9 +5872,9 @@ class ConnectionMonitorEndpointFilter(msrest.serialization.Model): :param type: The behavior of the endpoint filter. Currently only 'Include' is supported. Possible values include: "Include". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterType :param items: List of items in the filter. - :type items: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterItem] + :type items: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterItem] """ _attribute_map = { @@ -5805,7 +5900,7 @@ class ConnectionMonitorEndpointFilterItem(msrest.serialization.Model): :param type: The type of item included in the filter. Currently only 'AgentAddress' is supported. Possible values include: "AgentAddress". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointFilterItemType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointFilterItemType :param address: The address of the filter item. :type address: str """ @@ -5831,9 +5926,9 @@ class ConnectionMonitorEndpointScope(msrest.serialization.Model): """Describes the connection monitor endpoint scope. :param include: List of items which needs to be included to the endpoint scope. - :type include: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScopeItem] + :type include: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScopeItem] :param exclude: List of items which needs to be excluded from the endpoint scope. - :type exclude: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpointScopeItem] + :type exclude: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpointScopeItem] """ _attribute_map = { @@ -5881,11 +5976,11 @@ class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): :param port: The port to connect to. :type port: int :param method: The HTTP method to use. Possible values include: "Get", "Post". - :type method: str or ~azure.mgmt.network.v2020_06_01.models.HTTPConfigurationMethod + :type method: str or ~azure.mgmt.network.v2020_07_01.models.HTTPConfigurationMethod :param path: The path component of the URI. For instance, "/dir1/dir2". :type path: str :param request_headers: The HTTP headers to transmit with the request. - :type request_headers: list[~azure.mgmt.network.v2020_06_01.models.HTTPHeader] + :type request_headers: list[~azure.mgmt.network.v2020_07_01.models.HTTPHeader] :param valid_status_code_ranges: HTTP status codes to consider successful. For instance, "2xx,301-304,418". :type valid_status_code_ranges: list[str] @@ -5894,6 +5989,10 @@ class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): :type prefer_https: bool """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'port': {'key': 'port', 'type': 'int'}, 'method': {'key': 'method', 'type': 'str'}, @@ -5949,7 +6048,7 @@ class ConnectionMonitorListResult(msrest.serialization.Model): """List of connection monitors. :param value: Information about connection monitors. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult] """ _attribute_map = { @@ -5971,11 +6070,11 @@ class ConnectionMonitorOutput(msrest.serialization.Model): :param type: Connection monitor output destination type. Currently, only "Workspace" is supported. Possible values include: "Workspace". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.OutputType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.OutputType :param workspace_settings: Describes the settings for producing output into a log analytics workspace. :type workspace_settings: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorWorkspaceSettings + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorWorkspaceSettings """ _attribute_map = { @@ -5999,26 +6098,30 @@ class ConnectionMonitorParameters(msrest.serialization.Model): """Parameters that define the operation to create a connection monitor. :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str """ + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + _attribute_map = { 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, @@ -6063,9 +6166,9 @@ class ConnectionMonitorQueryResult(msrest.serialization.Model): :param source_status: Status of connection monitor source. Possible values include: "Unknown", "Active", "Inactive". :type source_status: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSourceStatus + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSourceStatus :param states: Information about connection states. - :type states: list[~azure.mgmt.network.v2020_06_01.models.ConnectionStateSnapshot] + :type states: list[~azure.mgmt.network.v2020_07_01.models.ConnectionStateSnapshot] """ _attribute_map = { @@ -6103,27 +6206,27 @@ class ConnectionMonitorResult(msrest.serialization.Model): :param tags: A set of tags. Connection monitor tags. :type tags: dict[str, str] :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str :ivar provisioning_state: The provisioning state of the connection monitor. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar start_time: The date and time when the connection monitor was started. :vartype start_time: ~datetime.datetime :ivar monitoring_status: The monitoring status of the connection monitor. @@ -6131,7 +6234,7 @@ class ConnectionMonitorResult(msrest.serialization.Model): :ivar connection_monitor_type: Type of connection monitor. Possible values include: "MultiEndpoint", "SingleSourceDestination". :vartype connection_monitor_type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorType """ _validation = { @@ -6139,6 +6242,7 @@ class ConnectionMonitorResult(msrest.serialization.Model): 'id': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, 'provisioning_state': {'readonly': True}, 'start_time': {'readonly': True}, 'monitoring_status': {'readonly': True}, @@ -6211,27 +6315,27 @@ class ConnectionMonitorResultProperties(ConnectionMonitorParameters): Variables are only populated by the server, and will be ignored when sending a request. :param source: Describes the source of connection monitor. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSource :param destination: Describes the destination of connection monitor. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. :type monitoring_interval_in_seconds: int :param endpoints: List of connection monitor endpoints. - :type endpoints: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorEndpoint] + :type endpoints: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorEndpoint] :param test_configurations: List of connection monitor test configurations. :type test_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfiguration] :param test_groups: List of connection monitor test groups. - :type test_groups: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestGroup] + :type test_groups: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestGroup] :param outputs: List of connection monitor outputs. - :type outputs: list[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorOutput] + :type outputs: list[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorOutput] :param notes: Optional notes to be associated with the connection monitor. :type notes: str :ivar provisioning_state: The provisioning state of the connection monitor. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar start_time: The date and time when the connection monitor was started. :vartype start_time: ~datetime.datetime :ivar monitoring_status: The monitoring status of the connection monitor. @@ -6239,10 +6343,11 @@ class ConnectionMonitorResultProperties(ConnectionMonitorParameters): :ivar connection_monitor_type: Type of connection monitor. Possible values include: "MultiEndpoint", "SingleSourceDestination". :vartype connection_monitor_type: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorType + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorType """ _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, 'provisioning_state': {'readonly': True}, 'start_time': {'readonly': True}, 'monitoring_status': {'readonly': True}, @@ -6299,6 +6404,7 @@ class ConnectionMonitorSource(msrest.serialization.Model): _validation = { 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, } _attribute_map = { @@ -6357,9 +6463,13 @@ class ConnectionMonitorTcpConfiguration(msrest.serialization.Model): :param destination_port_behavior: Destination port behavior. Possible values include: "None", "ListenIfAvailable". :type destination_port_behavior: str or - ~azure.mgmt.network.v2020_06_01.models.DestinationPortBehavior + ~azure.mgmt.network.v2020_07_01.models.DestinationPortBehavior """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'port': {'key': 'port', 'type': 'int'}, 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, @@ -6392,23 +6502,23 @@ class ConnectionMonitorTestConfiguration(msrest.serialization.Model): :param protocol: Required. The protocol to use in test evaluation. Possible values include: "Tcp", "Http", "Icmp". :type protocol: str or - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTestConfigurationProtocol + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTestConfigurationProtocol :param preferred_ip_version: The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Possible values include: "IPv4", "IPv6". - :type preferred_ip_version: str or ~azure.mgmt.network.v2020_06_01.models.PreferredIPVersion + :type preferred_ip_version: str or ~azure.mgmt.network.v2020_07_01.models.PreferredIPVersion :param http_configuration: The parameters used to perform test evaluation over HTTP. :type http_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorHttpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorHttpConfiguration :param tcp_configuration: The parameters used to perform test evaluation over TCP. :type tcp_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorTcpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorTcpConfiguration :param icmp_configuration: The parameters used to perform test evaluation over ICMP. :type icmp_configuration: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorIcmpConfiguration + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorIcmpConfiguration :param success_threshold: The threshold for declaring a test successful. :type success_threshold: - ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorSuccessThreshold + ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorSuccessThreshold """ _validation = { @@ -6588,29 +6698,34 @@ class ConnectionStateSnapshot(msrest.serialization.Model): :param connection_state: The connection state. Possible values include: "Reachable", "Unreachable", "Unknown". - :type connection_state: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionState + :type connection_state: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionState :param start_time: The start time of the connection snapshot. :type start_time: ~datetime.datetime :param end_time: The end time of the connection snapshot. :type end_time: ~datetime.datetime :param evaluation_state: Connectivity analysis evaluation state. Possible values include: "NotStarted", "InProgress", "Completed". - :type evaluation_state: str or ~azure.mgmt.network.v2020_06_01.models.EvaluationState + :type evaluation_state: str or ~azure.mgmt.network.v2020_07_01.models.EvaluationState :param avg_latency_in_ms: Average latency in ms. - :type avg_latency_in_ms: int + :type avg_latency_in_ms: long :param min_latency_in_ms: Minimum latency in ms. - :type min_latency_in_ms: int + :type min_latency_in_ms: long :param max_latency_in_ms: Maximum latency in ms. - :type max_latency_in_ms: int + :type max_latency_in_ms: long :param probes_sent: The number of sent probes. - :type probes_sent: int + :type probes_sent: long :param probes_failed: The number of failed probes. - :type probes_failed: int + :type probes_failed: long :ivar hops: List of hops between the source and the destination. - :vartype hops: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityHop] + :vartype hops: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityHop] """ _validation = { + 'avg_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'min_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'max_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'probes_sent': {'maximum': 4294967295, 'minimum': 0}, + 'probes_failed': {'maximum': 4294967295, 'minimum': 0}, 'hops': {'readonly': True}, } @@ -6619,11 +6734,11 @@ class ConnectionStateSnapshot(msrest.serialization.Model): 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, 'evaluation_state': {'key': 'evaluationState', 'type': 'str'}, - 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'int'}, - 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'int'}, - 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'int'}, - 'probes_sent': {'key': 'probesSent', 'type': 'int'}, - 'probes_failed': {'key': 'probesFailed', 'type': 'int'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'long'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'long'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'long'}, + 'probes_sent': {'key': 'probesSent', 'type': 'long'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'long'}, 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, } @@ -6665,6 +6780,10 @@ class ConnectivityDestination(msrest.serialization.Model): :type port: int """ + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + _attribute_map = { 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'address': {'key': 'address', 'type': 'str'}, @@ -6703,11 +6822,11 @@ class ConnectivityHop(msrest.serialization.Model): :ivar previous_hop_ids: List of previous hop identifiers. :vartype previous_hop_ids: list[str] :ivar links: List of hop links. - :vartype links: list[~azure.mgmt.network.v2020_06_01.models.HopLink] + :vartype links: list[~azure.mgmt.network.v2020_07_01.models.HopLink] :ivar previous_links: List of previous hop links. - :vartype previous_links: list[~azure.mgmt.network.v2020_06_01.models.HopLink] + :vartype previous_links: list[~azure.mgmt.network.v2020_07_01.models.HopLink] :ivar issues: List of issues. - :vartype issues: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityIssue] + :vartype issues: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityIssue] """ _validation = { @@ -6756,10 +6875,10 @@ class ConnectivityInformation(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar hops: List of hops between the source and the destination. - :vartype hops: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityHop] + :vartype hops: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityHop] :ivar connection_status: The connection status. Possible values include: "Unknown", "Connected", "Disconnected", "Degraded". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.ConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.ConnectionStatus :ivar avg_latency_in_ms: Average latency in milliseconds. :vartype avg_latency_in_ms: int :ivar min_latency_in_ms: Minimum latency in milliseconds. @@ -6812,13 +6931,13 @@ class ConnectivityIssue(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar origin: The origin of the issue. Possible values include: "Local", "Inbound", "Outbound". - :vartype origin: str or ~azure.mgmt.network.v2020_06_01.models.Origin + :vartype origin: str or ~azure.mgmt.network.v2020_07_01.models.Origin :ivar severity: The severity of the issue. Possible values include: "Error", "Warning". - :vartype severity: str or ~azure.mgmt.network.v2020_06_01.models.Severity + :vartype severity: str or ~azure.mgmt.network.v2020_07_01.models.Severity :ivar type: The type of issue. Possible values include: "Unknown", "AgentStopped", "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", "PortThrottled", "Platform". - :vartype type: str or ~azure.mgmt.network.v2020_06_01.models.IssueType + :vartype type: str or ~azure.mgmt.network.v2020_07_01.models.IssueType :ivar context: Provides additional context on the issue. :vartype context: list[dict[str, str]] """ @@ -6854,16 +6973,16 @@ class ConnectivityParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param source: Required. The source of the connection. - :type source: ~azure.mgmt.network.v2020_06_01.models.ConnectivitySource + :type source: ~azure.mgmt.network.v2020_07_01.models.ConnectivitySource :param destination: Required. The destination of connection. - :type destination: ~azure.mgmt.network.v2020_06_01.models.ConnectivityDestination + :type destination: ~azure.mgmt.network.v2020_07_01.models.ConnectivityDestination :param protocol: Network protocol. Possible values include: "Tcp", "Http", "Https", "Icmp". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.Protocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.Protocol :param protocol_configuration: Configuration of the protocol. - :type protocol_configuration: ~azure.mgmt.network.v2020_06_01.models.ProtocolConfiguration + :type protocol_configuration: ~azure.mgmt.network.v2020_07_01.models.ProtocolConfiguration :param preferred_ip_version: Preferred IP version of the connection. Possible values include: "IPv4", "IPv6". - :type preferred_ip_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type preferred_ip_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion """ _validation = { @@ -6911,6 +7030,7 @@ class ConnectivitySource(msrest.serialization.Model): _validation = { 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, } _attribute_map = { @@ -6966,16 +7086,16 @@ class ContainerNetworkInterface(SubResource): :ivar container_network_interface_configuration: Container network interface configuration from which this container network interface is created. :vartype container_network_interface_configuration: - ~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration + ~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceIpConfiguration] :ivar provisioning_state: The provisioning state of the container network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7030,13 +7150,13 @@ class ContainerNetworkInterfaceConfiguration(SubResource): :vartype etag: str :param ip_configurations: A list of ip configurations of the container network interface configuration. - :type ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationProfile] + :type ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationProfile] :param container_network_interfaces: A list of container network interfaces created from this container network interface configuration. - :type container_network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type container_network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the container network interface configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7086,7 +7206,7 @@ class ContainerNetworkInterfaceIpConfiguration(msrest.serialization.Model): :vartype etag: str :ivar provisioning_state: The provisioning state of the container network interface IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7167,14 +7287,14 @@ class CustomIpPrefix(Resource): :param commissioned_state: The commissioned state of the Custom IP Prefix. Possible values include: "Provisioning", "Provisioned", "Commissioning", "Commissioned", "Decommissioning", "Deprovisioning". - :type commissioned_state: str or ~azure.mgmt.network.v2020_06_01.models.CommissionedState + :type commissioned_state: str or ~azure.mgmt.network.v2020_07_01.models.CommissionedState :ivar public_ip_prefixes: The list of all referenced PublicIpPrefixes. - :vartype public_ip_prefixes: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype public_ip_prefixes: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_guid: The resource GUID property of the custom IP prefix resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the custom IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7226,7 +7346,7 @@ class CustomIpPrefixListResult(msrest.serialization.Model): """Response for ListCustomIpPrefixes API service call. :param value: A list of Custom IP prefixes that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix] + :type value: list[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -7271,13 +7391,13 @@ class DdosCustomPolicy(Resource): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DDoS custom policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar public_ip_addresses: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. - :vartype public_ip_addresses: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype public_ip_addresses: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. :type protocol_custom_settings: - list[~azure.mgmt.network.v2020_06_01.models.ProtocolCustomSettingsFormat] + list[~azure.mgmt.network.v2020_07_01.models.ProtocolCustomSettingsFormat] """ _validation = { @@ -7342,10 +7462,10 @@ class DdosProtectionPlan(msrest.serialization.Model): :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DDoS protection plan resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar virtual_networks: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. - :vartype virtual_networks: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_networks: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -7395,7 +7515,7 @@ class DdosProtectionPlanListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of DDoS protection plans. - :type value: list[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan] + :type value: list[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -7424,12 +7544,12 @@ class DdosSettings(msrest.serialization.Model): """Contains the DDoS protection settings of the public IP. :param ddos_custom_policy: The DDoS custom policy associated with the public IP. - :type ddos_custom_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ddos_custom_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protection_coverage: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: "Basic", "Standard". :type protection_coverage: str or - ~azure.mgmt.network.v2020_06_01.models.DdosSettingsProtectionCoverage + ~azure.mgmt.network.v2020_07_01.models.DdosSettingsProtectionCoverage :param protected_ip: Enables DDoS protection on the public IP. :type protected_ip: bool """ @@ -7473,7 +7593,7 @@ class Delegation(SubResource): :vartype actions: list[str] :ivar provisioning_state: The provisioning state of the service delegation resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7662,26 +7782,26 @@ class DscpConfiguration(Resource): :param markings: List of markings to be used in the configuration. :type markings: list[int] :param source_ip_ranges: Source IP ranges. - :type source_ip_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosIpRange] + :type source_ip_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosIpRange] :param destination_ip_ranges: Destination IP ranges. - :type destination_ip_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosIpRange] + :type destination_ip_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosIpRange] :param source_port_ranges: Sources port ranges. - :type source_port_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosPortRange] + :type source_port_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosPortRange] :param destination_port_ranges: Destination port ranges. - :type destination_port_ranges: list[~azure.mgmt.network.v2020_06_01.models.QosPortRange] + :type destination_port_ranges: list[~azure.mgmt.network.v2020_07_01.models.QosPortRange] :param protocol: RNM supported protocol types. Possible values include: "DoNotUse", "Icmp", "Tcp", "Udp", "Gre", "Esp", "Ah", "Vxlan", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ProtocolType + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ProtocolType :ivar qos_collection_id: Qos Collection ID generated by RNM. :vartype qos_collection_id: str :ivar associated_network_interfaces: Associated Network Interfaces to the DSCP Configuration. :vartype associated_network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar resource_guid: The resource GUID property of the DSCP Configuration resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the DSCP Configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -7747,7 +7867,7 @@ class DscpConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of dscp configurations in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.DscpConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.DscpConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -7776,13 +7896,13 @@ class EffectiveNetworkSecurityGroup(msrest.serialization.Model): """Effective network security group. :param network_security_group: The ID of network security group that is applied. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.SubResource :param association: Associated resources. :type association: - ~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroupAssociation + ~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroupAssociation :param effective_security_rules: A collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityRule] :param tag_map: Mapping of tags to list of IP Addresses included within the tag. :type tag_map: str """ @@ -7814,9 +7934,9 @@ class EffectiveNetworkSecurityGroupAssociation(msrest.serialization.Model): """The effective network security group association. :param subnet: The ID of the subnet if assigned. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param network_interface: The ID of the network interface if assigned. - :type network_interface: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type network_interface: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -7842,7 +7962,7 @@ class EffectiveNetworkSecurityGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of effective network security groups. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -7874,7 +7994,7 @@ class EffectiveNetworkSecurityRule(msrest.serialization.Model): :type name: str :param protocol: The network protocol this rule applies to. Possible values include: "Tcp", "Udp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveSecurityRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveSecurityRuleProtocol :param source_port_range: The source port or range. :type source_port_range: str :param destination_port_range: The destination port or range. @@ -7903,11 +8023,11 @@ class EffectiveNetworkSecurityRule(msrest.serialization.Model): :type expanded_destination_address_prefix: list[str] :param access: Whether network traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + :type access: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :param priority: The priority of the rule. :type priority: int :param direction: The direction of the rule. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleDirection + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleDirection """ _attribute_map = { @@ -7976,16 +8096,16 @@ class EffectiveRoute(msrest.serialization.Model): :type disable_bgp_route_propagation: bool :param source: Who created the route. Possible values include: "Unknown", "User", "VirtualNetworkGateway", "Default". - :type source: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveRouteSource + :type source: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveRouteSource :param state: The value of effective route. Possible values include: "Active", "Invalid". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.EffectiveRouteState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.EffectiveRouteState :param address_prefix: The address prefixes of the effective routes in CIDR notation. :type address_prefix: list[str] :param next_hop_ip_address: The IP address of the next hop of the effective route. :type next_hop_ip_address: list[str] :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteNextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteNextHopType """ _attribute_map = { @@ -8026,7 +8146,7 @@ class EffectiveRouteListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of effective routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EffectiveRoute] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -8055,21 +8175,21 @@ class EffectiveRoutesParameters(msrest.serialization.Model): """The parameters specifying the resource whose effective routes are being requested. :param resource_id: The resource whose effective routes are being requested. - :type resource_id: ~azure.mgmt.network.v2020_06_01.models.Resource + :type resource_id: str :param virtual_wan_resource_type: The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection. :type virtual_wan_resource_type: str """ _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'Resource'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, 'virtual_wan_resource_type': {'key': 'virtualWanResourceType', 'type': 'str'}, } def __init__( self, *, - resource_id: Optional["Resource"] = None, + resource_id: Optional[str] = None, virtual_wan_resource_type: Optional[str] = None, **kwargs ): @@ -8117,7 +8237,7 @@ class EndpointServicesListResult(msrest.serialization.Model): """Response for the ListAvailableEndpointServices API service call. :param value: List of available endpoint services in a region. - :type value: list[~azure.mgmt.network.v2020_06_01.models.EndpointServiceResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.EndpointServiceResult] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8149,7 +8269,7 @@ class Error(msrest.serialization.Model): :param target: Error target. :type target: str :param details: Error details. - :type details: list[~azure.mgmt.network.v2020_06_01.models.ErrorDetails] + :type details: list[~azure.mgmt.network.v2020_07_01.models.ErrorDetails] :param inner_error: Inner error message. :type inner_error: str """ @@ -8215,7 +8335,7 @@ class ErrorResponse(msrest.serialization.Model): """The error object. :param error: The error details object. - :type error: ~azure.mgmt.network.v2020_06_01.models.ErrorDetails + :type error: ~azure.mgmt.network.v2020_07_01.models.ErrorDetails """ _attribute_map = { @@ -8242,10 +8362,10 @@ class EvaluatedNetworkSecurityGroup(msrest.serialization.Model): :param applied_to: Resource ID of nic or subnet to which network security group is applied. :type applied_to: str :param matched_rule: Matched network security rule. - :type matched_rule: ~azure.mgmt.network.v2020_06_01.models.MatchedRule + :type matched_rule: ~azure.mgmt.network.v2020_07_01.models.MatchedRule :ivar rules_evaluation_result: List of network security rules evaluation results. :vartype rules_evaluation_result: - list[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityRulesEvaluationResult] + list[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityRulesEvaluationResult] """ _validation = { @@ -8290,7 +8410,7 @@ class ExpressRouteCircuit(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param sku: The SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param allow_classic_operations: Allow classic operations. @@ -8301,22 +8421,22 @@ class ExpressRouteCircuit(Resource): resource. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", "Deprovisioning". :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2020_06_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_07_01.models.ServiceProviderProvisioningState :param authorizations: The list of authorizations. :type authorizations: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :param peerings: The list of peerings. - :type peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :type peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :param service_key: The ServiceKey. :type service_key: str :param service_provider_notes: The ServiceProviderNotes. :type service_provider_notes: str :param service_provider_properties: The ServiceProviderProperties. :type service_provider_properties: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitServiceProviderProperties + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitServiceProviderProperties :param express_route_port: The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. - :type express_route_port: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_port: ~azure.mgmt.network.v2020_07_01.models.SubResource :param bandwidth_in_gbps: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. :type bandwidth_in_gbps: float @@ -8324,7 +8444,7 @@ class ExpressRouteCircuit(Resource): :vartype stag: int :ivar provisioning_state: The provisioning state of the express route circuit resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :param global_reach_enabled: Flag denoting global reach status. @@ -8458,10 +8578,10 @@ class ExpressRouteCircuitAuthorization(SubResource): :param authorization_use_status: The authorization use status. Possible values include: "Available", "InUse". :type authorization_use_status: str or - ~azure.mgmt.network.v2020_06_01.models.AuthorizationUseStatus + ~azure.mgmt.network.v2020_07_01.models.AuthorizationUseStatus :ivar provisioning_state: The provisioning state of the authorization resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -8514,10 +8634,10 @@ class ExpressRouteCircuitConnection(SubResource): :vartype type: str :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. - :type express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the peered circuit. - :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :param authorization_key: The authorization key. @@ -8525,14 +8645,14 @@ class ExpressRouteCircuitConnection(SubResource): :param ipv6_circuit_connection_config: IPv6 Address PrefixProperties of the express route circuit connection. :type ipv6_circuit_connection_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6CircuitConnectionConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6CircuitConnectionConfig :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus :ivar provisioning_state: The provisioning state of the express route circuit connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -8586,7 +8706,7 @@ class ExpressRouteCircuitConnectionListResult(msrest.serialization.Model): :param value: The global reach connection associated with Private Peering in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8612,7 +8732,7 @@ class ExpressRouteCircuitListResult(msrest.serialization.Model): """Response for ListExpressRouteCircuit API service call. :param value: A list of ExpressRouteCircuits in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8650,9 +8770,9 @@ class ExpressRouteCircuitPeering(SubResource): :vartype type: str :param peering_type: The peering type. Possible values include: "AzurePublicPeering", "AzurePrivatePeering", "MicrosoftPeering". - :type peering_type: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringType + :type peering_type: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringState :param azure_asn: The Azure ASN. :type azure_asn: int :param peer_asn: The peer ASN. @@ -8671,30 +8791,30 @@ class ExpressRouteCircuitPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :param stats: The peering stats of express route circuit. - :type stats: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :type stats: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :ivar provisioning_state: The provisioning state of the express route circuit peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :ivar last_modified_by: Who was the last to modify the peering. :vartype last_modified_by: str :param route_filter: The reference to the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type route_filter: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig :param express_route_connection: The ExpressRoute connection. - :type express_route_connection: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnectionId + :type express_route_connection: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnectionId :param connections: The list of circuit connections associated with Azure Private Peering for this circuit. - :type connections: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :type connections: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :ivar peered_connections: The list of peered circuit connections associated with Azure Private Peering for this circuit. :vartype peered_connections: - list[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection] """ _validation = { @@ -8796,7 +8916,7 @@ class ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): resource. Possible values include: "NotConfigured", "Configuring", "Configured", "ValidationNeeded". :vartype advertised_public_prefixes_state: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState :param legacy_mode: The legacy mode of the peering. :type legacy_mode: int :param customer_asn: The CustomerASN of the peering. @@ -8862,7 +8982,7 @@ class ExpressRouteCircuitPeeringListResult(msrest.serialization.Model): """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. :param value: The peerings in an express route circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -8994,7 +9114,7 @@ class ExpressRouteCircuitsArpTableListResult(msrest.serialization.Model): """Response for ListArpTable associated with the Express Route Circuits API. :param value: A list of the ARP tables. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitArpTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitArpTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9054,9 +9174,9 @@ class ExpressRouteCircuitSku(msrest.serialization.Model): :type name: str :param tier: The tier of the SKU. Possible values include: "Standard", "Premium", "Basic", "Local". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSkuTier :param family: The family of the SKU. Possible values include: "UnlimitedData", "MeteredData". - :type family: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitSkuFamily + :type family: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitSkuFamily """ _attribute_map = { @@ -9083,7 +9203,7 @@ class ExpressRouteCircuitsRoutesTableListResult(msrest.serialization.Model): """Response for ListRoutesTable associated with the Express Route Circuits API. :param value: The list of routes table. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitRoutesTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitRoutesTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9109,7 +9229,7 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult(msrest.serialization.Mode """Response for ListRoutesTable associated with the Express Route Circuits API. :param value: A list of the routes table. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitRoutesTableSummary] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitRoutesTableSummary] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9180,19 +9300,21 @@ class ExpressRouteConnection(SubResource): :type name: str :ivar provisioning_state: The provisioning state of the express route connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_circuit_peering: The ExpressRoute circuit peering. :type express_route_circuit_peering: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringId + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringId :param authorization_key: Authorization key to establish the connection. :type authorization_key: str :param routing_weight: The routing weight associated to the connection. :type routing_weight: int :param enable_internet_security: Enable internet security. :type enable_internet_security: bool + :param express_route_gateway_bypass: Enable FastPath to vWan Firewall hub. + :type express_route_gateway_bypass: bool :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration """ _validation = { @@ -9208,6 +9330,7 @@ class ExpressRouteConnection(SubResource): 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, } @@ -9220,6 +9343,7 @@ def __init__( authorization_key: Optional[str] = None, routing_weight: Optional[int] = None, enable_internet_security: Optional[bool] = None, + express_route_gateway_bypass: Optional[bool] = None, routing_configuration: Optional["RoutingConfiguration"] = None, **kwargs ): @@ -9230,6 +9354,7 @@ def __init__( self.authorization_key = authorization_key self.routing_weight = routing_weight self.enable_internet_security = enable_internet_security + self.express_route_gateway_bypass = express_route_gateway_bypass self.routing_configuration = routing_configuration @@ -9262,7 +9387,7 @@ class ExpressRouteConnectionList(msrest.serialization.Model): """ExpressRouteConnection list. :param value: The list of ExpressRoute connections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] """ _attribute_map = { @@ -9308,19 +9433,19 @@ class ExpressRouteCrossConnection(Resource): :vartype bandwidth_in_mbps: int :param express_route_circuit: The ExpressRouteCircuit. :type express_route_circuit: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitReference + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitReference :param service_provider_provisioning_state: The provisioning state of the circuit in the connectivity provider system. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", "Deprovisioning". :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2020_06_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_07_01.models.ServiceProviderProvisioningState :param service_provider_notes: Additional read only notes set by the connectivity provider. :type service_provider_notes: str :ivar provisioning_state: The provisioning state of the express route cross connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param peerings: The list of peerings. - :type peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :type peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] """ _validation = { @@ -9386,7 +9511,7 @@ class ExpressRouteCrossConnectionListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ExpressRouteCrossConnection resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -9425,9 +9550,9 @@ class ExpressRouteCrossConnectionPeering(SubResource): :vartype etag: str :param peering_type: The peering type. Possible values include: "AzurePublicPeering", "AzurePrivatePeering", "MicrosoftPeering". - :type peering_type: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringType + :type peering_type: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePeeringState :ivar azure_asn: The Azure ASN. :vartype azure_asn: int :param peer_asn: The peer ASN. @@ -9446,17 +9571,17 @@ class ExpressRouteCrossConnectionPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :ivar provisioning_state: The provisioning state of the express route cross connection peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str :ivar last_modified_by: Who was the last to modify the peering. :vartype last_modified_by: str :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2020_06_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig """ _validation = { @@ -9533,7 +9658,7 @@ class ExpressRouteCrossConnectionPeeringList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The peerings in an express route cross connection. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -9603,7 +9728,7 @@ class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(msrest.serializat :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionRoutesTableSummary] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -9647,15 +9772,15 @@ class ExpressRouteGateway(Resource): :vartype etag: str :param auto_scale_configuration: Configuration for auto scaling. :type auto_scale_configuration: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. :vartype express_route_connections: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] :ivar provisioning_state: The provisioning state of the express route gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param virtual_hub: The Virtual Hub where the ExpressRoute gateway is or will be deployed. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.VirtualHubId + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.VirtualHubId """ _validation = { @@ -9701,7 +9826,7 @@ class ExpressRouteGatewayList(msrest.serialization.Model): """List of ExpressRoute gateways. :param value: List of ExpressRoute gateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway] """ _attribute_map = { @@ -9723,7 +9848,7 @@ class ExpressRouteGatewayPropertiesAutoScaleConfiguration(msrest.serialization.M :param bounds: Minimum and maximum number of scale units to deploy. :type bounds: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds """ _attribute_map = { @@ -9788,15 +9913,15 @@ class ExpressRouteLink(SubResource): :vartype rack_id: str :ivar connector_type: Physical fiber port type. Possible values include: "LC", "SC". :vartype connector_type: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkConnectorType + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkConnectorType :param admin_state: Administrative state of the physical port. Possible values include: "Enabled", "Disabled". - :type admin_state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkAdminState + :type admin_state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkAdminState :ivar provisioning_state: The provisioning state of the express route link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param mac_sec_config: MacSec configuration. - :type mac_sec_config: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecConfig + :type mac_sec_config: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecConfig """ _validation = { @@ -9849,7 +9974,7 @@ class ExpressRouteLinkListResult(msrest.serialization.Model): """Response for ListExpressRouteLinks API service call. :param value: The list of ExpressRouteLink sub-resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -9880,9 +10005,9 @@ class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): :type cak_secret_identifier: str :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128", "GcmAesXpn128", "GcmAesXpn256". - :type cipher: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecCipher + :type cipher: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecCipher :param sci_state: Sci mode enabled/disabled. Possible values include: "Disabled", "Enabled". - :type sci_state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkMacSecSciState + :type sci_state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkMacSecSciState """ _attribute_map = { @@ -9926,7 +10051,7 @@ class ExpressRoutePort(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param identity: The identity of ExpressRoutePort, if configured. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :param peering_location: The name of the peering location that the ExpressRoutePort is mapped to physically. :type peering_location: str @@ -9939,20 +10064,20 @@ class ExpressRoutePort(Resource): :param encapsulation: Encapsulation method on physical ports. Possible values include: "Dot1Q", "QinQ". :type encapsulation: str or - ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsEncapsulation + ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsEncapsulation :ivar ether_type: Ether type of the physical port. :vartype ether_type: str :ivar allocation_date: Date of the physical port allocation to be used in Letter of Authorization. :vartype allocation_date: str :param links: The set of physical links of the ExpressRoutePort resource. - :type links: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink] + :type links: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink] :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. - :vartype circuits: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype circuits: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the express route port resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar resource_guid: The resource GUID property of the express route port resource. :vartype resource_guid: str """ @@ -10024,7 +10149,7 @@ class ExpressRoutePortListResult(msrest.serialization.Model): """Response for ListExpressRoutePorts API service call. :param value: A list of ExpressRoutePort resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -10067,10 +10192,10 @@ class ExpressRoutePortsLocation(Resource): :vartype contact: str :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. :type available_bandwidths: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocationBandwidths] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocationBandwidths] :ivar provisioning_state: The provisioning state of the express route port location resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10143,7 +10268,7 @@ class ExpressRoutePortsLocationListResult(msrest.serialization.Model): """Response for ListExpressRoutePortsLocations API service call. :param value: The list of all ExpressRoutePort peering locations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocation] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -10184,10 +10309,10 @@ class ExpressRouteServiceProvider(Resource): :type peering_locations: list[str] :param bandwidths_offered: A list of bandwidths offered. :type bandwidths_offered: - list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProviderBandwidthsOffered] + list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProviderBandwidthsOffered] :ivar provisioning_state: The provisioning state of the express route service provider resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10253,7 +10378,7 @@ class ExpressRouteServiceProviderListResult(msrest.serialization.Model): """Response for the ListExpressRouteServiceProvider API service call. :param value: A list of ExpressRouteResourceProvider resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProvider] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProvider] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -10275,6 +10400,39 @@ def __init__( self.next_link = next_link +class ExtendedLocation(msrest.serialization.Model): + """ExtendedLocation complex type. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the extended location. + :type name: str + :param type: Required. The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ExtendedLocationTypes + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + type: Union[str, "ExtendedLocationTypes"], + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + class FirewallPolicy(Resource): """FirewallPolicy Resource. @@ -10292,27 +10450,37 @@ class FirewallPolicy(Resource): :type tags: dict[str, str] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param identity: The identity of the firewall policy. + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :ivar rule_collection_groups: List of references to FirewallPolicyRuleCollectionGroups. - :vartype rule_collection_groups: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype rule_collection_groups: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param base_policy: The parent firewall policy from which rules are inherited. - :type base_policy: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type base_policy: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated with. - :vartype firewalls: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype firewalls: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar child_policies: List of references to Child Firewall Policies. - :vartype child_policies: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype child_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: "Alert", "Deny", "Off". :type threat_intel_mode: str or - ~azure.mgmt.network.v2020_06_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_07_01.models.AzureFirewallThreatIntelMode :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. :type threat_intel_whitelist: - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyThreatIntelWhitelist + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyThreatIntelWhitelist :param dns_settings: DNS Proxy Settings definition. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.DnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.DnsSettings + :param intrusion_detection: The configuration for Intrusion detection. + :type intrusion_detection: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetection + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyTransportSecurity + :param sku: The Firewall Policy SKU. + :type sku: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicySku """ _validation = { @@ -10332,6 +10500,7 @@ class FirewallPolicy(Resource): 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, 'rule_collection_groups': {'key': 'properties.ruleCollectionGroups', 'type': '[SubResource]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'base_policy': {'key': 'properties.basePolicy', 'type': 'SubResource'}, @@ -10340,6 +10509,9 @@ class FirewallPolicy(Resource): 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, 'threat_intel_whitelist': {'key': 'properties.threatIntelWhitelist', 'type': 'FirewallPolicyThreatIntelWhitelist'}, 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, + 'intrusion_detection': {'key': 'properties.intrusionDetection', 'type': 'FirewallPolicyIntrusionDetection'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'sku': {'key': 'properties.sku', 'type': 'FirewallPolicySku'}, } def __init__( @@ -10348,14 +10520,19 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + identity: Optional["ManagedServiceIdentity"] = None, base_policy: Optional["SubResource"] = None, threat_intel_mode: Optional[Union[str, "AzureFirewallThreatIntelMode"]] = None, threat_intel_whitelist: Optional["FirewallPolicyThreatIntelWhitelist"] = None, dns_settings: Optional["DnsSettings"] = None, + intrusion_detection: Optional["FirewallPolicyIntrusionDetection"] = None, + transport_security: Optional["FirewallPolicyTransportSecurity"] = None, + sku: Optional["FirewallPolicySku"] = None, **kwargs ): super(FirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) self.etag = None + self.identity = identity self.rule_collection_groups = None self.provisioning_state = None self.base_policy = base_policy @@ -10364,6 +10541,36 @@ def __init__( self.threat_intel_mode = threat_intel_mode self.threat_intel_whitelist = threat_intel_whitelist self.dns_settings = dns_settings + self.intrusion_detection = intrusion_detection + self.transport_security = transport_security + self.sku = sku + + +class FirewallPolicyCertificateAuthority(msrest.serialization.Model): + """Trusted Root certificates properties for tls. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the CA certificate. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + key_vault_secret_id: Optional[str] = None, + name: Optional[str] = None, + **kwargs + ): + super(FirewallPolicyCertificateAuthority, self).__init__(**kwargs) + self.key_vault_secret_id = key_vault_secret_id + self.name = name class FirewallPolicyRuleCollection(msrest.serialization.Model): @@ -10378,7 +10585,7 @@ class FirewallPolicyRuleCollection(msrest.serialization.Model): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. @@ -10422,15 +10629,15 @@ class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int :param action: The action type of a Filter rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyFilterRuleCollectionAction + :type action: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyFilterRuleCollectionAction :param rules: List of rules included in a rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRule] """ _validation = { @@ -10466,7 +10673,7 @@ class FirewallPolicyFilterRuleCollectionAction(msrest.serialization.Model): :param type: The type of action. Possible values include: "Allow", "Deny". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyFilterRuleCollectionActionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyFilterRuleCollectionActionType """ _attribute_map = { @@ -10483,11 +10690,153 @@ def __init__( self.type = type +class FirewallPolicyIntrusionDetection(msrest.serialization.Model): + """Configuration for intrusion detection mode and rules. + + :param mode: Intrusion detection general state. Possible values include: "Off", "Alert", + "Deny". + :type mode: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionStateType + :param configuration: Intrusion detection configuration properties. + :type configuration: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionConfiguration + """ + + _attribute_map = { + 'mode': {'key': 'mode', 'type': 'str'}, + 'configuration': {'key': 'configuration', 'type': 'FirewallPolicyIntrusionDetectionConfiguration'}, + } + + def __init__( + self, + *, + mode: Optional[Union[str, "FirewallPolicyIntrusionDetectionStateType"]] = None, + configuration: Optional["FirewallPolicyIntrusionDetectionConfiguration"] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetection, self).__init__(**kwargs) + self.mode = mode + self.configuration = configuration + + +class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications(msrest.serialization.Model): + """Intrusion detection bypass traffic specification. + + :param name: Name of the bypass traffic rule. + :type name: str + :param description: Description of the bypass traffic rule. + :type description: str + :param protocol: The rule bypass protocol. Possible values include: "TCP", "UDP", "ICMP", + "ANY". + :type protocol: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionProtocol + :param source_addresses: List of source IP addresses or ranges for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or ranges for this rule. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports or ranges. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + protocol: Optional[Union[str, "FirewallPolicyIntrusionDetectionProtocol"]] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + destination_ip_groups: Optional[List[str]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, self).__init__(**kwargs) + self.name = name + self.description = description + self.protocol = protocol + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.source_ip_groups = source_ip_groups + self.destination_ip_groups = destination_ip_groups + + +class FirewallPolicyIntrusionDetectionConfiguration(msrest.serialization.Model): + """The operation for configuring intrusion detection. + + :param signature_overrides: List of specific signatures states. + :type signature_overrides: + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionSignatureSpecification] + :param bypass_traffic_settings: List of rules for traffic to bypass. + :type bypass_traffic_settings: + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications] + """ + + _attribute_map = { + 'signature_overrides': {'key': 'signatureOverrides', 'type': '[FirewallPolicyIntrusionDetectionSignatureSpecification]'}, + 'bypass_traffic_settings': {'key': 'bypassTrafficSettings', 'type': '[FirewallPolicyIntrusionDetectionBypassTrafficSpecifications]'}, + } + + def __init__( + self, + *, + signature_overrides: Optional[List["FirewallPolicyIntrusionDetectionSignatureSpecification"]] = None, + bypass_traffic_settings: Optional[List["FirewallPolicyIntrusionDetectionBypassTrafficSpecifications"]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionConfiguration, self).__init__(**kwargs) + self.signature_overrides = signature_overrides + self.bypass_traffic_settings = bypass_traffic_settings + + +class FirewallPolicyIntrusionDetectionSignatureSpecification(msrest.serialization.Model): + """Intrusion detection signatures specification states. + + :param id: Signature id. + :type id: str + :param mode: The signature state. Possible values include: "Off", "Alert", "Deny". + :type mode: str or + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyIntrusionDetectionStateType + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + mode: Optional[Union[str, "FirewallPolicyIntrusionDetectionStateType"]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionSignatureSpecification, self).__init__(**kwargs) + self.id = id + self.mode = mode + + class FirewallPolicyListResult(msrest.serialization.Model): """Response for ListFirewallPolicies API service call. :param value: List of Firewall Policies in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicy] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -10518,15 +10867,15 @@ class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): server. Possible values include: "FirewallPolicyNatRuleCollection", "FirewallPolicyFilterRuleCollection". :type rule_collection_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionType :param name: The name of the rule collection. :type name: str :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int :param action: The action type of a Nat rule collection. - :type action: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyNatRuleCollectionAction + :type action: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyNatRuleCollectionAction :param rules: List of rules included in a rule collection. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRule] """ _validation = { @@ -10562,7 +10911,7 @@ class FirewallPolicyNatRuleCollectionAction(msrest.serialization.Model): :param type: The type of action. Possible values include: "DNAT". :type type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyNatRuleCollectionActionType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyNatRuleCollectionActionType """ _attribute_map = { @@ -10584,7 +10933,7 @@ class FirewallPolicyRuleApplicationProtocol(msrest.serialization.Model): :param protocol_type: Protocol type. Possible values include: "Http", "Https". :type protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleApplicationProtocolType + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleApplicationProtocolType :param port: Port number for the protocol, cannot be greater than 64000. :type port: int """ @@ -10628,10 +10977,10 @@ class FirewallPolicyRuleCollectionGroup(SubResource): :type priority: int :param rule_collections: Group of Firewall Policy rule collections. :type rule_collections: - list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollection] + list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollection] :ivar provisioning_state: The provisioning state of the firewall policy rule collection group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10673,7 +11022,7 @@ class FirewallPolicyRuleCollectionGroupListResult(msrest.serialization.Model): """Response for ListFirewallPolicyRuleCollectionGroups API service call. :param value: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -10695,6 +11044,27 @@ def __init__( self.next_link = next_link +class FirewallPolicySku(msrest.serialization.Model): + """SKU of Firewall policy. + + :param tier: Tier of Firewall Policy. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicySkuTier + """ + + _attribute_map = { + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + tier: Optional[Union[str, "FirewallPolicySkuTier"]] = None, + **kwargs + ): + super(FirewallPolicySku, self).__init__(**kwargs) + self.tier = tier + + class FirewallPolicyThreatIntelWhitelist(msrest.serialization.Model): """ThreatIntel Whitelist for Firewall Policy. @@ -10721,6 +11091,28 @@ def __init__( self.fqdns = fqdns +class FirewallPolicyTransportSecurity(msrest.serialization.Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyCertificateAuthority + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + } + + def __init__( + self, + *, + certificate_authority: Optional["FirewallPolicyCertificateAuthority"] = None, + **kwargs + ): + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = certificate_authority + + class FlowLog(Resource): """A flow log resource. @@ -10747,16 +11139,16 @@ class FlowLog(Resource): :param enabled: Flag to enable/disable flow logging. :type enabled: bool :param retention_policy: Parameters that define the retention policy for flow log. - :type retention_policy: ~azure.mgmt.network.v2020_06_01.models.RetentionPolicyParameters + :type retention_policy: ~azure.mgmt.network.v2020_07_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. - :type format: ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatParameters + :type format: ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatParameters :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsProperties :ivar provisioning_state: The provisioning state of the flow log. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -10814,7 +11206,7 @@ class FlowLogFormatParameters(msrest.serialization.Model): """Parameters that define the flow log format. :param type: The file type of flow log. Possible values include: "JSON". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatType :param version: The version (revision) of the flow log. :type version: int """ @@ -10847,15 +11239,15 @@ class FlowLogInformation(msrest.serialization.Model): :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsProperties :param storage_id: Required. ID of the storage account which is used to store the flow log. :type storage_id: str :param enabled: Required. Flag to enable/disable flow logging. :type enabled: bool :param retention_policy: Parameters that define the retention policy for flow log. - :type retention_policy: ~azure.mgmt.network.v2020_06_01.models.RetentionPolicyParameters + :type retention_policy: ~azure.mgmt.network.v2020_07_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. - :type format: ~azure.mgmt.network.v2020_06_01.models.FlowLogFormatParameters + :type format: ~azure.mgmt.network.v2020_07_01.models.FlowLogFormatParameters """ _validation = { @@ -10899,7 +11291,7 @@ class FlowLogListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: Information about flow log resource. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FlowLog] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -10970,32 +11362,32 @@ class FrontendIPConfiguration(SubResource): come from. :type zones: list[str] :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. - :vartype inbound_nat_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_nat_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar inbound_nat_pools: An array of references to inbound pools that use this frontend IP. - :vartype inbound_nat_pools: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_nat_pools: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar outbound_rules: An array of references to outbound rules that use this frontend IP. - :vartype outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar load_balancing_rules: An array of references to load balancing rules that use this frontend IP. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param private_ip_address: The private IP address of the IP configuration. :type private_ip_address: str :param private_ip_allocation_method: The Private IP allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param private_ip_address_version: Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the Public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :param public_ip_prefix: The reference to the Public IP Prefix resource. - :type public_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11118,7 +11510,7 @@ class GatewayRouteListResult(msrest.serialization.Model): """List of virtual network gateway routes. :param value: List of gateway routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.GatewayRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.GatewayRoute] """ _attribute_map = { @@ -11225,17 +11617,17 @@ class HopLink(msrest.serialization.Model): :ivar link_type: Link type. :vartype link_type: str :ivar issues: List of issues. - :vartype issues: list[~azure.mgmt.network.v2020_06_01.models.ConnectivityIssue] + :vartype issues: list[~azure.mgmt.network.v2020_07_01.models.ConnectivityIssue] :ivar context: Provides additional context on links. :vartype context: dict[str, str] :ivar resource_id: Resource ID. :vartype resource_id: str :ivar round_trip_time_min: Minimum roundtrip time in milliseconds. - :vartype round_trip_time_min: int + :vartype round_trip_time_min: long :ivar round_trip_time_avg: Average roundtrip time in milliseconds. - :vartype round_trip_time_avg: int + :vartype round_trip_time_avg: long :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. - :vartype round_trip_time_max: int + :vartype round_trip_time_max: long """ _validation = { @@ -11244,9 +11636,9 @@ class HopLink(msrest.serialization.Model): 'issues': {'readonly': True}, 'context': {'readonly': True}, 'resource_id': {'readonly': True}, - 'round_trip_time_min': {'readonly': True}, - 'round_trip_time_avg': {'readonly': True}, - 'round_trip_time_max': {'readonly': True}, + 'round_trip_time_min': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_avg': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_max': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, } _attribute_map = { @@ -11255,9 +11647,9 @@ class HopLink(msrest.serialization.Model): 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, 'context': {'key': 'context', 'type': '{str}'}, 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'int'}, - 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'int'}, - 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'int'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'long'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'long'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'long'}, } def __init__( @@ -11279,9 +11671,9 @@ class HTTPConfiguration(msrest.serialization.Model): """HTTP configuration of the connectivity check. :param method: HTTP method. Possible values include: "Get". - :type method: str or ~azure.mgmt.network.v2020_06_01.models.HTTPMethod + :type method: str or ~azure.mgmt.network.v2020_07_01.models.HTTPMethod :param headers: List of HTTP headers. - :type headers: list[~azure.mgmt.network.v2020_06_01.models.HTTPHeader] + :type headers: list[~azure.mgmt.network.v2020_07_01.models.HTTPHeader] :param valid_status_codes: Valid status codes. :type valid_status_codes: list[int] """ @@ -11336,7 +11728,7 @@ class HubIPAddresses(msrest.serialization.Model): """IP addresses associated with azure firewall. :param public_i_ps: Public IP addresses associated with azure firewall. - :type public_i_ps: ~azure.mgmt.network.v2020_06_01.models.HubPublicIPAddresses + :type public_i_ps: ~azure.mgmt.network.v2020_07_01.models.HubPublicIPAddresses :param private_ip_address: Private IP Address associated with azure firewall. :type private_ip_address: str """ @@ -11376,14 +11768,14 @@ class HubIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11431,7 +11823,7 @@ class HubPublicIPAddresses(msrest.serialization.Model): :param addresses: The list of Public IP addresses associated with azure firewall or IP addresses to be retained. - :type addresses: list[~azure.mgmt.network.v2020_06_01.models.AzureFirewallPublicIPAddress] + :type addresses: list[~azure.mgmt.network.v2020_07_01.models.AzureFirewallPublicIPAddress] :param count: The number of Public IP addresses associated with azure firewall. :type count: int """ @@ -11520,16 +11912,16 @@ class HubRouteTable(SubResource): :ivar type: Resource type. :vartype type: str :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.HubRoute] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.HubRoute] :param labels: List of labels associated with this route table. :type labels: list[str] :ivar associated_connections: List of all connections associated with this route table. - :vartype associated_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype associated_connections: list[str] :ivar propagating_connections: List of all connections that advertise to this route table. - :vartype propagating_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype propagating_connections: list[str] :ivar provisioning_state: The provisioning state of the RouteTable resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11547,8 +11939,8 @@ class HubRouteTable(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, 'labels': {'key': 'properties.labels', 'type': '[str]'}, - 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[SubResource]'}, - 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[SubResource]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[str]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -11585,7 +11977,7 @@ class HubVirtualNetworkConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param remote_virtual_network: Reference to the remote virtual network. - :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param allow_hub_to_remote_vnet_transit: Deprecated: VirtualHub to RemoteVnet transit to enabled or not. :type allow_hub_to_remote_vnet_transit: bool @@ -11596,10 +11988,10 @@ class HubVirtualNetworkConnection(SubResource): :type enable_internet_security: bool :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration :ivar provisioning_state: The provisioning state of the hub virtual network connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11657,10 +12049,10 @@ class InboundNatPool(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: The reference to the transport protocol used by the inbound NAT pool. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param frontend_port_range_start: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. @@ -11686,7 +12078,7 @@ class InboundNatPool(SubResource): :type enable_tcp_reset: bool :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11756,15 +12148,15 @@ class InboundNatRule(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar backend_ip_configuration: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. :vartype backend_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param protocol: The reference to the transport protocol used by the load balancing rule. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param frontend_port: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. :type frontend_port: int @@ -11785,7 +12177,7 @@ class InboundNatRule(SubResource): :type enable_tcp_reset: bool :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11846,7 +12238,7 @@ class InboundNatRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of inbound nat rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11885,10 +12277,10 @@ class InboundSecurityRule(SubResource): :ivar type: NVA inbound security rule type. :vartype type: str :param rules: List of allowed rules. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.InboundSecurityRules] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.InboundSecurityRules] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -11927,7 +12319,7 @@ class InboundSecurityRules(msrest.serialization.Model): :param protocol: Protocol. This should be either TCP or UDP. Possible values include: "TCP", "UDP". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRulesProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRulesProtocol :param source_address_prefix: The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed. :type source_address_prefix: str @@ -12005,19 +12397,19 @@ class IpAllocation(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar subnet: The Subnet that using the prefix of this IpAllocation resource. - :vartype subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar virtual_network: The VirtualNetwork that using the prefix of this IpAllocation resource. - :vartype virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param type_properties_type: The type for the IpAllocation. Possible values include: "Undefined", "Hypernet". - :type type_properties_type: str or ~azure.mgmt.network.v2020_06_01.models.IpAllocationType + :type type_properties_type: str or ~azure.mgmt.network.v2020_07_01.models.IpAllocationType :param prefix: The address prefix for the IpAllocation. :type prefix: str :param prefix_length: The address prefix length for the IpAllocation. :type prefix_length: int :param prefix_type: The address prefix Type for the IpAllocation. Possible values include: "IPv4", "IPv6". - :type prefix_type: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type prefix_type: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param ipam_allocation_id: The IPAM allocation ID. :type ipam_allocation_id: str :param allocation_tags: IpAllocation tags. @@ -12079,7 +12471,7 @@ class IpAllocationListResult(msrest.serialization.Model): """Response for the ListIpAllocations API service call. :param value: A list of IpAllocation resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.IpAllocation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.IpAllocation] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -12118,14 +12510,14 @@ class IPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12224,10 +12616,10 @@ class IPConfigurationProfile(SubResource): :vartype etag: str :param subnet: The reference to the subnet resource to create a container network interface ip configuration. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :ivar provisioning_state: The provisioning state of the IP configuration profile resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12280,11 +12672,15 @@ class IpGroup(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the IpGroups resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups resource. :type ip_addresses: list[str] - :ivar firewalls: List of references to Azure resources that this IpGroups is associated with. - :vartype firewalls: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :ivar firewalls: List of references to Firewall resources that this IpGroups is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2020_07_01.models.SubResource] + :ivar firewall_policies: List of references to Firewall Policies resources that this IpGroups + is associated with. + :vartype firewall_policies: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -12293,6 +12689,7 @@ class IpGroup(Resource): 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'firewalls': {'readonly': True}, + 'firewall_policies': {'readonly': True}, } _attribute_map = { @@ -12305,6 +12702,7 @@ class IpGroup(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'firewall_policies': {'key': 'properties.firewallPolicies', 'type': '[SubResource]'}, } def __init__( @@ -12321,13 +12719,14 @@ def __init__( self.provisioning_state = None self.ip_addresses = ip_addresses self.firewalls = None + self.firewall_policies = None class IpGroupListResult(msrest.serialization.Model): """Response for the ListIpGroups API service call. :param value: The list of IpGroups information resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.IpGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.IpGroup] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -12363,23 +12762,23 @@ class IpsecPolicy(msrest.serialization.Model): :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IpsecEncryption + :type ipsec_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IpsecEncryption :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IpsecIntegrity + :type ipsec_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IpsecIntegrity :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". - :type ike_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IkeEncryption + :type ike_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IkeEncryption :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". - :type ike_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IkeIntegrity + :type ike_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IkeIntegrity :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", "DHGroup24". - :type dh_group: str or ~azure.mgmt.network.v2020_06_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_07_01.models.DhGroup :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". - :type pfs_group: str or ~azure.mgmt.network.v2020_06_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_07_01.models.PfsGroup """ _validation = { @@ -12464,7 +12863,7 @@ class Ipv6CircuitConnectionConfig(msrest.serialization.Model): :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus """ _validation = { @@ -12496,11 +12895,11 @@ class Ipv6ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): :type secondary_peer_address_prefix: str :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringConfig :param route_filter: The reference to the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type route_filter: ~azure.mgmt.network.v2020_07_01.models.SubResource :param state: The state of peering. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringState """ _attribute_map = { @@ -12533,7 +12932,7 @@ class ListHubRouteTablesResult(msrest.serialization.Model): """List of RouteTables and a URL nextLink to get the next set of results. :param value: List of RouteTables. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubRouteTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubRouteTable] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12559,7 +12958,7 @@ class ListHubVirtualNetworkConnectionsResult(msrest.serialization.Model): """List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. :param value: List of HubVirtualNetworkConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12585,7 +12984,7 @@ class ListP2SVpnGatewaysResult(msrest.serialization.Model): """Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results. :param value: List of P2SVpnGateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12611,7 +13010,7 @@ class ListVirtualHubBgpConnectionResults(msrest.serialization.Model): """VirtualHubBgpConnections list. :param value: The list of VirtualHubBgpConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BgpConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BgpConnection] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -12637,7 +13036,7 @@ class ListVirtualHubIpConfigurationResults(msrest.serialization.Model): """VirtualHubIpConfigurations list. :param value: The list of VirtualHubIpConfigurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -12663,7 +13062,7 @@ class ListVirtualHubRouteTableV2SResult(msrest.serialization.Model): """List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. :param value: List of VirtualHubRouteTableV2s. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12689,7 +13088,7 @@ class ListVirtualHubsResult(msrest.serialization.Model): """Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. :param value: List of VirtualHubs. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHub] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHub] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12715,7 +13114,7 @@ class ListVirtualWANsResult(msrest.serialization.Model): """Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results. :param value: List of VirtualWANs. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualWAN] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualWAN] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12741,7 +13140,7 @@ class ListVpnConnectionsResult(msrest.serialization.Model): """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. :param value: List of Vpn Connections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12767,7 +13166,7 @@ class ListVpnGatewaysResult(msrest.serialization.Model): """Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. :param value: List of VpnGateways. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12793,7 +13192,7 @@ class ListVpnServerConfigurationsResult(msrest.serialization.Model): """Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results. :param value: List of VpnServerConfigurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12819,7 +13218,7 @@ class ListVpnSiteLinkConnectionsResult(msrest.serialization.Model): """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. :param value: List of VpnSiteLinkConnections. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12845,7 +13244,7 @@ class ListVpnSiteLinksResult(msrest.serialization.Model): """Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results. :param value: List of VpnSitesLinks. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLink] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12871,7 +13270,7 @@ class ListVpnSitesResult(msrest.serialization.Model): """Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results. :param value: List of VpnSites. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnSite] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnSite] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -12908,27 +13307,29 @@ class LoadBalancer(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The load balancer SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.LoadBalancerSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :param backend_address_pools: Collection of backend address pools used by a load balancer. - :type backend_address_pools: list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :type backend_address_pools: list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :param load_balancing_rules: Object collection representing the load balancing rules Gets the provisioning. - :type load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule] + :type load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule] :param probes: Collection of probe objects used in the load balancer. - :type probes: list[~azure.mgmt.network.v2020_06_01.models.Probe] + :type probes: list[~azure.mgmt.network.v2020_07_01.models.Probe] :param inbound_nat_rules: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. - :type inbound_nat_rules: list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :type inbound_nat_rules: list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :param inbound_nat_pools: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an @@ -12936,14 +13337,14 @@ class LoadBalancer(Resource): Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. - :type inbound_nat_pools: list[~azure.mgmt.network.v2020_06_01.models.InboundNatPool] + :type inbound_nat_pools: list[~azure.mgmt.network.v2020_07_01.models.InboundNatPool] :param outbound_rules: The outbound rules. - :type outbound_rules: list[~azure.mgmt.network.v2020_06_01.models.OutboundRule] + :type outbound_rules: list[~azure.mgmt.network.v2020_07_01.models.OutboundRule] :ivar resource_guid: The resource GUID property of the load balancer resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -12960,6 +13361,7 @@ class LoadBalancer(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'LoadBalancerSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[FrontendIPConfiguration]'}, @@ -12979,6 +13381,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, sku: Optional["LoadBalancerSku"] = None, frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, backend_address_pools: Optional[List["BackendAddressPool"]] = None, @@ -12990,6 +13393,7 @@ def __init__( **kwargs ): super(LoadBalancer, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.sku = sku self.etag = None self.frontend_ip_configurations = frontend_ip_configurations @@ -13011,12 +13415,16 @@ class LoadBalancerBackendAddress(msrest.serialization.Model): :param name: Name of the backend address. :type name: str :param virtual_network: Reference to an existing virtual network. - :type virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param ip_address: IP Address belonging to the referenced virtual network. :type ip_address: str :ivar network_interface_ip_configuration: Reference to IP address defined in network interfaces. - :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource + :param load_balancer_frontend_ip_configuration: Reference to the frontend ip address + configuration defined in regional loadbalancer. + :type load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -13028,6 +13436,7 @@ class LoadBalancerBackendAddress(msrest.serialization.Model): 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIPConfiguration', 'type': 'SubResource'}, } def __init__( @@ -13036,6 +13445,7 @@ def __init__( name: Optional[str] = None, virtual_network: Optional["SubResource"] = None, ip_address: Optional[str] = None, + load_balancer_frontend_ip_configuration: Optional["SubResource"] = None, **kwargs ): super(LoadBalancerBackendAddress, self).__init__(**kwargs) @@ -13043,6 +13453,7 @@ def __init__( self.virtual_network = virtual_network self.ip_address = ip_address self.network_interface_ip_configuration = None + self.load_balancer_frontend_ip_configuration = load_balancer_frontend_ip_configuration class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): @@ -13051,7 +13462,7 @@ class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of backend address pools in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :type value: list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13082,7 +13493,7 @@ class LoadBalancerFrontendIPConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of frontend IP configurations in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13113,7 +13524,7 @@ class LoadBalancerListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancers in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13144,7 +13555,7 @@ class LoadBalancerLoadBalancingRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancing rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13175,7 +13586,7 @@ class LoadBalancerOutboundRuleListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of outbound rules in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.OutboundRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.OutboundRule] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13206,7 +13617,7 @@ class LoadBalancerProbeListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of probes in a load balancer. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Probe] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Probe] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13235,21 +13646,26 @@ class LoadBalancerSku(msrest.serialization.Model): """SKU of a load balancer. :param name: Name of a load balancer SKU. Possible values include: "Basic", "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.LoadBalancerSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSkuName + :param tier: Tier of a load balancer SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( self, *, name: Optional[Union[str, "LoadBalancerSkuName"]] = None, + tier: Optional[Union[str, "LoadBalancerSkuTier"]] = None, **kwargs ): super(LoadBalancerSku, self).__init__(**kwargs) self.name = name + self.tier = tier class LoadBalancingRule(SubResource): @@ -13267,18 +13683,18 @@ class LoadBalancingRule(SubResource): :ivar type: Type of the resource. :vartype type: str :param frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type frontend_ip_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :param backend_address_pool: A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :param probe: The reference to the load balancer probe used by the load balancing rule. - :type probe: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_07_01.models.SubResource :param protocol: The reference to the transport protocol used by the load balancing rule. Possible values include: "Udp", "Tcp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.TransportProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.TransportProtocol :param load_distribution: The load distribution policy for this rule. Possible values include: "Default", "SourceIP", "SourceIPProtocol". - :type load_distribution: str or ~azure.mgmt.network.v2020_06_01.models.LoadDistribution + :type load_distribution: str or ~azure.mgmt.network.v2020_07_01.models.LoadDistribution :param frontend_port: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". @@ -13303,7 +13719,7 @@ class LoadBalancingRule(SubResource): :type disable_outbound_snat: bool :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13385,18 +13801,18 @@ class LocalNetworkGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param local_network_address_space: Local network site address space. - :type local_network_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type local_network_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param gateway_ip_address: IP address of local network gateway. :type gateway_ip_address: str :param fqdn: FQDN of local network gateway. :type fqdn: str :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar resource_guid: The resource GUID property of the local network gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the local network gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13450,7 +13866,7 @@ class LocalNetworkGatewayListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of local network gateways that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -13515,7 +13931,7 @@ class ManagedRuleGroupOverride(msrest.serialization.Model): :type rule_group_name: str :param rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleOverride] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleOverride] """ _validation = { @@ -13548,7 +13964,7 @@ class ManagedRuleOverride(msrest.serialization.Model): :type rule_id: str :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible values include: "Disabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.ManagedRuleEnabledState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.ManagedRuleEnabledState """ _validation = { @@ -13578,9 +13994,9 @@ class ManagedRulesDefinition(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exclusions: The Exclusions that are applied on the policy. - :type exclusions: list[~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntry] + :type exclusions: list[~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntry] :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. - :type managed_rule_sets: list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleSet] + :type managed_rule_sets: list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleSet] """ _validation = { @@ -13615,7 +14031,7 @@ class ManagedRuleSet(msrest.serialization.Model): :type rule_set_version: str :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. :type rule_group_overrides: - list[~azure.mgmt.network.v2020_06_01.models.ManagedRuleGroupOverride] + list[~azure.mgmt.network.v2020_07_01.models.ManagedRuleGroupOverride] """ _validation = { @@ -13658,12 +14074,12 @@ class ManagedServiceIdentity(msrest.serialization.Model): UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". - :type type: str or ~azure.mgmt.network.v2020_06_01.models.ResourceIdentityType + :type type: str or ~azure.mgmt.network.v2020_07_01.models.ResourceIdentityType :param user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.network.v2020_06_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] + ~azure.mgmt.network.v2020_07_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] """ _validation = { @@ -13698,18 +14114,18 @@ class MatchCondition(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param match_variables: Required. List of match variables. - :type match_variables: list[~azure.mgmt.network.v2020_06_01.models.MatchVariable] + :type match_variables: list[~azure.mgmt.network.v2020_07_01.models.MatchVariable] :param operator: Required. The operator to be matched. Possible values include: "IPMatch", "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", "BeginsWith", "EndsWith", "Regex", "GeoMatch". - :type operator: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallOperator + :type operator: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallOperator :param negation_conditon: Whether this is negate condition or not. :type negation_conditon: bool :param match_values: Required. Match value. :type match_values: list[str] :param transforms: List of transforms. :type transforms: list[str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallTransform] + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallTransform] """ _validation = { @@ -13780,7 +14196,7 @@ class MatchVariable(msrest.serialization.Model): "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", "RequestCookies". :type variable_name: str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallMatchVariable + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallMatchVariable :param selector: The selector of match variable. :type selector: str """ @@ -13820,7 +14236,7 @@ class MetricSpecification(msrest.serialization.Model): :param aggregation_type: The aggregation type. :type aggregation_type: str :param availabilities: List of availability. - :type availabilities: list[~azure.mgmt.network.v2020_06_01.models.Availability] + :type availabilities: list[~azure.mgmt.network.v2020_07_01.models.Availability] :param enable_regional_mdm_account: Whether regional MDM account enabled. :type enable_regional_mdm_account: bool :param fill_gap_with_zero: Whether gaps would be filled with zeros. @@ -13828,7 +14244,7 @@ class MetricSpecification(msrest.serialization.Model): :param metric_filter_pattern: Pattern for the filter of the metric. :type metric_filter_pattern: str :param dimensions: List of dimensions. - :type dimensions: list[~azure.mgmt.network.v2020_06_01.models.Dimension] + :type dimensions: list[~azure.mgmt.network.v2020_07_01.models.Dimension] :param is_internal: Whether the metric is internal. :type is_internal: bool :param source_mdm_account: The source MDM account. @@ -13908,7 +14324,7 @@ class NatGateway(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param sku: The nat gateway SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.NatGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.NatGatewaySku :param zones: A list of availability zones denoting the zone in which Nat Gateway should be deployed. :type zones: list[str] @@ -13918,17 +14334,17 @@ class NatGateway(Resource): :type idle_timeout_in_minutes: int :param public_ip_addresses: An array of public ip addresses associated with the nat gateway resource. - :type public_ip_addresses: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type public_ip_addresses: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param public_ip_prefixes: An array of public ip prefixes associated with the nat gateway resource. - :type public_ip_prefixes: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type public_ip_prefixes: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar subnets: An array of references to the subnets using this nat gateway resource. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_guid: The resource GUID property of the NAT gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -13986,7 +14402,7 @@ class NatGatewayListResult(msrest.serialization.Model): """Response for ListNatGateways API service call. :param value: A list of Nat Gateways that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NatGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NatGateway] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -14012,7 +14428,7 @@ class NatGatewaySku(msrest.serialization.Model): """SKU of nat gateway. :param name: Name of Nat Gateway SKU. Possible values include: "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.NatGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.NatGatewaySkuName """ _attribute_map = { @@ -14040,10 +14456,10 @@ class NatRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleNetworkProtocol] + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleNetworkProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. @@ -14056,6 +14472,8 @@ class NatRule(FirewallPolicyRule): :type translated_port: str :param source_ip_groups: List of source IpGroups for this rule. :type source_ip_groups: list[str] + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str """ _validation = { @@ -14073,6 +14491,7 @@ class NatRule(FirewallPolicyRule): 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, 'translated_port': {'key': 'translatedPort', 'type': 'str'}, 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, } def __init__( @@ -14087,6 +14506,7 @@ def __init__( translated_address: Optional[str] = None, translated_port: Optional[str] = None, source_ip_groups: Optional[List[str]] = None, + translated_fqdn: Optional[str] = None, **kwargs ): super(NatRule, self).__init__(name=name, description=description, **kwargs) @@ -14098,6 +14518,7 @@ def __init__( self.translated_address = translated_address self.translated_port = translated_port self.source_ip_groups = source_ip_groups + self.translated_fqdn = translated_fqdn class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): @@ -14110,10 +14531,10 @@ class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): Application Gateway. :type target_resource_id: str :param verbosity_level: Verbosity level. Possible values include: "Normal", "Minimum", "Full". - :type verbosity_level: str or ~azure.mgmt.network.v2020_06_01.models.VerbosityLevel + :type verbosity_level: str or ~azure.mgmt.network.v2020_07_01.models.VerbosityLevel :param profiles: Required. List of network configuration diagnostic profiles. :type profiles: - list[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticProfile] + list[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticProfile] """ _validation = { @@ -14148,7 +14569,7 @@ class NetworkConfigurationDiagnosticProfile(msrest.serialization.Model): :param direction: Required. The direction of the traffic. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.Direction :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. :type protocol: str :param source: Required. Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. @@ -14202,7 +14623,7 @@ class NetworkConfigurationDiagnosticResponse(msrest.serialization.Model): :ivar results: List of network configuration diagnostic results. :vartype results: - list[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticResult] + list[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticResult] """ _validation = { @@ -14225,10 +14646,10 @@ class NetworkConfigurationDiagnosticResult(msrest.serialization.Model): """Network configuration diagnostic result corresponded to provided traffic query. :param profile: Network configuration diagnostic profile. - :type profile: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticProfile + :type profile: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticProfile :param network_security_group_result: Network security group result. :type network_security_group_result: - ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupResult + ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupResult """ _attribute_map = { @@ -14301,7 +14722,7 @@ class NetworkIntentPolicyConfiguration(msrest.serialization.Model): subscription. :type network_intent_policy_name: str :param source_network_intent_policy: Source network intent policy. - :type source_network_intent_policy: ~azure.mgmt.network.v2020_06_01.models.NetworkIntentPolicy + :type source_network_intent_policy: ~azure.mgmt.network.v2020_07_01.models.NetworkIntentPolicy """ _attribute_map = { @@ -14336,23 +14757,25 @@ class NetworkInterface(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the network interface. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar virtual_machine: The reference to a virtual machine. - :vartype virtual_machine: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype virtual_machine: ~azure.mgmt.network.v2020_07_01.models.SubResource :param network_security_group: The reference to the NetworkSecurityGroup resource. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :ivar private_endpoint: A reference to the private endpoint to which the network interface is linked. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param ip_configurations: A list of IPConfigurations of the network interface. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar tap_configurations: A list of TapConfigurations of the network interface. :vartype tap_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceDnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceDnsSettings :ivar mac_address: The MAC address of the network interface. :vartype mac_address: str :ivar primary: Whether this is a primary network interface on a virtual machine. @@ -14367,12 +14790,12 @@ class NetworkInterface(Resource): :vartype hosted_workloads: list[str] :ivar dscp_configuration: A reference to the dscp configuration to which the network interface is linked. - :vartype dscp_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :vartype dscp_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar resource_guid: The resource GUID property of the network interface resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -14396,6 +14819,7 @@ class NetworkInterface(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'virtual_machine': {'key': 'properties.virtualMachine', 'type': 'SubResource'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -14419,6 +14843,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, network_security_group: Optional["NetworkSecurityGroup"] = None, ip_configurations: Optional[List["NetworkInterfaceIPConfiguration"]] = None, dns_settings: Optional["NetworkInterfaceDnsSettings"] = None, @@ -14427,6 +14852,7 @@ def __init__( **kwargs ): super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.etag = None self.virtual_machine = None self.network_security_group = network_security_group @@ -14452,7 +14878,7 @@ class NetworkInterfaceAssociation(msrest.serialization.Model): :ivar id: Network interface ID. :vartype id: str :param security_rules: Collection of custom security rules. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] """ _validation = { @@ -14542,44 +14968,44 @@ class NetworkInterfaceIPConfiguration(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_network_taps: The reference to Virtual Network Taps. - :type virtual_network_taps: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :type virtual_network_taps: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to ApplicationGatewayBackendAddressPool resource. :type application_gateway_backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool resource. :type load_balancer_backend_address_pools: - list[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :param load_balancer_inbound_nat_rules: A list of references of LoadBalancerInboundNatRules. :type load_balancer_inbound_nat_rules: - list[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :param private_ip_address: Private IP address of the IP configuration. :type private_ip_address: str :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param subnet: Subnet bound to the IP configuration. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param primary: Whether this is a primary customer address on the network interface. :type primary: bool :param public_ip_address: Public IP address bound to the IP configuration. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :param application_security_groups: Application security groups in which the IP configuration is included. :type application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :ivar provisioning_state: The provisioning state of the network interface IP configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar private_link_connection_properties: PrivateLinkConnection properties for the network interface. :vartype private_link_connection_properties: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ _validation = { @@ -14649,7 +15075,7 @@ class NetworkInterfaceIPConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ip configurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -14715,7 +15141,7 @@ class NetworkInterfaceListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of network interfaces in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -14746,7 +15172,7 @@ class NetworkInterfaceLoadBalancerListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of load balancers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :type value: list[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -14786,10 +15212,10 @@ class NetworkInterfaceTapConfiguration(SubResource): :ivar type: Sub Resource type. :vartype type: str :param virtual_network_tap: The reference to the Virtual Network Tap resource. - :type virtual_network_tap: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :type virtual_network_tap: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :ivar provisioning_state: The provisioning state of the network interface tap configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -14829,7 +15255,7 @@ class NetworkInterfaceTapConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of tap configurations. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -14873,16 +15299,16 @@ class NetworkProfile(Resource): :vartype etag: str :ivar container_network_interfaces: List of child container network interfaces. :vartype container_network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterface] :param container_network_interface_configurations: List of chid container network interface configurations. :type container_network_interface_configurations: - list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration] :ivar resource_guid: The resource GUID property of the network profile resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network profile resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -14928,7 +15354,7 @@ class NetworkProfileListResult(msrest.serialization.Model): """Response for ListNetworkProfiles API service call. :param value: A list of network profiles that exist in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkProfile] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkProfile] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -14961,10 +15387,10 @@ class NetworkRule(FirewallPolicyRule): :type description: str :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: "ApplicationRule", "NetworkRule", "NatRule". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleType :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleNetworkProtocol] + ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleNetworkProtocol] :param source_addresses: List of source IP addresses for this rule. :type source_addresses: list[str] :param destination_addresses: List of destination IP addresses or Service Tags. @@ -15039,20 +15465,20 @@ class NetworkSecurityGroup(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param security_rules: A collection of security rules of the network security group. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :ivar default_security_rules: The default security rules of network security group. - :vartype default_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :vartype default_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :ivar network_interfaces: A collection of references to network interfaces. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :ivar flow_logs: A collection of references to flow log resources. - :vartype flow_logs: list[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :vartype flow_logs: list[~azure.mgmt.network.v2020_07_01.models.FlowLog] :ivar resource_guid: The resource GUID property of the network security group resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the network security group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -15107,7 +15533,7 @@ class NetworkSecurityGroupListResult(msrest.serialization.Model): """Response for ListNetworkSecurityGroups API service call. :param value: A list of NetworkSecurityGroup resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -15137,10 +15563,10 @@ class NetworkSecurityGroupResult(msrest.serialization.Model): :param security_rule_access_result: The network traffic is allowed or denied. Possible values include: "Allow", "Deny". :type security_rule_access_result: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :ivar evaluated_network_security_groups: List of results network security groups diagnostic. :vartype evaluated_network_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.EvaluatedNetworkSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.EvaluatedNetworkSecurityGroup] """ _validation = { @@ -15225,17 +15651,17 @@ class NetworkVirtualAppliance(Resource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param identity: The service principal that has read access to cloud-init and config blob. - :type identity: ~azure.mgmt.network.v2020_06_01.models.ManagedServiceIdentity + :type identity: ~azure.mgmt.network.v2020_07_01.models.ManagedServiceIdentity :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param nva_sku: Network Virtual Appliance SKU. - :type nva_sku: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSkuProperties + :type nva_sku: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSkuProperties :ivar address_prefix: Address Prefix. :vartype address_prefix: str :param boot_strap_configuration_blobs: BootStrapConfigurationBlobs storage URLs. :type boot_strap_configuration_blobs: list[str] :param virtual_hub: The Virtual Hub where Network Virtual Appliance is being deployed. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param cloud_init_configuration_blobs: CloudInitConfigurationBlob storage URLs. :type cloud_init_configuration_blobs: list[str] :param cloud_init_configuration: CloudInitConfiguration string in plain text. @@ -15244,14 +15670,14 @@ class NetworkVirtualAppliance(Resource): :type virtual_appliance_asn: long :ivar virtual_appliance_nics: List of Virtual Appliance Network Interfaces. :vartype virtual_appliance_nics: - list[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceNicProperties] + list[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceNicProperties] :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. - :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar inbound_security_rules: List of references to InboundSecurityRules. - :vartype inbound_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype inbound_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -15322,7 +15748,7 @@ class NetworkVirtualApplianceListResult(msrest.serialization.Model): """Response for ListNetworkVirtualAppliances API service call. :param value: List of Network Virtual Appliances. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -15348,7 +15774,7 @@ class NetworkVirtualApplianceSiteListResult(msrest.serialization.Model): """Response for ListNetworkVirtualApplianceSites API service call. :param value: List of Network Virtual Appliance sites. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -15393,7 +15819,7 @@ class NetworkVirtualApplianceSku(Resource): :vartype available_versions: list[str] :param available_scale_units: The list of scale units available. :type available_scale_units: - list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSkuInstances] + list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSkuInstances] """ _validation = { @@ -15466,7 +15892,7 @@ class NetworkVirtualApplianceSkuListResult(msrest.serialization.Model): """Response for ListNetworkVirtualApplianceSkus API service call. :param value: List of Network Virtual Appliance Skus that are available. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSku] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSku] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -15507,7 +15933,7 @@ class NetworkWatcher(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the network watcher resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -15544,7 +15970,7 @@ class NetworkWatcherListResult(msrest.serialization.Model): """Response for ListNetworkWatchers API service call. :param value: List of network watcher resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.NetworkWatcher] + :type value: list[~azure.mgmt.network.v2020_07_01.models.NetworkWatcher] """ _attribute_map = { @@ -15612,7 +16038,7 @@ class NextHopResult(msrest.serialization.Model): :param next_hop_type: Next hop type. Possible values include: "Internet", "VirtualAppliance", "VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.NextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.NextHopType :param next_hop_ip_address: Next hop IP Address. :type next_hop_ip_address: str :param route_table_id: The resource identifier for the route table associated with the route @@ -15676,7 +16102,7 @@ class O365PolicyProperties(msrest.serialization.Model): """The Office365 breakout policy. :param break_out_categories: Office365 breakout categories. - :type break_out_categories: ~azure.mgmt.network.v2020_06_01.models.O365BreakOutCategoryPolicies + :type break_out_categories: ~azure.mgmt.network.v2020_07_01.models.O365BreakOutCategoryPolicies """ _attribute_map = { @@ -15697,7 +16123,7 @@ class Office365PolicyProperties(msrest.serialization.Model): """Network Virtual Appliance Sku Properties. :param break_out_categories: Office 365 breakout categories. - :type break_out_categories: ~azure.mgmt.network.v2020_06_01.models.BreakOutCategoryPolicies + :type break_out_categories: ~azure.mgmt.network.v2020_07_01.models.BreakOutCategoryPolicies """ _attribute_map = { @@ -15720,12 +16146,12 @@ class Operation(msrest.serialization.Model): :param name: Operation name: {provider}/{resource}/{operation}. :type name: str :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.network.v2020_06_01.models.OperationDisplay + :type display: ~azure.mgmt.network.v2020_07_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Specification of the service. :type service_specification: - ~azure.mgmt.network.v2020_06_01.models.OperationPropertiesFormatServiceSpecification + ~azure.mgmt.network.v2020_07_01.models.OperationPropertiesFormatServiceSpecification """ _attribute_map = { @@ -15791,7 +16217,7 @@ class OperationListResult(msrest.serialization.Model): """Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. :param value: List of Network operations supported by the Network resource provider. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Operation] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Operation] :param next_link: URL to get the next set of operation list results if there are any. :type next_link: str """ @@ -15817,9 +16243,9 @@ class OperationPropertiesFormatServiceSpecification(msrest.serialization.Model): """Specification of the service. :param metric_specifications: Operation service specification. - :type metric_specifications: list[~azure.mgmt.network.v2020_06_01.models.MetricSpecification] + :type metric_specifications: list[~azure.mgmt.network.v2020_07_01.models.MetricSpecification] :param log_specifications: Operation log specification. - :type log_specifications: list[~azure.mgmt.network.v2020_06_01.models.LogSpecification] + :type log_specifications: list[~azure.mgmt.network.v2020_07_01.models.LogSpecification] """ _attribute_map = { @@ -15856,16 +16282,16 @@ class OutboundRule(SubResource): :param allocated_outbound_ports: The number of outbound ports to be used for NAT. :type allocated_outbound_ports: int :param frontend_ip_configurations: The Frontend IP addresses of the load balancer. - :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param backend_address_pool: A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. - :type backend_address_pool: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type backend_address_pool: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param protocol: The protocol for the outbound rule in load balancer. Possible values include: "Tcp", "Udp", "All". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.LoadBalancerOutboundRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.LoadBalancerOutboundRuleProtocol :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool @@ -15927,12 +16353,12 @@ class OwaspCrsExclusionEntry(msrest.serialization.Model): :param match_variable: Required. The variable to be excluded. Possible values include: "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". :type match_variable: str or - ~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntryMatchVariable + ~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntryMatchVariable :param selector_match_operator: Required. When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. Possible values include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". :type selector_match_operator: str or - ~azure.mgmt.network.v2020_06_01.models.OwaspCrsExclusionEntrySelectorMatchOperator + ~azure.mgmt.network.v2020_07_01.models.OwaspCrsExclusionEntrySelectorMatchOperator :param selector: Required. When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. :type selector: str @@ -15978,16 +16404,16 @@ class P2SConnectionConfiguration(SubResource): :vartype etag: str :param vpn_client_address_pool: The reference to the address space resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type vpn_client_address_pool: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration :param enable_internet_security: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. :type enable_internet_security: bool :ivar provisioning_state: The provisioning state of the P2SConnectionConfiguration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16112,24 +16538,27 @@ class P2SVpnGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param p2_s_connection_configurations: List of all p2s connection configurations of the gateway. :type p2_s_connection_configurations: - list[~azure.mgmt.network.v2020_06_01.models.P2SConnectionConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.P2SConnectionConfiguration] :ivar provisioning_state: The provisioning state of the P2S VPN gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. :type vpn_gateway_scale_unit: int :param vpn_server_configuration: The VpnServerConfiguration to which the p2sVpnGateway is attached to. - :type vpn_server_configuration: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_server_configuration: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar vpn_client_connection_health: All P2S VPN clients' connection health status. :vartype vpn_client_connection_health: - ~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealth + ~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealth :param custom_dns_servers: List of all customer specified DNS servers IP addresses. :type custom_dns_servers: list[str] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the P2SVpnGateway. + :type is_routing_preference_internet: bool """ _validation = { @@ -16154,6 +16583,7 @@ class P2SVpnGateway(Resource): 'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'}, 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, 'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, } def __init__( @@ -16167,6 +16597,7 @@ def __init__( vpn_gateway_scale_unit: Optional[int] = None, vpn_server_configuration: Optional["SubResource"] = None, custom_dns_servers: Optional[List[str]] = None, + is_routing_preference_internet: Optional[bool] = None, **kwargs ): super(P2SVpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -16178,6 +16609,7 @@ def __init__( self.vpn_server_configuration = vpn_server_configuration self.vpn_client_connection_health = None self.custom_dns_servers = custom_dns_servers + self.is_routing_preference_internet = is_routing_preference_internet class P2SVpnProfileParameters(msrest.serialization.Model): @@ -16185,7 +16617,7 @@ class P2SVpnProfileParameters(msrest.serialization.Model): :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod """ _attribute_map = { @@ -16211,26 +16643,29 @@ class PacketCapture(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, } _attribute_map = { 'target': {'key': 'properties.target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, @@ -16261,7 +16696,7 @@ class PacketCaptureFilter(msrest.serialization.Model): :param protocol: Protocol to be filtered on. Possible values include: "TCP", "UDP", "Any". Default value: "Any". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.PcProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.PcProtocol :param local_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently @@ -16312,7 +16747,7 @@ class PacketCaptureListResult(msrest.serialization.Model): """List of packet capture sessions. :param value: Information about packet capture sessions. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult] """ _attribute_map = { @@ -16338,26 +16773,29 @@ class PacketCaptureParameters(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, } _attribute_map = { 'target': {'key': 'target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, @@ -16394,11 +16832,11 @@ class PacketCaptureQueryStatusResult(msrest.serialization.Model): :type capture_start_time: ~datetime.datetime :param packet_capture_status: The status of the packet capture session. Possible values include: "NotStarted", "Running", "Stopped", "Error", "Unknown". - :type packet_capture_status: str or ~azure.mgmt.network.v2020_06_01.models.PcStatus + :type packet_capture_status: str or ~azure.mgmt.network.v2020_07_01.models.PcStatus :param stop_reason: The reason the current packet capture session was stopped. :type stop_reason: str :param packet_capture_error: List of errors of packet capture session. - :type packet_capture_error: list[str or ~azure.mgmt.network.v2020_06_01.models.PcError] + :type packet_capture_error: list[str or ~azure.mgmt.network.v2020_07_01.models.PcError] """ _attribute_map = { @@ -16445,24 +16883,27 @@ class PacketCaptureResult(msrest.serialization.Model): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, 'etag': {'readonly': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'provisioning_state': {'readonly': True}, } @@ -16471,8 +16912,8 @@ class PacketCaptureResult(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'target': {'key': 'properties.target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, @@ -16514,30 +16955,33 @@ class PacketCaptureResultProperties(PacketCaptureParameters): :type target: str :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes are truncated. - :type bytes_to_capture_per_packet: int + :type bytes_to_capture_per_packet: long :param total_bytes_per_session: Maximum size of the capture output. - :type total_bytes_per_session: int + :type total_bytes_per_session: long :param time_limit_in_seconds: Maximum duration of the capture session in seconds. :type time_limit_in_seconds: int :param storage_location: Required. The storage location for a packet capture session. - :type storage_location: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureStorageLocation + :type storage_location: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. - :type filters: list[~azure.mgmt.network.v2020_06_01.models.PacketCaptureFilter] + :type filters: list[~azure.mgmt.network.v2020_07_01.models.PacketCaptureFilter] :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, 'storage_location': {'required': True}, 'provisioning_state': {'readonly': True}, } _attribute_map = { 'target': {'key': 'target', 'type': 'str'}, - 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'int'}, - 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'int'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, @@ -16611,14 +17055,14 @@ class PatchRouteFilter(SubResource): :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :ivar peerings: A collection of references to express route circuit peerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar provisioning_state: The provisioning state of the route filter resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16674,15 +17118,15 @@ class PatchRouteFilterRule(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param access: The access type of the rule. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". - :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleType + :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleType :param communities: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. :type communities: list[str] :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16735,16 +17179,16 @@ class PeerExpressRouteCircuitConnection(SubResource): :vartype type: str :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit. - :type express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the peered circuit. - :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :ivar circuit_connection_status: Express Route Circuit connection state. Possible values include: "Connected", "Connecting", "Disconnected". :vartype circuit_connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.CircuitConnectionStatus :param connection_name: The name of the express route circuit connection resource. :type connection_name: str :param auth_resource_guid: The resource guid of the authorization used for the express route @@ -16752,7 +17196,7 @@ class PeerExpressRouteCircuitConnection(SubResource): :type auth_resource_guid: str :ivar provisioning_state: The provisioning state of the peer express route circuit connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -16806,7 +17250,7 @@ class PeerExpressRouteCircuitConnectionListResult(msrest.serialization.Model): :param value: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -16887,7 +17331,7 @@ class PeerRouteList(msrest.serialization.Model): """List of virtual router peer routes. :param value: List of peer routes. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PeerRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PeerRoute] """ _attribute_map = { @@ -16908,9 +17352,9 @@ class PolicySettings(msrest.serialization.Model): """Defines contents of a web application firewall global configuration. :param state: The state of the policy. Possible values include: "Disabled", "Enabled". - :type state: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallEnabledState + :type state: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallEnabledState :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". - :type mode: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallMode + :type mode: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallMode :param request_body_check: Whether to allow WAF to check request Body. :type request_body_check: bool :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. @@ -16957,7 +17401,7 @@ class PrepareNetworkPoliciesRequest(msrest.serialization.Model): :type service_name: str :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. :type network_intent_policy_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkIntentPolicyConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkIntentPolicyConfiguration] """ _attribute_map = { @@ -16989,7 +17433,7 @@ class PrivateDnsZoneConfig(msrest.serialization.Model): :type private_dns_zone_id: str :ivar record_sets: A collection of information regarding a recordSet, holding information to identify private resources. - :vartype record_sets: list[~azure.mgmt.network.v2020_06_01.models.RecordSet] + :vartype record_sets: list[~azure.mgmt.network.v2020_07_01.models.RecordSet] """ _validation = { @@ -17029,11 +17473,11 @@ class PrivateDnsZoneGroup(SubResource): :vartype etag: str :ivar provisioning_state: The provisioning state of the private dns zone group resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_dns_zone_configs: A collection of private dns zone configurations of the private dns zone group. :type private_dns_zone_configs: - list[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneConfig] + list[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneConfig] """ _validation = { @@ -17070,7 +17514,7 @@ class PrivateDnsZoneGroupListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of private dns zone group resources in a private endpoint. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17113,25 +17557,25 @@ class PrivateEndpoint(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param subnet: The ID of the subnet from which the private IP will be allocated. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :ivar network_interfaces: An array of references to the network interfaces created for this private endpoint. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_link_service_connections: A grouping of information about the connection to the remote resource. :type private_link_service_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnection] :param manual_private_link_service_connections: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. :type manual_private_link_service_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnection] :param custom_dns_configs: An array of custom dns configurations. :type custom_dns_configs: - list[~azure.mgmt.network.v2020_06_01.models.CustomDnsConfigPropertiesFormat] + list[~azure.mgmt.network.v2020_07_01.models.CustomDnsConfigPropertiesFormat] """ _validation = { @@ -17194,14 +17638,14 @@ class PrivateEndpointConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :ivar private_endpoint: The resource of private end point. - :vartype private_endpoint: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState :ivar provisioning_state: The provisioning state of the private endpoint connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar link_identifier: The consumer link id. :vartype link_identifier: str """ @@ -17250,7 +17694,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model): :param value: A list of PrivateEndpointConnection resources for a specific private link service. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17281,7 +17725,7 @@ class PrivateEndpointListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of private endpoint resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17326,23 +17770,23 @@ class PrivateLinkService(Resource): :param load_balancer_frontend_ip_configurations: An array of references to the load balancer IP configurations. :type load_balancer_frontend_ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration] :param ip_configurations: An array of private link service IP configurations. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceIpConfiguration] :ivar network_interfaces: An array of references to the network interfaces created for this private link service. - :vartype network_interfaces: list[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :vartype network_interfaces: list[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :ivar provisioning_state: The provisioning state of the private link service resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar private_endpoint_connections: An array of list about connections to the private endpoint. :vartype private_endpoint_connections: - list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] + list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_07_01.models.ResourceSet :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type auto_approval: ~azure.mgmt.network.v2020_07_01.models.ResourceSet :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -17425,7 +17869,7 @@ class PrivateLinkServiceConnection(SubResource): :vartype etag: str :ivar provisioning_state: The provisioning state of the private link service connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_link_service_id: The resource id of private link service. :type private_link_service_id: str :param group_ids: The ID(s) of the group(s) obtained from the remote resource that this private @@ -17437,7 +17881,7 @@ class PrivateLinkServiceConnection(SubResource): :param private_link_service_connection_state: A collection of read-only information about the state of the connection to the remote resource. :type private_link_service_connection_state: - ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceConnectionState """ _validation = { @@ -17531,17 +17975,17 @@ class PrivateLinkServiceIpConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_07_01.models.Subnet :param primary: Whether the ip configuration is primary or not. :type primary: bool :ivar provisioning_state: The provisioning state of the private link service IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: "IPv4", "IPv6". - :type private_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type private_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion """ _validation = { @@ -17593,7 +18037,7 @@ class PrivateLinkServiceListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of PrivateLinkService resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PrivateLinkService] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PrivateLinkService] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -17715,12 +18159,12 @@ class Probe(SubResource): :ivar type: Type of the resource. :vartype type: str :ivar load_balancing_rules: The load balancer rules that use this probe. - :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype load_balancing_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param protocol: The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: "Http", "Tcp", "Https". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.ProbeProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.ProbeProtocol :param port: The port for communicating the probe. Possible values range from 1 to 65535, inclusive. :type port: int @@ -17738,7 +18182,7 @@ class Probe(SubResource): :type request_path: str :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17793,7 +18237,7 @@ class PropagatedRouteTable(msrest.serialization.Model): :param labels: The list of labels. :type labels: list[str] :param ids: The list of resource ids of all the RouteTables. - :type ids: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ids: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _attribute_map = { @@ -17817,7 +18261,7 @@ class ProtocolConfiguration(msrest.serialization.Model): """Configuration of the protocol. :param http_configuration: HTTP configuration of the connectivity check. - :type http_configuration: ~azure.mgmt.network.v2020_06_01.models.HTTPConfiguration + :type http_configuration: ~azure.mgmt.network.v2020_07_01.models.HTTPConfiguration """ _attribute_map = { @@ -17839,7 +18283,7 @@ class ProtocolCustomSettingsFormat(msrest.serialization.Model): :param protocol: The protocol for which the DDoS protection policy is being customized. Possible values include: "Tcp", "Udp", "Syn". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicyProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicyProtocol :param trigger_rate_override: The customized DDoS protection trigger rate. :type trigger_rate_override: str :param source_rate_override: The customized DDoS protection source rate. @@ -17850,7 +18294,7 @@ class ProtocolCustomSettingsFormat(msrest.serialization.Model): sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: "Relaxed", "Low", "Default", "High". :type trigger_sensitivity_override: str or - ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicyTriggerSensitivityOverride + ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicyTriggerSensitivityOverride """ _attribute_map = { @@ -17891,8 +18335,10 @@ class PublicIPAddress(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The public IP address SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param zones: A list of availability zones denoting the IP allocated for the resource needs to @@ -17901,29 +18347,29 @@ class PublicIPAddress(Resource): :param public_ip_allocation_method: The public IP address allocation method. Possible values include: "Static", "Dynamic". :type public_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param public_ip_address_version: The public IP address version. Possible values include: "IPv4", "IPv6". - :type public_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type public_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :ivar ip_configuration: The IP configuration associated with the public IP address. - :vartype ip_configuration: ~azure.mgmt.network.v2020_06_01.models.IPConfiguration + :vartype ip_configuration: ~azure.mgmt.network.v2020_07_01.models.IPConfiguration :param dns_settings: The FQDN of the DNS record associated with the public IP address. - :type dns_settings: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressDnsSettings + :type dns_settings: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressDnsSettings :param ddos_settings: The DDoS protection custom policy associated with the public IP address. - :type ddos_settings: ~azure.mgmt.network.v2020_06_01.models.DdosSettings + :type ddos_settings: ~azure.mgmt.network.v2020_07_01.models.DdosSettings :param ip_tags: The list of tags associated with the public IP address. - :type ip_tags: list[~azure.mgmt.network.v2020_06_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_07_01.models.IpTag] :param ip_address: The IP address associated with the public IP address resource. :type ip_address: str :param public_ip_prefix: The Public IP Prefix this Public IP Address should be allocated from. - :type public_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :param idle_timeout_in_minutes: The idle timeout of the public IP address. :type idle_timeout_in_minutes: int :ivar resource_guid: The resource GUID property of the public IP address resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -17941,6 +18387,7 @@ class PublicIPAddress(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'PublicIPAddressSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, @@ -17963,6 +18410,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, sku: Optional["PublicIPAddressSku"] = None, zones: Optional[List[str]] = None, public_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, @@ -17976,6 +18424,7 @@ def __init__( **kwargs ): super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.sku = sku self.etag = None self.zones = zones @@ -18033,7 +18482,7 @@ class PublicIPAddressListResult(msrest.serialization.Model): """Response for ListPublicIpAddresses API service call. :param value: A list of public IP addresses that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PublicIPAddress] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PublicIPAddress] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18059,21 +18508,26 @@ class PublicIPAddressSku(msrest.serialization.Model): """SKU of a public IP address. :param name: Name of a public IP address SKU. Possible values include: "Basic", "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.PublicIPAddressSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSkuName + :param tier: Tier of a public IP address SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( self, *, name: Optional[Union[str, "PublicIPAddressSkuName"]] = None, + tier: Optional[Union[str, "PublicIPAddressSkuTier"]] = None, **kwargs ): super(PublicIPAddressSku, self).__init__(**kwargs) self.name = name + self.tier = tier class PublicIPPrefix(Resource): @@ -18091,8 +18545,10 @@ class PublicIPPrefix(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :param sku: The public IP prefix SKU. - :type sku: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixSku + :type sku: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSku :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param zones: A list of availability zones denoting the IP allocated for the resource needs to @@ -18100,27 +18556,27 @@ class PublicIPPrefix(Resource): :type zones: list[str] :param public_ip_address_version: The public IP address version. Possible values include: "IPv4", "IPv6". - :type public_ip_address_version: str or ~azure.mgmt.network.v2020_06_01.models.IPVersion + :type public_ip_address_version: str or ~azure.mgmt.network.v2020_07_01.models.IPVersion :param ip_tags: The list of tags associated with the public IP prefix. - :type ip_tags: list[~azure.mgmt.network.v2020_06_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_07_01.models.IpTag] :param prefix_length: The Length of the Public IP Prefix. :type prefix_length: int :ivar ip_prefix: The allocated Prefix. :vartype ip_prefix: str :ivar public_ip_addresses: The list of all referenced PublicIPAddresses. :vartype public_ip_addresses: - list[~azure.mgmt.network.v2020_06_01.models.ReferencedPublicIpAddress] + list[~azure.mgmt.network.v2020_07_01.models.ReferencedPublicIpAddress] :ivar load_balancer_frontend_ip_configuration: The reference to load balancer frontend IP configuration associated with the public IP prefix. :vartype load_balancer_frontend_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.SubResource + ~azure.mgmt.network.v2020_07_01.models.SubResource :param custom_ip_prefix: The customIpPrefix that this prefix is associated with. - :type custom_ip_prefix: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type custom_ip_prefix: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar resource_guid: The resource GUID property of the public IP prefix resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18140,6 +18596,7 @@ class PublicIPPrefix(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'sku': {'key': 'sku', 'type': 'PublicIPPrefixSku'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, @@ -18160,6 +18617,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, sku: Optional["PublicIPPrefixSku"] = None, zones: Optional[List[str]] = None, public_ip_address_version: Optional[Union[str, "IPVersion"]] = None, @@ -18169,6 +18627,7 @@ def __init__( **kwargs ): super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.sku = sku self.etag = None self.zones = zones @@ -18187,7 +18646,7 @@ class PublicIPPrefixListResult(msrest.serialization.Model): """Response for ListPublicIpPrefixes API service call. :param value: A list of public IP prefixes that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix] + :type value: list[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18213,21 +18672,26 @@ class PublicIPPrefixSku(msrest.serialization.Model): """SKU of a public IP prefix. :param name: Name of a public IP prefix SKU. Possible values include: "Standard". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixSkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSkuName + :param tier: Tier of a public IP prefix SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixSkuTier """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, } def __init__( self, *, name: Optional[Union[str, "PublicIPPrefixSkuName"]] = None, + tier: Optional[Union[str, "PublicIPPrefixSkuTier"]] = None, **kwargs ): super(PublicIPPrefixSku, self).__init__(**kwargs) self.name = name + self.tier = tier class QosIpRange(msrest.serialization.Model): @@ -18360,7 +18824,7 @@ class RecordSet(msrest.serialization.Model): :type fqdn: str :ivar provisioning_state: The provisioning state of the recordset. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param ttl: Recordset time to live. :type ttl: int :param ip_addresses: The private ip address of the private endpoint. @@ -18440,7 +18904,7 @@ class ResourceNavigationLink(SubResource): :type link: str :ivar provisioning_state: The provisioning state of the resource navigation link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18483,7 +18947,7 @@ class ResourceNavigationLinksListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The resource navigation links in a subnet. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -18550,13 +19014,13 @@ class Route(SubResource): :type address_prefix: str :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". - :type next_hop_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteNextHopType + :type next_hop_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteNextHopType :param next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. :type next_hop_ip_address: str :ivar provisioning_state: The provisioning state of the route resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18611,14 +19075,14 @@ class RouteFilter(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type rules: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :ivar peerings: A collection of references to express route circuit peerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: list[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :ivar provisioning_state: The provisioning state of the route filter resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18664,7 +19128,7 @@ class RouteFilterListResult(msrest.serialization.Model): """Response for the ListRouteFilters API service call. :param value: A list of route filters in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteFilter] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteFilter] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18701,15 +19165,15 @@ class RouteFilterRule(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param access: The access type of the rule. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". - :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleType + :type route_filter_rule_type: str or ~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleType :param communities: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. :type communities: list[str] :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18753,7 +19217,7 @@ class RouteFilterRuleListResult(msrest.serialization.Model): """Response for the ListRouteFilterRules API service call. :param value: A list of RouteFilterRules in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18779,7 +19243,7 @@ class RouteListResult(msrest.serialization.Model): """Response for the ListRoute API service call. :param value: A list of routes in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Route] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Route] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18819,15 +19283,15 @@ class RouteTable(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param routes: Collection of routes contained within a route table. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.Route] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.Route] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param disable_bgp_route_propagation: Whether to disable the routes learned by BGP on that route table. True means disable. :type disable_bgp_route_propagation: bool :ivar provisioning_state: The provisioning state of the route table resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -18873,7 +19337,7 @@ class RouteTableListResult(msrest.serialization.Model): """Response for the ListRouteTable API service call. :param value: A list of route tables in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.RouteTable] + :type value: list[~azure.mgmt.network.v2020_07_01.models.RouteTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -18900,12 +19364,12 @@ class RoutingConfiguration(msrest.serialization.Model): :param associated_route_table: The resource id RouteTable associated with this RoutingConfiguration. - :type associated_route_table: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type associated_route_table: ~azure.mgmt.network.v2020_07_01.models.SubResource :param propagated_route_tables: The list of RouteTables to advertise the routes to. - :type propagated_route_tables: ~azure.mgmt.network.v2020_06_01.models.PropagatedRouteTable + :type propagated_route_tables: ~azure.mgmt.network.v2020_07_01.models.PropagatedRouteTable :param vnet_routes: List of routes that control routing from VirtualHub into a virtual network connection. - :type vnet_routes: ~azure.mgmt.network.v2020_06_01.models.VnetRoute + :type vnet_routes: ~azure.mgmt.network.v2020_07_01.models.VnetRoute """ _attribute_map = { @@ -18935,7 +19399,7 @@ class SecurityGroupNetworkInterface(msrest.serialization.Model): :type id: str :param security_rule_associations: All security rules associated with the network interface. :type security_rule_associations: - ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAssociations + ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAssociations """ _attribute_map = { @@ -18987,7 +19451,7 @@ class SecurityGroupViewResult(msrest.serialization.Model): :param network_interfaces: List of network interfaces on the specified VM. :type network_interfaces: - list[~azure.mgmt.network.v2020_06_01.models.SecurityGroupNetworkInterface] + list[~azure.mgmt.network.v2020_07_01.models.SecurityGroupNetworkInterface] """ _attribute_map = { @@ -19023,17 +19487,17 @@ class SecurityPartnerProvider(Resource): :vartype etag: str :ivar provisioning_state: The provisioning state of the Security Partner Provider resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param security_provider_name: The security provider name. Possible values include: "ZScaler", "IBoss", "Checkpoint". :type security_provider_name: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityProviderName + ~azure.mgmt.network.v2020_07_01.models.SecurityProviderName :ivar connection_status: The connection status with the Security Partner Provider. Possible values include: "Unknown", "PartiallyConnected", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderConnectionStatus :param virtual_hub: The virtualHub to which the Security Partner Provider belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _validation = { @@ -19079,7 +19543,7 @@ class SecurityPartnerProviderListResult(msrest.serialization.Model): """Response for ListSecurityPartnerProviders API service call. :param value: List of Security Partner Providers in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider] + :type value: list[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -19117,7 +19581,7 @@ class SecurityRule(SubResource): :type description: str :param protocol: Network protocol this rule applies to. Possible values include: "Tcp", "Udp", "Icmp", "Esp", "*", "Ah". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleProtocol :param source_port_range: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. :type source_port_range: str @@ -19132,7 +19596,7 @@ class SecurityRule(SubResource): :type source_address_prefixes: list[str] :param source_application_security_groups: The application security group specified as source. :type source_application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :param destination_address_prefix: The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. @@ -19143,24 +19607,24 @@ class SecurityRule(SubResource): :param destination_application_security_groups: The application security group specified as destination. :type destination_application_security_groups: - list[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :param source_port_ranges: The source port ranges. :type source_port_ranges: list[str] :param destination_port_ranges: The destination port ranges. :type destination_port_ranges: list[str] :param access: The network traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleAccess + :type access: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleAccess :param priority: The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. :type priority: int :param direction: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.SecurityRuleDirection + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.SecurityRuleDirection :ivar provisioning_state: The provisioning state of the security rule resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19238,15 +19702,15 @@ class SecurityRuleAssociations(msrest.serialization.Model): :param network_interface_association: Network interface and it's custom security rules. :type network_interface_association: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceAssociation + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceAssociation :param subnet_association: Subnet and it's custom security rules. - :type subnet_association: ~azure.mgmt.network.v2020_06_01.models.SubnetAssociation + :type subnet_association: ~azure.mgmt.network.v2020_07_01.models.SubnetAssociation :param default_security_rules: Collection of default security rules of the network security group. - :type default_security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type default_security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :param effective_security_rules: Collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityRule] """ _attribute_map = { @@ -19276,7 +19740,7 @@ class SecurityRuleListResult(msrest.serialization.Model): """Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. :param value: The security rules in a network security group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type value: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -19318,7 +19782,7 @@ class ServiceAssociationLink(SubResource): :type link: str :ivar provisioning_state: The provisioning state of the service association link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param allow_delete: If true, the resource can be deleted. :type allow_delete: bool :param locations: A list of locations. @@ -19371,7 +19835,7 @@ class ServiceAssociationLinksListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The service association links in a subnet. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLink] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -19416,14 +19880,14 @@ class ServiceEndpointPolicy(Resource): :param service_endpoint_policy_definitions: A collection of service endpoint policy definitions of the service endpoint policy. :type service_endpoint_policy_definitions: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :ivar resource_guid: The resource GUID property of the service endpoint policy resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the service endpoint policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19485,7 +19949,7 @@ class ServiceEndpointPolicyDefinition(SubResource): :type service_resources: list[str] :ivar provisioning_state: The provisioning state of the service endpoint policy definition resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19526,7 +19990,7 @@ class ServiceEndpointPolicyDefinitionListResult(msrest.serialization.Model): """Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy. :param value: The service endpoint policy definition in a service endpoint policy. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -19554,7 +20018,7 @@ class ServiceEndpointPolicyListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of ServiceEndpointPolicy resources. - :type value: list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + :type value: list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -19590,7 +20054,7 @@ class ServiceEndpointPropertiesFormat(msrest.serialization.Model): :type locations: list[str] :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -19623,7 +20087,7 @@ class ServiceTagInformation(msrest.serialization.Model): :ivar properties: Properties of the service tag information. :vartype properties: - ~azure.mgmt.network.v2020_06_01.models.ServiceTagInformationPropertiesFormat + ~azure.mgmt.network.v2020_07_01.models.ServiceTagInformationPropertiesFormat :ivar name: The name of service tag. :vartype name: str :ivar id: The ID of service tag. @@ -19708,7 +20172,9 @@ class ServiceTagsListResult(msrest.serialization.Model): :ivar cloud: The name of the cloud. :vartype cloud: str :ivar values: The list of service tag information resources. - :vartype values: list[~azure.mgmt.network.v2020_06_01.models.ServiceTagInformation] + :vartype values: list[~azure.mgmt.network.v2020_07_01.models.ServiceTagInformation] + :ivar next_link: The URL to get next page of service tag information resources. + :vartype next_link: str """ _validation = { @@ -19718,6 +20184,7 @@ class ServiceTagsListResult(msrest.serialization.Model): 'change_number': {'readonly': True}, 'cloud': {'readonly': True}, 'values': {'readonly': True}, + 'next_link': {'readonly': True}, } _attribute_map = { @@ -19727,6 +20194,7 @@ class ServiceTagsListResult(msrest.serialization.Model): 'change_number': {'key': 'changeNumber', 'type': 'str'}, 'cloud': {'key': 'cloud', 'type': 'str'}, 'values': {'key': 'values', 'type': '[ServiceTagInformation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( @@ -19740,6 +20208,7 @@ def __init__( self.change_number = None self.cloud = None self.values = None + self.next_link = None class SessionIds(msrest.serialization.Model): @@ -19811,42 +20280,42 @@ class Subnet(SubResource): :param address_prefixes: List of address prefixes for the subnet. :type address_prefixes: list[str] :param network_security_group: The reference to the NetworkSecurityGroup resource. - :type network_security_group: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type network_security_group: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :param route_table: The reference to the RouteTable resource. - :type route_table: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :type route_table: ~azure.mgmt.network.v2020_07_01.models.RouteTable :param nat_gateway: Nat gateway associated with this subnet. - :type nat_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param service_endpoints: An array of service endpoints. :type service_endpoints: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPropertiesFormat] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPropertiesFormat] :param service_endpoint_policies: An array of service endpoint policies. :type service_endpoint_policies: - list[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + list[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :ivar private_endpoints: An array of references to private endpoints. - :vartype private_endpoints: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :vartype private_endpoints: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :ivar ip_configurations: An array of references to the network interface IP configurations using subnet. - :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.IPConfiguration] + :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.IPConfiguration] :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this subnet. :vartype ip_configuration_profiles: - list[~azure.mgmt.network.v2020_06_01.models.IPConfigurationProfile] + list[~azure.mgmt.network.v2020_07_01.models.IPConfigurationProfile] :param ip_allocations: Array of IpAllocation which reference this subnet. - :type ip_allocations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ip_allocations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar resource_navigation_links: An array of references to the external resources using subnet. :vartype resource_navigation_links: - list[~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLink] + list[~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLink] :ivar service_association_links: An array of references to services injecting into this subnet. :vartype service_association_links: - list[~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLink] + list[~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLink] :param delegations: An array of references to the delegations on the subnet. - :type delegations: list[~azure.mgmt.network.v2020_06_01.models.Delegation] + :type delegations: list[~azure.mgmt.network.v2020_07_01.models.Delegation] :ivar purpose: A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. :vartype purpose: str :ivar provisioning_state: The provisioning state of the subnet resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private end point in the subnet. :type private_endpoint_network_policies: str @@ -19939,7 +20408,7 @@ class SubnetAssociation(msrest.serialization.Model): :ivar id: Subnet ID. :vartype id: str :param security_rules: Collection of custom security rules. - :type security_rules: list[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :type security_rules: list[~azure.mgmt.network.v2020_07_01.models.SecurityRule] """ _validation = { @@ -19966,7 +20435,7 @@ class SubnetListResult(msrest.serialization.Model): """Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. :param value: The subnets in a virtual network. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -20022,7 +20491,7 @@ class Topology(msrest.serialization.Model): :ivar last_modified: The datetime when the topology was last modified. :vartype last_modified: ~datetime.datetime :param resources: A list of topology resources. - :type resources: list[~azure.mgmt.network.v2020_06_01.models.TopologyResource] + :type resources: list[~azure.mgmt.network.v2020_07_01.models.TopologyResource] """ _validation = { @@ -20060,7 +20529,7 @@ class TopologyAssociation(msrest.serialization.Model): :type resource_id: str :param association_type: The association type of the child resource to the parent resource. Possible values include: "Associated", "Contains". - :type association_type: str or ~azure.mgmt.network.v2020_06_01.models.AssociationType + :type association_type: str or ~azure.mgmt.network.v2020_07_01.models.AssociationType """ _attribute_map = { @@ -20090,9 +20559,9 @@ class TopologyParameters(msrest.serialization.Model): on. :type target_resource_group_name: str :param target_virtual_network: The reference to the Virtual Network resource. - :type target_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param target_subnet: The reference to the Subnet resource. - :type target_subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type target_subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource """ _attribute_map = { @@ -20126,7 +20595,7 @@ class TopologyResource(msrest.serialization.Model): :type location: str :param associations: Holds the associations the resource has with other resources in the resource group. - :type associations: list[~azure.mgmt.network.v2020_06_01.models.TopologyAssociation] + :type associations: list[~azure.mgmt.network.v2020_07_01.models.TopologyAssociation] """ _attribute_map = { @@ -20200,7 +20669,7 @@ class TrafficAnalyticsProperties(msrest.serialization.Model): :param network_watcher_flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type network_watcher_flow_analytics_configuration: - ~azure.mgmt.network.v2020_06_01.models.TrafficAnalyticsConfigurationProperties + ~azure.mgmt.network.v2020_07_01.models.TrafficAnalyticsConfigurationProperties """ _attribute_map = { @@ -20263,7 +20732,7 @@ class TroubleshootingDetails(msrest.serialization.Model): :type detail: str :param recommended_actions: List of recommended actions. :type recommended_actions: - list[~azure.mgmt.network.v2020_06_01.models.TroubleshootingRecommendedActions] + list[~azure.mgmt.network.v2020_07_01.models.TroubleshootingRecommendedActions] """ _attribute_map = { @@ -20379,7 +20848,7 @@ class TroubleshootingResult(msrest.serialization.Model): :param code: The result code of the troubleshooting. :type code: str :param results: Information from troubleshooting. - :type results: list[~azure.mgmt.network.v2020_06_01.models.TroubleshootingDetails] + :type results: list[~azure.mgmt.network.v2020_07_01.models.TroubleshootingDetails] """ _attribute_map = { @@ -20415,7 +20884,7 @@ class TunnelConnectionHealth(msrest.serialization.Model): :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: The Egress Bytes Transferred in this connection. @@ -20485,13 +20954,13 @@ class Usage(msrest.serialization.Model): :vartype id: str :param unit: Required. An enum describing the unit of measurement. Possible values include: "Count". - :type unit: str or ~azure.mgmt.network.v2020_06_01.models.UsageUnit + :type unit: str or ~azure.mgmt.network.v2020_07_01.models.UsageUnit :param current_value: Required. The current value of the usage. :type current_value: long :param limit: Required. The limit of usage. :type limit: long :param name: Required. The name of the type of usage. - :type name: ~azure.mgmt.network.v2020_06_01.models.UsageName + :type name: ~azure.mgmt.network.v2020_07_01.models.UsageName """ _validation = { @@ -20557,7 +21026,7 @@ class UsagesListResult(msrest.serialization.Model): """The list usages operation response. :param value: The list network resource usages. - :type value: list[~azure.mgmt.network.v2020_06_01.models.Usage] + :type value: list[~azure.mgmt.network.v2020_07_01.models.Usage] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -20588,9 +21057,9 @@ class VerificationIPFlowParameters(msrest.serialization.Model): :type target_resource_id: str :param direction: Required. The direction of the packet represented as a 5-tuple. Possible values include: "Inbound", "Outbound". - :type direction: str or ~azure.mgmt.network.v2020_06_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_07_01.models.Direction :param protocol: Required. Protocol to be verified on. Possible values include: "TCP", "UDP". - :type protocol: str or ~azure.mgmt.network.v2020_06_01.models.IpFlowProtocol + :type protocol: str or ~azure.mgmt.network.v2020_07_01.models.IpFlowProtocol :param local_port: Required. The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. :type local_port: str @@ -20658,7 +21127,7 @@ class VerificationIPFlowResult(msrest.serialization.Model): :param access: Indicates whether the traffic is allowed or denied. Possible values include: "Allow", "Deny". - :type access: str or ~azure.mgmt.network.v2020_06_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_07_01.models.Access :param rule_name: Name of the rule. If input is not matched against any security rule, it is not displayed. :type rule_name: str @@ -20732,10 +21201,10 @@ class VirtualApplianceSite(SubResource): :param address_prefix: Address Prefix. :type address_prefix: str :param o365_policy: Office 365 Policy. - :type o365_policy: ~azure.mgmt.network.v2020_06_01.models.Office365PolicyProperties + :type o365_policy: ~azure.mgmt.network.v2020_07_01.models.Office365PolicyProperties :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -20821,46 +21290,45 @@ class VirtualHub(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. - :type virtual_wan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param vpn_gateway: The VpnGateway associated with this VirtualHub. - :type vpn_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param p2_s_vpn_gateway: The P2SVpnGateway associated with this VirtualHub. - :type p2_s_vpn_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type p2_s_vpn_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. - :type express_route_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type express_route_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :param azure_firewall: The azureFirewall associated with this VirtualHub. - :type azure_firewall: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type azure_firewall: ~azure.mgmt.network.v2020_07_01.models.SubResource :param security_partner_provider: The securityPartnerProvider associated with this VirtualHub. - :type security_partner_provider: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type security_partner_provider: ~azure.mgmt.network.v2020_07_01.models.SubResource :param address_prefix: Address-prefix for this VirtualHub. :type address_prefix: str :param route_table: The routeTable associated with this virtual hub. - :type route_table: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTable + :type route_table: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTable :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param security_provider_name: The Security Provider name. :type security_provider_name: str :param virtual_hub_route_table_v2_s: List of all virtual hub route table v2s associated with this VirtualHub. :type virtual_hub_route_table_v2_s: - list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :param sku: The sku of this VirtualHub. :type sku: str :ivar routing_state: The routing state. Possible values include: "None", "Provisioned", "Provisioning", "Failed". - :vartype routing_state: str or ~azure.mgmt.network.v2020_06_01.models.RoutingState + :vartype routing_state: str or ~azure.mgmt.network.v2020_07_01.models.RoutingState :ivar bgp_connections: List of references to Bgp Connections. - :vartype bgp_connections: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype bgp_connections: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar ip_configurations: List of references to IpConfigurations. - :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param virtual_router_asn: VirtualRouter ASN. :type virtual_router_asn: long :param virtual_router_ips: VirtualRouter IPs. :type virtual_router_ips: list[str] - :param enable_virtual_router_route_propogation: Flag to control route propogation for - VirtualRouter hub. - :type enable_virtual_router_route_propogation: bool + :param allow_branch_to_branch_traffic: Flag to control transit for VirtualRouter hub. + :type allow_branch_to_branch_traffic: bool """ _validation = { @@ -20898,7 +21366,7 @@ class VirtualHub(Resource): 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[SubResource]'}, 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, - 'enable_virtual_router_route_propogation': {'key': 'properties.enableVirtualRouterRoutePropogation', 'type': 'bool'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, } def __init__( @@ -20920,7 +21388,7 @@ def __init__( sku: Optional[str] = None, virtual_router_asn: Optional[int] = None, virtual_router_ips: Optional[List[str]] = None, - enable_virtual_router_route_propogation: Optional[bool] = None, + allow_branch_to_branch_traffic: Optional[bool] = None, **kwargs ): super(VirtualHub, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -20942,7 +21410,7 @@ def __init__( self.ip_configurations = None self.virtual_router_asn = virtual_router_asn self.virtual_router_ips = virtual_router_ips - self.enable_virtual_router_route_propogation = enable_virtual_router_route_propogation + self.allow_branch_to_branch_traffic = allow_branch_to_branch_traffic class VirtualHubEffectiveRoute(msrest.serialization.Model): @@ -20991,7 +21459,7 @@ class VirtualHubEffectiveRouteList(msrest.serialization.Model): :param value: The list of effective routes configured on the virtual hub or the specified resource. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubEffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubEffectiveRoute] """ _attribute_map = { @@ -21061,7 +21529,7 @@ class VirtualHubRouteTable(msrest.serialization.Model): """VirtualHub route table. :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRoute] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRoute] """ _attribute_map = { @@ -21091,12 +21559,12 @@ class VirtualHubRouteTableV2(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteV2] + :type routes: list[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteV2] :param attached_connections: List of all connections attached to this route table v2. :type attached_connections: list[str] :ivar provisioning_state: The provisioning state of the virtual hub route table v2 resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -21181,24 +21649,26 @@ class VirtualNetwork(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of the virtual network. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param address_space: The AddressSpace that contains an array of IP address ranges that can be used by subnets. - :type address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param dhcp_options: The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network. - :type dhcp_options: ~azure.mgmt.network.v2020_06_01.models.DhcpOptions + :type dhcp_options: ~azure.mgmt.network.v2020_07_01.models.DhcpOptions :param subnets: A list of subnets in a Virtual Network. - :type subnets: list[~azure.mgmt.network.v2020_06_01.models.Subnet] + :type subnets: list[~azure.mgmt.network.v2020_07_01.models.Subnet] :param virtual_network_peerings: A list of peerings in a Virtual Network. :type virtual_network_peerings: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :ivar resource_guid: The resourceGuid property of the Virtual Network resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param enable_ddos_protection: Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. @@ -21207,12 +21677,12 @@ class VirtualNetwork(Resource): virtual network. :type enable_vm_protection: bool :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. - :type ddos_protection_plan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type ddos_protection_plan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param bgp_communities: Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - :type bgp_communities: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkBgpCommunities + :type bgp_communities: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkBgpCommunities :param ip_allocations: Array of IpAllocation which reference this VNET. - :type ip_allocations: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :type ip_allocations: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -21229,6 +21699,7 @@ class VirtualNetwork(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, 'dhcp_options': {'key': 'properties.dhcpOptions', 'type': 'DhcpOptions'}, @@ -21249,6 +21720,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, address_space: Optional["AddressSpace"] = None, dhcp_options: Optional["DhcpOptions"] = None, subnets: Optional[List["Subnet"]] = None, @@ -21261,6 +21733,7 @@ def __init__( **kwargs ): super(VirtualNetwork, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.etag = None self.address_space = address_space self.dhcp_options = dhcp_options @@ -21356,17 +21829,17 @@ class VirtualNetworkGateway(Resource): :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. :type ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayIPConfiguration] :param gateway_type: The type of this virtual network gateway. Possible values include: "Vpn", - "ExpressRoute". - :type gateway_type: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayType + "ExpressRoute", "LocalGateway". + :type gateway_type: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayType :param vpn_type: The type of this virtual network gateway. Possible values include: "PolicyBased", "RouteBased". - :type vpn_type: str or ~azure.mgmt.network.v2020_06_01.models.VpnType + :type vpn_type: str or ~azure.mgmt.network.v2020_07_01.models.VpnType :param vpn_gateway_generation: The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: "None", "Generation1", "Generation2". :type vpn_gateway_generation: str or - ~azure.mgmt.network.v2020_06_01.models.VpnGatewayGeneration + ~azure.mgmt.network.v2020_07_01.models.VpnGatewayGeneration :param enable_bgp: Whether BGP is enabled for this virtual network gateway or not. :type enable_bgp: bool :param enable_private_ip_address: Whether private IP needs to be enabled on this gateway for @@ -21377,28 +21850,33 @@ class VirtualNetworkGateway(Resource): :param gateway_default_site: The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. - :type gateway_default_site: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type gateway_default_site: ~azure.mgmt.network.v2020_07_01.models.SubResource :param sku: The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. - :type sku: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySku + :type sku: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySku :param vpn_client_configuration: The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations. - :type vpn_client_configuration: ~azure.mgmt.network.v2020_06_01.models.VpnClientConfiguration + :type vpn_client_configuration: ~azure.mgmt.network.v2020_07_01.models.VpnClientConfiguration :param bgp_settings: Virtual network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :param custom_routes: The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient. - :type custom_routes: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type custom_routes: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :ivar resource_guid: The resource GUID property of the virtual network gateway resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param enable_dns_forwarding: Whether dns forwarding is enabled or not. :type enable_dns_forwarding: bool :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str + :param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id. + VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :type virtual_network_extended_location_resource_id: str + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation """ _validation = { @@ -21433,6 +21911,8 @@ class VirtualNetworkGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, + 'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'}, + 'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -21454,6 +21934,8 @@ def __init__( bgp_settings: Optional["BgpSettings"] = None, custom_routes: Optional["AddressSpace"] = None, enable_dns_forwarding: Optional[bool] = None, + virtual_network_extended_location_resource_id: Optional[str] = None, + extended_location: Optional["ExtendedLocation"] = None, **kwargs ): super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -21474,6 +21956,8 @@ def __init__( self.provisioning_state = None self.enable_dns_forwarding = enable_dns_forwarding self.inbound_dns_forwarding_endpoint = None + self.virtual_network_extended_location_resource_id = virtual_network_extended_location_resource_id + self.extended_location = extended_location class VirtualNetworkGatewayConnection(Resource): @@ -21498,38 +21982,40 @@ class VirtualNetworkGatewayConnection(Resource): :param authorization_key: The authorizationKey. :type authorization_key: str :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. - :type virtual_network_gateway1: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type virtual_network_gateway1: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :param virtual_network_gateway2: The reference to virtual network gateway resource. - :type virtual_network_gateway2: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type virtual_network_gateway2: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :param local_network_gateway2: The reference to local network gateway resource. - :type local_network_gateway2: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :type local_network_gateway2: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", "Vnet2Vnet", "ExpressRoute", "VPNClient". :type connection_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionType :param connection_protocol: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type connection_protocol: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param dpd_timeout_seconds: The dead peer detection timeout of this connection in seconds. :type dpd_timeout_seconds: int + :param connection_mode: The connection mode for this connection. + :type connection_mode: str :param shared_key: The IPSec shared key. :type shared_key: str :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2020_06_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_07_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_local_azure_ip_address: Use private local Azure IP for the connection. @@ -21537,17 +22023,17 @@ class VirtualNetworkGatewayConnection(Resource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param traffic_selector_policies: The Traffic Selector Policies to be considered by this connection. :type traffic_selector_policies: - list[~azure.mgmt.network.v2020_06_01.models.TrafficSelectorPolicy] + list[~azure.mgmt.network.v2020_07_01.models.TrafficSelectorPolicy] :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool """ @@ -21581,6 +22067,7 @@ class VirtualNetworkGatewayConnection(Resource): 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, @@ -21611,6 +22098,7 @@ def __init__( connection_protocol: Optional[Union[str, "VirtualNetworkGatewayConnectionProtocol"]] = None, routing_weight: Optional[int] = None, dpd_timeout_seconds: Optional[int] = None, + connection_mode: Optional[str] = None, shared_key: Optional[str] = None, peer: Optional["SubResource"] = None, enable_bgp: Optional[bool] = None, @@ -21631,6 +22119,7 @@ def __init__( self.connection_protocol = connection_protocol self.routing_weight = routing_weight self.dpd_timeout_seconds = dpd_timeout_seconds + self.connection_mode = connection_mode self.shared_key = shared_key self.connection_status = None self.tunnel_connection_status = None @@ -21670,21 +22159,21 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :type authorization_key: str :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkConnectionGatewayReference :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", "Vnet2Vnet", "ExpressRoute", "VPNClient". :type connection_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionType :param connection_protocol: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type connection_protocol: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param shared_key: The IPSec shared key. @@ -21692,32 +22181,32 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :ivar connection_status: Virtual Network Gateway connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". :vartype connection_status: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2020_06_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_07_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_07_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param traffic_selector_policies: The Traffic Selector Policies to be considered by this connection. :type traffic_selector_policies: - list[~azure.mgmt.network.v2020_06_01.models.TrafficSelectorPolicy] + list[~azure.mgmt.network.v2020_07_01.models.TrafficSelectorPolicy] :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network gateway connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool """ @@ -21818,7 +22307,7 @@ class VirtualNetworkGatewayConnectionListResult(msrest.serialization.Model): :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -21858,16 +22347,16 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): :param private_ip_allocation_method: The private IP address allocation method. Possible values include: "Static", "Dynamic". :type private_ip_allocation_method: str or - ~azure.mgmt.network.v2020_06_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_07_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param public_ip_address: The reference to the public IP resource. - :type public_ip_address: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type public_ip_address: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar private_ip_address: Private IP Address for this gateway. :vartype private_ip_address: str :ivar provisioning_state: The provisioning state of the virtual network gateway IP configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -21915,7 +22404,7 @@ class VirtualNetworkGatewayListConnectionsResult(msrest.serialization.Model): :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. :type value: - list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionListEntity] + list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionListEntity] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -21946,7 +22435,7 @@ class VirtualNetworkGatewayListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: A list of VirtualNetworkGateway resources that exists in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -21979,11 +22468,11 @@ class VirtualNetworkGatewaySku(msrest.serialization.Model): :param name: Gateway SKU name. Possible values include: "Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". - :type name: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySkuName + :type name: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySkuName :param tier: Gateway SKU tier. Possible values include: "Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". - :type tier: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewaySkuTier + :type tier: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewaySkuTier :ivar capacity: The capacity. :vartype capacity: int """ @@ -22015,7 +22504,7 @@ class VirtualNetworkListResult(msrest.serialization.Model): """Response for the ListVirtualNetworks API service call. :param value: A list of VirtualNetwork resources in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetwork] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetwork] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -22043,7 +22532,7 @@ class VirtualNetworkListUsageResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: VirtualNetwork usage stats. - :vartype value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkUsage] + :vartype value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkUsage] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -22098,18 +22587,29 @@ class VirtualNetworkPeering(SubResource): network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- peering). - :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource - :param remote_address_space: The reference to the remote virtual network address space. - :type remote_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource + :param remote_address_space: The reference to the address space peered with the remote virtual + network. + :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace + :param remote_virtual_network_address_space: The reference to the current address space of the + remote virtual network. + :type remote_virtual_network_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. :type remote_bgp_communities: - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkBgpCommunities + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkBgpCommunities :param peering_state: The status of the virtual network peering. Possible values include: "Initiated", "Connected", "Disconnected". - :type peering_state: str or ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeeringState + :type peering_state: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState + :param peering_sync_level: The peering sync status of the virtual network peering. Possible + values include: "FullySynced", "RemoteUnsynced", "LocalUnsynced", "LocalAndRemoteUnsynced". + :type peering_sync_level: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel + :param sync_remote_address_space: Provided when user wants to sync the peering with address + space on the remote virtual network after the address space is updated. + :type sync_remote_address_space: bool :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -22127,8 +22627,11 @@ class VirtualNetworkPeering(SubResource): 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, + 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, + 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, + 'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -22143,8 +22646,11 @@ def __init__( use_remote_gateways: Optional[bool] = None, remote_virtual_network: Optional["SubResource"] = None, remote_address_space: Optional["AddressSpace"] = None, + remote_virtual_network_address_space: Optional["AddressSpace"] = None, remote_bgp_communities: Optional["VirtualNetworkBgpCommunities"] = None, peering_state: Optional[Union[str, "VirtualNetworkPeeringState"]] = None, + peering_sync_level: Optional[Union[str, "VirtualNetworkPeeringLevel"]] = None, + sync_remote_address_space: Optional[bool] = False, **kwargs ): super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) @@ -22156,8 +22662,11 @@ def __init__( self.use_remote_gateways = use_remote_gateways self.remote_virtual_network = remote_virtual_network self.remote_address_space = remote_address_space + self.remote_virtual_network_address_space = remote_virtual_network_address_space self.remote_bgp_communities = remote_bgp_communities self.peering_state = peering_state + self.peering_sync_level = peering_sync_level + self.sync_remote_address_space = sync_remote_address_space self.provisioning_state = None @@ -22165,7 +22674,7 @@ class VirtualNetworkPeeringListResult(msrest.serialization.Model): """Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network. :param value: The peerings in a virtual network. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -22207,20 +22716,20 @@ class VirtualNetworkTap(Resource): :ivar network_interface_tap_configurations: Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. :vartype network_interface_tap_configurations: - list[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :ivar resource_guid: The resource GUID property of the virtual network tap resource. :vartype resource_guid: str :ivar provisioning_state: The provisioning state of the virtual network tap resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param destination_network_interface_ip_configuration: The reference to the private IP Address of the collector nic that will receive the tap. :type destination_network_interface_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :param destination_load_balancer_front_end_ip_configuration: The reference to the private IP address on the internal Load Balancer that will receive the tap. :type destination_load_balancer_front_end_ip_configuration: - ~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration + ~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration :param destination_port: The VXLAN destination port that will receive the tapped traffic. :type destination_port: int """ @@ -22274,7 +22783,7 @@ class VirtualNetworkTapListResult(msrest.serialization.Model): """Response for ListVirtualNetworkTap API service call. :param value: A list of VirtualNetworkTaps in a resource group. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -22308,7 +22817,7 @@ class VirtualNetworkUsage(msrest.serialization.Model): :ivar limit: Indicates the size of the subnet. :vartype limit: float :ivar name: The name containing common and localized value for usage. - :vartype name: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkUsageName + :vartype name: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkUsageName :ivar unit: Usage units. Returns 'Count'. :vartype unit: str """ @@ -22393,14 +22902,14 @@ class VirtualRouter(Resource): :param virtual_router_ips: VirtualRouter IPs. :type virtual_router_ips: list[str] :param hosted_subnet: The Subnet on which VirtualRouter is hosted. - :type hosted_subnet: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type hosted_subnet: ~azure.mgmt.network.v2020_07_01.models.SubResource :param hosted_gateway: The Gateway on which VirtualRouter is hosted. - :type hosted_gateway: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type hosted_gateway: ~azure.mgmt.network.v2020_07_01.models.SubResource :ivar peerings: List of references to VirtualRouterPeerings. - :vartype peerings: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype peerings: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -22453,7 +22962,7 @@ class VirtualRouterListResult(msrest.serialization.Model): """Response for ListVirtualRouters API service call. :param value: List of Virtual Routers. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualRouter] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualRouter] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -22494,7 +23003,7 @@ class VirtualRouterPeering(SubResource): :type peer_ip: str :ivar provisioning_state: The provisioning state of the resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -22536,7 +23045,7 @@ class VirtualRouterPeeringListResult(msrest.serialization.Model): """Response for ListVirtualRouterPeerings API service call. :param value: List of VirtualRouterPeerings in a VirtualRouter. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering] :param next_link: URL to get the next set of results. :type next_link: str """ @@ -22578,9 +23087,9 @@ class VirtualWAN(Resource): :param disable_vpn_encryption: Vpn encryption to be disabled or not. :type disable_vpn_encryption: bool :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. - :vartype virtual_hubs: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype virtual_hubs: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar vpn_sites: List of VpnSites in the VirtualWAN. - :vartype vpn_sites: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype vpn_sites: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. :type allow_branch_to_branch_traffic: bool :param allow_vnet_to_vnet_traffic: True if Vnet to Vnet traffic is allowed. @@ -22588,10 +23097,10 @@ class VirtualWAN(Resource): :ivar office365_local_breakout_category: The office local breakout category. Possible values include: "Optimize", "OptimizeAndAllow", "All", "None". :vartype office365_local_breakout_category: str or - ~azure.mgmt.network.v2020_06_01.models.OfficeTrafficCategory + ~azure.mgmt.network.v2020_07_01.models.OfficeTrafficCategory :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param type_properties_type: The type of the VirtualWAN. :type type_properties_type: str """ @@ -22657,7 +23166,7 @@ class VirtualWanSecurityProvider(msrest.serialization.Model): :param url: Url of the security provider. :type url: str :ivar type: Name of the security provider. Possible values include: "External", "Native". - :vartype type: str or ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviderType + :vartype type: str or ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviderType """ _validation = { @@ -22688,7 +23197,7 @@ class VirtualWanSecurityProviders(msrest.serialization.Model): :param supported_providers: List of VirtualWAN security providers. :type supported_providers: - list[~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProvider] + list[~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProvider] """ _attribute_map = { @@ -22713,7 +23222,7 @@ class VirtualWanVpnProfileParameters(msrest.serialization.Model): :type vpn_server_configuration_resource_id: str :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod """ _attribute_map = { @@ -22778,7 +23287,7 @@ class VnetRoute(msrest.serialization.Model): """List of routes that control routing from VirtualHub into a virtual network connection. :param static_routes: List of all Static Routes. - :type static_routes: list[~azure.mgmt.network.v2020_06_01.models.StaticRoute] + :type static_routes: list[~azure.mgmt.network.v2020_07_01.models.StaticRoute] """ _attribute_map = { @@ -22800,20 +23309,20 @@ class VpnClientConfiguration(msrest.serialization.Model): :param vpn_client_address_pool: The reference to the address space resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type vpn_client_address_pool: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnClientRootCertificate] :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network gateway. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnClientRevokedCertificate] :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. :type vpn_client_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnClientProtocol] + ~azure.mgmt.network.v2020_07_01.models.VpnClientProtocol] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S client. - :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param radius_server_address: The radius server address property of the VirtualNetworkGateway resource for vpn client connection. :type radius_server_address: str @@ -22821,7 +23330,7 @@ class VpnClientConfiguration(msrest.serialization.Model): for vpn client connection. :type radius_server_secret: str :param radius_servers: The radiusServers property for multiple radius server configuration. - :type radius_servers: list[~azure.mgmt.network.v2020_06_01.models.RadiusServer] + :type radius_servers: list[~azure.mgmt.network.v2020_07_01.models.RadiusServer] :param aad_tenant: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. :type aad_tenant: str @@ -23004,7 +23513,7 @@ class VpnClientConnectionHealthDetailListResult(msrest.serialization.Model): """List of virtual network gateway vpn client connection health. :param value: List of vpn client connection health. - :type value: list[~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealthDetail] + :type value: list[~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealthDetail] """ _attribute_map = { @@ -23035,23 +23544,23 @@ class VpnClientIPsecParameters(msrest.serialization.Model): :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IpsecEncryption + :type ipsec_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IpsecEncryption :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". - :type ipsec_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IpsecIntegrity + :type ipsec_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IpsecIntegrity :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". - :type ike_encryption: str or ~azure.mgmt.network.v2020_06_01.models.IkeEncryption + :type ike_encryption: str or ~azure.mgmt.network.v2020_07_01.models.IkeEncryption :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". - :type ike_integrity: str or ~azure.mgmt.network.v2020_06_01.models.IkeIntegrity + :type ike_integrity: str or ~azure.mgmt.network.v2020_07_01.models.IkeIntegrity :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", "DHGroup24". - :type dh_group: str or ~azure.mgmt.network.v2020_06_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_07_01.models.DhGroup :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". - :type pfs_group: str or ~azure.mgmt.network.v2020_06_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_07_01.models.PfsGroup """ _validation = { @@ -23106,10 +23615,10 @@ class VpnClientParameters(msrest.serialization.Model): :param processor_architecture: VPN client Processor Architecture. Possible values include: "Amd64", "X86". :type processor_architecture: str or - ~azure.mgmt.network.v2020_06_01.models.ProcessorArchitecture + ~azure.mgmt.network.v2020_07_01.models.ProcessorArchitecture :param authentication_method: VPN client authentication method. Possible values include: "EAPTLS", "EAPMSCHAPv2". - :type authentication_method: str or ~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod + :type authentication_method: str or ~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod :param radius_server_auth_certificate: The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication. @@ -23159,7 +23668,7 @@ class VpnClientRevokedCertificate(SubResource): :type thumbprint: str :ivar provisioning_state: The provisioning state of the VPN client revoked certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -23208,7 +23717,7 @@ class VpnClientRootCertificate(SubResource): :type public_cert_data: str :ivar provisioning_state: The provisioning state of the VPN client root certificate resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -23253,18 +23762,18 @@ class VpnConnection(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param remote_vpn_site: Id of the connected vpn site. - :type remote_vpn_site: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type remote_vpn_site: ~azure.mgmt.network.v2020_07_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :param dpd_timeout_seconds: DPD timeout in seconds for vpn connection. :type dpd_timeout_seconds: int :ivar connection_status: The connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.VpnConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.VpnConnectionStatus :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type vpn_connection_protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -23278,7 +23787,7 @@ class VpnConnection(SubResource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security. @@ -23287,12 +23796,12 @@ class VpnConnection(SubResource): :type use_local_azure_ip_address: bool :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_link_connections: List of all vpn site link connections to the gateway. - :type vpn_link_connections: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection] + :type vpn_link_connections: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection] :param routing_configuration: The Routing Configuration indicating the associated and propagated route tables on this connection. - :type routing_configuration: ~azure.mgmt.network.v2020_06_01.models.RoutingConfiguration + :type routing_configuration: ~azure.mgmt.network.v2020_07_01.models.RoutingConfiguration """ _validation = { @@ -23472,19 +23981,22 @@ class VpnGateway(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_07_01.models.SubResource :param connections: List of all vpn connections to the gateway. - :type connections: list[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :type connections: list[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_settings: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. :type vpn_gateway_scale_unit: int :ivar ip_configurations: List of all IPs configured on the gateway. :vartype ip_configurations: - list[~azure.mgmt.network.v2020_06_01.models.VpnGatewayIpConfiguration] + list[~azure.mgmt.network.v2020_07_01.models.VpnGatewayIpConfiguration] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the VpnGateway. + :type is_routing_preference_internet: bool """ _validation = { @@ -23508,6 +24020,7 @@ class VpnGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VpnGatewayIpConfiguration]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, } def __init__( @@ -23520,6 +24033,7 @@ def __init__( connections: Optional[List["VpnConnection"]] = None, bgp_settings: Optional["BgpSettings"] = None, vpn_gateway_scale_unit: Optional[int] = None, + is_routing_preference_internet: Optional[bool] = None, **kwargs ): super(VpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -23530,6 +24044,7 @@ def __init__( self.provisioning_state = None self.vpn_gateway_scale_unit = vpn_gateway_scale_unit self.ip_configurations = None + self.is_routing_preference_internet = is_routing_preference_internet class VpnGatewayIpConfiguration(msrest.serialization.Model): @@ -23794,27 +24309,27 @@ class VpnServerConfiguration(Resource): :type name_properties_name: str :param vpn_protocols: VPN protocols for the VpnServerConfiguration. :type vpn_protocols: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnGatewayTunnelingProtocol] + ~azure.mgmt.network.v2020_07_01.models.VpnGatewayTunnelingProtocol] :param vpn_authentication_types: VPN authentication types for the VpnServerConfiguration. :type vpn_authentication_types: list[str or - ~azure.mgmt.network.v2020_06_01.models.VpnAuthenticationType] + ~azure.mgmt.network.v2020_07_01.models.VpnAuthenticationType] :param vpn_client_root_certificates: VPN client root certificate of VpnServerConfiguration. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigVpnClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigVpnClientRootCertificate] :param vpn_client_revoked_certificates: VPN client revoked certificate of VpnServerConfiguration. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigVpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigVpnClientRevokedCertificate] :param radius_server_root_certificates: Radius Server root certificate of VpnServerConfiguration. :type radius_server_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigRadiusServerRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigRadiusServerRootCertificate] :param radius_client_root_certificates: Radius client root certificate of VpnServerConfiguration. :type radius_client_root_certificates: - list[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigRadiusClientRootCertificate] + list[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigRadiusClientRootCertificate] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for VpnServerConfiguration. - :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param radius_server_address: The radius server address property of the VpnServerConfiguration resource for point to site client connection. :type radius_server_address: str @@ -23822,15 +24337,15 @@ class VpnServerConfiguration(Resource): for point to site client connection. :type radius_server_secret: str :param radius_servers: Multiple Radius Server configuration for VpnServerConfiguration. - :type radius_servers: list[~azure.mgmt.network.v2020_06_01.models.RadiusServer] + :type radius_servers: list[~azure.mgmt.network.v2020_07_01.models.RadiusServer] :param aad_authentication_parameters: The set of aad vpn authentication parameters. :type aad_authentication_parameters: - ~azure.mgmt.network.v2020_06_01.models.AadAuthenticationParameters + ~azure.mgmt.network.v2020_07_01.models.AadAuthenticationParameters :ivar provisioning_state: The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :ivar p2_s_vpn_gateways: List of references to P2SVpnGateways. - :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :ivar etag_properties_etag: A unique read-only string that changes whenever the resource is updated. :vartype etag_properties_etag: str @@ -24000,26 +24515,26 @@ class VpnSite(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param virtual_wan: The VirtualWAN to which the vpnSite belongs. - :type virtual_wan: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_07_01.models.SubResource :param device_properties: The device properties. - :type device_properties: ~azure.mgmt.network.v2020_06_01.models.DeviceProperties + :type device_properties: ~azure.mgmt.network.v2020_07_01.models.DeviceProperties :param ip_address: The ip-address for the vpn-site. :type ip_address: str :param site_key: The key for vpn-site that can be used for connections. :type site_key: str :param address_space: The AddressSpace that contains an array of IP address ranges. - :type address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2020_06_01.models.BgpSettings + :type bgp_properties: ~azure.mgmt.network.v2020_07_01.models.BgpSettings :ivar provisioning_state: The provisioning state of the VPN site resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param is_security_site: IsSecuritySite flag. :type is_security_site: bool :param vpn_site_links: List of all vpn site links. - :type vpn_site_links: list[~azure.mgmt.network.v2020_06_01.models.VpnSiteLink] + :type vpn_site_links: list[~azure.mgmt.network.v2020_07_01.models.VpnSiteLink] :param o365_policy: Office365 Policy. - :type o365_policy: ~azure.mgmt.network.v2020_06_01.models.O365PolicyProperties + :type o365_policy: ~azure.mgmt.network.v2020_07_01.models.O365PolicyProperties """ _validation = { @@ -24119,16 +24634,16 @@ class VpnSiteLink(SubResource): :ivar type: Resource type. :vartype type: str :param link_properties: The link provider properties. - :type link_properties: ~azure.mgmt.network.v2020_06_01.models.VpnLinkProviderProperties + :type link_properties: ~azure.mgmt.network.v2020_07_01.models.VpnLinkProviderProperties :param ip_address: The ip-address for the vpn-site-link. :type ip_address: str :param fqdn: FQDN of vpn-site-link. :type fqdn: str :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2020_06_01.models.VpnLinkBgpSettings + :type bgp_properties: ~azure.mgmt.network.v2020_07_01.models.VpnLinkBgpSettings :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -24186,16 +24701,16 @@ class VpnSiteLinkConnection(SubResource): :ivar type: Resource type. :vartype type: str :param vpn_site_link: Id of the connected vpn site link. - :type vpn_site_link: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type vpn_site_link: ~azure.mgmt.network.v2020_07_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :ivar connection_status: The connection status. Possible values include: "Unknown", "Connecting", "Connected", "NotConnected". - :vartype connection_status: str or ~azure.mgmt.network.v2020_06_01.models.VpnConnectionStatus + :vartype connection_status: str or ~azure.mgmt.network.v2020_07_01.models.VpnConnectionStatus :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible values include: "IKEv2", "IKEv1". :type vpn_connection_protocol_type: str or - ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -24209,14 +24724,14 @@ class VpnSiteLinkConnection(SubResource): :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :type use_policy_based_traffic_selectors: bool :param ipsec_policies: The IPSec Policies to be considered by this connection. - :type ipsec_policies: list[~azure.mgmt.network.v2020_06_01.models.IpsecPolicy] + :type ipsec_policies: list[~azure.mgmt.network.v2020_07_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param use_local_azure_ip_address: Use local azure ip to initiate connection. :type use_local_azure_ip_address: bool :ivar provisioning_state: The provisioning state of the VPN site link connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState """ _validation = { @@ -24302,11 +24817,11 @@ class WebApplicationFirewallCustomRule(msrest.serialization.Model): before rules with a higher value. :type priority: int :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". - :type rule_type: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallRuleType + :type rule_type: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallRuleType :param match_conditions: Required. List of match conditions. - :type match_conditions: list[~azure.mgmt.network.v2020_06_01.models.MatchCondition] + :type match_conditions: list[~azure.mgmt.network.v2020_07_01.models.MatchCondition] :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". - :type action: str or ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallAction + :type action: str or ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallAction """ _validation = { @@ -24364,25 +24879,25 @@ class WebApplicationFirewallPolicy(Resource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param policy_settings: The PolicySettings for policy. - :type policy_settings: ~azure.mgmt.network.v2020_06_01.models.PolicySettings + :type policy_settings: ~azure.mgmt.network.v2020_07_01.models.PolicySettings :param custom_rules: The custom rules inside the policy. :type custom_rules: - list[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallCustomRule] + list[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallCustomRule] :ivar application_gateways: A collection of references to application gateways. - :vartype application_gateways: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :vartype application_gateways: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :ivar provisioning_state: The provisioning state of the web application firewall policy resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2020_06_01.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :ivar resource_state: Resource status of the policy. Possible values include: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". :vartype resource_state: str or - ~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicyResourceState + ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyResourceState :param managed_rules: Describes the managedRules structure. - :type managed_rules: ~azure.mgmt.network.v2020_06_01.models.ManagedRulesDefinition + :type managed_rules: ~azure.mgmt.network.v2020_07_01.models.ManagedRulesDefinition :ivar http_listeners: A collection of references to application gateway http listeners. - :vartype http_listeners: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype http_listeners: list[~azure.mgmt.network.v2020_07_01.models.SubResource] :ivar path_based_rules: A collection of references to application gateway path rules. - :vartype path_based_rules: list[~azure.mgmt.network.v2020_06_01.models.SubResource] + :vartype path_based_rules: list[~azure.mgmt.network.v2020_07_01.models.SubResource] """ _validation = { @@ -24442,7 +24957,7 @@ class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of WebApplicationFirewallPolicies within a resource group. - :vartype value: list[~azure.mgmt.network.v2020_06_01.models.WebApplicationFirewallPolicy] + :vartype value: list[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy] :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are any. :vartype next_link: str diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py similarity index 95% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_network_management_client_enums.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py index 03494a9ab152..1741fc15e810 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py @@ -528,6 +528,13 @@ class ExpressRoutePortsEncapsulation(with_metaclass(_CaseInsensitiveEnumMeta, st DOT1_Q = "Dot1Q" QIN_Q = "QinQ" +class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network + resources. + """ + + EDGE_ZONE = "EdgeZone" + class FirewallPolicyFilterRuleCollectionActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The action type of a rule. """ @@ -535,6 +542,23 @@ class FirewallPolicyFilterRuleCollectionActionType(with_metaclass(_CaseInsensiti ALLOW = "Allow" DENY = "Deny" +class FirewallPolicyIntrusionDetectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Possible intrusion detection bypass traffic protocols. + """ + + TCP = "TCP" + UDP = "UDP" + ICMP = "ICMP" + ANY = "ANY" + +class FirewallPolicyIntrusionDetectionStateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Possible state values. + """ + + OFF = "Off" + ALERT = "Alert" + DENY = "Deny" + class FirewallPolicyNatRuleCollectionActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The action type of a rule. """ @@ -572,6 +596,13 @@ class FirewallPolicyRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) NETWORK_RULE = "NetworkRule" NAT_RULE = "NatRule" +class FirewallPolicySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of Firewall Policy. + """ + + STANDARD = "Standard" + PREMIUM = "Premium" + class FlowLogFormatType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The file type of flow log. """ @@ -721,6 +752,13 @@ class LoadBalancerSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): BASIC = "Basic" STANDARD = "Standard" +class LoadBalancerSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a load balancer SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The load distribution policy for this rule. """ @@ -906,12 +944,26 @@ class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) BASIC = "Basic" STANDARD = "Standard" +class PublicIPAddressSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a public IP address SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + class PublicIPPrefixSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Name of a public IP prefix SKU. """ STANDARD = "Standard" +class PublicIPPrefixSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a public IP prefix SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will @@ -1113,6 +1165,16 @@ class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, En VPN = "Vpn" EXPRESS_ROUTE = "ExpressRoute" + LOCAL_GATEWAY = "LocalGateway" + +class VirtualNetworkPeeringLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The peering sync status of the virtual network peering. + """ + + FULLY_SYNCED = "FullySynced" + REMOTE_UNSYNCED = "RemoteUnsynced" + LOCAL_UNSYNCED = "LocalUnsynced" + LOCAL_AND_REMOTE_UNSYNCED = "LocalAndRemoteUnsynced" class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the virtual network peering. diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/__init__.py similarity index 99% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/__init__.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/__init__.py index 8c6fe1ec8a6e..579cf30e3f80 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/__init__.py @@ -15,6 +15,7 @@ from ._available_service_aliases_operations import AvailableServiceAliasesOperations from ._azure_firewalls_operations import AzureFirewallsOperations from ._azure_firewall_fqdn_tags_operations import AzureFirewallFqdnTagsOperations +from ._web_categories_operations import WebCategoriesOperations from ._bastion_hosts_operations import BastionHostsOperations from ._network_management_client_operations import NetworkManagementClientOperationsMixin from ._custom_ip_prefixes_operations import CustomIPPrefixesOperations @@ -122,6 +123,7 @@ 'AvailableServiceAliasesOperations', 'AzureFirewallsOperations', 'AzureFirewallFqdnTagsOperations', + 'WebCategoriesOperations', 'BastionHostsOperations', 'NetworkManagementClientOperationsMixin', 'CustomIPPrefixesOperations', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py index c9223a84ae3d..0a1f7226acc5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -32,7 +32,7 @@ class ApplicationGatewayPrivateEndpointConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -171,7 +171,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -234,7 +234,7 @@ def begin_update( :type connection_name: str :param parameters: Parameters supplied to update application gateway private endpoint connection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -242,7 +242,7 @@ def begin_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -304,7 +304,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayPrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateEndpointConnection"] @@ -312,7 +312,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -364,7 +364,7 @@ def list( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayPrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateEndpointConnectionListResult"] @@ -372,7 +372,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_link_resources_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_link_resources_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_link_resources_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_link_resources_operations.py index 3a424151d95a..d3cb04bd63a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_link_resources_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_link_resources_operations.py @@ -30,7 +30,7 @@ class ApplicationGatewayPrivateLinkResourcesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayPrivateLinkResourceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateLinkResourceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateLinkResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayPrivateLinkResourceListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py index 8ec214122143..6b02537046e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py @@ -32,7 +32,7 @@ class ApplicationGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGateway"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param parameters: Parameters supplied to the create or update application gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -349,10 +349,10 @@ def update_tags( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param parameters: Parameters supplied to update application gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGateway"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -413,7 +413,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayListResult"] @@ -421,7 +421,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayListResult"] @@ -489,7 +489,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -551,7 +551,7 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -655,7 +655,7 @@ def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -760,7 +760,7 @@ def _backend_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -823,7 +823,7 @@ def begin_backend_health( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealth] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealth] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -880,7 +880,7 @@ def _backend_health_on_demand_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -942,7 +942,7 @@ def begin_backend_health_on_demand( :param application_gateway_name: The name of the application gateway. :type application_gateway_name: str :param probe_request: Request body for on-demand test probe operation. - :type probe_request: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOnDemandProbe + :type probe_request: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOnDemandProbe :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response @@ -952,7 +952,7 @@ def begin_backend_health_on_demand( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHealthOnDemand] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHealthOnDemand] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1013,7 +1013,7 @@ def list_available_server_variables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1065,7 +1065,7 @@ def list_available_request_headers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1117,7 +1117,7 @@ def list_available_response_headers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1161,7 +1161,7 @@ def list_available_waf_rule_sets( :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayAvailableWafRuleSetsResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableWafRuleSetsResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableWafRuleSetsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableWafRuleSetsResult"] @@ -1169,7 +1169,7 @@ def list_available_waf_rule_sets( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1212,7 +1212,7 @@ def list_available_ssl_options( :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewayAvailableSslOptions, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableSslOptions + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableSslOptions :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableSslOptions"] @@ -1220,7 +1220,7 @@ def list_available_ssl_options( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1263,7 +1263,7 @@ def list_available_ssl_predefined_policies( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationGatewayAvailableSslPredefinedPolicies or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewayAvailableSslPredefinedPolicies"] @@ -1271,7 +1271,7 @@ def list_available_ssl_predefined_policies( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -1333,7 +1333,7 @@ def get_ssl_predefined_policy( :type predefined_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationGatewaySslPredefinedPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslPredefinedPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslPredefinedPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGatewaySslPredefinedPolicy"] @@ -1341,7 +1341,7 @@ def get_ssl_predefined_policy( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py index f4719aeadfb9..17221d73b71b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py @@ -32,7 +32,7 @@ class ApplicationSecurityGroupsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroup"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -284,7 +284,7 @@ def begin_create_or_update( :type application_security_group_name: str :param parameters: Parameters supplied to the create or update ApplicationSecurityGroup operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -292,7 +292,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -350,10 +350,10 @@ def update_tags( :param application_security_group_name: The name of the application security group. :type application_security_group_name: str :param parameters: Parameters supplied to update application security group tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ApplicationSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroup"] @@ -361,7 +361,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -411,7 +411,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroupListResult"] @@ -419,7 +419,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationSecurityGroupListResult"] @@ -489,7 +489,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_delegations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_delegations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_delegations_operations.py index c59b0577fb61..f6d8fa9d0b65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_delegations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_delegations_operations.py @@ -30,7 +30,7 @@ class AvailableDelegationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableDelegationsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableDelegationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableDelegationsResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_endpoint_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_endpoint_services_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_endpoint_services_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_endpoint_services_operations.py index 0df33fdce950..889f8c4aa89d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_endpoint_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_endpoint_services_operations.py @@ -30,7 +30,7 @@ class AvailableEndpointServicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EndpointServicesListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.EndpointServicesListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.EndpointServicesListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EndpointServicesListResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_private_endpoint_types_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_private_endpoint_types_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_private_endpoint_types_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_private_endpoint_types_operations.py index a5d7b4ffce56..efd1a624df75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_private_endpoint_types_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_private_endpoint_types_operations.py @@ -30,7 +30,7 @@ class AvailablePrivateEndpointTypesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointTypesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointTypesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailablePrivateEndpointTypesResult"] @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -133,7 +133,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailablePrivateEndpointTypesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailablePrivateEndpointTypesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailablePrivateEndpointTypesResult"] @@ -141,7 +141,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_resource_group_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_resource_group_delegations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_resource_group_delegations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_resource_group_delegations_operations.py index b66b7f5c6e8e..b296b801a6a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_resource_group_delegations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_resource_group_delegations_operations.py @@ -30,7 +30,7 @@ class AvailableResourceGroupDelegationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableDelegationsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableDelegationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableDelegationsResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_service_aliases_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_service_aliases_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_service_aliases_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_service_aliases_operations.py index 32fe34f3ae52..73be934eff1a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_available_service_aliases_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_available_service_aliases_operations.py @@ -30,7 +30,7 @@ class AvailableServiceAliasesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAliasesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAliasesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableServiceAliasesResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -131,7 +131,7 @@ def list_by_resource_group( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AvailableServiceAliasesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AvailableServiceAliasesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AvailableServiceAliasesResult"] @@ -139,7 +139,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewall_fqdn_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewall_fqdn_tags_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewall_fqdn_tags_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewall_fqdn_tags_operations.py index 5c968642dd02..0367781d0a64 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewall_fqdn_tags_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewall_fqdn_tags_operations.py @@ -30,7 +30,7 @@ class AzureFirewallFqdnTagsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallFqdnTagListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallFqdnTagListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallFqdnTagListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallFqdnTagListResult"] @@ -62,7 +62,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py index a03c317057bf..305313ee652c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py @@ -32,7 +32,7 @@ class AzureFirewallsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AzureFirewall, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall + :rtype: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewall"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param azure_firewall_name: The name of the Azure Firewall. :type azure_firewall_name: str :param parameters: Parameters supplied to the create or update Azure Firewall operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -347,7 +347,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -405,7 +405,7 @@ def begin_update_tags( :param azure_firewall_name: The name of the Azure Firewall. :type azure_firewall_name: str :param parameters: Parameters supplied to update azure firewall tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -413,7 +413,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.AzureFirewall] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.AzureFirewall] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -468,7 +468,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallListResult"] @@ -476,7 +476,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -536,7 +536,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AzureFirewallListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureFirewallListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AzureFirewallListResult"] @@ -544,7 +544,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py index 12e937c53886..9240e693d64f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py @@ -32,7 +32,7 @@ class BastionHostsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BastionHost, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BastionHost + :rtype: ~azure.mgmt.network.v2020_07_01.models.BastionHost :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHost"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param parameters: Parameters supplied to the create or update Bastion Host operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BastionHost + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.BastionHost] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.BastionHost] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -343,7 +343,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionHostListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionHostListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionHostListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] @@ -351,7 +351,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -413,7 +413,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionHostListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionHostListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionHostListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionHostListResult"] @@ -421,7 +421,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bgp_service_communities_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bgp_service_communities_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bgp_service_communities_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bgp_service_communities_operations.py index 2c048eb1f547..ee8ec0510ee1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bgp_service_communities_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bgp_service_communities_operations.py @@ -30,7 +30,7 @@ class BgpServiceCommunitiesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BgpServiceCommunityListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BgpServiceCommunityListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BgpServiceCommunityListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BgpServiceCommunityListResult"] @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py index 13805cf13466..f3916810e1c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py @@ -32,7 +32,7 @@ class ConnectionMonitorsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,6 +53,7 @@ def _create_or_update_initial( network_watcher_name, # type: str connection_monitor_name, # type: str parameters, # type: "models.ConnectionMonitor" + migrate=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> "models.ConnectionMonitorResult" @@ -61,7 +62,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -78,6 +79,8 @@ def _create_or_update_initial( # Construct parameters query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if migrate is not None: + query_parameters['migrate'] = self._serialize.query("migrate", migrate, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -114,6 +117,7 @@ def begin_create_or_update( network_watcher_name, # type: str connection_monitor_name, # type: str parameters, # type: "models.ConnectionMonitor" + migrate=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> LROPoller["models.ConnectionMonitorResult"] @@ -126,7 +130,9 @@ def begin_create_or_update( :param connection_monitor_name: The name of the connection monitor. :type connection_monitor_name: str :param parameters: Parameters that define the operation to create a connection monitor. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitor + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitor + :param migrate: Value indicating whether connection monitor V1 should be migrated to V2 format. + :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -134,7 +140,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -150,6 +156,7 @@ def begin_create_or_update( network_watcher_name=network_watcher_name, connection_monitor_name=connection_monitor_name, parameters=parameters, + migrate=migrate, cls=lambda x,y,z: x, **kwargs ) @@ -196,7 +203,7 @@ def get( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionMonitorResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorResult"] @@ -204,7 +211,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -255,7 +262,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -371,10 +378,10 @@ def update_tags( :param connection_monitor_name: The name of the connection monitor. :type connection_monitor_name: str :param parameters: Parameters supplied to update connection monitor tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionMonitorResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorResult"] @@ -382,7 +389,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -438,7 +445,7 @@ def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -549,7 +556,7 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -660,7 +667,7 @@ def _query_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -725,7 +732,7 @@ def begin_query( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorQueryResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorQueryResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -783,7 +790,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ConnectionMonitorListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ConnectionMonitorListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ConnectionMonitorListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionMonitorListResult"] @@ -791,7 +798,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py index 8481461709e9..64423f6ffa49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py @@ -32,7 +32,7 @@ class CustomIPPrefixesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CustomIpPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefix"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param custom_ip_prefix_name: The name of the custom IP prefix. :type custom_ip_prefix_name: str :param parameters: Parameters supplied to the create or update custom IP prefix operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param custom_ip_prefix_name: The name of the custom IP prefix. :type custom_ip_prefix_name: str :param parameters: Parameters supplied to update custom IP prefix tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: CustomIpPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefix"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefixListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefixListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.CustomIpPrefixListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.CustomIpPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CustomIpPrefixListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py index f3da9b15b068..27e66d231c0b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py @@ -31,7 +31,7 @@ class DdosCustomPoliciesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -165,7 +165,7 @@ def get( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosCustomPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosCustomPolicy"] @@ -173,7 +173,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,7 +222,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -282,7 +282,7 @@ def begin_create_or_update( :param ddos_custom_policy_name: The name of the DDoS custom policy. :type ddos_custom_policy_name: str :param parameters: Parameters supplied to the create or update operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -290,7 +290,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -348,10 +348,10 @@ def update_tags( :param ddos_custom_policy_name: The name of the DDoS custom policy. :type ddos_custom_policy_name: str :param parameters: Parameters supplied to update DDoS custom policy resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosCustomPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosCustomPolicy"] @@ -359,7 +359,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py index b3e6e5e42f19..a0bf11ef2ff6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py @@ -32,7 +32,7 @@ class DdosProtectionPlansOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosProtectionPlan, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlan"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param ddos_protection_plan_name: The name of the DDoS protection plan. :type ddos_protection_plan_name: str :param parameters: Parameters supplied to the create or update operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -349,10 +349,10 @@ def update_tags( :param ddos_protection_plan_name: The name of the DDoS protection plan. :type ddos_protection_plan_name: str :param parameters: Parameters supplied to the update DDoS protection plan resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: DdosProtectionPlan, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan + :rtype: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlan"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -410,7 +410,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlanListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlanListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlanListResult"] @@ -418,7 +418,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -480,7 +480,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlanListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlanListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DdosProtectionPlanListResult"] @@ -488,7 +488,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_default_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_default_security_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_default_security_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_default_security_rules_operations.py index 96437aa8ee13..fcad6c4d15ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_default_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_default_security_rules_operations.py @@ -30,7 +30,7 @@ class DefaultSecurityRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRuleListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type default_security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRule"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py index 9d5db82ab21d..116b8e22e580 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py @@ -32,7 +32,7 @@ class DscpConfigurationOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -120,7 +120,7 @@ def begin_create_or_update( :param dscp_configuration_name: The name of the resource. :type dscp_configuration_name: str :param parameters: Parameters supplied to the create or update dscp configuration operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration + :type parameters: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +128,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.DscpConfiguration] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.DscpConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -183,7 +183,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -290,7 +290,7 @@ def get( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DscpConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfiguration"] @@ -298,7 +298,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -346,7 +346,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.DscpConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.DscpConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfigurationListResult"] @@ -354,7 +354,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -414,7 +414,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.DscpConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.DscpConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DscpConfigurationListResult"] @@ -422,7 +422,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py index 4182c7ce58cb..37d310a51c94 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCircuitAuthorizationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitAuthorization, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitAuthorization"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type authorization_name: str :param authorization_parameters: Parameters supplied to the create or update express route circuit authorization operation. - :type authorization_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization + :type authorization_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AuthorizationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AuthorizationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AuthorizationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AuthorizationListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py index bbd7f7971825..2a9ebb83e35e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCircuitConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -185,7 +185,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitConnection"] @@ -193,7 +193,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -246,7 +246,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -315,7 +315,7 @@ def begin_create_or_update( :type connection_name: str :param express_route_circuit_connection_parameters: Parameters supplied to the create or update express route circuit connection operation. - :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection + :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -323,7 +323,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -387,7 +387,7 @@ def list( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitConnectionListResult"] @@ -395,7 +395,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py index 3e875aebf220..02376d2539d6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCircuitPeeringsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitPeering"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type peering_name: str :param peering_parameters: Parameters supplied to the create or update express route circuit peering operation. - :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering + :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitPeeringListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeeringListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitPeeringListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py index 89f8eb3a9734..751d7a576715 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCircuitsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuit, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuit"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param circuit_name: The name of the circuit. :type circuit_name: str :param parameters: Parameters supplied to the create or update express route circuit operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -349,10 +349,10 @@ def update_tags( :param circuit_name: The name of the circuit. :type circuit_name: str :param parameters: Parameters supplied to update express route circuit tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuit, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuit"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def _list_arp_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -482,7 +482,7 @@ def begin_list_arp_table( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsArpTableListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsArpTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -540,7 +540,7 @@ def _list_routes_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -607,7 +607,7 @@ def begin_list_routes_table( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -665,7 +665,7 @@ def _list_routes_table_summary_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -732,7 +732,7 @@ def begin_list_routes_table_summary( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -791,7 +791,7 @@ def get_stats( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitStats, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitStats"] @@ -799,7 +799,7 @@ def get_stats( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -853,7 +853,7 @@ def get_peering_stats( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCircuitStats, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitStats + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitStats :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitStats"] @@ -861,7 +861,7 @@ def get_peering_stats( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -910,7 +910,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitListResult"] @@ -918,7 +918,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -978,7 +978,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCircuitListResult"] @@ -986,7 +986,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py index 020198698868..88ed84897e56 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py @@ -31,7 +31,7 @@ class ExpressRouteConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -125,7 +125,7 @@ def begin_create_or_update( :type connection_name: str :param put_express_route_connection_parameters: Parameters required in an ExpressRouteConnection PUT operation. - :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection + :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -133,7 +133,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -195,7 +195,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteConnection"] @@ -203,7 +203,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -253,7 +253,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -365,7 +365,7 @@ def list( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteConnectionList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnectionList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnectionList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteConnectionList"] @@ -373,7 +373,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py index 9a9c16ba3b77..c2cbfb45cc17 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCrossConnectionPeeringsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type cross_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionPeeringList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeeringList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeeringList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionPeeringList"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -135,7 +135,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -250,7 +250,7 @@ def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnectionPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionPeering"] @@ -258,7 +258,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -309,7 +309,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -374,7 +374,7 @@ def begin_create_or_update( :type peering_name: str :param peering_parameters: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. - :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering + :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -382,7 +382,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py index 9b3bdfe0c09e..5229dcbca525 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py @@ -32,7 +32,7 @@ class ExpressRouteCrossConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionListResult"] @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -126,7 +126,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnectionListResult"] @@ -134,7 +134,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -201,7 +201,7 @@ def get( :type cross_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnection"] @@ -209,7 +209,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -258,7 +258,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -314,7 +314,7 @@ def begin_create_or_update( :param cross_connection_name: The name of the ExpressRouteCrossConnection. :type cross_connection_name: str :param parameters: Parameters supplied to the update express route crossConnection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -322,7 +322,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -381,10 +381,10 @@ def update_tags( :type cross_connection_name: str :param cross_connection_parameters: Parameters supplied to update express route cross connection tags. - :type cross_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type cross_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteCrossConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteCrossConnection"] @@ -392,7 +392,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -447,7 +447,7 @@ def _list_arp_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -514,7 +514,7 @@ def begin_list_arp_table( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsArpTableListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsArpTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -572,7 +572,7 @@ def _list_routes_table_summary_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -639,7 +639,7 @@ def begin_list_routes_table_summary( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -697,7 +697,7 @@ def _list_routes_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -764,7 +764,7 @@ def begin_list_routes_table( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitsRoutesTableListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitsRoutesTableListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py index d598c747ff25..40116a388779 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py @@ -31,7 +31,7 @@ class ExpressRouteGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGatewayList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGatewayList"] @@ -63,7 +63,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -109,7 +109,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGatewayList, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGatewayList :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGatewayList"] @@ -117,7 +117,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -165,7 +165,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -226,7 +226,7 @@ def begin_create_or_update( :type express_route_gateway_name: str :param put_express_route_gateway_parameters: Parameters required in an ExpressRoute gateway PUT operation. - :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway + :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -234,7 +234,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -292,7 +292,7 @@ def get( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteGateway"] @@ -300,7 +300,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -348,7 +348,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_links_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_links_operations.py index 54a3a5c8fa1c..411d4d2dacb8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_links_operations.py @@ -30,7 +30,7 @@ class ExpressRouteLinksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -63,7 +63,7 @@ def get( :type link_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRouteLink, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteLink + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteLink :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteLink"] @@ -71,7 +71,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -123,7 +123,7 @@ def list( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteLinkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteLinkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteLinkListResult"] @@ -131,7 +131,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_locations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_locations_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_locations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_locations_operations.py index 663d1ca2e538..82728ddc1ac0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_locations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_locations_operations.py @@ -30,7 +30,7 @@ class ExpressRoutePortsLocationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortsLocationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortsLocationListResult"] @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def get( :type location_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePortsLocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortsLocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortsLocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortsLocation"] @@ -135,7 +135,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py index cccf62982af7..7ff7cf4f3618 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py @@ -32,7 +32,7 @@ class ExpressRoutePortsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePort, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePort"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param express_route_port_name: The name of the ExpressRoutePort resource. :type express_route_port_name: str :param parameters: Parameters supplied to the create ExpressRoutePort operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -349,10 +349,10 @@ def update_tags( :param express_route_port_name: The name of the ExpressRoutePort resource. :type express_route_port_name: str :param parameters: Parameters supplied to update ExpressRoutePort resource tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ExpressRoutePort, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort + :rtype: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePort"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -413,7 +413,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortListResult"] @@ -421,7 +421,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRoutePortListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRoutePortListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRoutePortListResult"] @@ -489,7 +489,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -554,10 +554,10 @@ def generate_loa( :param express_route_port_name: The name of ExpressRoutePort. :type express_route_port_name: str :param request: Request parameters supplied to generate a letter of authorization. - :type request: ~azure.mgmt.network.v2020_06_01.models.GenerateExpressRoutePortsLOARequest + :type request: ~azure.mgmt.network.v2020_07_01.models.GenerateExpressRoutePortsLOARequest :keyword callable cls: A custom type or function that will be passed the direct response :return: GenerateExpressRoutePortsLOAResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.GenerateExpressRoutePortsLOAResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.GenerateExpressRoutePortsLOAResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GenerateExpressRoutePortsLOAResult"] @@ -565,7 +565,7 @@ def generate_loa( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_service_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_service_providers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_service_providers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_service_providers_operations.py index 56d47dc7ccb2..b5d17c700b73 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_service_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_service_providers_operations.py @@ -30,7 +30,7 @@ class ExpressRouteServiceProvidersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ExpressRouteServiceProviderListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ExpressRouteServiceProviderListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ExpressRouteServiceProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpressRouteServiceProviderListResult"] @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py index ef30d2dce80d..412eb2be58e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py @@ -32,7 +32,7 @@ class FirewallPoliciesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicy"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param firewall_policy_name: The name of the Firewall Policy. :type firewall_policy_name: str :param parameters: Parameters supplied to the create or update Firewall Policy operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.FirewallPolicy] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.FirewallPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -351,7 +351,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyListResult"] @@ -359,7 +359,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -419,7 +419,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyListResult"] @@ -427,7 +427,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py index 6c4578f37bcc..4c0abe74beaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -32,7 +32,7 @@ class FirewallPolicyRuleCollectionGroupsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FirewallPolicyRuleCollectionGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyRuleCollectionGroup"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type rule_collection_group_name: str :param parameters: Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FirewallPolicyRuleCollectionGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FirewallPolicyRuleCollectionGroupListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py index 8074a7beb690..5dbddcfa55a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py @@ -32,7 +32,7 @@ class FlowLogsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -126,7 +126,7 @@ def begin_create_or_update( :param flow_log_name: The name of the flow log. :type flow_log_name: str :param parameters: Parameters that define the create or update flow log resource. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -134,7 +134,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLog] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLog] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -196,10 +196,10 @@ def update_tags( :param flow_log_name: The name of the flow log. :type flow_log_name: str :param parameters: Parameters supplied to update flow log tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: FlowLog, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :rtype: ~azure.mgmt.network.v2020_07_01.models.FlowLog :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLog"] @@ -207,7 +207,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -268,7 +268,7 @@ def get( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FlowLog, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FlowLog + :rtype: ~azure.mgmt.network.v2020_07_01.models.FlowLog :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLog"] @@ -276,7 +276,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -327,7 +327,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -440,7 +440,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FlowLogListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.FlowLogListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.FlowLogListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FlowLogListResult"] @@ -448,7 +448,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py index 52a4dff71c29..31f53bf3bded 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py @@ -32,7 +32,7 @@ class HubRouteTablesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -125,7 +125,7 @@ def begin_create_or_update( :param route_table_name: The name of the RouteTable. :type route_table_name: str :param route_table_parameters: Parameters supplied to create or update RouteTable. - :type route_table_parameters: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable + :type route_table_parameters: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -133,7 +133,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.HubRouteTable] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.HubRouteTable] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -195,7 +195,7 @@ def get( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubRouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubRouteTable"] @@ -203,7 +203,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -253,7 +253,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -365,7 +365,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListHubRouteTablesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListHubRouteTablesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListHubRouteTablesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListHubRouteTablesResult"] @@ -373,7 +373,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py index b335f0bbdc12..3b0bd5052768 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py @@ -32,7 +32,7 @@ class HubVirtualNetworkConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -126,7 +126,7 @@ def begin_create_or_update( :type connection_name: str :param hub_virtual_network_connection_parameters: Parameters supplied to create or update a hub virtual network connection. - :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection + :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -134,7 +134,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -191,7 +191,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -306,7 +306,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubVirtualNetworkConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubVirtualNetworkConnection"] @@ -314,7 +314,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -366,7 +366,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListHubVirtualNetworkConnectionsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListHubVirtualNetworkConnectionsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListHubVirtualNetworkConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListHubVirtualNetworkConnectionsResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py index 565f8e2b4f67..4b23047cf758 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py @@ -32,7 +32,7 @@ class InboundNatRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either InboundNatRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.InboundNatRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.InboundNatRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.InboundNatRuleListResult"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -135,7 +135,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -253,7 +253,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: InboundNatRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.InboundNatRule"] @@ -261,7 +261,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -314,7 +314,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -379,7 +379,7 @@ def begin_create_or_update( :type inbound_nat_rule_name: str :param inbound_nat_rule_parameters: Parameters supplied to the create or update inbound nat rule operation. - :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule + :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -387,7 +387,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.InboundNatRule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.InboundNatRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py index 9acbb584d7eb..38dbe79917f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py @@ -31,7 +31,7 @@ class InboundSecurityRuleOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -125,7 +125,7 @@ def begin_create_or_update( :type rule_collection_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule + :type parameters: ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -133,7 +133,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py index c5c24a9153e7..14d529338390 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py @@ -32,7 +32,7 @@ class IpAllocationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IpAllocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocation"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param ip_allocation_name: The name of the IpAllocation. :type ip_allocation_name: str :param parameters: Parameters supplied to the create or update virtual network operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.IpAllocation] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.IpAllocation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param ip_allocation_name: The name of the IpAllocation. :type ip_allocation_name: str :param parameters: Parameters supplied to update IpAllocation tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: IpAllocation, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpAllocation + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocation"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.IpAllocationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.IpAllocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocationListResult"] @@ -423,7 +423,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.IpAllocationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.IpAllocationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpAllocationListResult"] @@ -493,7 +493,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py index 4323342c3dc7..c656f7c7fe23 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py @@ -32,7 +32,7 @@ class IpGroupsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -66,7 +66,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IpGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroup"] @@ -74,7 +74,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -126,7 +126,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -187,7 +187,7 @@ def begin_create_or_update( :param ip_groups_name: The name of the ipGroups. :type ip_groups_name: str :param parameters: Parameters supplied to the create or update IpGroups operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -195,7 +195,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.IpGroup] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.IpGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -253,10 +253,10 @@ def update_groups( :param ip_groups_name: The name of the ipGroups. :type ip_groups_name: str :param parameters: Parameters supplied to the update ipGroups operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: IpGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IpGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.IpGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroup"] @@ -264,7 +264,7 @@ def update_groups( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -318,7 +318,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -423,7 +423,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.IpGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.IpGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroupListResult"] @@ -431,7 +431,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -492,7 +492,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IpGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.IpGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.IpGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IpGroupListResult"] @@ -500,7 +500,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py index 4d2229340718..bb0b19bf1527 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py @@ -32,7 +32,7 @@ class LoadBalancerBackendAddressPoolsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerBackendAddressPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerBackendAddressPoolListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerBackendAddressPoolListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerBackendAddressPoolListResult"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -140,7 +140,7 @@ def get( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BackendAddressPool, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool + :rtype: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BackendAddressPool"] @@ -148,7 +148,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -199,7 +199,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -264,7 +264,7 @@ def begin_create_or_update( :type backend_address_pool_name: str :param parameters: Parameters supplied to the create or update load balancer backend address pool operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -272,7 +272,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.BackendAddressPool] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.BackendAddressPool] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -329,7 +329,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_frontend_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_frontend_ip_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py index 6e47420c3321..9a44101f4ddc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_frontend_ip_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py @@ -30,7 +30,7 @@ class LoadBalancerFrontendIPConfigurationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerFrontendIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerFrontendIPConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerFrontendIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerFrontendIPConfigurationListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type frontend_ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FrontendIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.FrontendIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.FrontendIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FrontendIPConfiguration"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_load_balancing_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_load_balancing_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_load_balancing_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_load_balancing_rules_operations.py index 06b433450583..16cfff988246 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_load_balancing_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_load_balancing_rules_operations.py @@ -30,7 +30,7 @@ class LoadBalancerLoadBalancingRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerLoadBalancingRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerLoadBalancingRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerLoadBalancingRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerLoadBalancingRuleListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type load_balancing_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancingRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancingRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancingRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancingRule"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_network_interfaces_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_network_interfaces_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_network_interfaces_operations.py index ccb6568d088b..39ad71ddfd2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_network_interfaces_operations.py @@ -30,7 +30,7 @@ class LoadBalancerNetworkInterfacesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_outbound_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_outbound_rules_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_outbound_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_outbound_rules_operations.py index 9ef4bca45bd3..8636aef3355c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_outbound_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_outbound_rules_operations.py @@ -30,7 +30,7 @@ class LoadBalancerOutboundRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerOutboundRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerOutboundRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerOutboundRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerOutboundRuleListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type outbound_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: OutboundRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.OutboundRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.OutboundRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OutboundRule"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_probes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_probes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_probes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_probes_operations.py index 945846cc8dfd..2fbe8b3008ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_probes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_probes_operations.py @@ -30,7 +30,7 @@ class LoadBalancerProbesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerProbeListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerProbeListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerProbeListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerProbeListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type probe_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Probe, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Probe + :rtype: ~azure.mgmt.network.v2020_07_01.models.Probe :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Probe"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py index 3ba3ccf3176a..cf0048412acb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py @@ -32,7 +32,7 @@ class LoadBalancersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancer, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancer"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param load_balancer_name: The name of the load balancer. :type load_balancer_name: str :param parameters: Parameters supplied to the create or update load balancer operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :type parameters: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.LoadBalancer] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.LoadBalancer] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param load_balancer_name: The name of the load balancer. :type load_balancer_name: str :param parameters: Parameters supplied to update load balancer tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: LoadBalancer, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer + :rtype: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancer"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LoadBalancerListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LoadBalancerListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py index 5aba9df0e533..ce0a94dbc6b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py @@ -32,7 +32,7 @@ class LocalNetworkGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -120,7 +120,7 @@ def begin_create_or_update( :param local_network_gateway_name: The name of the local network gateway. :type local_network_gateway_name: str :param parameters: Parameters supplied to the create or update local network gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +128,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -186,7 +186,7 @@ def get( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LocalNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGateway"] @@ -194,7 +194,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -242,7 +242,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -349,10 +349,10 @@ def update_tags( :param local_network_gateway_name: The name of the local network gateway. :type local_network_gateway_name: str :param parameters: Parameters supplied to update local network gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: LocalNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGateway"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -413,7 +413,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LocalNetworkGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.LocalNetworkGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.LocalNetworkGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LocalNetworkGatewayListResult"] @@ -421,7 +421,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py index ac841b3428db..f09b18624425 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py @@ -32,7 +32,7 @@ class NatGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NatGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.NatGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -222,13 +222,13 @@ def _create_or_update_initial( parameters, # type: "models.NatGateway" **kwargs # type: Any ): - # type: (...) -> "models.NatGateway" - cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] + # type: (...) -> Optional["models.NatGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.NatGateway"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -261,15 +261,13 @@ def _create_or_update_initial( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) + deserialized = None if response.status_code == 200: deserialized = self._deserialize('NatGateway', pipeline_response) if response.status_code == 201: deserialized = self._deserialize('NatGateway', pipeline_response) - if response.status_code == 202: - deserialized = self._deserialize('NatGateway', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) @@ -291,7 +289,7 @@ def begin_create_or_update( :param nat_gateway_name: The name of the nat gateway. :type nat_gateway_name: str :param parameters: Parameters supplied to the create or update nat gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -299,7 +297,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NatGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NatGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -357,10 +355,10 @@ def update_tags( :param nat_gateway_name: The name of the nat gateway. :type nat_gateway_name: str :param parameters: Parameters supplied to update nat gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NatGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NatGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.NatGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGateway"] @@ -368,7 +366,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -418,7 +416,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NatGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NatGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGatewayListResult"] @@ -426,7 +424,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -488,7 +486,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NatGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NatGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NatGatewayListResult"] @@ -496,7 +494,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_ip_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_ip_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_ip_configurations_operations.py index 736043057a72..a49883f3fde1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_ip_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_ip_configurations_operations.py @@ -30,7 +30,7 @@ class NetworkInterfaceIPConfigurationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfigurationListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( :type ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfiguration"] @@ -146,7 +146,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_load_balancers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_load_balancers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_load_balancers_operations.py index 3f4d9aea1fd4..864b895fb3d6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_load_balancers_operations.py @@ -30,7 +30,7 @@ class NetworkInterfaceLoadBalancersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceLoadBalancerListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceLoadBalancerListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceLoadBalancerListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceLoadBalancerListResult"] @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py index a56afee98c6b..904e1b411a6a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py @@ -32,7 +32,7 @@ class NetworkInterfaceTapConfigurationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceTapConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceTapConfiguration"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type tap_configuration_name: str :param tap_configuration_parameters: Parameters supplied to the create or update tap configuration operation. - :type tap_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration + :type tap_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceTapConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceTapConfigurationListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py index fe1d445570a0..805c3bd3c743 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py @@ -32,7 +32,7 @@ class NetworkInterfacesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param network_interface_name: The name of the network interface. :type network_interface_name: str :param parameters: Parameters supplied to the create or update network interface operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkInterface] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkInterface] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param network_interface_name: The name of the network interface. :type network_interface_name: str :param parameters: Parameters supplied to update network interface tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -556,7 +556,7 @@ def _get_effective_route_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -614,7 +614,7 @@ def begin_get_effective_route_table( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.EffectiveRouteListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.EffectiveRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -668,7 +668,7 @@ def _list_effective_network_security_groups_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -726,7 +726,7 @@ def begin_list_effective_network_security_groups( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.EffectiveNetworkSecurityGroupListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.EffectiveNetworkSecurityGroupListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -787,7 +787,7 @@ def list_virtual_machine_scale_set_vm_network_interfaces( :type virtualmachine_index: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -863,7 +863,7 @@ def list_virtual_machine_scale_set_network_interfaces( :type virtual_machine_scale_set_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceListResult"] @@ -947,7 +947,7 @@ def get_virtual_machine_scale_set_network_interface( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterface, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterface"] @@ -1019,7 +1019,7 @@ def list_virtual_machine_scale_set_ip_configurations( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfigurationListResult"] @@ -1110,7 +1110,7 @@ def get_virtual_machine_scale_set_ip_configuration( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkInterfaceIPConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceIPConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceIPConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkInterfaceIPConfiguration"] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py index 56e4b0a405cf..196841ff00d5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py @@ -40,7 +40,7 @@ def _put_bastion_shareable_link_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -98,7 +98,7 @@ def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -106,7 +106,7 @@ def begin_put_bastion_shareable_link( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionShareableLinkListResult"] @@ -114,7 +114,7 @@ def begin_put_bastion_shareable_link( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -224,7 +224,7 @@ def _delete_bastion_shareable_link_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -277,7 +277,7 @@ def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -340,10 +340,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionShareableLinkListResult"] @@ -351,7 +351,7 @@ def get_bastion_shareable_link( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -423,7 +423,7 @@ def _get_active_sessions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -481,7 +481,7 @@ def begin_get_active_sessions( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionActiveSessionListResult"] @@ -489,7 +489,7 @@ def begin_get_active_sessions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -592,10 +592,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BastionSessionDeleteResult"] @@ -603,7 +603,7 @@ def disconnect_active_sessions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = "application/json" accept = "application/json" @@ -679,7 +679,7 @@ def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DnsNameAvailabilityResult"] @@ -687,7 +687,7 @@ def check_dns_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -739,7 +739,7 @@ def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWanSecurityProviders"] @@ -747,7 +747,7 @@ def supported_security_providers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -796,7 +796,7 @@ def _generatevirtualwanvpnserverconfigurationvpnprofile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -857,7 +857,7 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -865,7 +865,7 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py index 1d006b422706..869b748fdbfb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py @@ -32,7 +32,7 @@ class NetworkProfilesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -230,10 +230,10 @@ def create_or_update( :param network_profile_name: The name of the network profile. :type network_profile_name: str :param parameters: Parameters supplied to the create or update network profile operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -241,7 +241,7 @@ def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -301,10 +301,10 @@ def update_tags( :param network_profile_name: The name of the network profile. :type network_profile_name: str :param parameters: Parameters supplied to update network profile tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkProfile, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkProfile + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfile"] @@ -312,7 +312,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -362,7 +362,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkProfileListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkProfileListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfileListResult"] @@ -370,7 +370,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -432,7 +432,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkProfileListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkProfileListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkProfileListResult"] @@ -440,7 +440,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py index 9298b3823377..b9ea669ca4be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py @@ -32,7 +32,7 @@ class NetworkSecurityGroupsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroup"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def begin_create_or_update( :type network_security_group_name: str :param parameters: Parameters supplied to the create or update network security group operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -297,7 +297,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -355,10 +355,10 @@ def update_tags( :param network_security_group_name: The name of the network security group. :type network_security_group_name: str :param parameters: Parameters supplied to update network security group tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSecurityGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroup"] @@ -366,7 +366,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -416,7 +416,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroupListResult"] @@ -424,7 +424,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -486,7 +486,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkSecurityGroupListResult"] @@ -494,7 +494,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py index 4fc53a996720..1630e26ae057 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py @@ -32,7 +32,7 @@ class NetworkVirtualAppliancesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualAppliance, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualAppliance"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -230,10 +230,10 @@ def update_tags( :param network_virtual_appliance_name: The name of Network Virtual Appliance being updated. :type network_virtual_appliance_name: str :param parameters: Parameters supplied to Update Network Virtual Appliance Tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualAppliance, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualAppliance"] @@ -241,7 +241,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -295,7 +295,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -355,7 +355,7 @@ def begin_create_or_update( :param network_virtual_appliance_name: The name of Network Virtual Appliance. :type network_virtual_appliance_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -363,7 +363,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -418,7 +418,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceListResult"] @@ -426,7 +426,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -486,7 +486,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceListResult"] @@ -494,7 +494,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py index 67e1024e8d22..aaac55fc4768 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py @@ -32,7 +32,7 @@ class NetworkWatchersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,10 +62,10 @@ def create_or_update( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the network watcher resource. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -73,7 +73,7 @@ def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -134,7 +134,7 @@ def get( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -142,7 +142,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -191,7 +191,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -299,10 +299,10 @@ def update_tags( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters supplied to update network watcher tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkWatcher, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkWatcher + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkWatcher :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcher"] @@ -310,7 +310,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -364,7 +364,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkWatcherListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkWatcherListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcherListResult"] @@ -372,7 +372,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -433,7 +433,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkWatcherListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkWatcherListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkWatcherListResult"] @@ -441,7 +441,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -507,10 +507,10 @@ def get_topology( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the representation of topology. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TopologyParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TopologyParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: Topology, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Topology + :rtype: ~azure.mgmt.network.v2020_07_01.models.Topology :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Topology"] @@ -518,7 +518,7 @@ def get_topology( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -573,7 +573,7 @@ def _verify_ip_flow_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -634,7 +634,7 @@ def begin_verify_ip_flow( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the IP flow to be verified. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -642,7 +642,7 @@ def begin_verify_ip_flow( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -698,7 +698,7 @@ def _get_next_hop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -759,7 +759,7 @@ def begin_get_next_hop( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the source and destination endpoint. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NextHopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -767,7 +767,7 @@ def begin_get_next_hop( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NextHopResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NextHopResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -823,7 +823,7 @@ def _get_vm_security_rules_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -884,7 +884,7 @@ def begin_get_vm_security_rules( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters that define the VM to check security groups for. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -892,7 +892,7 @@ def begin_get_vm_security_rules( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -948,7 +948,7 @@ def _get_troubleshooting_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1009,7 +1009,7 @@ def begin_get_troubleshooting( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the resource to troubleshoot. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TroubleshootingParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1017,7 +1017,7 @@ def begin_get_troubleshooting( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.TroubleshootingResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.TroubleshootingResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1073,7 +1073,7 @@ def _get_troubleshooting_result_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1134,7 +1134,7 @@ def begin_get_troubleshooting_result( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the resource to query the troubleshooting result. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.QueryTroubleshootingParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1142,7 +1142,7 @@ def begin_get_troubleshooting_result( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.TroubleshootingResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.TroubleshootingResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1198,7 +1198,7 @@ def _set_flow_log_configuration_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1259,7 +1259,7 @@ def begin_set_flow_log_configuration( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that define the configuration of flow log. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogInformation + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1267,7 +1267,7 @@ def begin_set_flow_log_configuration( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLogInformation] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLogInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1323,7 +1323,7 @@ def _get_flow_log_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1385,7 +1385,7 @@ def begin_get_flow_log_status( :type network_watcher_name: str :param parameters: Parameters that define a resource to query flow log and traffic analytics (optional) status. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogStatusParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1393,7 +1393,7 @@ def begin_get_flow_log_status( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.FlowLogInformation] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.FlowLogInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1449,7 +1449,7 @@ def _check_connectivity_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1511,7 +1511,7 @@ def begin_check_connectivity( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that determine how the connectivity check will be performed. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectivityParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1519,7 +1519,7 @@ def begin_check_connectivity( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectivityInformation] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectivityInformation] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1575,7 +1575,7 @@ def _get_azure_reachability_report_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1638,7 +1638,7 @@ def begin_get_azure_reachability_report( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that determine Azure reachability report configuration. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1646,7 +1646,7 @@ def begin_get_azure_reachability_report( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReport] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReport] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1702,7 +1702,7 @@ def _list_available_providers_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1764,7 +1764,7 @@ def begin_list_available_providers( :param network_watcher_name: The name of the network watcher resource. :type network_watcher_name: str :param parameters: Parameters that scope the list of available providers. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1772,7 +1772,7 @@ def begin_list_available_providers( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.AvailableProvidersList] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.AvailableProvidersList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1828,7 +1828,7 @@ def _get_network_configuration_diagnostic_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1893,7 +1893,7 @@ def begin_get_network_configuration_diagnostic( :param network_watcher_name: The name of the network watcher. :type network_watcher_name: str :param parameters: Parameters to get network configuration diagnostic. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1901,7 +1901,7 @@ def begin_get_network_configuration_diagnostic( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_operations.py index 3ffc7cd3c079..3961a6a88916 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.OperationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py index cd5f6fef29ec..49756cb24140 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py @@ -32,7 +32,7 @@ class P2SVpnGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: P2SVpnGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.P2SVpnGateway"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -180,7 +180,7 @@ def begin_create_or_update( :type gateway_name: str :param p2_s_vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan p2s vpn gateway. - :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -188,7 +188,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -244,7 +244,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -303,7 +303,7 @@ def begin_update_tags( :type gateway_name: str :param p2_s_vpn_gateway_parameters: Parameters supplied to update a virtual wan p2s vpn gateway tags. - :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -311,7 +311,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -470,7 +470,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListP2SVpnGatewaysResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListP2SVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListP2SVpnGatewaysResult"] @@ -478,7 +478,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -538,7 +538,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListP2SVpnGatewaysResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListP2SVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListP2SVpnGatewaysResult"] @@ -546,7 +546,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -608,7 +608,7 @@ def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -666,7 +666,7 @@ def begin_reset( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -721,7 +721,7 @@ def _generate_vpn_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -780,7 +780,7 @@ def begin_generate_vpn_profile( :type gateway_name: str :param parameters: Parameters supplied to the generate P2SVpnGateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnProfileParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -788,7 +788,7 @@ def begin_generate_vpn_profile( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -843,7 +843,7 @@ def _get_p2_s_vpn_connection_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -902,7 +902,7 @@ def begin_get_p2_s_vpn_connection_health( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -957,7 +957,7 @@ def _get_p2_s_vpn_connection_health_detailed_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1016,7 +1016,7 @@ def begin_get_p2_s_vpn_connection_health_detailed( :param gateway_name: The name of the P2SVpnGateway. :type gateway_name: str :param request: Request parameters supplied to get p2s vpn connections detailed health. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealthRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1024,7 +1024,7 @@ def begin_get_p2_s_vpn_connection_health_detailed( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealth] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealth] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1080,7 +1080,7 @@ def _disconnect_p2_s_vpn_connections_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1134,7 +1134,7 @@ def begin_disconnect_p2_s_vpn_connections( :param p2_s_vpn_gateway_name: The name of the P2S Vpn Gateway. :type p2_s_vpn_gateway_name: str :param request: The parameters are supplied to disconnect p2s vpn connections. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py index 279044ec0017..6566429c809b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py @@ -32,7 +32,7 @@ class PacketCapturesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -122,7 +122,7 @@ def begin_create( :param packet_capture_name: The name of the packet capture session. :type packet_capture_name: str :param parameters: Parameters that define the create packet capture operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PacketCapture + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -130,7 +130,7 @@ def begin_create( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -192,7 +192,7 @@ def get( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PacketCaptureResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PacketCaptureResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.PacketCaptureResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PacketCaptureResult"] @@ -200,7 +200,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -251,7 +251,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -362,7 +362,7 @@ def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -473,7 +473,7 @@ def _get_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -538,7 +538,7 @@ def begin_get_status( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PacketCaptureQueryStatusResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PacketCaptureQueryStatusResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -596,7 +596,7 @@ def list( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PacketCaptureListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PacketCaptureListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PacketCaptureListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PacketCaptureListResult"] @@ -604,7 +604,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_peer_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_peer_express_route_circuit_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_peer_express_route_circuit_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_peer_express_route_circuit_connections_operations.py index 584a30bfa671..c71818e9b5e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_peer_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_peer_express_route_circuit_connections_operations.py @@ -30,7 +30,7 @@ class PeerExpressRouteCircuitConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -67,7 +67,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PeerExpressRouteCircuitConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PeerExpressRouteCircuitConnection"] @@ -75,7 +75,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -132,7 +132,7 @@ def list( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PeerExpressRouteCircuitConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PeerExpressRouteCircuitConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PeerExpressRouteCircuitConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PeerExpressRouteCircuitConnectionListResult"] @@ -140,7 +140,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py index 3ad1e5b0dd01..b8233b284c67 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py @@ -32,7 +32,7 @@ class PrivateDnsZoneGroupsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateDnsZoneGroup, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateDnsZoneGroup"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type private_dns_zone_group_name: str :param parameters: Parameters supplied to the create or update private dns zone group operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateDnsZoneGroupListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroupListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroupListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateDnsZoneGroupListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py index 9c56fd94826c..13965bcdf8a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py @@ -32,7 +32,7 @@ class PrivateEndpointsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -170,7 +170,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpoint, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpoint"] @@ -178,7 +178,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -230,7 +230,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -291,7 +291,7 @@ def begin_create_or_update( :param private_endpoint_name: The name of the private endpoint. :type private_endpoint_name: str :param parameters: Parameters supplied to the create or update private endpoint operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -299,7 +299,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,7 +354,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointListResult"] @@ -362,7 +362,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -423,7 +423,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointListResult"] @@ -431,7 +431,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py index 9abcfd76e071..9fc850ab58cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py @@ -32,7 +32,7 @@ class PrivateLinkServicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -170,7 +170,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkService, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkService"] @@ -178,7 +178,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -230,7 +230,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -291,7 +291,7 @@ def begin_create_or_update( :param service_name: The name of the private link service. :type service_name: str :param parameters: Parameters supplied to the create or update private link service operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -299,7 +299,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkService] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkService] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,7 +354,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkServiceListResult"] @@ -362,7 +362,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -423,7 +423,7 @@ def list_by_subscription( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkServiceListResult"] @@ -431,7 +431,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -504,7 +504,7 @@ def get_private_endpoint_connection( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] @@ -512,7 +512,7 @@ def get_private_endpoint_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -570,10 +570,10 @@ def update_private_endpoint_connection( :param pe_connection_name: The name of the private end point connection. :type pe_connection_name: str :param parameters: Parameters supplied to approve or reject the private end point connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] @@ -581,7 +581,7 @@ def update_private_endpoint_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -637,7 +637,7 @@ def _delete_private_endpoint_connection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -750,7 +750,7 @@ def list_private_endpoint_connections( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] @@ -758,7 +758,7 @@ def list_private_endpoint_connections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -823,7 +823,7 @@ def _check_private_link_service_visibility_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -877,7 +877,7 @@ def begin_check_private_link_service_visibility( :param location: The location of the domain name. :type location: str :param parameters: The request body of CheckPrivateLinkService API call. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -885,7 +885,7 @@ def begin_check_private_link_service_visibility( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceVisibility] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceVisibility] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -940,7 +940,7 @@ def _check_private_link_service_visibility_by_resource_group_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -999,7 +999,7 @@ def begin_check_private_link_service_visibility_by_resource_group( :param resource_group_name: The name of the resource group. :type resource_group_name: str :param parameters: The request body of CheckPrivateLinkService API call. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest + :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1007,7 +1007,7 @@ def begin_check_private_link_service_visibility_by_resource_group( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PrivateLinkServiceVisibility] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PrivateLinkServiceVisibility] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1063,7 +1063,7 @@ def list_auto_approved_private_link_services( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkServicesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkServicesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutoApprovedPrivateLinkServicesResult"] @@ -1071,7 +1071,7 @@ def list_auto_approved_private_link_services( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -1138,7 +1138,7 @@ def list_auto_approved_private_link_services_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.AutoApprovedPrivateLinkServicesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AutoApprovedPrivateLinkServicesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutoApprovedPrivateLinkServicesResult"] @@ -1146,7 +1146,7 @@ def list_auto_approved_private_link_services_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py index 16f509ebf49c..9f577fefe394 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py @@ -32,7 +32,7 @@ class PublicIPAddressesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -103,7 +103,7 @@ def begin_delete( :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param public_ip_address_name: The name of the subnet. + :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -163,13 +163,13 @@ def get( :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param public_ip_address_name: The name of the subnet. + :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param expand: Expands referenced resources. :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param parameters: Parameters supplied to the create or update public IP address operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PublicIPAddress] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PublicIPAddress] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param public_ip_address_name: The name of the public IP address. :type public_ip_address_name: str :param parameters: Parameters supplied to update public IP address tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -559,7 +559,7 @@ def list_virtual_machine_scale_set_public_ip_addresses( :type virtual_machine_scale_set_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -644,7 +644,7 @@ def list_virtual_machine_scale_set_vm_public_ip_addresses( :type ip_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPAddressListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPAddressListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddressListResult"] @@ -737,7 +737,7 @@ def get_virtual_machine_scale_set_public_ip_address( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPAddress, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPAddress"] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py index ddf424d98f73..939378bd9c68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py @@ -32,7 +32,7 @@ class PublicIPPrefixesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefix"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param public_ip_prefix_name: The name of the public IP prefix. :type public_ip_prefix_name: str :param parameters: Parameters supplied to the create or update public IP prefix operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param public_ip_prefix_name: The name of the public IP prefix. :type public_ip_prefix_name: str :param parameters: Parameters supplied to update public IP prefix tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: PublicIPPrefix, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix + :rtype: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefix"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefixListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.PublicIPPrefixListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.PublicIPPrefixListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PublicIPPrefixListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_resource_navigation_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_resource_navigation_links_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_resource_navigation_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_resource_navigation_links_operations.py index e3cd8eecf986..706ca6e5c760 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_resource_navigation_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_resource_navigation_links_operations.py @@ -29,7 +29,7 @@ class ResourceNavigationLinksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ResourceNavigationLinksListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ResourceNavigationLinksListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ResourceNavigationLinksListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceNavigationLinksListResult"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py index e12b246780b2..adcd2c8ef05a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py @@ -32,7 +32,7 @@ class RouteFilterRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilterRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterRule"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type rule_name: str :param route_filter_rule_parameters: Parameters supplied to the create or update route filter rule operation. - :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule + :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.RouteFilterRule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.RouteFilterRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list_by_route_filter( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterRuleListResult"] @@ -374,7 +374,7 @@ def list_by_route_filter( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py index 4009cb08932e..555cd410688e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py @@ -32,7 +32,7 @@ class RouteFiltersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilter"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def begin_create_or_update( :type route_filter_name: str :param route_filter_parameters: Parameters supplied to the create or update route filter operation. - :type route_filter_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :type route_filter_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -297,7 +297,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.RouteFilter] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.RouteFilter] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -355,10 +355,10 @@ def update_tags( :param route_filter_name: The name of the route filter. :type route_filter_name: str :param parameters: Parameters supplied to update route filter tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteFilter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteFilter + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilter"] @@ -366,7 +366,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -419,7 +419,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterListResult"] @@ -427,7 +427,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -487,7 +487,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteFilterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteFilterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteFilterListResult"] @@ -495,7 +495,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py index ed7d1aa9714c..12dcee6a84c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py @@ -32,7 +32,7 @@ class RouteTablesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTable"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param route_table_name: The name of the route table. :type route_table_name: str :param parameters: Parameters supplied to the create or update route table operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :type parameters: ~azure.mgmt.network.v2020_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.RouteTable] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.RouteTable] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param route_table_name: The name of the route table. :type route_table_name: str :param parameters: Parameters supplied to update route table tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: RouteTable, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.RouteTable + :rtype: ~azure.mgmt.network.v2020_07_01.models.RouteTable :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTable"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -418,7 +418,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteTableListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteTableListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteTableListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTableListResult"] @@ -426,7 +426,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -486,7 +486,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteTableListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteTableListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteTableListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteTableListResult"] @@ -494,7 +494,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py index a14d5f799456..f8cb7f1c90d5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py @@ -32,7 +32,7 @@ class RoutesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Route, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Route + :rtype: ~azure.mgmt.network.v2020_07_01.models.Route :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Route"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -298,7 +298,7 @@ def begin_create_or_update( :param route_name: The name of the route. :type route_name: str :param route_parameters: Parameters supplied to the create or update route operation. - :type route_parameters: ~azure.mgmt.network.v2020_06_01.models.Route + :type route_parameters: ~azure.mgmt.network.v2020_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -306,7 +306,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.Route] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.Route] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -365,7 +365,7 @@ def list( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RouteListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.RouteListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.RouteListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.RouteListResult"] @@ -373,7 +373,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py index 0ea463f90634..68cd2b8c319a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py @@ -32,7 +32,7 @@ class SecurityPartnerProvidersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityPartnerProvider, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProvider"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -284,7 +284,7 @@ def begin_create_or_update( :type security_partner_provider_name: str :param parameters: Parameters supplied to the create or update Security Partner Provider operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -292,7 +292,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -350,10 +350,10 @@ def update_tags( :param security_partner_provider_name: The name of the Security Partner Provider. :type security_partner_provider_name: str :param parameters: Parameters supplied to update Security Partner Provider tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityPartnerProvider, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProvider"] @@ -361,7 +361,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -414,7 +414,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProviderListResult"] @@ -422,7 +422,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -482,7 +482,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProviderListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProviderListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityPartnerProviderListResult"] @@ -490,7 +490,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py index ecd45875c22e..066f118563a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py @@ -32,7 +32,7 @@ class SecurityRulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SecurityRule, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :rtype: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRule"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type security_rule_name: str :param security_rule_parameters: Parameters supplied to the create or update network security rule operation. - :type security_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityRule + :type security_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.SecurityRule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.SecurityRule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.SecurityRuleListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.SecurityRuleListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SecurityRuleListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_association_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_association_links_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_association_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_association_links_operations.py index 5c069f93d461..abd7539d042e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_association_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_association_links_operations.py @@ -29,7 +29,7 @@ class ServiceAssociationLinksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceAssociationLinksListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceAssociationLinksListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceAssociationLinksListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceAssociationLinksListResult"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py index f826d941fd43..1348ff11d425 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py @@ -32,7 +32,7 @@ class ServiceEndpointPoliciesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicy"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def begin_create_or_update( :type service_endpoint_policy_name: str :param parameters: Parameters supplied to the create or update service endpoint policy operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -297,7 +297,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -355,10 +355,10 @@ def update_tags( :param service_endpoint_policy_name: The name of the service endpoint policy. :type service_endpoint_policy_name: str :param parameters: Parameters supplied to update service endpoint policy tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicy"] @@ -366,7 +366,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -416,7 +416,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyListResult"] @@ -424,7 +424,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -486,7 +486,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyListResult"] @@ -494,7 +494,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py index bd532c9d51a4..6b33726e679b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py @@ -32,7 +32,7 @@ class ServiceEndpointPolicyDefinitionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -177,7 +177,7 @@ def get( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceEndpointPolicyDefinition, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyDefinition"] @@ -185,7 +185,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -236,7 +236,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -303,7 +303,7 @@ def begin_create_or_update( :type service_endpoint_policy_definition_name: str :param service_endpoint_policy_definitions: Parameters supplied to the create or update service endpoint policy operation. - :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition + :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -311,7 +311,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -370,7 +370,7 @@ def list_by_resource_group( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ServiceEndpointPolicyDefinitionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinitionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinitionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceEndpointPolicyDefinitionListResult"] @@ -378,7 +378,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_tags_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_tags_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_tags_operations.py index 43e61524d4f3..27dd8cae53cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_tags_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_tags_operations.py @@ -29,7 +29,7 @@ class ServiceTagsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ServiceTagsListResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ServiceTagsListResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.ServiceTagsListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceTagsListResult"] @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py index 94230cbe358b..71b041f4fde9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py @@ -32,7 +32,7 @@ class SubnetsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -178,7 +178,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Subnet, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.Subnet + :rtype: ~azure.mgmt.network.v2020_07_01.models.Subnet :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Subnet"] @@ -186,7 +186,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -239,7 +239,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -303,7 +303,7 @@ def begin_create_or_update( :param subnet_name: The name of the subnet. :type subnet_name: str :param subnet_parameters: Parameters supplied to the create or update subnet operation. - :type subnet_parameters: ~azure.mgmt.network.v2020_06_01.models.Subnet + :type subnet_parameters: ~azure.mgmt.network.v2020_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -311,7 +311,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.Subnet] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.Subnet] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -369,7 +369,7 @@ def _prepare_network_policies_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -427,7 +427,7 @@ def begin_prepare_network_policies( :type subnet_name: str :param prepare_network_policies_request_parameters: Parameters supplied to prepare subnet by applying network intent policies. - :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.PrepareNetworkPoliciesRequest + :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -490,7 +490,7 @@ def _unprepare_network_policies_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -548,7 +548,7 @@ def begin_unprepare_network_policies( :type subnet_name: str :param unprepare_network_policies_request_parameters: Parameters supplied to unprepare subnet to remove network intent policies. - :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.UnprepareNetworkPoliciesRequest + :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -612,7 +612,7 @@ def list( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SubnetListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.SubnetListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.SubnetListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SubnetListResult"] @@ -620,7 +620,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_usages_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_usages_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_usages_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_usages_operations.py index f777fe2ca809..ed8e4d8abae2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_usages_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_usages_operations.py @@ -30,7 +30,7 @@ class UsagesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list( :type location: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UsagesListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.UsagesListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.UsagesListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsagesListResult"] @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py index 40f6a48b8f88..e8415a63da3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py @@ -32,7 +32,7 @@ class VirtualApplianceSitesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualApplianceSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualApplianceSite"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type site_name: str :param parameters: Parameters supplied to the create or update Network Virtual Appliance Site operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceSiteListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSiteListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSiteListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSiteListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_skus_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_skus_operations.py similarity index 96% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_skus_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_skus_operations.py index d198fb4cd186..3aea5db059aa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_skus_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_skus_operations.py @@ -30,7 +30,7 @@ class VirtualApplianceSkusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NetworkVirtualApplianceSkuListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSkuListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSkuListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSkuListResult"] @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -124,7 +124,7 @@ def get( :type sku_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkVirtualApplianceSku, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualApplianceSku + :rtype: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualApplianceSku :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.NetworkVirtualApplianceSku"] @@ -132,7 +132,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py index 4cab60daf7bf..76ccb458928d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py @@ -31,7 +31,7 @@ class VirtualHubBgpConnectionOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BgpConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.BgpConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BgpConnection"] @@ -72,7 +72,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -123,7 +123,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -188,7 +188,7 @@ def begin_create_or_update( :param connection_name: The name of the connection. :type connection_name: str :param parameters: Parameters of Bgp connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.BgpConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -196,7 +196,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.BgpConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.BgpConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -253,7 +253,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py index 5935fbb19f95..306ae37b92e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py @@ -32,7 +32,7 @@ class VirtualHubBgpConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubBgpConnectionResults or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubBgpConnectionResults] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubBgpConnectionResults] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubBgpConnectionResults"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -135,7 +135,7 @@ def _list_learned_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -197,7 +197,7 @@ def begin_list_learned_routes( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PeerRouteList] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PeerRouteList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -253,7 +253,7 @@ def _list_advertised_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -315,7 +315,7 @@ def begin_list_advertised_routes( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.PeerRouteList] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.PeerRouteList] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py index dc9bdb66436e..ce6f20055f06 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py @@ -32,7 +32,7 @@ class VirtualHubIpConfigurationOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def get( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: HubIpConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.HubIpConfiguration"] @@ -73,7 +73,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -124,7 +124,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -189,7 +189,7 @@ def begin_create_or_update( :param ip_config_name: The name of the ipconfig. :type ip_config_name: str :param parameters: Hub Ip Configuration parameters. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration + :type parameters: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -197,7 +197,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -254,7 +254,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -366,7 +366,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubIpConfigurationResults or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubIpConfigurationResults] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubIpConfigurationResults] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubIpConfigurationResults"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py index a66b8e7989f6..43a41de15e85 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -32,7 +32,7 @@ class VirtualHubRouteTableV2SOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def get( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHubRouteTableV2, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHubRouteTableV2"] @@ -73,7 +73,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -125,7 +125,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -192,7 +192,7 @@ def begin_create_or_update( :type route_table_name: str :param virtual_hub_route_table_v2_parameters: Parameters supplied to create or update VirtualHubRouteTableV2. - :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 + :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -200,7 +200,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -257,7 +257,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -370,7 +370,7 @@ def list( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubRouteTableV2SResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubRouteTableV2SResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubRouteTableV2SResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubRouteTableV2SResult"] @@ -378,7 +378,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py index e393b19d3fe8..bd7e293fbdbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py @@ -32,7 +32,7 @@ class VirtualHubsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHub, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHub"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -179,7 +179,7 @@ def begin_create_or_update( :param virtual_hub_name: The name of the VirtualHub. :type virtual_hub_name: str :param virtual_hub_parameters: Parameters supplied to create or update VirtualHub. - :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -187,7 +187,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualHub] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualHub] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -245,10 +245,10 @@ def update_tags( :param virtual_hub_name: The name of the VirtualHub. :type virtual_hub_name: str :param virtual_hub_parameters: Parameters supplied to update VirtualHub tags. - :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualHub, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualHub + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualHub"] @@ -256,7 +256,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -413,7 +413,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubsResult"] @@ -421,7 +421,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualHubsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualHubsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualHubsResult"] @@ -489,7 +489,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -552,7 +552,7 @@ def _get_effective_virtual_hub_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -609,7 +609,7 @@ def begin_get_effective_virtual_hub_routes( :type virtual_hub_name: str :param effective_routes_parameters: Parameters supplied to get the effective routes for a specific resource. - :type effective_routes_parameters: ~azure.mgmt.network.v2020_06_01.models.EffectiveRoutesParameters + :type effective_routes_parameters: ~azure.mgmt.network.v2020_07_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py index cf1aa456c180..20ae2eb50536 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py @@ -32,7 +32,7 @@ class VirtualNetworkGatewayConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -122,7 +122,7 @@ def begin_create_or_update( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the create or update virtual network gateway connection operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -130,7 +130,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -189,7 +189,7 @@ def get( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkGatewayConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayConnection"] @@ -197,7 +197,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -245,7 +245,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -351,7 +351,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -410,7 +410,7 @@ def begin_update_tags( connection. :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to update virtual network gateway connection tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -418,7 +418,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -474,7 +474,7 @@ def _set_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -537,7 +537,7 @@ def begin_set_shared_key( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -545,7 +545,7 @@ def begin_set_shared_key( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -605,7 +605,7 @@ def get_shared_key( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ConnectionSharedKey, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey + :rtype: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ConnectionSharedKey"] @@ -613,7 +613,7 @@ def get_shared_key( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -662,7 +662,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnectionListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayConnectionListResult"] @@ -670,7 +670,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -734,7 +734,7 @@ def _reset_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -796,7 +796,7 @@ def begin_reset_shared_key( :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey + :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -804,7 +804,7 @@ def begin_reset_shared_key( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -860,7 +860,7 @@ def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -924,7 +924,7 @@ def begin_start_packet_capture( :type virtual_network_gateway_connection_name: str :param parameters: Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -988,7 +988,7 @@ def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1049,7 +1049,7 @@ def begin_stop_packet_capture( :type virtual_network_gateway_connection_name: str :param parameters: Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py index 3014f3eb69e1..1e9afd9d47ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py @@ -32,7 +32,7 @@ class VirtualNetworkGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -120,7 +120,7 @@ def begin_create_or_update( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param parameters: Parameters supplied to create or update virtual network gateway operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -128,7 +128,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -186,7 +186,7 @@ def get( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGateway"] @@ -194,7 +194,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -242,7 +242,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -347,7 +347,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -405,7 +405,7 @@ def begin_update_tags( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param parameters: Parameters supplied to update virtual network gateway tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -413,7 +413,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -468,7 +468,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayListResult"] @@ -476,7 +476,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -542,7 +542,7 @@ def list_connections( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkGatewayListConnectionsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayListConnectionsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayListConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkGatewayListConnectionsResult"] @@ -550,7 +550,7 @@ def list_connections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -615,7 +615,7 @@ def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -679,7 +679,7 @@ def begin_reset( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -734,7 +734,7 @@ def _reset_vpn_client_shared_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -840,7 +840,7 @@ def _generatevpnclientpackage_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -900,7 +900,7 @@ def begin_generatevpnclientpackage( :type virtual_network_gateway_name: str :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -964,7 +964,7 @@ def _generate_vpn_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1024,7 +1024,7 @@ def begin_generate_vpn_profile( :type virtual_network_gateway_name: str :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1087,7 +1087,7 @@ def _get_vpn_profile_package_url_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1201,7 +1201,7 @@ def _get_bgp_peer_status_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1264,7 +1264,7 @@ def begin_get_bgp_peer_status( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.BgpPeerStatusListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.BgpPeerStatusListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1330,7 +1330,7 @@ def supported_vpn_devices( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1378,7 +1378,7 @@ def _get_learned_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1437,7 +1437,7 @@ def begin_get_learned_routes( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.GatewayRouteListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.GatewayRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1492,7 +1492,7 @@ def _get_advertised_routes_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1555,7 +1555,7 @@ def begin_get_advertised_routes( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.GatewayRouteListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.GatewayRouteListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1611,7 +1611,7 @@ def _set_vpnclient_ipsec_parameters_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1671,7 +1671,7 @@ def begin_set_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :param vpnclient_ipsec_params: Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. - :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters + :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -1679,7 +1679,7 @@ def begin_set_vpnclient_ipsec_parameters( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1734,7 +1734,7 @@ def _get_vpnclient_ipsec_parameters_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -1792,7 +1792,7 @@ def begin_get_vpnclient_ipsec_parameters( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1850,7 +1850,7 @@ def vpn_device_configuration_script( connection for which the configuration script is generated. :type virtual_network_gateway_connection_name: str :param parameters: Parameters supplied to the generate vpn device script operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnDeviceScriptParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnDeviceScriptParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: str, or the result of cls(response) :rtype: str @@ -1861,7 +1861,7 @@ def vpn_device_configuration_script( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1915,7 +1915,7 @@ def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1978,7 +1978,7 @@ def begin_start_packet_capture( :type virtual_network_gateway_name: str :param parameters: Virtual network gateway packet capture parameters supplied to start packet capture on gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -2042,7 +2042,7 @@ def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2102,7 +2102,7 @@ def begin_stop_packet_capture( :type virtual_network_gateway_name: str :param parameters: Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -2165,7 +2165,7 @@ def _get_vpnclient_connection_health_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -2224,7 +2224,7 @@ def begin_get_vpnclient_connection_health( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnClientConnectionHealthDetailListResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnClientConnectionHealthDetailListResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -2279,7 +2279,7 @@ def _disconnect_virtual_network_gateway_vpn_connections_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2332,7 +2332,7 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :param virtual_network_gateway_name: The name of the virtual network gateway. :type virtual_network_gateway_name: str :param request: The parameters are supplied to disconnect vpn connections. - :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py index 3ba01285b9a0..8178cfbe8209 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py @@ -32,7 +32,7 @@ class VirtualNetworkPeeringsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -175,7 +175,7 @@ def get( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkPeering"] @@ -183,7 +183,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -234,7 +234,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -299,7 +299,7 @@ def begin_create_or_update( :type virtual_network_peering_name: str :param virtual_network_peering_parameters: Parameters supplied to the create or update virtual network peering operation. - :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering + :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -307,7 +307,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -366,7 +366,7 @@ def list( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkPeeringListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeeringListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkPeeringListResult"] @@ -374,7 +374,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py index 44c01179dddc..4144c030f237 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py @@ -32,7 +32,7 @@ class VirtualNetworkTapsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -166,7 +166,7 @@ def get( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkTap, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTap"] @@ -174,7 +174,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -223,7 +223,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -283,7 +283,7 @@ def begin_create_or_update( :param tap_name: The name of the virtual network tap. :type tap_name: str :param parameters: Parameters supplied to the create or update virtual network tap operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -291,7 +291,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -349,10 +349,10 @@ def update_tags( :param tap_name: The name of the tap. :type tap_name: str :param tap_parameters: Parameters supplied to update VirtualNetworkTap tags. - :type tap_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type tap_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetworkTap, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTap"] @@ -360,7 +360,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -410,7 +410,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTapListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTapListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTapListResult"] @@ -418,7 +418,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -480,7 +480,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTapListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTapListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkTapListResult"] @@ -488,7 +488,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py index a26917b63204..758f28aecd3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py @@ -32,7 +32,7 @@ class VirtualNetworksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -169,7 +169,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetwork, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetwork"] @@ -177,7 +177,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -228,7 +228,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -288,7 +288,7 @@ def begin_create_or_update( :param virtual_network_name: The name of the virtual network. :type virtual_network_name: str :param parameters: Parameters supplied to the create or update virtual network operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -296,7 +296,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualNetwork] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualNetwork] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,10 +354,10 @@ def update_tags( :param virtual_network_name: The name of the virtual network. :type virtual_network_name: str :param parameters: Parameters supplied to update virtual network tags. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualNetwork, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetwork"] @@ -365,7 +365,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListResult"] @@ -423,7 +423,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -562,7 +562,7 @@ def check_ip_address_availability( :type ip_address: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IPAddressAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.IPAddressAvailabilityResult + :rtype: ~azure.mgmt.network.v2020_07_01.models.IPAddressAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IPAddressAvailabilityResult"] @@ -570,7 +570,7 @@ def check_ip_address_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -622,7 +622,7 @@ def list_usage( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualNetworkListUsageResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualNetworkListUsageResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkListUsageResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualNetworkListUsageResult"] @@ -630,7 +630,7 @@ def list_usage( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py index 4e4940ec209c..102e343c1a71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py @@ -32,7 +32,7 @@ class VirtualRouterPeeringsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -176,7 +176,7 @@ def get( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualRouterPeering, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterPeering"] @@ -184,7 +184,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -236,7 +236,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -302,7 +302,7 @@ def begin_create_or_update( :type peering_name: str :param parameters: Parameters supplied to the create or update Virtual Router Peering operation. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -310,7 +310,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -369,7 +369,7 @@ def list( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterPeeringListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeeringListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeeringListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterPeeringListResult"] @@ -377,7 +377,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py index d84c5fb6ef4a..7ad573cd86b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py @@ -32,7 +32,7 @@ class VirtualRoutersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -170,7 +170,7 @@ def get( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualRouter, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouter"] @@ -178,7 +178,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -230,7 +230,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -291,7 +291,7 @@ def begin_create_or_update( :param virtual_router_name: The name of the Virtual Router. :type virtual_router_name: str :param parameters: Parameters supplied to the create or update Virtual Router. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -299,7 +299,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualRouter] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualRouter] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -354,7 +354,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterListResult"] @@ -362,7 +362,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -423,7 +423,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.VirtualRouterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.VirtualRouterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualRouterListResult"] @@ -431,7 +431,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py index 869e1c8374c1..dbceb5c60f47 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py @@ -32,7 +32,7 @@ class VirtualWansOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWAN, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWAN"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -179,7 +179,7 @@ def begin_create_or_update( :param virtual_wan_name: The name of the VirtualWAN being created or updated. :type virtual_wan_name: str :param wan_parameters: Parameters supplied to create or update VirtualWAN. - :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -187,7 +187,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VirtualWAN] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VirtualWAN] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -245,10 +245,10 @@ def update_tags( :param virtual_wan_name: The name of the VirtualWAN being updated. :type virtual_wan_name: str :param wan_parameters: Parameters supplied to Update VirtualWAN tags. - :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWAN, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN + :rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VirtualWAN"] @@ -256,7 +256,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -413,7 +413,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualWANsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualWANsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualWANsResult"] @@ -421,7 +421,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVirtualWANsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVirtualWANsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVirtualWANsResult"] @@ -489,7 +489,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py index 4c4dfc5429a2..de15b6d92ba0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py @@ -32,7 +32,7 @@ class VpnConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def get( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnConnection"] @@ -73,7 +73,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -124,7 +124,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -189,7 +189,7 @@ def begin_create_or_update( :param connection_name: The name of the connection. :type connection_name: str :param vpn_connection_parameters: Parameters supplied to create or Update a VPN Connection. - :type vpn_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnection + :type vpn_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -197,7 +197,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnConnection] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnConnection] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -254,7 +254,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -365,7 +365,7 @@ def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -431,7 +431,7 @@ def begin_start_packet_capture( :type vpn_connection_name: str :param parameters: Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -497,7 +497,7 @@ def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -563,7 +563,7 @@ def begin_stop_packet_capture( :type vpn_connection_name: str :param parameters: Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -630,7 +630,7 @@ def list_by_vpn_gateway( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnConnectionsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnConnectionsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnConnectionsResult"] @@ -638,7 +638,7 @@ def list_by_vpn_gateway( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py index 1132286cf671..32059dd2f9fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py @@ -32,7 +32,7 @@ class VpnGatewaysOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnGateway, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnGateway + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnGateway"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -180,7 +180,7 @@ def begin_create_or_update( :type gateway_name: str :param vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan vpn gateway. - :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGateway + :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -188,7 +188,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -244,7 +244,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -302,7 +302,7 @@ def begin_update_tags( :param gateway_name: The name of the gateway. :type gateway_name: str :param vpn_gateway_parameters: Parameters supplied to update a virtual wan vpn gateway tags. - :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -310,7 +310,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -365,7 +365,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -469,7 +469,7 @@ def _reset_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -527,7 +527,7 @@ def begin_reset( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnGateway] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnGateway] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -582,7 +582,7 @@ def _start_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -644,7 +644,7 @@ def begin_start_packet_capture( :type gateway_name: str :param parameters: Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStartParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -708,7 +708,7 @@ def _stop_packet_capture_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -770,7 +770,7 @@ def begin_stop_packet_capture( :type gateway_name: str :param parameters: Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. - :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStopParameters + :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -833,7 +833,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnGatewaysResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnGatewaysResult"] @@ -841,7 +841,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -901,7 +901,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnGatewaysResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnGatewaysResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnGatewaysResult"] @@ -909,7 +909,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_link_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_link_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_link_connections_operations.py index bb16412e802e..fe3a3372cfa7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_link_connections_operations.py @@ -30,7 +30,7 @@ class VpnLinkConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_vpn_connection( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSiteLinkConnectionsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSiteLinkConnectionsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSiteLinkConnectionsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSiteLinkConnectionsResult"] @@ -72,7 +72,7 @@ def list_by_vpn_connection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 2ea0d476a22b..a93c81a31460 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -31,7 +31,7 @@ class VpnServerConfigurationsAssociatedWithVirtualWanOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ def _list_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -117,7 +117,7 @@ def begin_list( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnServerConfigurationsResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnServerConfigurationsResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py index 196b452a9b21..1024e14541e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py @@ -32,7 +32,7 @@ class VpnServerConfigurationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnServerConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnServerConfiguration"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -182,7 +182,7 @@ def begin_create_or_update( :type vpn_server_configuration_name: str :param vpn_server_configuration_parameters: Parameters supplied to create or update VpnServerConfiguration. - :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -190,7 +190,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -249,10 +249,10 @@ def update_tags( :type vpn_server_configuration_name: str :param vpn_server_configuration_parameters: Parameters supplied to update VpnServerConfiguration tags. - :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnServerConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnServerConfiguration"] @@ -260,7 +260,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -313,7 +313,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -417,7 +417,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnServerConfigurationsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnServerConfigurationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnServerConfigurationsResult"] @@ -425,7 +425,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -485,7 +485,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnServerConfigurationsResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnServerConfigurationsResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnServerConfigurationsResult"] @@ -493,7 +493,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_link_connections_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_link_connections_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_link_connections_operations.py index 65e97059519a..23a560e623d5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_link_connections_operations.py @@ -29,7 +29,7 @@ class VpnSiteLinkConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def get( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSiteLinkConnection, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSiteLinkConnection + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSiteLinkConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSiteLinkConnection"] @@ -73,7 +73,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_links_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_links_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_links_operations.py index 265aa7a78b25..1be40dd18a66 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_site_links_operations.py @@ -30,7 +30,7 @@ class VpnSiteLinksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -63,7 +63,7 @@ def get( :type vpn_site_link_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSiteLink, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSiteLink + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSiteLink :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSiteLink"] @@ -71,7 +71,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -123,7 +123,7 @@ def list_by_vpn_site( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSiteLinksResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSiteLinksResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSiteLinksResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSiteLinksResult"] @@ -131,7 +131,7 @@ def list_by_vpn_site( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py similarity index 98% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py index 24c1e080eab2..46dab03ab6df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py @@ -31,7 +31,7 @@ class VpnSitesConfigurationOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def _download_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -113,7 +113,7 @@ def begin_download( needed. :type virtual_wan_name: str :param request: Parameters supplied to download vpn-sites configuration. - :type request: ~azure.mgmt.network.v2020_06_01.models.GetVpnSitesConfigurationRequest + :type request: ~azure.mgmt.network.v2020_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py index f025ee9e7bb1..8479fa5458f4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py @@ -32,7 +32,7 @@ class VpnSitesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_06_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def get( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSite"] @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -119,7 +119,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -179,7 +179,7 @@ def begin_create_or_update( :param vpn_site_name: The name of the VpnSite being created or updated. :type vpn_site_name: str :param vpn_site_parameters: Parameters supplied to create or update VpnSite. - :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -187,7 +187,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnSite] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnSite] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -245,10 +245,10 @@ def update_tags( :param vpn_site_name: The name of the VpnSite being updated. :type vpn_site_name: str :param vpn_site_parameters: Parameters supplied to update VpnSite tags. - :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject + :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :return: VpnSite, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_06_01.models.VpnSite + :rtype: ~azure.mgmt.network.v2020_07_01.models.VpnSite :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.VpnSite"] @@ -256,7 +256,7 @@ def update_tags( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -413,7 +413,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSitesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSitesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSitesResult"] @@ -421,7 +421,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -481,7 +481,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.ListVpnSitesResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.ListVpnSitesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListVpnSitesResult"] @@ -489,7 +489,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py similarity index 97% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py index c404b9850f2a..97e889a93275 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py @@ -32,7 +32,7 @@ class WebApplicationFirewallPoliciesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.network.v2020_05_01.models + :type models: ~azure.mgmt.network.v2020_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def list_all( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicyListResult"] @@ -135,7 +135,7 @@ def list_all( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -200,7 +200,7 @@ def get( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] @@ -208,7 +208,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL @@ -259,10 +259,10 @@ def create_or_update( :param policy_name: The name of the policy. :type policy_name: str :param parameters: Policy to be created. - :type parameters: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :type parameters: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :return: WebApplicationFirewallPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy + :rtype: ~azure.mgmt.network.v2020_07_01.models.WebApplicationFirewallPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.WebApplicationFirewallPolicy"] @@ -270,7 +270,7 @@ def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -327,7 +327,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-01" + api_version = "2020-07-01" accept = "application/json" # Construct URL diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_categories_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_categories_operations.py new file mode 100644 index 000000000000..334c063f9b4e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_categories_operations.py @@ -0,0 +1,173 @@ +# 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 typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class WebCategoriesOperations(object): + """WebCategoriesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2020_07_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.AzureWebCategory" + """Gets the specified Azure Web Category. + + :param name: The name of the azureWebCategory. + :type name: str + :param expand: Expands resourceIds back referenced by the azureWebCategory resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureWebCategory, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2020_07_01.models.AzureWebCategory + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AzureWebCategory"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureWebCategory', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}'} # type: ignore + + def list_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AzureWebCategoryListResult"] + """Gets all the Azure Web Categories in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureWebCategoryListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.AzureWebCategoryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AzureWebCategoryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AzureWebCategoryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/py.typed b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/py.typed similarity index 100% rename from sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/py.typed rename to sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/py.typed