Share via


VirtualMachinePublicIPAddressConfiguration Class

Definition

Describes a virtual machines IP Configuration's PublicIPAddress configuration.

public class VirtualMachinePublicIPAddressConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressConfiguration>
type VirtualMachinePublicIPAddressConfiguration = class
    interface IJsonModel<VirtualMachinePublicIPAddressConfiguration>
    interface IPersistableModel<VirtualMachinePublicIPAddressConfiguration>
Public Class VirtualMachinePublicIPAddressConfiguration
Implements IJsonModel(Of VirtualMachinePublicIPAddressConfiguration), IPersistableModel(Of VirtualMachinePublicIPAddressConfiguration)
Inheritance
VirtualMachinePublicIPAddressConfiguration
Implements

Constructors

VirtualMachinePublicIPAddressConfiguration(String)

Initializes a new instance of VirtualMachinePublicIPAddressConfiguration.

Properties

DeleteOption

Specify what happens to the public IP address when the VM is deleted.

DnsSettings

The dns settings to be applied on the publicIP addresses .

IdleTimeoutInMinutes

The idle timeout of the public IP address.

IPTags

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

Name

The publicIP address configuration name.

PublicIPAddressVersion

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

PublicIPAllocationMethod

Specify the public IP allocation type.

PublicIPPrefixId

Gets or sets Id.

Sku

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachinePublicIPAddressConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachinePublicIPAddressConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachinePublicIPAddressConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachinePublicIPAddressConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachinePublicIPAddressConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to