PublicIPAddress Class

Public IP address resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network.v2016_09_01.models._models_py3.Resource
PublicIPAddress

Constructor

PublicIPAddress(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, etag: typing.Union[str, NoneType] = None, public_ip_allocation_method: typing.Union[str, _ForwardRef('IPAllocationMethod'), NoneType] = None, public_ip_address_version: typing.Union[str, _ForwardRef('IPVersion'), NoneType] = None, dns_settings: typing.Union[_ForwardRef('PublicIPAddressDnsSettings'), NoneType] = None, ip_address: typing.Union[str, NoneType] = None, idle_timeout_in_minutes: typing.Union[int, NoneType] = None, resource_guid: typing.Union[str, NoneType] = None, provisioning_state: typing.Union[str, NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

etag
str

A unique read-only string that changes whenever the resource is updated.

public_ip_allocation_method
str or IPAllocationMethod

The public IP allocation method. Possible values are: 'Static' and 'Dynamic'. Possible values include: "Static", "Dynamic".

public_ip_address_version
str or IPVersion

The public IP address version. Possible values are: 'IPv4' and 'IPv6'. Possible values include: "IPv4", "IPv6".

dns_settings
PublicIPAddressDnsSettings

The FQDN of the DNS record associated with the public IP address.

ip_address
str
idle_timeout_in_minutes
int

The idle timeout of the public IP address.

resource_guid
str

The resource GUID property of the public IP resource.

provisioning_state
str

The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

Variables

name
str

Resource name.

type
str

Resource type.

ip_configuration
IPConfiguration

IPConfiguration.