Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading