Condividi tramite


NetAppElasticCapacityPoolResource.GetNetAppElasticVolumeAsync Method

Definition

Get the details of the specified volume

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

Parameters

volumeName
String

The name of the ElasticVolume.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

volumeName is null.

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

Applies to