NetAppElasticVolumeResource.GetNetAppElasticSnapshot Method

Definition

Get a ElasticSnapshot.

public virtual Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticSnapshotResource> GetNetAppElasticSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppElasticSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticSnapshotResource>
override this.GetNetAppElasticSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticSnapshotResource>
Public Overridable Function GetNetAppElasticSnapshot (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppElasticSnapshotResource)

Parameters

snapshotName
String

The name of the ElasticSnapshot.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

snapshotName is null.

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

Applies to