Compartir a través de


MetricsAdvisorAdministrationClient.GetDataSourceCredential Método

Definición

Obtiene un objeto existente DataSourceCredentialEntity.

public virtual Azure.Response<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity> GetDataSourceCredential (string dataSourceCredentialId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataSourceCredential : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity>
override this.GetDataSourceCredential : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity>
Public Overridable Function GetDataSourceCredential (dataSourceCredentialId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataSourceCredentialEntity)

Parámetros

dataSourceCredentialId
String

Identificador único de DataSourceCredentialEntity.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

Response<T> que contiene el resultado de la operación. El resultado es una DataSourceCredentialEntity instancia que contiene la información solicitada.

Excepciones

dataSourceCredentialId es null.

dataSourceCredentialId está vacío o no es un GUID válido.

Se aplica a