Compartilhar via


MetricsAdvisorAdministrationClient.GetDataSourceCredentialsAsync Método

Definição

Obtém uma coleção de itens que descrevem as instâncias existentes DataSourceCredentialEntity neste recurso do Assistente de Métricas.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity> GetDataSourceCredentialsAsync (Azure.AI.MetricsAdvisor.Administration.GetDataSourceCredentialsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataSourceCredentialsAsync : Azure.AI.MetricsAdvisor.Administration.GetDataSourceCredentialsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity>
override this.GetDataSourceCredentialsAsync : Azure.AI.MetricsAdvisor.Administration.GetDataSourceCredentialsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity>
Public Overridable Function GetDataSourceCredentialsAsync (Optional options As GetDataSourceCredentialsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataSourceCredentialEntity)

Parâmetros

options
GetDataSourceCredentialsOptions

Um conjunto opcional de opções usado para configurar o comportamento da solicitação.

cancellationToken
CancellationToken

Um CancellationToken que controla o tempo de vida da solicitação.

Retornos

Um AsyncPageable<T> que contém a coleção de DataSourceCredentialEntity instâncias.

Aplica-se a