VaultsOperationsExtensions.UpdateAccessPolicyAsync 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.
Update access policies in a key vault in the specified subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultAccessPolicyParametersInner> UpdateAccessPolicyAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, string vaultName, Microsoft.Azure.Management.KeyVault.Fluent.Models.AccessPolicyUpdateKind operationKind, Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultAccessPolicyProperties properties, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAccessPolicyAsync : Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Fluent.Models.AccessPolicyUpdateKind * Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultAccessPolicyProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultAccessPolicyParametersInner>
<Extension()>
Public Function UpdateAccessPolicyAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, operationKind As AccessPolicyUpdateKind, properties As VaultAccessPolicyProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VaultAccessPolicyParametersInner)
Parameters
- operations
- IVaultsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the Resource Group to which the vault belongs.
- vaultName
- String
Name of the vault
- operationKind
- AccessPolicyUpdateKind
Name of the operation. Possible values include: 'add', 'replace', 'remove'
- properties
- VaultAccessPolicyProperties
Properties of the access policy
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET