Class CustomerCertificate


  • public final class CustomerCertificate
    extends Certificate
    Customer Certificate used for https.
    • Constructor Detail

      • CustomerCertificate

        public CustomerCertificate()
    • Method Detail

      • secretSource

        public ResourceReference secretSource()
        Get the secretSource property: Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​.
        Returns:
        the secretSource value.
      • withSecretSource

        public CustomerCertificate withSecretSource​(ResourceReference secretSource)
        Set the secretSource property: Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​.
        Parameters:
        secretSource - the secretSource value to set.
        Returns:
        the CustomerCertificate object itself.
      • secretVersion

        public String secretVersion()
        Get the secretVersion property: Certificate version.
        Returns:
        the secretVersion value.
      • withSecretVersion

        public CustomerCertificate withSecretVersion​(String secretVersion)
        Set the secretVersion property: Certificate version.
        Parameters:
        secretVersion - the secretVersion value to set.
        Returns:
        the CustomerCertificate object itself.
      • certificateAuthority

        public String certificateAuthority()
        Get the certificateAuthority property: Certificate issuing authority.
        Returns:
        the certificateAuthority value.
      • useLatestVersion

        public Boolean useLatestVersion()
        Get the useLatestVersion property: Whether to use the latest version for the certificate.
        Returns:
        the useLatestVersion value.
      • withUseLatestVersion

        public CustomerCertificate withUseLatestVersion​(Boolean useLatestVersion)
        Set the useLatestVersion property: Whether to use the latest version for the certificate.
        Parameters:
        useLatestVersion - the useLatestVersion value to set.
        Returns:
        the CustomerCertificate object itself.
      • subjectAlternativeNames

        public List<String> subjectAlternativeNames()
        Get the subjectAlternativeNames property: The list of SANs.
        Returns:
        the subjectAlternativeNames value.
      • withSubjectAlternativeNames

        public CustomerCertificate withSubjectAlternativeNames​(List<String> subjectAlternativeNames)
        Set the subjectAlternativeNames property: The list of SANs.
        Parameters:
        subjectAlternativeNames - the subjectAlternativeNames value to set.
        Returns:
        the CustomerCertificate object itself.
      • thumbprint

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

        public CustomerCertificate withType​(SecretType type)
        Set the type property: The type of the secret resource.
        Overrides:
        withType in class Certificate
        Parameters:
        type - the type value to set.
        Returns:
        the Certificate object itself.