Share via


Certificate Class

Definition

SSL certificate for an app.

[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
Inheritance
Certificate
Attributes

Constructors

Certificate()

Initializes a new instance of the Certificate class.

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)

Initializes a new instance of the Certificate class.

Properties

CanonicalName

Gets or sets CNAME of the certificate to be issued via free certificate

CerBlob

Gets raw bytes of .cer file

DomainValidationMethod

Gets or sets method of domain validation for free cert

ExpirationDate

Gets certificate expiration date.

FriendlyName

Gets friendly name of the certificate.

HostingEnvironmentProfile

Gets specification for the App Service Environment to use for the certificate.

HostNames

Gets or sets host names the certificate applies to.

Id

Gets resource Id.

(Inherited from Resource)
IssueDate

Gets certificate issue Date.

Issuer

Gets certificate issuer.

KeyVaultId

Gets or sets key Vault Csm resource Id.

KeyVaultSecretName

Gets or sets key Vault secret name.

KeyVaultSecretStatus

Gets status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'

Kind

Gets or sets kind of resource.

(Inherited from Resource)
Location

Gets or sets resource Location.

(Inherited from Resource)
Name

Gets resource Name.

(Inherited from Resource)
Password

Gets or sets certificate password.

PfxBlob

Gets or sets pfx blob.

PublicKeyHash

Gets public key hash.

SelfLink

Gets self link.

ServerFarmId

Gets or sets resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

SiteName

Gets app name.

SubjectName

Gets subject name of the certificate.

Tags

Gets or sets resource tags.

(Inherited from Resource)
Thumbprint

Gets certificate thumbprint.

Type

Gets resource type.

(Inherited from Resource)
Valid

Gets is the certificate valid?.

Methods

Validate()

Validate the object.

Applies to