ISnapshotsBeta.GrantAccessAsync(String, String, AccessLevel, Int32, CancellationToken) ISnapshotsBeta.GrantAccessAsync(String, String, AccessLevel, Int32, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<string> GrantAccessAsync (string resourceGroupName, string snapshotName, Microsoft.Azure.Management.Compute.Fluent.Models.AccessLevel accessLevel, int accessDuration, System.Threading.CancellationToken cancellationToken = null);
abstract member GrantAccessAsync : string * string * Microsoft.Azure.Management.Compute.Fluent.Models.AccessLevel * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
resourceGroupName
String String
snapshotName
String String
accessLevel
AccessLevel AccessLevel
accessDuration
Int32 Int32
Returns

Applies to