CertificatesOperationsExtensions.DeleteAsync(ICertificatesOperations, String, String, String, String, CancellationToken) Method

Definition

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 = null);
static member DeleteAsync : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the IoT hub.

resourceName
System.String

The name of the IoT hub.

certificateName
System.String

The name of the certificate

ifMatch
System.String

ETag of the Certificate.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Deletes an existing X509 certificate or does nothing if it does not exist.

Applies to