VirtualMachinePublicIPAddressConfiguration Class

Describes a virtual machines IP Configuration's PublicIPAddress configuration.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachinePublicIPAddressConfiguration

Constructor

VirtualMachinePublicIPAddressConfiguration(*, name: str, sku: _models.PublicIPAddressSku | None = None, idle_timeout_in_minutes: int | None = None, delete_option: str | _models.DeleteOptions | None = None, dns_settings: _models.VirtualMachinePublicIPAddressDnsSettingsConfiguration | None = None, ip_tags: List[_models.VirtualMachineIpTag] | None = None, public_ip_prefix: _models.SubResource | None = None, public_ip_address_version: str | _models.IPVersions | None = None, public_ip_allocation_method: str | _models.PublicIPAllocationMethod | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The publicIP address configuration name. Required.

sku

Describes the public IP Sku.

idle_timeout_in_minutes
int

The idle timeout of the public IP address.

delete_option

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

dns_settings

The dns settings to be applied on the publicIP addresses .

ip_tags

The list of IP tags associated with the public IP address.

public_ip_prefix

The PublicIPPrefix from which to allocate publicIP addresses.

public_ip_address_version

Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Known values are: "IPv4" and "IPv6".

public_ip_allocation_method

Specify the public IP allocation type. Known values are: "Dynamic" and "Static".

Variables

Name Description
name
str

The publicIP address configuration name. Required.

sku

Describes the public IP Sku.

idle_timeout_in_minutes
int

The idle timeout of the public IP address.

delete_option

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

dns_settings

The dns settings to be applied on the publicIP addresses .

ip_tags

The list of IP tags associated with the public IP address.

public_ip_prefix

The PublicIPPrefix from which to allocate publicIP addresses.

public_ip_address_version

Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Known values are: "IPv4" and "IPv6".

public_ip_allocation_method

Specify the public IP allocation type. Known values are: "Dynamic" and "Static".