Class CertificatePatchResource


  • public final class CertificatePatchResource
    extends ProxyOnlyResource
    ARM resource for a certificate.
    • Constructor Detail

      • CertificatePatchResource

        public CertificatePatchResource()
    • Method Detail

      • password

        public String password()
        Get the password property: Certificate password.
        Returns:
        the password value.
      • withPassword

        public CertificatePatchResource withPassword​(String password)
        Set the password property: Certificate password.
        Parameters:
        password - the password value to set.
        Returns:
        the CertificatePatchResource object itself.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: Friendly name of the certificate.
        Returns:
        the friendlyName value.
      • subjectName

        public String subjectName()
        Get the subjectName property: Subject name of the certificate.
        Returns:
        the subjectName value.
      • hostNames

        public List<String> hostNames()
        Get the hostNames property: Host names the certificate applies to.
        Returns:
        the hostNames value.
      • withHostNames

        public CertificatePatchResource withHostNames​(List<String> hostNames)
        Set the hostNames property: Host names the certificate applies to.
        Parameters:
        hostNames - the hostNames value to set.
        Returns:
        the CertificatePatchResource object itself.
      • pfxBlob

        public byte[] pfxBlob()
        Get the pfxBlob property: Pfx blob.
        Returns:
        the pfxBlob value.
      • withPfxBlob

        public CertificatePatchResource withPfxBlob​(byte[] pfxBlob)
        Set the pfxBlob property: Pfx blob.
        Parameters:
        pfxBlob - the pfxBlob value to set.
        Returns:
        the CertificatePatchResource object itself.
      • siteName

        public String siteName()
        Get the siteName property: App name.
        Returns:
        the siteName value.
      • selfLink

        public String selfLink()
        Get the selfLink property: Self link.
        Returns:
        the selfLink value.
      • issuer

        public String issuer()
        Get the issuer property: Certificate issuer.
        Returns:
        the issuer value.
      • issueDate

        public OffsetDateTime issueDate()
        Get the issueDate property: Certificate issue Date.
        Returns:
        the issueDate value.
      • expirationDate

        public OffsetDateTime expirationDate()
        Get the expirationDate property: Certificate expiration date.
        Returns:
        the expirationDate value.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: Certificate thumbprint.
        Returns:
        the thumbprint value.
      • valid

        public Boolean valid()
        Get the valid property: Is the certificate valid?.
        Returns:
        the valid value.
      • cerBlob

        public byte[] cerBlob()
        Get the cerBlob property: Raw bytes of .cer file.
        Returns:
        the cerBlob value.
      • publicKeyHash

        public String publicKeyHash()
        Get the publicKeyHash property: Public key hash.
        Returns:
        the publicKeyHash value.
      • hostingEnvironmentProfile

        public HostingEnvironmentProfile hostingEnvironmentProfile()
        Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the certificate.
        Returns:
        the hostingEnvironmentProfile value.
      • keyVaultId

        public String keyVaultId()
        Get the keyVaultId property: Key Vault Csm resource Id.
        Returns:
        the keyVaultId value.
      • withKeyVaultId

        public CertificatePatchResource withKeyVaultId​(String keyVaultId)
        Set the keyVaultId property: Key Vault Csm resource Id.
        Parameters:
        keyVaultId - the keyVaultId value to set.
        Returns:
        the CertificatePatchResource object itself.
      • keyVaultSecretName

        public String keyVaultSecretName()
        Get the keyVaultSecretName property: Key Vault secret name.
        Returns:
        the keyVaultSecretName value.
      • withKeyVaultSecretName

        public CertificatePatchResource withKeyVaultSecretName​(String keyVaultSecretName)
        Set the keyVaultSecretName property: Key Vault secret name.
        Parameters:
        keyVaultSecretName - the keyVaultSecretName value to set.
        Returns:
        the CertificatePatchResource object itself.
      • keyVaultSecretStatus

        public KeyVaultSecretStatus keyVaultSecretStatus()
        Get the keyVaultSecretStatus property: Status of the Key Vault secret.
        Returns:
        the keyVaultSecretStatus value.
      • serverFarmId

        public String serverFarmId()
        Get the serverFarmId property: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms" + "/{appServicePlanName}".
        Returns:
        the serverFarmId value.
      • withServerFarmId

        public CertificatePatchResource withServerFarmId​(String serverFarmId)
        Set the serverFarmId property: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms" + "/{appServicePlanName}".
        Parameters:
        serverFarmId - the serverFarmId value to set.
        Returns:
        the CertificatePatchResource object itself.
      • canonicalName

        public String canonicalName()
        Get the canonicalName property: CNAME of the certificate to be issued via free certificate.
        Returns:
        the canonicalName value.
      • withCanonicalName

        public CertificatePatchResource withCanonicalName​(String canonicalName)
        Set the canonicalName property: CNAME of the certificate to be issued via free certificate.
        Parameters:
        canonicalName - the canonicalName value to set.
        Returns:
        the CertificatePatchResource object itself.
      • domainValidationMethod

        public String domainValidationMethod()
        Get the domainValidationMethod property: Method of domain validation for free cert.
        Returns:
        the domainValidationMethod value.
      • withDomainValidationMethod

        public CertificatePatchResource withDomainValidationMethod​(String domainValidationMethod)
        Set the domainValidationMethod property: Method of domain validation for free cert.
        Parameters:
        domainValidationMethod - the domainValidationMethod value to set.
        Returns:
        the CertificatePatchResource object itself.