Compartilhar via


IApplicationsOperations.UpdateKeyCredentialsWithHttpMessagesAsync Método

Definição

Atualize as keyCredentials associadas a um aplicativo.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> UpdateKeyCredentialsWithHttpMessagesAsync (string applicationObjectId, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> value, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateKeyCredentialsWithHttpMessagesAsync : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function UpdateKeyCredentialsWithHttpMessagesAsync (applicationObjectId As String, value As IList(Of KeyCredential), Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parâmetros

applicationObjectId
String

ID do objeto do aplicativo.

value
IList<KeyCredential>

Uma coleção de KeyCredentials.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerado quando um parâmetro necessário é nulo

Aplica-se a