Condividi tramite


NetAppElasticVolumeCollection.Get(String, CancellationToken) 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 Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticVolumeResource> Get(string volumeName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticVolumeResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticVolumeResource>
Public Overridable Function Get (volumeName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppElasticVolumeResource)

Parameters

volumeName
String

The name of the ElasticVolume.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

volumeName is null.

Applies to