Class AfdDomainProperties
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.AfdDomainUpdatePropertiesParameters
com.azure.resourcemanager.cdn.fluent.models.AfdDomainProperties
The JSON object that contains the properties of the domain to create.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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.hostname()Get the hostname property: The host name of the domain.Get the provisioningState property: Provisioning status.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 com.azure.resourcemanager.cdn.fluent.models.AfdDomainUpdatePropertiesParameters
azureDnsZone, preValidatedCustomDomainResourceId, profileName, tlsSettings
-
Constructor Details
-
AfdDomainProperties
public AfdDomainProperties()Creates an instance of AfdDomainProperties class.
-
-
Method Details
-
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 AfdDomainProperties 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 AfdDomainProperties 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.
-
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.- Overrides:
withTlsSettingsin classAfdDomainUpdatePropertiesParameters- Parameters:
tlsSettings- the tlsSettings value to set.- Returns:
- the AfdDomainUpdatePropertiesParameters object itself.
-
withAzureDnsZone
Set the azureDnsZone property: Resource reference to the Azure DNS zone.- Overrides:
withAzureDnsZonein classAfdDomainUpdatePropertiesParameters- Parameters:
azureDnsZone- the azureDnsZone value to set.- Returns:
- the AfdDomainUpdatePropertiesParameters object itself.
-
withPreValidatedCustomDomainResourceId
public AfdDomainProperties withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId) Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.- Overrides:
withPreValidatedCustomDomainResourceIdin classAfdDomainUpdatePropertiesParameters- Parameters:
preValidatedCustomDomainResourceId- the preValidatedCustomDomainResourceId value to set.- Returns:
- the AfdDomainUpdatePropertiesParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAfdDomainUpdatePropertiesParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-