ArmNetworkModelFactory.PublicIPPrefixData 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 PublicIPPrefixData.
public static Azure.ResourceManager.Network.PublicIPPrefixData PublicIPPrefixData (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.PublicIPPrefixSku sku = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Network.Models.NetworkIPVersion? publicIPAddressVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IPTag> ipTags = default, int? prefixLength = default, string ipPrefix = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> publicIPAddresses = default, Azure.Core.ResourceIdentifier loadBalancerFrontendIPConfigurationId = default, Azure.Core.ResourceIdentifier customIPPrefixId = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.NatGatewayData natGateway = default);
static member PublicIPPrefixData : 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.PublicIPPrefixSku * Nullable<Azure.ETag> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPVersion> * seq<Azure.ResourceManager.Network.Models.IPTag> * Nullable<int> * string * seq<Azure.ResourceManager.Resources.Models.SubResource> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.ResourceManager.Network.NatGatewayData -> Azure.ResourceManager.Network.PublicIPPrefixData
Public Shared Function PublicIPPrefixData (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 PublicIPPrefixSku = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional publicIPAddressVersion As Nullable(Of NetworkIPVersion) = Nothing, Optional ipTags As IEnumerable(Of IPTag) = Nothing, Optional prefixLength As Nullable(Of Integer) = Nothing, Optional ipPrefix As String = Nothing, Optional publicIPAddresses As IEnumerable(Of SubResource) = Nothing, Optional loadBalancerFrontendIPConfigurationId As ResourceIdentifier = Nothing, Optional customIPPrefixId As ResourceIdentifier = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional natGateway As NatGatewayData = Nothing) As PublicIPPrefixData
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 prefix SKU.
- zones
- IEnumerable<String>
A list of availability zones denoting the IP allocated for the resource needs to come from.
- publicIPAddressVersion
- Nullable<NetworkIPVersion>
The public IP address version.
- ipTags
- IEnumerable<IPTag>
The list of tags associated with the public IP prefix.
- ipPrefix
- String
The allocated Prefix.
- publicIPAddresses
- IEnumerable<SubResource>
The list of all referenced PublicIPAddresses.
- loadBalancerFrontendIPConfigurationId
- ResourceIdentifier
The reference to load balancer frontend IP configuration associated with the public IP prefix.
- customIPPrefixId
- ResourceIdentifier
The customIpPrefix that this prefix is associated with.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the public IP prefix resource.
- natGateway
- NatGatewayData
NatGateway of Public IP Prefix.
Returns
A new PublicIPPrefixData instance for mocking.
Applies to
Azure SDK for .NET