Sdílet prostřednictvím


IIpamPoolsOperations.BeginCreateWithHttpMessagesAsync Method

Definition

Creates/Updates the Pool resource.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.IpamPool,Microsoft.Azure.Management.Network.Models.IpamPoolsCreateHeaders>> BeginCreateWithHttpMessagesAsync (string resourceGroupName, string networkManagerName, string poolName, Microsoft.Azure.Management.Network.Models.IpamPool body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Network.Models.IpamPool * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.IpamPool, Microsoft.Azure.Management.Network.Models.IpamPoolsCreateHeaders>>
Public Function BeginCreateWithHttpMessagesAsync (resourceGroupName As String, networkManagerName As String, poolName As String, body As IpamPool, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IpamPool, IpamPoolsCreateHeaders))

Parameters

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

poolName
String

IP Address Manager Pool resource name.

body
IpamPool

Pool resource object to create/update.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Remarks

Creates/Updates the Pool resource.

Applies to