diff --git a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/express_route_circuits_operations.py b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/express_route_circuits_operations.py index ff81652376ab..b4ecc4abbd04 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/express_route_circuits_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/express_route_circuits_operations.py @@ -286,7 +286,7 @@ def get_long_running_output(response): def list_arp_table( self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): - """The ListArpTable from ExpressRouteCircuit operation retrieves the + """The ListArpTable from ExpressRouteCircuit opertion retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. @@ -358,7 +358,7 @@ def internal_paging(next_link=None, raw=False): def list_routes_table( self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): - """The ListRoutesTable from ExpressRouteCircuit operation retrieves the + """The ListRoutesTable from ExpressRouteCircuit opertion retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. @@ -430,8 +430,8 @@ def internal_paging(next_link=None, raw=False): def list_stats( self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): - """The ListStats ExpressRouteCircuit operation retrieves all the stats - from a ExpressRouteCircuits in a resource group. + """The Liststats ExpressRouteCircuit opertion retrieves all the stats from + a ExpressRouteCircuits in a resource group. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/packet_captures_operations.py index 1d390a1f8f05..57c471cd1f1d 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/virtual_networks_operations.py index a76f432c3ade..27c07ec4f42b 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/virtual_networks_operations.py @@ -420,15 +420,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -451,8 +451,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/packet_captures_operations.py index 670007ff0156..980ff5bdb615 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/virtual_networks_operations.py index e3b485fd830a..ad0333e0f943 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/virtual_networks_operations.py @@ -420,15 +420,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -451,8 +451,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/packet_captures_operations.py index c4d234635726..39d620c31bba 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/virtual_networks_operations.py index bbca239f9416..094707d7ef3a 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/virtual_networks_operations.py @@ -420,15 +420,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -451,8 +451,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config.py index 38486bd2b9ce..27afb5ce6d1e 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config_py3.py index 922d2d8cdcf1..b1ffd9ef70aa 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/packet_captures_operations.py index 11233034a715..1a3679451d1f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_networks_operations.py index 6c38f6cf806e..8ac766b4fe4f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_networks_operations.py @@ -420,15 +420,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -451,8 +451,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py index e9f9382ab381..6c485ade7278 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config_py3.py index e24254d1784a..08b2f3f731cf 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py index b46aa1f66ce3..746d2dd73205 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py index 5021c6f7891e..f940da853cb9 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py @@ -420,15 +420,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -451,8 +451,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config.py index 72f6072caee9..9c3cdb8f7677 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config_py3.py index 33a12cc3e78d..19d62646d798 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/packet_captures_operations.py index ea9fa20781ca..e292148de1a0 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/virtual_networks_operations.py index 5ce2005ec0c5..cc0c8ffd117f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config.py index 9a25624f34c0..0b46aac29615 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config_py3.py index 38a8720c506f..e215423ddba7 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/packet_captures_operations.py index 5c3dc0d592dc..34666420bde0 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/virtual_networks_operations.py index e07c097282b6..f14d6f18bb2d 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config.py index 9bc0924773c6..e37485acf7db 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config_py3.py index 6204d587ecc7..3813a5866a94 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/packet_captures_operations.py index 5f7bec6505d4..537dfe051575 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/virtual_networks_operations.py index 0cea761c2b3a..bbe829b5612c 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config.py index f361c64bd9cf..f5b1e35d1e17 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config_py3.py index fcbe1a064205..35d68b4512ac 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/packet_captures_operations.py index 49ee45494249..31e109f64127 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/virtual_networks_operations.py index 174f5e482b8b..b83013430204 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection.py index a41958e8610b..4122dde509df 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection.py @@ -39,7 +39,7 @@ class ExpressRouteCircuitConnection(SubResource): :vartype circuit_connection_status: str or ~azure.mgmt.network.v2018_02_01.models.CircuitConnectionStatus :ivar provisioning_state: Provisioning state of the circuit connection - resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and + resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :param name: Gets name of the resource that is unique within a resource diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection_py3.py index ca91862945aa..f8703a416b75 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_connection_py3.py @@ -39,7 +39,7 @@ class ExpressRouteCircuitConnection(SubResource): :vartype circuit_connection_status: str or ~azure.mgmt.network.v2018_02_01.models.CircuitConnectionStatus :ivar provisioning_state: Provisioning state of the circuit connection - resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and + resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :param name: Gets name of the resource that is unique within a resource diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config.py index 462f97943c6f..926c7cbd808c 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config_py3.py index fa6abb8bc35e..68321598a594 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/express_route_circuit_connections_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/express_route_circuit_connections_operations.py index 1bc8001e7c78..20c7e3f22a9e 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/express_route_circuit_connections_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/express_route_circuit_connections_operations.py @@ -269,8 +269,8 @@ def create_or_update( connection. :type connection_name: str :param express_route_circuit_connection_parameters: Parameters - supplied to the create or update express route circuit connection - operation. + supplied to the create or update express route circuit circuit + connection operation. :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitConnection :param dict custom_headers: headers that will be added to the request diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/packet_captures_operations.py index 63c9b6e868ec..9fc84f29e31b 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/virtual_networks_operations.py index 3d88535b634e..9ed9d6d4c21d 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection.py index f39429a25955..bd47ce4926e7 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection.py @@ -39,7 +39,7 @@ class ExpressRouteCircuitConnection(SubResource): :vartype circuit_connection_status: str or ~azure.mgmt.network.v2018_04_01.models.CircuitConnectionStatus :ivar provisioning_state: Provisioning state of the circuit connection - resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and + resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :param name: Gets name of the resource that is unique within a resource diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection_py3.py index 034748965cd2..3a123aae7a60 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_connection_py3.py @@ -39,7 +39,7 @@ class ExpressRouteCircuitConnection(SubResource): :vartype circuit_connection_status: str or ~azure.mgmt.network.v2018_04_01.models.CircuitConnectionStatus :ivar provisioning_state: Provisioning state of the circuit connection - resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and + resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'. :vartype provisioning_state: str :param name: Gets name of the resource that is unique within a resource diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config.py index 7811a96d0b7b..51d249bb1f84 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config_py3.py index 4dbcd43749e6..f223b1e4dba4 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/express_route_circuit_peering_config_py3.py @@ -18,7 +18,7 @@ class ExpressRouteCircuitPeeringConfig(Model): :param advertised_public_prefixes: The reference of AdvertisedPublicPrefixes. :type advertised_public_prefixes: list[str] - :param advertised_communities: The communities of bgp peering. Specified + :param advertised_communities: The communities of bgp peering. Spepcified for microsoft peering :type advertised_communities: list[str] :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection.py index 32dec36e35a1..ef0237e1e5c6 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection.py @@ -40,8 +40,8 @@ class VpnConnection(Resource): :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. :vartype egress_bytes_transferred: long - :ivar connection_bandwidth: Expected bandwidth in MBPS. - :vartype connection_bandwidth: int + :ivar connection_bandwidth_in_mbps: Expected bandwidth in MBPS. + :vartype connection_bandwidth_in_mbps: int :param shared_key: SharedKey for the vpn connection. :type shared_key: str :param enable_bgp: EnableBgp flag @@ -64,7 +64,7 @@ class VpnConnection(Resource): 'type': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, - 'connection_bandwidth': {'readonly': True}, + 'connection_bandwidth_in_mbps': {'readonly': True}, 'etag': {'readonly': True}, } @@ -79,7 +79,7 @@ class VpnConnection(Resource): 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, - 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'connection_bandwidth_in_mbps': {'key': 'properties.connectionBandwidthInMbps', 'type': 'int'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, @@ -94,7 +94,7 @@ def __init__(self, **kwargs): self.connection_status = kwargs.get('connection_status', None) self.ingress_bytes_transferred = None self.egress_bytes_transferred = None - self.connection_bandwidth = None + self.connection_bandwidth_in_mbps = None self.shared_key = kwargs.get('shared_key', None) self.enable_bgp = kwargs.get('enable_bgp', None) self.ipsec_policies = kwargs.get('ipsec_policies', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection_py3.py index 9941ea0ed8ed..b73fa0bb31eb 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/vpn_connection_py3.py @@ -40,8 +40,8 @@ class VpnConnection(Resource): :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. :vartype egress_bytes_transferred: long - :ivar connection_bandwidth: Expected bandwidth in MBPS. - :vartype connection_bandwidth: int + :ivar connection_bandwidth_in_mbps: Expected bandwidth in MBPS. + :vartype connection_bandwidth_in_mbps: int :param shared_key: SharedKey for the vpn connection. :type shared_key: str :param enable_bgp: EnableBgp flag @@ -64,7 +64,7 @@ class VpnConnection(Resource): 'type': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, - 'connection_bandwidth': {'readonly': True}, + 'connection_bandwidth_in_mbps': {'readonly': True}, 'etag': {'readonly': True}, } @@ -79,7 +79,7 @@ class VpnConnection(Resource): 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, - 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'connection_bandwidth_in_mbps': {'key': 'properties.connectionBandwidthInMbps', 'type': 'int'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, @@ -94,7 +94,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, remote_vpn_si self.connection_status = connection_status self.ingress_bytes_transferred = None self.egress_bytes_transferred = None - self.connection_bandwidth = None + self.connection_bandwidth_in_mbps = None self.shared_key = shared_key self.enable_bgp = enable_bgp self.ipsec_policies = ipsec_policies diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/express_route_circuit_connections_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/express_route_circuit_connections_operations.py index 75db598423b0..8d58da485368 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/express_route_circuit_connections_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/express_route_circuit_connections_operations.py @@ -269,8 +269,8 @@ def create_or_update( connection. :type connection_name: str :param express_route_circuit_connection_parameters: Parameters - supplied to the create or update express route circuit connection - operation. + supplied to the create or update express route circuit circuit + connection operation. :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitConnection :param dict custom_headers: headers that will be added to the request diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/packet_captures_operations.py index c70c21a73d83..e89ce650735c 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/packet_captures_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/packet_captures_operations.py @@ -470,7 +470,7 @@ def get_long_running_output(response): lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/virtual_networks_operations.py index d3cd1330b5c6..9adbf5856d27 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/virtual_networks_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/virtual_networks_operations.py @@ -522,15 +522,15 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} def check_ip_address_availability( - self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + self, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): """Checks whether a private IP address is available for use. + :param ip_address: The private IP address to be verified. + :type ip_address: str :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 - :param ip_address: The private IP address to be verified. - :type ip_address: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -553,8 +553,7 @@ def check_ip_address_availability( # Construct parameters query_parameters = {} - if ip_address is not None: - query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py index 1737be75ad40..1416c1a40dfb 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py @@ -293,11 +293,9 @@ def get_long_running_output(response): delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} def list_by_vpn_gateway( - self, resource_group_name, gateway_name, custom_headers=None, raw=False, **operation_config): + self, gateway_name, custom_headers=None, raw=False, **operation_config): """Retrieves all vpn connections for a particular virtual wan vpn gateway. - :param resource_group_name: The resource group name of the VpnGateway. - :type resource_group_name: str :param gateway_name: The name of the gateway. :type gateway_name: str :param dict custom_headers: headers that will be added to the request @@ -318,7 +316,6 @@ def internal_paging(next_link=None, raw=False): url = self.list_by_vpn_gateway.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -359,4 +356,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'} + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'}