MetricsAdvisorAdministrationClient.DeleteDataSourceCredential(String, CancellationToken) 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
System.String

The unique identifier of the DataSourceCredentialEntity to be deleted.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

Response

A Response containing the result of the operation.

Exceptions

System.ArgumentNullException

dataSourceCredentialId is null.

System.ArgumentException

dataSourceCredentialId is empty or not a valid GUID.

Applies to