AfdDomainProperties Class

public final class AfdDomainProperties
extends AfdDomainUpdatePropertiesParameters

The JSON object that contains the properties of the domain to create.

Constructor Summary

Constructor Description
AfdDomainProperties()

Creates an instance of AfdDomainProperties class.

Method Summary

Modifier and Type Method and Description
DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

DomainValidationState domainValidationState()

Get the domainValidationState property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

Map<String,String> extendedProperties()

Get the extendedProperties property: Key-Value pair representing migration properties for domains.

static AfdDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainProperties from the JsonReader.

String hostname()

Get the hostname property: The host name of the domain.

String profileName()

Get the profileName property: The name of the profile which holds the domain.

AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DomainValidationProperties validationProperties()

Get the validationProperties property: Values the customer needs to validate domain ownership.

AfdDomainProperties withAzureDnsZone(ResourceReference azureDnsZone)

Set the azureDnsZone property: Resource reference to the Azure DNS zone.

AfdDomainProperties withExtendedProperties(Map<String,String> extendedProperties)

Set the extendedProperties property: Key-Value pair representing migration properties for domains.

AfdDomainProperties withHostname(String hostname)

Set the hostname property: The host name of the domain.

AfdDomainProperties withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)

Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.

AfdDomainProperties 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 AfdDomainUpdatePropertiesParameters

Methods inherited from java.lang.Object

Constructor Details

AfdDomainProperties

public AfdDomainProperties()

Creates an instance of AfdDomainProperties class.

Method Details

deploymentStatus

public DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

Returns:

the deploymentStatus value.

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.

extendedProperties

public Map<String,String> extendedProperties()

Get the extendedProperties property: Key-Value pair representing migration properties for domains.

Returns:

the extendedProperties value.

fromJson

public static AfdDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AfdDomainProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

Get the hostname property: The host name of the domain. Must be a domain name.

Returns:

the hostname value.

profileName

public String profileName()

Get the profileName property: The name of the profile which holds the domain.

Overrides:

AfdDomainProperties.profileName()

Returns:

the profileName value.

provisioningState

public AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AfdDomainProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AfdDomainProperties.validate()

validationProperties

public DomainValidationProperties validationProperties()

Get the validationProperties property: Values the customer needs to validate domain ownership.

Returns:

the validationProperties value.

withAzureDnsZone

public AfdDomainProperties withAzureDnsZone(ResourceReference azureDnsZone)

Set the azureDnsZone property: Resource reference to the Azure DNS zone.

Overrides:

AfdDomainProperties.withAzureDnsZone(ResourceReference azureDnsZone)

Parameters:

azureDnsZone

withExtendedProperties

public AfdDomainProperties withExtendedProperties(Map<String,String> extendedProperties)

Set the extendedProperties property: Key-Value pair representing migration properties for domains.

Parameters:

extendedProperties - the extendedProperties value to set.

Returns:

the AfdDomainProperties object itself.

withHostname

public AfdDomainProperties 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 AfdDomainProperties 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:

AfdDomainProperties.withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)

Parameters:

preValidatedCustomDomainResourceId

withTlsSettings

public AfdDomainProperties 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.

Overrides:

AfdDomainProperties.withTlsSettings(AfdDomainHttpsParameters tlsSettings)

Parameters:

tlsSettings

Applies to