ElasticCapacityPoolCollection.CreateOrUpdateAsync 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.
Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}
- Operation Id: ElasticCapacityPools_CreateOrUpdate
- Default Api Version: 2025-09-01-preview
- Resource: ElasticCapacityPoolResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string poolName, Azure.ResourceManager.NetApp.ElasticCapacityPoolData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.NetApp.ElasticCapacityPoolData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.NetApp.ElasticCapacityPoolData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, poolName As String, data As ElasticCapacityPoolData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ElasticCapacityPoolResource))
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- poolName
- String
The name of the ElasticCapacityPool.
Resource create parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
poolName is an empty string, and was expected to be non-empty.
poolName or data is null.