你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IDpsCertificateOperations.DeleteWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除预配服务证书。
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>
参数
- resourceGroupName
- String
资源组标识符。
- ifMatch
- String
证书的 ETag
- provisioningServiceName
- String
预配服务的名称。
- certificateName
- String
这是必填字段,是预配服务将访问的证书的逻辑名称。
- certificatename
- String
这是可选的,它是证书的公用名。
- certificaterawBytes
- Byte[]
证书中的原始数据。
- certificatepurpose
- String
提及证书用途的说明。 可能的值包括:“clientAuthentication”、“serverAuthentication”
- certificatenonce
- String
为指示所有权证明而生成的随机数。
- customHeaders
- Dictionary<String,List<String>>
将添加到请求的标头。
- cancellationToken
- CancellationToken
取消标记。
返回
例外
操作返回无效状态代码时引发
当所需的参数为 null 时引发
注解
删除与预配服务关联的指定证书