Dela via


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.

static AfdEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of AfdEndpointInner from the JsonReader.

String hostname()

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

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

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.

fromJson

public static AfdEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of AfdEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AfdEndpointInner 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 endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.

Returns:

the hostname value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AfdEndpointInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AfdEndpointInner.name()

Returns:

the name 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AfdEndpointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AfdEndpointInner.type()

Returns:

the type 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