AfdEndpointInner Class

public final class AfdEndpointInner
extends Resource

Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net.

Constructor Summary

Constructor Description
AfdEndpointInner()

Creates an instance of AfdEndpointInner class.

Method Summary

Modifier and Type Method and Description
AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()

Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.

DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

EnabledState enabledState()

Get the enabledState property: Whether to enable use of this rule.

String hostname()

Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g.

String profileName()

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

AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

SystemData systemData()

Get the systemData property: Read only system data.

void validate()

Validates the instance.

AfdEndpointInner withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)

Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.

AfdEndpointInner withEnabledState(EnabledState enabledState)

Set the enabledState property: Whether to enable use of this rule.

AfdEndpointInner withLocation(String location)
AfdEndpointInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

AfdEndpointInner

public AfdEndpointInner()

Creates an instance of AfdEndpointInner class.

Method Details

autoGeneratedDomainNameLabelScope

public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()

Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.

Returns:

the autoGeneratedDomainNameLabelScope value.

deploymentStatus

public DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

Returns:

the deploymentStatus value.

enabledState

public EnabledState enabledState()

Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.

Returns:

the enabledState value.

hostname

public String hostname()

Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.

Returns:

the hostname value.

profileName

public String profileName()

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

Returns:

the profileName value.

provisioningState

public AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withAutoGeneratedDomainNameLabelScope

public AfdEndpointInner withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)

Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.

Parameters:

autoGeneratedDomainNameLabelScope - the autoGeneratedDomainNameLabelScope value to set.

Returns:

the AfdEndpointInner object itself.

withEnabledState

public AfdEndpointInner withEnabledState(EnabledState enabledState)

Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.

Parameters:

enabledState - the enabledState value to set.

Returns:

the AfdEndpointInner object itself.

withLocation

public AfdEndpointInner withLocation(String location)

Overrides:

AfdEndpointInner.withLocation(String location)

Parameters:

location

withTags

public AfdEndpointInner withTags(Map tags)

Overrides:

AfdEndpointInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to