Compartilhar via


ServicePrincipalsOperationsExtensions.UpdateKeyCredentialsAsync Método

Definição

Atualize as keyCredentials associadas a uma entidade de serviço.

public static System.Threading.Tasks.Task UpdateKeyCredentialsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipalsOperations operations, string objectId, 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.IServicePrincipalsOperations * 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 IServicePrincipalsOperations, objectId As String, value As IList(Of KeyCredential), Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IServicePrincipalsOperations

O grupo de operações para esse método de extensão.

objectId
String

A ID do objeto para a qual obter informações da entidade de serviço.

value
IList<KeyCredential>

Uma coleção de KeyCredentials.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a