NetAppElasticCapacityPoolCollection.GetAsync 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.
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. : 2026-01-15-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>> GetAsync(string elasticPoolName, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>> GetAsync(string poolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticCapacityPoolResource>>
Public Overridable Function GetAsync (elasticPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppElasticCapacityPoolResource))
Public Overridable Function GetAsync (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.