/// <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='properties'> /// Properties of the access policy /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <VaultAccessPolicyParametersInner> UpdateAccessPolicyAsync(this IVaultsOperations operations, string resourceGroupName, string vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyPropertiesInner properties, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateAccessPolicyWithHttpMessagesAsync(resourceGroupName, vaultName, operationKind, properties, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }