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.models._models_py3.Resource
PublicIPAddress

Constructor

PublicIPAddress(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, sku: _models.PublicIPAddressSku | None = None, zones: List[str] | None = None, public_ip_allocation_method: str | _models.IPAllocationMethod | None = None, public_ip_address_version: str | _models.IPVersion | None = None, dns_settings: _models.PublicIPAddressDnsSettings | None = None, ddos_settings: _models.DdosSettings | None = None, ip_tags: List[_models.IpTag] | None = None, ip_address: str | None = None, public_ip_prefix: _models.SubResource | None = None, idle_timeout_in_minutes: int | None = None, service_public_ip_address: _models.PublicIPAddress | None = None, nat_gateway: _models.NatGateway | None = None, migration_phase: str | _models.PublicIPAddressMigrationPhase | None = None, linked_public_ip_address: _models.PublicIPAddress | None = None, delete_option: str | _models.DeleteOptions | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

extended_location

The extended location of the public ip address.

sku

The public IP address SKU.

zones

A list of availability zones denoting the IP allocated for the resource needs to come from.

public_ip_allocation_method

The public IP address allocation method. Known values are: "Static" and "Dynamic".

public_ip_address_version

The public IP address version. Known values are: "IPv4" and "IPv6".

dns_settings

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

ddos_settings

The DDoS protection custom policy associated with the public IP address.

ip_tags

The list of tags associated with the public IP address.

ip_address
str

The IP address associated with the public IP address resource.

public_ip_prefix

The Public IP Prefix this Public IP Address should be allocated from.

idle_timeout_in_minutes
int

The idle timeout of the public IP address.

service_public_ip_address

The service public IP address of the public IP address resource.

nat_gateway

The NatGateway for the Public IP address.

migration_phase

Migration phase of Public IP Address. Known values are: "None", "Prepare", "Commit", "Abort", and "Committed".

linked_public_ip_address

The linked public IP address of the public IP address resource.

delete_option

Specify what happens to the public IP address when the VM using it is deleted. Known values are: "Delete" and "Detach".

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

extended_location

The extended location of the public ip address.

sku

The public IP address SKU.

etag
str

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

zones

A list of availability zones denoting the IP allocated for the resource needs to come from.

public_ip_allocation_method

The public IP address allocation method. Known values are: "Static" and "Dynamic".

public_ip_address_version

The public IP address version. Known values are: "IPv4" and "IPv6".

ip_configuration

The IP configuration associated with the public IP address.

dns_settings

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

ddos_settings

The DDoS protection custom policy associated with the public IP address.

ip_tags

The list of tags associated with the public IP address.

ip_address
str

The IP address associated with the public IP address resource.

public_ip_prefix

The Public IP Prefix this Public IP Address should be allocated from.

idle_timeout_in_minutes
int

The idle timeout of the public IP address.

resource_guid
str

The resource GUID property of the public IP address resource.

provisioning_state

The provisioning state of the public IP address resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed".

service_public_ip_address

The service public IP address of the public IP address resource.

nat_gateway

The NatGateway for the Public IP address.

migration_phase

Migration phase of Public IP Address. Known values are: "None", "Prepare", "Commit", "Abort", and "Committed".

linked_public_ip_address

The linked public IP address of the public IP address resource.

delete_option

Specify what happens to the public IP address when the VM using it is deleted. Known values are: "Delete" and "Detach".