共用方式為


CertificatesOperationsExtensions.DeleteAsync 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 = 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.

Applies to