DiskRestorePointOperationsExtensions.BeginGrantAccessAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Grants access to a diskRestorePoint.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.AccessUri> BeginGrantAccessAsync (this Microsoft.Azure.Management.Compute.IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName, Microsoft.Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default);
static member BeginGrantAccessAsync : Microsoft.Azure.Management.Compute.IDiskRestorePointOperations * string * string * string * string * Microsoft.Azure.Management.Compute.Models.GrantAccessData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.AccessUri>
<Extension()>
Public Function BeginGrantAccessAsync (operations As IDiskRestorePointOperations, resourceGroupName As String, restorePointCollectionName As String, vmRestorePointName As String, diskRestorePointName As String, grantAccessData As GrantAccessData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.