你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationsOperationsExtensions.UpdateKeyCredentialsAsync 方法

定义

更新与应用程序关联的 keyCredentials。

public static System.Threading.Tasks.Task UpdateKeyCredentialsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations operations, string applicationObjectId, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> value, System.Threading.CancellationToken cancellationToken = default);
static member UpdateKeyCredentialsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateKeyCredentialsAsync (operations As IApplicationsOperations, applicationObjectId As String, value As IList(Of KeyCredential), Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IApplicationsOperations

此扩展方法的操作组。

applicationObjectId
String

应用程序对象 ID。

value
IList<KeyCredential>

KeyCredentials 的集合。

cancellationToken
CancellationToken

取消标记。

返回

适用于