语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmNetworkModelFactory.IpamPoolProperties Method

Definition

Properties of IpamPool resource properties which are specific to the Pool resource.

public static Azure.ResourceManager.Network.Models.IpamPoolProperties IpamPoolProperties(string description = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IpamIPType> ipAddressType = default, string parentPoolName = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string minAllocationSize = default, string maxAllocationSize = default);
static member IpamPoolProperties : string * string * seq<Azure.ResourceManager.Network.Models.IpamIPType> * string * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * string -> Azure.ResourceManager.Network.Models.IpamPoolProperties
Public Shared Function IpamPoolProperties (Optional description As String = Nothing, Optional displayName As String = Nothing, Optional ipAddressType As IEnumerable(Of IpamIPType) = Nothing, Optional parentPoolName As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional minAllocationSize As String = Nothing, Optional maxAllocationSize As String = Nothing) As IpamPoolProperties

Parameters

description
String
displayName
String

String representing a friendly name for the resource.

ipAddressType
IEnumerable<IpamIPType>

List of IP address type for the IpamPool.

parentPoolName
String

String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.

addressPrefixes
IEnumerable<String>

List of IP address prefixes of the resource.

provisioningState
Nullable<NetworkProvisioningState>

Provisioning states of a resource.

minAllocationSize
String

Minimum number of IP addresses required for allocations from this IpamPool to be compliant. Must be less than or equal to the maximum allocation size. If not specified or empty, no minimum is enforced.

maxAllocationSize
String

Maximum number of IP addresses allowed for allocations from this IpamPool to be compliant. Must be greater than or equal to the minimum allocation size. If not specified or empty, no maximum is enforced.

Returns

A new IpamPoolProperties instance for mocking.

Applies to