Compartilhar via


IpAllocation Class

IpAllocation resource.

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

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

Constructor

IpAllocation(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, type_properties_type: str | _models.IpAllocationType | None = None, prefix: str | None = None, prefix_length: int = 0, prefix_type: str | _models.IPVersion | None = None, ipam_allocation_id: str | None = None, allocation_tags: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

type_properties_type

The type for the IpAllocation. Known values are: "Undefined" and "Hypernet".

prefix
str

The address prefix for the IpAllocation.

prefix_length
int

The address prefix length for the IpAllocation.

prefix_type

The address prefix Type for the IpAllocation. Known values are: "IPv4" and "IPv6".

ipam_allocation_id
str

The IPAM allocation ID.

allocation_tags

IpAllocation tags.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

etag
str

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

subnet

The Subnet that using the prefix of this IpAllocation resource.

virtual_network

The VirtualNetwork that using the prefix of this IpAllocation resource.

type_properties_type

The type for the IpAllocation. Known values are: "Undefined" and "Hypernet".

prefix
str

The address prefix for the IpAllocation.

prefix_length
int

The address prefix length for the IpAllocation.

prefix_type

The address prefix Type for the IpAllocation. Known values are: "IPv4" and "IPv6".

ipam_allocation_id
str

The IPAM allocation ID.

allocation_tags

IpAllocation tags.