次の方法で共有


VaultsOperationsExtensions.UpdateAccessPolicyAsync メソッド

定義

指定したサブスクリプションのキー コンテナーのアクセス ポリシーを更新します。

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)

パラメーター

operations
IVaultsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

コンテナーが属するリソース グループの名前。

vaultName
String

コンテナーの名前

operationKind
AccessPolicyUpdateKind

操作の名前。 使用可能な値は、'add'、'replace'、'remove' です。

properties
VaultAccessPolicyProperties

アクセス ポリシーのプロパティ

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象