MetricsAdvisorAdministrationClient.GetDataSourceCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an existing 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)
Parameters
- dataSourceCredentialId
- String
The unique identifier of the DataSourceCredentialEntity.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Response<T> containing the result of the operation. The result is a DataSourceCredentialEntity instance containing the requested information.
Exceptions
dataSourceCredentialId
is null.
dataSourceCredentialId
is empty or not a valid GUID.
Applies to
Azure SDK for .NET