AppCertificateData Class

Definition

A class representing the AppCertificate data model. SSL certificate for an app. Serialized Name: Certificate

public class AppCertificateData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.AppCertificateData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.AppCertificateData>
type AppCertificateData = class
    inherit TrackedResourceData
    interface IJsonModel<AppCertificateData>
    interface IPersistableModel<AppCertificateData>
Public Class AppCertificateData
Inherits TrackedResourceData
Implements IJsonModel(Of AppCertificateData), IPersistableModel(Of AppCertificateData)
Inheritance
Implements

Constructors

Name Description
AppCertificateData(AzureLocation)

Initializes a new instance of AppCertificateData.

Properties

Name Description
CanonicalName

CNAME of the certificate to be issued via free certificate Serialized Name: Certificate.properties.canonicalName

CerBlob

Raw bytes of .cer file Serialized Name: Certificate.properties.cerBlob

DomainValidationMethod

Method of domain validation for free cert Serialized Name: Certificate.properties.domainValidationMethod

ExpireOn

Certificate expiration date. Serialized Name: Certificate.properties.expirationDate

FriendlyName

Friendly name of the certificate. Serialized Name: Certificate.properties.friendlyName

HostingEnvironmentProfile

Specification for the App Service Environment to use for the certificate. Serialized Name: Certificate.properties.hostingEnvironmentProfile

HostNames

Host names the certificate applies to. Serialized Name: Certificate.properties.hostNames

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IssueOn

Certificate issue Date. Serialized Name: Certificate.properties.issueDate

Issuer

Certificate issuer. Serialized Name: Certificate.properties.issuer

IsValid

Is the certificate valid?. Serialized Name: Certificate.properties.valid

KeyVaultId

Azure Key Vault Csm resource Id. Serialized Name: Certificate.properties.keyVaultId

KeyVaultSecretName

Azure Key Vault secret name. Serialized Name: Certificate.properties.keyVaultSecretName

KeyVaultSecretStatus

Status of the Key Vault secret. Serialized Name: Certificate.properties.keyVaultSecretStatus

Kind

Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. Serialized Name: Certificate.kind

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Password

Certificate password.

PfxBlob

Pfx blob. Serialized Name: Certificate.properties.pfxBlob

PublicKeyHash

Public key hash. Serialized Name: Certificate.properties.publicKeyHash

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SelfLink

Self link. Serialized Name: Certificate.properties.selfLink

ServerFarmId

Resource ID of the associated App Service plan. Serialized Name: Certificate.properties.serverFarmId

SiteName

App name. Serialized Name: Certificate.properties.siteName

SubjectName

Subject name of the certificate. Serialized Name: Certificate.properties.subjectName

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
ThumbprintString

Certificate thumbprint. Serialized Name: Certificate.properties.thumbprint

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AppCertificateData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppCertificateData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppCertificateData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppCertificateData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppCertificateData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to