ArmNetworkModelFactory.IpamPoolAssociation 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 IpamPoolAssociation.
public static Azure.ResourceManager.Network.Models.IpamPoolAssociation IpamPoolAssociation (Azure.Core.ResourceIdentifier resourceId = default, Azure.Core.ResourceIdentifier poolId = default, string description = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, System.Collections.Generic.IEnumerable<string> reservedPrefixes = default, string totalNumberOfIPAddresses = default, string numberOfReservedIPAddresses = default, DateTimeOffset? createdOn = default, DateTimeOffset? reservationExpiresOn = default);
static member IpamPoolAssociation : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * seq<string> * seq<string> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Network.Models.IpamPoolAssociation
Public Shared Function IpamPoolAssociation (Optional resourceId As ResourceIdentifier = Nothing, Optional poolId As ResourceIdentifier = Nothing, Optional description As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional reservedPrefixes As IEnumerable(Of String) = Nothing, Optional totalNumberOfIPAddresses As String = Nothing, Optional numberOfReservedIPAddresses As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional reservationExpiresOn As Nullable(Of DateTimeOffset) = Nothing) As IpamPoolAssociation
Parameters
- resourceId
- ResourceIdentifier
Resource id of the associated Azure resource.
- poolId
- ResourceIdentifier
IpamPool id for which the resource is associated to.
- description
- String
- addressPrefixes
- IEnumerable<String>
List of assigned IP address prefixes in the IpamPool of the associated resource.
- reservedPrefixes
- IEnumerable<String>
List of reserved IP address prefixes in the IpamPool of the associated resource.
- totalNumberOfIPAddresses
- String
Total number of assigned IP addresses of the association.
- numberOfReservedIPAddresses
- String
Total number of reserved IP addresses of the association.
- createdOn
- Nullable<DateTimeOffset>
Creation time of the association.
- reservationExpiresOn
- Nullable<DateTimeOffset>
Expire time for IP addresses reserved.
Returns
A new IpamPoolAssociation instance for mocking.
Applies to
Azure SDK for .NET