CertificatesOperationsExtensions.DeleteAsync 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.
Delete an X509 certificate.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.IotHub.ICertificatesOperations operations, string resourceGroupName, string resourceName, string certificateName, string ifMatch, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ICertificatesOperations, resourceGroupName As String, resourceName As String, certificateName As String, ifMatch As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ICertificatesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the IoT hub.
- resourceName
- String
The name of the IoT hub.
- certificateName
- String
The name of the certificate
- ifMatch
- String
ETag of the Certificate.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Deletes an existing X509 certificate or does nothing if it does not exist.