Skip to content

Commit

Permalink
Generated from 3749af17da52fd48f69870d8bacc577a54650ad1 (#3861)
Browse files Browse the repository at this point in the history
Ported fix from master branch
  • Loading branch information
AutorestCI authored Nov 22, 2018
1 parent 9707715 commit cd02ea6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, virtual_network_name, ip_address, 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 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, ip_address, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, virtual_network_name, ip_address, 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 Down

0 comments on commit cd02ea6

Please sign in to comment.