Share via


VirtualMachineScaleSetPublicIPAddressConfiguration Constructors

Definition

Overloads

VirtualMachineScaleSetPublicIPAddressConfiguration()

Initializes a new instance of the VirtualMachineScaleSetPublicIPAddressConfiguration class.

VirtualMachineScaleSetPublicIPAddressConfiguration(String, Nullable<Int32>, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, IList<VirtualMachineScaleSetIpTag>, SubResource, String, String, PublicIPAddressSku)

Initializes a new instance of the VirtualMachineScaleSetPublicIPAddressConfiguration class.

VirtualMachineScaleSetPublicIPAddressConfiguration()

Initializes a new instance of the VirtualMachineScaleSetPublicIPAddressConfiguration class.

public VirtualMachineScaleSetPublicIPAddressConfiguration ();
Public Sub New ()

Applies to

VirtualMachineScaleSetPublicIPAddressConfiguration(String, Nullable<Int32>, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, IList<VirtualMachineScaleSetIpTag>, SubResource, String, String, PublicIPAddressSku)

Initializes a new instance of the VirtualMachineScaleSetPublicIPAddressConfiguration class.

public VirtualMachineScaleSetPublicIPAddressConfiguration (string name, int? idleTimeoutInMinutes = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings dnsSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIpTag> ipTags = default, Microsoft.Azure.Management.Compute.Models.SubResource publicIPPrefix = default, string publicIPAddressVersion = default, string deleteOption = default, Microsoft.Azure.Management.Compute.Models.PublicIPAddressSku sku = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetPublicIPAddressConfiguration : string * Nullable<int> * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIpTag> * Microsoft.Azure.Management.Compute.Models.SubResource * string * string * Microsoft.Azure.Management.Compute.Models.PublicIPAddressSku -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetPublicIPAddressConfiguration
Public Sub New (name As String, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional dnsSettings As VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Nothing, Optional ipTags As IList(Of VirtualMachineScaleSetIpTag) = Nothing, Optional publicIPPrefix As SubResource = Nothing, Optional publicIPAddressVersion As String = Nothing, Optional deleteOption As String = Nothing, Optional sku As PublicIPAddressSku = Nothing)

Parameters

name
String

The publicIP address configuration name.

idleTimeoutInMinutes
Nullable<Int32>

The idle timeout of the public IP address.

dnsSettings
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings

The dns settings to be applied on the publicIP addresses .

ipTags
IList<VirtualMachineScaleSetIpTag>

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

publicIPPrefix
SubResource

The PublicIPPrefix from which to allocate publicIP addresses.

publicIPAddressVersion
String

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'. Possible values include: 'IPv4', 'IPv6'

deleteOption
String

Specify what happens to the public IP when the VM is deleted. Possible values include: 'Delete', 'Detach'

Applies to