Class AzureFirstPartyManagedCertificateParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.SecretParameters
com.azure.resourcemanager.cdn.models.AzureFirstPartyManagedCertificateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SecretParameters>
Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureFirstPartyManagedCertificateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateAuthority property: Certificate issuing authority.Get the expirationDate property: Certificate expiration date.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureFirstPartyManagedCertificateParameters from the JsonReader.Get the secretSource property: Resource reference to the Azure Key Vault certificate.subject()Get the subject property: Subject name in the certificate.Get the subjectAlternativeNames property: The list of SANs.Get the thumbprint property: Certificate thumbprint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the secret resource.voidvalidate()Validates the instance.withSubjectAlternativeNames(List<String> subjectAlternativeNames) Set the subjectAlternativeNames property: The list of SANs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureFirstPartyManagedCertificateParameters
public AzureFirstPartyManagedCertificateParameters()Creates an instance of AzureFirstPartyManagedCertificateParameters class.
-
-
Method Details
-
type
Get the type property: The type of the secret resource.- Overrides:
typein classSecretParameters- Returns:
- the type value.
-
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.
-
subject
Get the subject property: Subject name in the certificate.- Returns:
- the subject value.
-
expirationDate
Get the expirationDate property: Certificate expiration date.- Returns:
- the expirationDate value.
-
certificateAuthority
Get the certificateAuthority property: Certificate issuing authority.- Returns:
- the certificateAuthority value.
-
subjectAlternativeNames
Get the subjectAlternativeNames property: The list of SANs.- Returns:
- the subjectAlternativeNames value.
-
withSubjectAlternativeNames
public AzureFirstPartyManagedCertificateParameters withSubjectAlternativeNames(List<String> subjectAlternativeNames) Set the subjectAlternativeNames property: The list of SANs.- Parameters:
subjectAlternativeNames- the subjectAlternativeNames value to set.- Returns:
- the AzureFirstPartyManagedCertificateParameters object itself.
-
thumbprint
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classSecretParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SecretParameters>- Overrides:
toJsonin classSecretParameters- Throws:
IOException
-
fromJson
public static AzureFirstPartyManagedCertificateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureFirstPartyManagedCertificateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureFirstPartyManagedCertificateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AzureFirstPartyManagedCertificateParameters.
-