ArmNetworkModelFactory.CustomIPPrefixData 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 CustomIPPrefixData.
public static Azure.ResourceManager.Network.CustomIPPrefixData CustomIPPrefixData (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.ETag? etag = default, System.Collections.Generic.IEnumerable<string> zones = default, string asn = default, string cidr = default, string signedMessage = default, string authorizationMessage = default, Azure.Core.ResourceIdentifier parentCustomIPPrefixId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> childCustomIPPrefixList = default, Azure.ResourceManager.Network.Models.CommissionedState? commissionedState = default, bool? expressRouteAdvertise = default, Azure.ResourceManager.Network.Models.CidrAdvertisingGeoCode? geo = default, bool? noInternetAdvertise = default, Azure.ResourceManager.Network.Models.CustomIPPrefixType? prefixType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPPrefixes = default, Guid? resourceGuid = default, string failedReason = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member CustomIPPrefixData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * seq<string> * string * string * string * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.CommissionedState> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.CidrAdvertisingGeoCode> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.CustomIPPrefixType> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Guid> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.CustomIPPrefixData
Public Shared Function CustomIPPrefixData (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 etag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional asn As String = Nothing, Optional cidr As String = Nothing, Optional signedMessage As String = Nothing, Optional authorizationMessage As String = Nothing, Optional parentCustomIPPrefixId As ResourceIdentifier = Nothing, Optional childCustomIPPrefixList As IEnumerable(Of WritableSubResource) = Nothing, Optional commissionedState As Nullable(Of CommissionedState) = Nothing, Optional expressRouteAdvertise As Nullable(Of Boolean) = Nothing, Optional geo As Nullable(Of CidrAdvertisingGeoCode) = Nothing, Optional noInternetAdvertise As Nullable(Of Boolean) = Nothing, Optional prefixType As Nullable(Of CustomIPPrefixType) = Nothing, Optional publicIPPrefixes As IEnumerable(Of WritableSubResource) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional failedReason As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As CustomIPPrefixData
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 custom IP prefix.
- zones
- IEnumerable<String>
A list of availability zones denoting the IP allocated for the resource needs to come from.
- asn
- String
The ASN for CIDR advertising. Should be an integer as string.
- cidr
- String
The prefix range in CIDR notation. Should include the start address and the prefix length.
- signedMessage
- String
Signed message for WAN validation.
- authorizationMessage
- String
Authorization message for WAN validation.
- parentCustomIPPrefixId
- ResourceIdentifier
The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- childCustomIPPrefixList
- IEnumerable<WritableSubResource>
The list of all Children for IPv6 /48 CustomIpPrefix.
- commissionedState
- Nullable<CommissionedState>
The commissioned state of the Custom IP Prefix.
The Geo for CIDR advertising. Should be an Geo code.
- prefixType
- Nullable<CustomIPPrefixType>
Type of custom IP prefix. Should be Singular, Parent, or Child.
- publicIPPrefixes
- IEnumerable<WritableSubResource>
The list of all referenced PublicIpPrefixes.
- failedReason
- String
The reason why resource is in failed state.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the custom IP prefix resource.
Returns
A new CustomIPPrefixData instance for mocking.
Applies to
Azure SDK for .NET