NetAppElasticAccountResource.GetNetAppElasticCapacityPoolAsync Method

Definition

Get the NetApp Elastic Capacity Pool.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>> GetNetAppElasticCapacityPoolAsync(string elasticPoolName, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>> GetNetAppElasticCapacityPoolAsync(string poolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppElasticCapacityPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
override this.GetNetAppElasticCapacityPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
abstract member GetNetAppElasticCapacityPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
override this.GetNetAppElasticCapacityPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
Public Overridable Function GetNetAppElasticCapacityPoolAsync (elasticPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppElasticCapacityPoolResource))
Public Overridable Function GetNetAppElasticCapacityPoolAsync (poolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppElasticCapacityPoolResource))

Parameters

elasticPoolNamepoolName
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

poolName is null.

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

Applies to