ArmNetworkModelFactory.CustomIPPrefixData Method

Definition

public static Azure.ResourceManager.Network.CustomIPPrefixData CustomIPPrefixData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string asn = default, string cidr = default, string signedMessage = default, string authorizationMessage = default, Azure.Core.ResourceIdentifier customIpPrefixParent = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> childCustomIpPrefixes = 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.Network.Models.NetworkSubResource> publicIpPrefixes = default, Guid? resourceGuid = default, string failedReason = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ETag? eTag = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member CustomIPPrefixData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * 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.Network.Models.NetworkSubResource> * Nullable<Guid> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * seq<string> -> Azure.ResourceManager.Network.CustomIPPrefixData
Public Shared Function CustomIPPrefixData (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 asn As String = Nothing, Optional cidr As String = Nothing, Optional signedMessage As String = Nothing, Optional authorizationMessage As String = Nothing, Optional customIpPrefixParent As ResourceIdentifier = Nothing, Optional childCustomIpPrefixes As IEnumerable(Of NetworkSubResource) = 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 NetworkSubResource) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional failedReason As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As CustomIPPrefixData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

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.

customIpPrefixParent
ResourceIdentifier

The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.

childCustomIpPrefixes
IEnumerable<NetworkSubResource>

The list of all Children for IPv6 /48 CustomIpPrefix.

commissionedState
Nullable<CommissionedState>

The commissioned state of the Custom IP Prefix.

expressRouteAdvertise
Nullable<Boolean>

Whether to do express route advertise.

geo
Nullable<CidrAdvertisingGeoCode>

The Geo for CIDR advertising. Should be an Geo code.

noInternetAdvertise
Nullable<Boolean>

Whether to Advertise the range to Internet.

prefixType
Nullable<CustomIPPrefixType>

Type of custom IP prefix. Should be Singular, Parent, or Child.

publicIpPrefixes
IEnumerable<NetworkSubResource>

The list of all referenced PublicIpPrefixes.

resourceGuid
Nullable<Guid>

The resource GUID property of the custom IP prefix resource.

failedReason
String

The reason why resource is in failed state.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the custom IP prefix resource.

extendedLocation
ExtendedLocation

The extended location of the custom IP prefix.

eTag
Nullable<ETag>

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

zones
IEnumerable<String>

A list of availability zones denoting where the resource needs to come from.

Returns

A new CustomIPPrefixData instance for mocking.

Applies to