Share via


CertificatePatchResource Class

Definition

ARM resource for a certificate.

[Microsoft.Rest.Serialization.JsonTransformation]
public class CertificatePatchResource : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type CertificatePatchResource = class
    inherit ProxyOnlyResourceInner
Public Class CertificatePatchResource
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

CertificatePatchResource()

Initializes a new instance of the CertificatePatchResource class.

CertificatePatchResource(String, String, 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)

Initializes a new instance of the CertificatePatchResource class.

Properties

CanonicalName

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

CerBlob

Gets raw bytes of .cer file

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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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 ProxyOnlyResourceInner)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
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

Resource tags

(Inherited from Resource)
Thumbprint

Gets certificate thumbprint.

Type

Resource type

(Inherited from ProxyResource)
Valid

Gets is the certificate valid?.

Methods

Validate()

Validate the object.

Applies to