SnapshotsOperationsExtensions.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.
public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.AccessUri> BeginGrantAccessAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.ISnapshotsOperations operations, string resourceGroupName, string snapshotName, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default);
static member BeginGrantAccessAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.ISnapshotsOperations * string * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.GrantAccessData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.AccessUri>
<Extension()>
Public Function BeginGrantAccessAsync (operations As ISnapshotsOperations, resourceGroupName As String, snapshotName As String, grantAccessData As GrantAccessData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessUri)
Parameters
- operations
- ISnapshotsOperations
- resourceGroupName
- String
- snapshotName
- String
- grantAccessData
- GrantAccessData
- cancellationToken
- CancellationToken