你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricsAdvisorAdministrationClient.GetDataSourceCredentialsAsync 方法

定义

获取描述此指标顾问资源中现有 DataSourceCredentialEntity 实例的项的集合。

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)

参数

options
GetDataSourceCredentialsOptions

用于配置请求行为的可选选项集。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

包含 AsyncPageable<T> 实例集合的 DataSourceCredentialEntity

适用于