Compartilhar via


PublicIPPrefix Class

Public IP prefix resource.

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

Inheritance
azure.mgmt.network.models._models_py3.Resource
PublicIPPrefix

Constructor

PublicIPPrefix(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, sku: _models.PublicIPPrefixSku | None = None, zones: List[str] | None = None, public_ip_address_version: str | _models.IPVersion | None = None, ip_tags: List[_models.IpTag] | None = None, prefix_length: int | None = None, custom_ip_prefix: _models.SubResource | None = None, nat_gateway: _models.NatGateway | 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 prefix SKU.

zones

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

public_ip_address_version

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

ip_tags

The list of tags associated with the public IP prefix.

prefix_length
int

The Length of the Public IP Prefix.

custom_ip_prefix

The customIpPrefix that this prefix is associated with.

nat_gateway

NatGateway of Public IP Prefix.

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 prefix 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_address_version

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

ip_tags

The list of tags associated with the public IP prefix.

prefix_length
int

The Length of the Public IP Prefix.

ip_prefix
str

The allocated Prefix.

public_ip_addresses

The list of all referenced PublicIPAddresses.

load_balancer_frontend_ip_configuration

The reference to load balancer frontend IP configuration associated with the public IP prefix.

custom_ip_prefix

The customIpPrefix that this prefix is associated with.

resource_guid
str

The resource GUID property of the public IP prefix resource.

provisioning_state

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

nat_gateway

NatGateway of Public IP Prefix.