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.
public static Azure.ResourceManager.Network.PublicIPAddressData PublicIPAddressData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = 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, 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, Azure.Core.ResourceIdentifier publicIPPrefixId = 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);
static member PublicIPAddressData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, 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 * 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.Core.ResourceIdentifier * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Network.Models.PublicIPAddressSku * Nullable<Azure.ETag> * seq<string> -> Azure.ResourceManager.Network.PublicIPAddressData
Public Shared Function PublicIPAddressData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, 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 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, Optional publicIPPrefixId As ResourceIdentifier = 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) As PublicIPAddressData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- 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.
- 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.
- publicIPPrefixId
- ResourceIdentifier
Resource ID.
- 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.
Returns
A new PublicIPAddressData instance for mocking.