Class CustomDnsSuffixConfigurationProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CustomDnsSuffixConfigurationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomDnsSuffixConfigurationProperties>
public final class CustomDnsSuffixConfigurationProperties
extends Object
implements com.azure.json.JsonSerializable<CustomDnsSuffixConfigurationProperties>
CustomDnsSuffixConfiguration resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomDnsSuffixConfigurationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateUrl property: The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.Get the dnsSuffix property: The default custom domain suffix to use for all sites deployed on the ASE.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CustomDnsSuffixConfigurationProperties from the JsonReader.Get the keyVaultReferenceIdentity property: The user-assigned identity to use for resolving the key vault certificate reference.Get the provisioningDetails property: The provisioningDetails property.Get the provisioningState property: The provisioningState property.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCertificateUrl
(String certificateUrl) Set the certificateUrl property: The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.withDnsSuffix
(String dnsSuffix) Set the dnsSuffix property: The default custom domain suffix to use for all sites deployed on the ASE.withKeyVaultReferenceIdentity
(String keyVaultReferenceIdentity) Set the keyVaultReferenceIdentity property: The user-assigned identity to use for resolving the key vault certificate reference.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomDnsSuffixConfigurationProperties
public CustomDnsSuffixConfigurationProperties()Creates an instance of CustomDnsSuffixConfigurationProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
provisioningDetails
Get the provisioningDetails property: The provisioningDetails property.- Returns:
- the provisioningDetails value.
-
dnsSuffix
Get the dnsSuffix property: The default custom domain suffix to use for all sites deployed on the ASE.- Returns:
- the dnsSuffix value.
-
withDnsSuffix
Set the dnsSuffix property: The default custom domain suffix to use for all sites deployed on the ASE.- Parameters:
dnsSuffix
- the dnsSuffix value to set.- Returns:
- the CustomDnsSuffixConfigurationProperties object itself.
-
certificateUrl
Get the certificateUrl property: The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.- Returns:
- the certificateUrl value.
-
withCertificateUrl
Set the certificateUrl property: The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.- Parameters:
certificateUrl
- the certificateUrl value to set.- Returns:
- the CustomDnsSuffixConfigurationProperties object itself.
-
keyVaultReferenceIdentity
Get the keyVaultReferenceIdentity property: The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available.- Returns:
- the keyVaultReferenceIdentity value.
-
withKeyVaultReferenceIdentity
public CustomDnsSuffixConfigurationProperties withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity) Set the keyVaultReferenceIdentity property: The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available.- Parameters:
keyVaultReferenceIdentity
- the keyVaultReferenceIdentity value to set.- Returns:
- the CustomDnsSuffixConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CustomDnsSuffixConfigurationProperties>
- Throws:
IOException
-
fromJson
public static CustomDnsSuffixConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomDnsSuffixConfigurationProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of CustomDnsSuffixConfigurationProperties 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 CustomDnsSuffixConfigurationProperties.
-