Share via


MetricsAdvisorAdministrationClient.DeleteDataSourceCredential Method

Definition

Deletes an existing DataSourceCredentialEntity.

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

Parameters

dataSourceCredentialId
String

The unique identifier of the DataSourceCredentialEntity to be deleted.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response containing the result of the operation.

Exceptions

dataSourceCredentialId is null.

dataSourceCredentialId is empty or not a valid GUID.

Applies to