Freigeben über


ElasticCapacityPoolCollection.GetAsync(String, CancellationToken) Method

Definition

Get the NetApp Elastic Capacity Pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}
  • Operation Id: ElasticCapacityPools_Get
  • Default Api Version: 2025-09-01-preview
  • Resource: ElasticCapacityPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>> GetAsync(string poolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ElasticCapacityPoolResource>>
Public Overridable Function GetAsync (poolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ElasticCapacityPoolResource))

Parameters

poolName
String

The name of the ElasticCapacityPool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

poolName is an empty string, and was expected to be non-empty.

poolName is null.

Applies to