Class AfdDomainInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cdn.fluent.models.AfdDomainInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AfdDomainInner
extends com.azure.core.management.ProxyResource
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
www.contoso.com.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the azureDnsZone property: Resource reference to the Azure DNS zone.Get the deploymentStatus property: The deploymentStatus property.Get the domainValidationState property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.Get the extendedProperties property: Key-Value pair representing migration properties for domains.static AfdDomainInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AfdDomainInner from the JsonReader.hostname()Get the hostname property: The host name of the domain.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.Get the profileName property: The name of the profile which holds the domain.Get the provisioningState property: Provisioning status.com.azure.core.management.SystemDataGet the systemData property: Read only system data.Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Get the validationProperties property: Values the customer needs to validate domain ownership.withAzureDnsZone(ResourceReference azureDnsZone) Set the azureDnsZone property: Resource reference to the Azure DNS zone.withExtendedProperties(Map<String, String> extendedProperties) Set the extendedProperties property: Key-Value pair representing migration properties for domains.withHostname(String hostname) Set the hostname property: The host name of the domain.withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId) Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.withTlsSettings(AfdDomainHttpsParameters tlsSettings) Set the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.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
-
AfdDomainInner
public AfdDomainInner()Creates an instance of AfdDomainInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
domainValidationState
Get the domainValidationState property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.- Returns:
- the domainValidationState value.
-
hostname
Get the hostname property: The host name of the domain. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: The host name of the domain. Must be a domain name.- Parameters:
hostname- the hostname value to set.- Returns:
- the AfdDomainInner object itself.
-
extendedProperties
Get the extendedProperties property: Key-Value pair representing migration properties for domains.- Returns:
- the extendedProperties value.
-
withExtendedProperties
Set the extendedProperties property: Key-Value pair representing migration properties for domains.- Parameters:
extendedProperties- the extendedProperties value to set.- Returns:
- the AfdDomainInner object itself.
-
validationProperties
Get the validationProperties property: Values the customer needs to validate domain ownership.- Returns:
- the validationProperties value.
-
provisioningState
Get the provisioningState property: Provisioning status.- Returns:
- the provisioningState value.
-
deploymentStatus
Get the deploymentStatus property: The deploymentStatus property.- Returns:
- the deploymentStatus value.
-
profileName
Get the profileName property: The name of the profile which holds the domain.- Returns:
- the profileName value.
-
tlsSettings
Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.- Returns:
- the tlsSettings value.
-
withTlsSettings
Set the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.- Parameters:
tlsSettings- the tlsSettings value to set.- Returns:
- the AfdDomainInner object itself.
-
azureDnsZone
Get the azureDnsZone property: Resource reference to the Azure DNS zone.- Returns:
- the azureDnsZone value.
-
withAzureDnsZone
Set the azureDnsZone property: Resource reference to the Azure DNS zone.- Parameters:
azureDnsZone- the azureDnsZone value to set.- Returns:
- the AfdDomainInner object itself.
-
preValidatedCustomDomainResourceId
Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.- Returns:
- the preValidatedCustomDomainResourceId value.
-
withPreValidatedCustomDomainResourceId
public AfdDomainInner withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId) Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.- Parameters:
preValidatedCustomDomainResourceId- the preValidatedCustomDomainResourceId value to set.- Returns:
- the AfdDomainInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
Reads an instance of AfdDomainInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AfdDomainInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AfdDomainInner.
-