Share via


MetricsAdvisorAdministrationClient.GetDataSourceCredentials Method

Definition

Gets a collection of items describing the existing DataSourceCredentialEntity instances in this Metrics Advisor resource.

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

Parameters

options
GetDataSourceCredentialsOptions

An optional set of options used to configure the request's behavior.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of DataSourceCredentialEntity instances.

Applies to