/// <summary> /// Revokes access to a snapshot. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='snapshotName'> /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, /// A-Z, 0-9 and _. The max name length is 80 characters. /// </param> public static OperationStatusResponse BeginRevokeAccess(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { return(operations.BeginRevokeAccessAsync(resourceGroupName, snapshotName).GetAwaiter().GetResult()); }
/// <summary> /// Revokes access to a snapshot. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='snapshotName'> /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, /// A-Z, 0-9 and _. The max name length is 80 characters. /// </param> public static void BeginRevokeAccess(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { operations.BeginRevokeAccessAsync(resourceGroupName, snapshotName).GetAwaiter().GetResult(); }