PublicIPAddress Constructors

Definition

Overloads

PublicIPAddress()

Initializes a new instance of the PublicIPAddress class.

PublicIPAddress(String, String, String, String, IDictionary<String, String>, ExtendedLocation, PublicIPAddressSku, String, String, IPConfiguration, PublicIPAddressDnsSettings, DdosSettings, IList<IpTag>, String, SubResource, Nullable<Int32>, String, String, PublicIPAddress, NatGateway, String, PublicIPAddress, String, String, IList<String>)

Initializes a new instance of the PublicIPAddress class.

PublicIPAddress()

Initializes a new instance of the PublicIPAddress class.

public PublicIPAddress ();
Public Sub New ()

Applies to

PublicIPAddress(String, String, String, String, IDictionary<String, String>, ExtendedLocation, PublicIPAddressSku, String, String, IPConfiguration, PublicIPAddressDnsSettings, DdosSettings, IList<IpTag>, String, SubResource, Nullable<Int32>, String, String, PublicIPAddress, NatGateway, String, PublicIPAddress, String, String, IList<String>)

Initializes a new instance of the PublicIPAddress class.

public PublicIPAddress (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Network.Models.PublicIPAddressSku sku = default, string publicIPAllocationMethod = default, string publicIPAddressVersion = default, Microsoft.Azure.Management.Network.Models.IPConfiguration ipConfiguration = default, Microsoft.Azure.Management.Network.Models.PublicIPAddressDnsSettings dnsSettings = default, Microsoft.Azure.Management.Network.Models.DdosSettings ddosSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpTag> ipTags = default, string ipAddress = default, Microsoft.Azure.Management.Network.Models.SubResource publicIPPrefix = default, int? idleTimeoutInMinutes = default, string resourceGuid = default, string provisioningState = default, Microsoft.Azure.Management.Network.Models.PublicIPAddress servicePublicIPAddress = default, Microsoft.Azure.Management.Network.Models.NatGateway natGateway = default, string migrationPhase = default, Microsoft.Azure.Management.Network.Models.PublicIPAddress linkedPublicIPAddress = default, string deleteOption = default, string etag = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Network.Models.PublicIPAddress : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ExtendedLocation * Microsoft.Azure.Management.Network.Models.PublicIPAddressSku * string * string * Microsoft.Azure.Management.Network.Models.IPConfiguration * Microsoft.Azure.Management.Network.Models.PublicIPAddressDnsSettings * Microsoft.Azure.Management.Network.Models.DdosSettings * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpTag> * string * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<int> * string * string * Microsoft.Azure.Management.Network.Models.PublicIPAddress * Microsoft.Azure.Management.Network.Models.NatGateway * string * Microsoft.Azure.Management.Network.Models.PublicIPAddress * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Models.PublicIPAddress
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional sku As PublicIPAddressSku = Nothing, Optional publicIPAllocationMethod As String = Nothing, Optional publicIPAddressVersion As String = Nothing, Optional ipConfiguration As IPConfiguration = Nothing, Optional dnsSettings As PublicIPAddressDnsSettings = Nothing, Optional ddosSettings As DdosSettings = Nothing, Optional ipTags As IList(Of IpTag) = Nothing, Optional ipAddress As String = Nothing, Optional publicIPPrefix As SubResource = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional servicePublicIPAddress As PublicIPAddress = Nothing, Optional natGateway As NatGateway = Nothing, Optional migrationPhase As String = Nothing, Optional linkedPublicIPAddress As PublicIPAddress = Nothing, Optional deleteOption As String = Nothing, Optional etag As String = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
ExtendedLocation

The extended location of the public ip address.

sku
PublicIPAddressSku

The public IP address SKU.

publicIPAllocationMethod
String

The public IP address allocation method. Possible values include: 'Static', 'Dynamic'

publicIPAddressVersion
String

The public IP address version. Possible values include: 'IPv4', 'IPv6'

ipConfiguration
IPConfiguration

The IP configuration associated with the public IP address.

dnsSettings
PublicIPAddressDnsSettings

The FQDN of the DNS record associated with the public IP address.

ddosSettings
DdosSettings

The DDoS protection custom policy associated with the public IP address.

ipTags
IList<IpTag>

The list of tags associated with the public IP address.

ipAddress
String

The IP address associated with the public IP address resource.

publicIPPrefix
SubResource

The Public IP Prefix this Public IP Address should be allocated from.

idleTimeoutInMinutes
Nullable<Int32>

The idle timeout of the public IP address.

resourceGuid
String

The resource GUID property of the public IP address resource.

provisioningState
String

The provisioning state of the public IP address resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

servicePublicIPAddress
PublicIPAddress

The service public IP address of the public IP address resource.

natGateway
NatGateway

The NatGateway for the Public IP address.

migrationPhase
String

Migration phase of Public IP Address. Possible values include: 'None', 'Prepare', 'Commit', 'Abort', 'Committed'

linkedPublicIPAddress
PublicIPAddress

The linked public IP address of the public IP address resource.

deleteOption
String

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

etag
String

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

zones
IList<String>

A list of availability zones denoting the IP allocated for the resource needs to come from.

Applies to