Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Generated from 3749af17da52fd48f69870d8bacc577a54650ad1 (#3861)
Ported fix from master branch
  • Loading branch information
AutorestCI authored Nov 22, 2018
commit cd02ea63b465a0a121758e629ebe2ff333f41e2b
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