共用方式為


IDpsCertificateOperations.DeleteWithHttpMessagesAsync Method

Definition

Delete the Provisioning Service Certificate.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string resourceGroupName, string ifMatch, string provisioningServiceName, string certificateName, string certificatename = default, byte[] certificaterawBytes = default, bool? certificateisVerified = default, string certificatepurpose = default, DateTime? certificatecreated = default, DateTime? certificatelastUpdated = default, bool? certificatehasPrivateKey = default, string certificatenonce = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteWithHttpMessagesAsync : string * string * string * string * string * byte[] * Nullable<bool> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>

Parameters

resourceGroupName
String

Resource group identifier.

ifMatch
String

ETag of the certificate

provisioningServiceName
String

The name of the provisioning service.

certificateName
String

This is a mandatory field, and is the logical name of the certificate that the provisioning service will access by.

certificatename
String

This is optional, and it is the Common Name of the certificate.

certificaterawBytes
Byte[]

Raw data within the certificate.

certificateisVerified
Nullable<Boolean>

Indicates if certificate has been verified by owner of the private key.

certificatepurpose
String

A description that mentions the purpose of the certificate. Possible values include: 'clientAuthentication', 'serverAuthentication'

certificatecreated
Nullable<DateTime>

Time the certificate is created.

certificatelastUpdated
Nullable<DateTime>

Time the certificate is last updated.

certificatehasPrivateKey
Nullable<Boolean>

Indicates if the certificate contains a private key.

certificatenonce
String

Random number generated to indicate Proof of Possession.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Remarks

Deletes the specified certificate associated with the Provisioning Service

Applies to