ArmNetworkModelFactory.PublicIPAddressData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PublicIPAddressData.
public static Azure.ResourceManager.Network.PublicIPAddressData PublicIPAddressData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Network.Models.PublicIPAddressSku sku = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? publicIPAllocationMethod = default, Azure.ResourceManager.Network.Models.NetworkIPVersion? publicIPAddressVersion = default, Azure.ResourceManager.Network.Models.NetworkIPConfiguration ipConfiguration = default, Azure.ResourceManager.Network.Models.PublicIPAddressDnsSettings dnsSettings = default, Azure.ResourceManager.Network.Models.DdosSettings ddosSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IPTag> ipTags = default, string ipAddress = default, Azure.Core.ResourceIdentifier publicIPPrefixId = default, int? idleTimeoutInMinutes = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.PublicIPAddressData servicePublicIPAddress = default, Azure.ResourceManager.Network.NatGatewayData natGateway = default, Azure.ResourceManager.Network.Models.PublicIPAddressMigrationPhase? migrationPhase = default, Azure.ResourceManager.Network.PublicIPAddressData linkedPublicIPAddress = default, Azure.ResourceManager.Network.Models.IPAddressDeleteOption? deleteOption = default);
static member PublicIPAddressData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Network.Models.PublicIPAddressSku * Nullable<Azure.ETag> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPVersion> * Azure.ResourceManager.Network.Models.NetworkIPConfiguration * Azure.ResourceManager.Network.Models.PublicIPAddressDnsSettings * Azure.ResourceManager.Network.Models.DdosSettings * seq<Azure.ResourceManager.Network.Models.IPTag> * string * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.ResourceManager.Network.PublicIPAddressData * Azure.ResourceManager.Network.NatGatewayData * Nullable<Azure.ResourceManager.Network.Models.PublicIPAddressMigrationPhase> * Azure.ResourceManager.Network.PublicIPAddressData * Nullable<Azure.ResourceManager.Network.Models.IPAddressDeleteOption> -> Azure.ResourceManager.Network.PublicIPAddressData
Public Shared Function PublicIPAddressData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional sku As PublicIPAddressSku = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional publicIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing, Optional publicIPAddressVersion As Nullable(Of NetworkIPVersion) = Nothing, Optional ipConfiguration As NetworkIPConfiguration = Nothing, Optional dnsSettings As PublicIPAddressDnsSettings = Nothing, Optional ddosSettings As DdosSettings = Nothing, Optional ipTags As IEnumerable(Of IPTag) = Nothing, Optional ipAddress As String = Nothing, Optional publicIPPrefixId As ResourceIdentifier = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional servicePublicIPAddress As PublicIPAddressData = Nothing, Optional natGateway As NatGatewayData = Nothing, Optional migrationPhase As Nullable(Of PublicIPAddressMigrationPhase) = Nothing, Optional linkedPublicIPAddress As PublicIPAddressData = Nothing, Optional deleteOption As Nullable(Of IPAddressDeleteOption) = Nothing) As PublicIPAddressData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- extendedLocation
- ExtendedLocation
The extended location of the public ip address.
The public IP address SKU.
- zones
- IEnumerable<String>
A list of availability zones denoting the IP allocated for the resource needs to come from.
- publicIPAllocationMethod
- Nullable<NetworkIPAllocationMethod>
The public IP address allocation method.
- publicIPAddressVersion
- Nullable<NetworkIPVersion>
The public IP address version.
- ipConfiguration
- NetworkIPConfiguration
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
- IEnumerable<IPTag>
The list of tags associated with the public IP address.
- ipAddress
- String
The IP address associated with the public IP address resource.
- publicIPPrefixId
- ResourceIdentifier
The Public IP Prefix this Public IP Address should be allocated from.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the public IP address resource.
- servicePublicIPAddress
- PublicIPAddressData
The service public IP address of the public IP address resource.
- natGateway
- NatGatewayData
The NatGateway for the Public IP address.
- migrationPhase
- Nullable<PublicIPAddressMigrationPhase>
Migration phase of Public IP Address.
- linkedPublicIPAddress
- PublicIPAddressData
The linked public IP address of the public IP address resource.
- deleteOption
- Nullable<IPAddressDeleteOption>
Specify what happens to the public IP address when the VM using it is deleted.
Returns
A new PublicIPAddressData instance for mocking.
Applies to
Azure SDK for .NET