Compartilhar via


FederatedIdentityCredentialCollection.GetAsync Método

Definição

Obtém a credencial de identidade federada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}
  • IdFederatedIdentityCredentials_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServiceIdentities.FederatedIdentityCredentialResource>> GetAsync (string federatedIdentityCredentialResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServiceIdentities.FederatedIdentityCredentialResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServiceIdentities.FederatedIdentityCredentialResource>>
Public Overridable Function GetAsync (federatedIdentityCredentialResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FederatedIdentityCredentialResource))

Parâmetros

federatedIdentityCredentialResourceName
String

O nome do recurso de credencial de identidade federada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

federatedIdentityCredentialResourceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

federatedIdentityCredentialResourceName é nulo.

Aplica-se a