Aracılığıyla paylaş


DiskRestorePointOperationsExtensions.GrantAccess Method

Definition

Grants access to a diskRestorePoint.

public static Microsoft.Azure.Management.Compute.Models.AccessUri GrantAccess (this Microsoft.Azure.Management.Compute.IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName, Microsoft.Azure.Management.Compute.Models.GrantAccessData grantAccessData);
static member GrantAccess : Microsoft.Azure.Management.Compute.IDiskRestorePointOperations * string * string * string * string * Microsoft.Azure.Management.Compute.Models.GrantAccessData -> Microsoft.Azure.Management.Compute.Models.AccessUri
<Extension()>
Public Function GrantAccess (operations As IDiskRestorePointOperations, resourceGroupName As String, restorePointCollectionName As String, vmRestorePointName As String, diskRestorePointName As String, grantAccessData As GrantAccessData) As AccessUri

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.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get disk access operation.

Returns

Applies to