你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Certificate 类

定义

应用的 SSL 证书。

[Microsoft.Rest.Serialization.JsonTransformation]
public class Certificate : Microsoft.Azure.Management.WebSites.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Certificate = class
    inherit Resource
Public Class Certificate
Inherits Resource
继承
Certificate
属性

构造函数

Certificate()

初始化 Certificate 类的新实例。

Certificate(String, String, String, String, String, IDictionary<String, String>, String, String, String, IList<String>, Byte[], String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Byte[], String, HostingEnvironmentProfile, String, String, Nullable<KeyVaultSecretStatus>, String, String, String)

初始化 Certificate 类的新实例。

属性

CanonicalName

获取或设置要通过免费证书颁发的证书的 CNAME

CerBlob

获取 .cer 文件的原始字节数

DomainValidationMethod

获取或设置免费证书的域验证方法

ExpirationDate

获取证书过期日期。

FriendlyName

获取证书的友好名称。

HostingEnvironmentProfile

获取要用于证书的应用服务环境的规范。

HostNames

获取或设置证书应用于的主机名。

Id

获取资源 ID。

(继承自 Resource)
IssueDate

获取证书颁发日期。

Issuer

获取证书颁发者。

KeyVaultId

获取或设置密钥保管库 Csm 资源 ID。

KeyVaultSecretName

获取或设置密钥保管库机密名称。

KeyVaultSecretStatus

获取密钥保管库机密的状态。 可能的值包括:“Initialized”, “WaitingOnCertificateOrder”、“Succeeded”、“CertificateOrderFailed”、“OperationNotPermittedOnKeyVault”、“AzureServiceUnauthorizedToAccessKeyVault”、“KeyVaultDoesNotExist”、“KeyVaultSecretDoesNotExist”、“UnknownError”、“ExternalPrivateKey”、“Unknown”

Kind

获取或设置资源的种类。

(继承自 Resource)
Location

获取或设置资源位置。

(继承自 Resource)
Name

获取资源名称。

(继承自 Resource)
Password

获取或设置证书密码。

PfxBlob

获取或设置 pfx Blob。

PublicKeyHash

获取公钥哈希。

SelfLink

获取自链接。

ServerFarmId

获取或设置关联的App 服务计划的资源 ID,格式为:“/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”。

SiteName

获取应用名称。

SubjectName

获取证书的使用者名称。

Tags

获取或设置资源标记。

(继承自 Resource)
Thumbprint

获取证书指纹。

Type

获取资源类型。

(继承自 Resource)
Valid

获取证书是否有效?。

方法

Validate()

验证 对象。

适用于