Share via


RestorePointsOperationsExtensions.GetAsync Method

Definition

The operation to get the restore point.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RestorePoint> GetAsync (this Microsoft.Azure.Management.Compute.IRestorePointsOperations operations, string resourceGroupName, string restorePointCollectionName, string restorePointName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IRestorePointsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RestorePoint>
<Extension()>
Public Function GetAsync (operations As IRestorePointsOperations, resourceGroupName As String, restorePointCollectionName As String, restorePointName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RestorePoint)

Parameters

operations
IRestorePointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

restorePointCollectionName
String

The name of the restore point collection.

restorePointName
String

The name of the restore point.

expand
String

The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point. Possible values include: 'instanceView'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to