Class AfdDomainInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.cdn.fluent.models.AfdDomainInner
-
public final class AfdDomainInner extends com.azure.core.management.ProxyResourceFriendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.
-
-
Constructor Summary
Constructors Constructor Description AfdDomainInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceazureDnsZone()Get the azureDnsZone property: Resource reference to the Azure DNS zone.DeploymentStatusdeploymentStatus()Get the deploymentStatus property: The deploymentStatus property.DomainValidationStatedomainValidationState()Get the domainValidationState property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.Stringhostname()Get the hostname property: The host name of the domain.ResourceReferencepreValidatedCustomDomainResourceId()Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.StringprofileName()Get the profileName property: The name of the profile which holds the domain.AfdProvisioningStateprovisioningState()Get the provisioningState property: Provisioning status.AfdDomainHttpsParameterstlsSettings()Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.voidvalidate()Validates the instance.DomainValidationPropertiesvalidationProperties()Get the validationProperties property: Values the customer needs to validate domain ownership.AfdDomainInnerwithAzureDnsZone(ResourceReference azureDnsZone)Set the azureDnsZone property: Resource reference to the Azure DNS zone.AfdDomainInnerwithHostname(String hostname)Set the hostname property: The host name of the domain.AfdDomainInnerwithPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.AfdDomainInnerwithTlsSettings(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.
-
-
-
Method Detail
-
domainValidationState
public DomainValidationState 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
public String hostname()
Get the hostname property: The host name of the domain. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
public AfdDomainInner withHostname(String hostname)
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.
-
validationProperties
public DomainValidationProperties validationProperties()
Get the validationProperties property: Values the customer needs to validate domain ownership.- Returns:
- the validationProperties value.
-
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.- Returns:
- the provisioningState value.
-
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.- Returns:
- the deploymentStatus value.
-
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the domain.- Returns:
- the profileName value.
-
tlsSettings
public AfdDomainHttpsParameters 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
public AfdDomainInner 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. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.- Parameters:
tlsSettings- the tlsSettings value to set.- Returns:
- the AfdDomainInner object itself.
-
azureDnsZone
public ResourceReference azureDnsZone()
Get the azureDnsZone property: Resource reference to the Azure DNS zone.- Returns:
- the azureDnsZone value.
-
withAzureDnsZone
public AfdDomainInner withAzureDnsZone(ResourceReference azureDnsZone)
Set the azureDnsZone property: Resource reference to the Azure DNS zone.- Parameters:
azureDnsZone- the azureDnsZone value to set.- Returns:
- the AfdDomainInner object itself.
-
preValidatedCustomDomainResourceId
public ResourceReference 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.
-
-