MetricsAdvisorAdministrationClient.DeleteDataSourceCredential 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.
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.