PoolsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or Update a capacity pool

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NetApp.Models.CapacityPool> CreateOrUpdateAsync (this Microsoft.Azure.Management.NetApp.IPoolsOperations operations, string resourceGroupName, string accountName, string poolName, Microsoft.Azure.Management.NetApp.Models.CapacityPool body, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.NetApp.IPoolsOperations * string * string * string * Microsoft.Azure.Management.NetApp.Models.CapacityPool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NetApp.Models.CapacityPool>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPoolsOperations, resourceGroupName As String, accountName As String, poolName As String, body As CapacityPool, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityPool)

Parameters

operations
IPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The name of the NetApp account

poolName
String

The name of the capacity pool

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to