Пример #1
0
 /// <summary>
 /// Update access policies in a key vault in the specified subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Resource Group to which the vault belongs.
 /// </param>
 /// <param name='vaultName'>
 /// Name of the vault
 /// </param>
 /// <param name='operationKind'>
 /// Name of the operation. Possible values include: 'add', 'replace', 'remove'
 /// </param>
 /// <param name='parameters'>
 /// Access policy to merge into the vault
 /// </param>
 public static VaultAccessPolicyParameters UpdateAccessPolicy(this IVaultsOperations operations, string resourceGroupName, string vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParameters parameters)
 {
     return(operations.UpdateAccessPolicyAsync(resourceGroupName, vaultName, operationKind, parameters).GetAwaiter().GetResult());
 }