AfdDomainInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cdn. fluent. models. AfdDomainInner
- com.
- com.
public final class AfdDomainInner
extends ProxyResource
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com
.
Constructor Summary
Constructor | Description |
---|---|
AfdDomainInner() |
Creates an instance of Afd |
Method Summary
Modifier and Type | Method and Description |
---|---|
Resource |
azureDnsZone()
Get the azure |
Deployment |
deploymentStatus()
Get the deployment |
Domain |
domainValidationState()
Get the domain |
Map<String,String> |
extendedProperties()
Get the extended |
static
Afd |
fromJson(JsonReader jsonReader)
Reads an instance of Afd |
String |
hostname()
Get the hostname property: The host name of the domain. |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Resource |
preValidatedCustomDomainResourceId()
Get the pre |
String |
profileName()
Get the profile |
Afd |
provisioningState()
Get the provisioning |
System |
systemData()
Get the system |
Afd |
tlsSettings()
Get the tls |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Domain |
validationProperties()
Get the validation |
Afd |
withAzureDnsZone(ResourceReference azureDnsZone)
Set the azure |
Afd |
withExtendedProperties(Map<String,String> extendedProperties)
Set the extended |
Afd |
withHostname(String hostname)
Set the hostname property: The host name of the domain. |
Afd |
withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)
Set the pre |
Afd |
withTlsSettings(AfdDomainHttpsParameters tlsSettings)
Set the tls |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AfdDomainInner
public AfdDomainInner()
Creates an instance of AfdDomainInner class.
Method Details
azureDnsZone
public ResourceReference azureDnsZone()
Get the azureDnsZone property: Resource reference to the Azure DNS zone.
Returns:
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Returns:
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:
extendedProperties
public Map<String,String> extendedProperties()
Get the extendedProperties property: Key-Value pair representing migration properties for domains.
Returns:
fromJson
public static AfdDomainInner fromJson(JsonReader jsonReader)
Reads an instance of AfdDomainInner from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the domain. Must be a domain name.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AfdDomainInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AfdDomainInner.name()Returns:
preValidatedCustomDomainResourceId
public ResourceReference preValidatedCustomDomainResourceId()
Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.
Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the domain.
Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Read only system data.
Returns:
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AfdDomainInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AfdDomainInner.type()Returns:
validate
public void validate()
Validates the instance.
validationProperties
public DomainValidationProperties validationProperties()
Get the validationProperties property: Values the customer needs to validate domain ownership.
Returns:
withAzureDnsZone
public AfdDomainInner withAzureDnsZone(ResourceReference azureDnsZone)
Set the azureDnsZone property: Resource reference to the Azure DNS zone.
Parameters:
Returns:
withExtendedProperties
public AfdDomainInner withExtendedProperties(Map<String,String> extendedProperties)
Set the extendedProperties property: Key-Value pair representing migration properties for domains.
Parameters:
Returns:
withHostname
public AfdDomainInner withHostname(String hostname)
Set the hostname property: The host name of the domain. Must be a domain name.
Parameters:
Returns:
withPreValidatedCustomDomainResourceId
public AfdDomainInner withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)
Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.
Parameters:
Returns:
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:
Returns: