共用方式為


DiskRestorePointOperationsExtensions.RevokeAccessAsync Method

Definition

Revokes access to a diskRestorePoint.

public static System.Threading.Tasks.Task RevokeAccessAsync (this Microsoft.Azure.Management.Compute.IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName, System.Threading.CancellationToken cancellationToken = default);
static member RevokeAccessAsync : Microsoft.Azure.Management.Compute.IDiskRestorePointOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RevokeAccessAsync (operations As IDiskRestorePointOperations, resourceGroupName As String, restorePointCollectionName As String, vmRestorePointName As String, diskRestorePointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDiskRestorePointOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

restorePointCollectionName
String

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName
String

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName
String

The name of the disk restore point created.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to