Share via


Certificate Class

Definition

SSL certificate for an app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.CertificateTypeConverter))]
public class Certificate : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ICertificate, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.CertificateTypeConverter))>]
type Certificate = class
    interface ICertificate
    interface IJsonSerializable
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class Certificate
Implements ICertificate, IHeaderSerializable, IValidates
Inheritance
Certificate
Attributes
Implements

Constructors

Certificate()

Creates an new Certificate instance.

Properties

CanonicalName

CNAME of the certificate to be issued via free certificate

CerBlob

Raw bytes of .cer file

DomainValidationMethod

Method of domain validation for free cert

ExpirationDate

Certificate expiration date.

FriendlyName

Friendly name of the certificate.

HostingEnvironmentProfileId

Resource ID of the App Service Environment.

HostingEnvironmentProfileName

Name of the App Service Environment.

HostingEnvironmentProfileType

Resource type of the App Service Environment.

HostName

Host names the certificate applies to.

Id

Resource Id.

IssueDate

Certificate issue Date.

Issuer

Certificate issuer.

KeyVaultId

Key Vault Csm resource Id.

KeyVaultSecretName

Key Vault secret name.

KeyVaultSecretStatus

Status of the Key Vault secret.

Kind

Kind of resource.

Location

Resource Location.

Name

Resource Name.

Password

Certificate password.

PfxBlob

Pfx blob.

PublicKeyHash

Public key hash.

SelfLink

Self link.

ServerFarmId

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

SiteName

App name.

SubjectName

Subject name of the certificate.

Tag

Resource tags.

Thumbprint

Certificate thumbprint.

Type

Resource type.

Valid

Is the certificate valid?.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Certificate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Certificate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ICertificate.

FromJsonString(String)

Creates a new instance of Certificate, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Certificate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to