Share via


VirtualMachinePublicIPAddressConfiguration Class

Describes a virtual machines IP Configuration's PublicIPAddress configuration.

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

Constructor

VirtualMachinePublicIPAddressConfiguration(*, name: str, sku: _models.PublicIPAddressSku | None = None, tags: dict[str, str] | 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. It can only be set with OrchestrationMode as Flexible.

Default value: None
tags

Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration.

Default value: None
idle_timeout_in_minutes
int

The idle timeout of the public IP address.

Default value: None
delete_option

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

Default value: None
dns_settings

The dns settings to be applied on the publicIP addresses .

Default value: None
ip_tags

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

Default value: None
public_ip_prefix

The PublicIPPrefix from which to allocate publicIP addresses.

Default value: None
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".

Default value: None
public_ip_allocation_method

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

Default value: None

Variables

Name Description
name
str

The publicIP address configuration name. Required.

sku

Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.

tags

Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration.

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".