你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServicePrincipalsOperationsExtensions.UpdateKeyCredentialsAsync 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.
public static System.Threading.Tasks.Task UpdateKeyCredentialsAsync (this Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IServicePrincipalsOperations operations, string objectId, Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.KeyCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateKeyCredentialsAsync : Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IServicePrincipalsOperations * string * Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.KeyCredentialsUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateKeyCredentialsAsync (operations As IServicePrincipalsOperations, objectId As String, parameters As KeyCredentialsUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IServicePrincipalsOperations
- objectId
- String
- parameters
- KeyCredentialsUpdateParameters
- cancellationToken
- CancellationToken