Sdílet prostřednictvím


SnapshotsOperationsExtensions.GetAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Snapshot> GetAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.ISnapshotsOperations operations, string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.ISnapshotsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Snapshot>
<Extension()>
Public Function GetAsync (operations As ISnapshotsOperations, resourceGroupName As String, snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Snapshot)

Parameters

resourceGroupName
String
snapshotName
String
cancellationToken
CancellationToken

Returns

Applies to