Class CustomerCertificate
java.lang.Object
com.azure.resourcemanager.cdn.models.Certificate
com.azure.resourcemanager.cdn.models.CustomerCertificate
Customer Certificate used for https.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateAuthority property: Certificate issuing authority.Get the secretSource property: Resource reference to the Azure Key Vault certificate.Get the secretVersion property: Certificate version.Get the subjectAlternativeNames property: The list of SANs.Get the thumbprint property: Certificate thumbprint.Get the useLatestVersion property: Whether to use the latest version for the certificate.voidvalidate()Validates the instance.withSecretSource(ResourceReference secretSource) Set the secretSource property: Resource reference to the Azure Key Vault certificate.withSecretVersion(String secretVersion) Set the secretVersion property: Certificate version.withSubjectAlternativeNames(List<String> subjectAlternativeNames) Set the subjectAlternativeNames property: The list of SANs.withType(SecretType type) Set the type property: The type of the secret resource.withUseLatestVersion(Boolean useLatestVersion) Set the useLatestVersion property: Whether to use the latest version for the certificate.Methods inherited from class com.azure.resourcemanager.cdn.models.Certificate
expirationDate, subject, type
-
Constructor Details
-
CustomerCertificate
public CustomerCertificate()
-
-
Method Details
-
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
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
Get the secretVersion property: Certificate version.- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: Certificate version.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the CustomerCertificate object itself.
-
certificateAuthority
Get the certificateAuthority property: Certificate issuing authority.- Returns:
- the certificateAuthority value.
-
useLatestVersion
Get the useLatestVersion property: Whether to use the latest version for the certificate.- Returns:
- the useLatestVersion value.
-
withUseLatestVersion
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
Get the subjectAlternativeNames property: The list of SANs.- Returns:
- the subjectAlternativeNames value.
-
withSubjectAlternativeNames
Set the subjectAlternativeNames property: The list of SANs.- Parameters:
subjectAlternativeNames- the subjectAlternativeNames value to set.- Returns:
- the CustomerCertificate object itself.
-
thumbprint
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
withType
Set the type property: The type of the secret resource.- Overrides:
withTypein classCertificate- Parameters:
type- the type value to set.- Returns:
- the Certificate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCertificate- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-