IpAllocation Class

IpAllocation resource.

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

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

Constructor

IpAllocation(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, type_properties_type: typing.Union[str, _ForwardRef('IpAllocationType'), NoneType] = None, prefix: typing.Union[str, NoneType] = None, prefix_length: typing.Union[int, NoneType] = 0, prefix_type: typing.Union[str, _ForwardRef('IPVersion'), NoneType] = None, ipam_allocation_id: typing.Union[str, NoneType] = None, allocation_tags: typing.Union[typing.Dict[str, str], NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

type_properties_type
str or IpAllocationType

The type for the IpAllocation. Possible values include: "Undefined", "Hypernet".

prefix
str

The address prefix for the IpAllocation.

prefix_length
int

The address prefix length for the IpAllocation.

prefix_type
str or IPVersion

The address prefix Type for the IpAllocation. Possible values include: "IPv4", "IPv6".

ipam_allocation_id
str

The IPAM allocation ID.

allocation_tags
dict[str, str]

IpAllocation tags.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

subnet
SubResource

The Subnet that using the prefix of this IpAllocation resource.

virtual_network
SubResource

The VirtualNetwork that using the prefix of this IpAllocation resource.