KeyVaultEkmClient.DeleteEkmConnectionAsync(CancellationToken) 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 the existing External Key Manager (EKM) connection. If the EKM connection does not exist, this operation fails. This operation requires ekm/delete permission.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultEkmConnection>> DeleteEkmConnectionAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteEkmConnectionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultEkmConnection>>
override this.DeleteEkmConnectionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultEkmConnection>>
Public Overridable Function DeleteEkmConnectionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KeyVaultEkmConnection))
Parameters
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
Exceptions
Service returned a non-success status code.