Origin Interface

Implements

public interface Origin
extends ExternalChildResource<Origin,OriginGroup>, HasInnerModel<AfdOriginInner>

An immutable client-side representation of an Azure Front Door (AFD) origin that lives under an OriginGroup.

Method Summary

Modifier and Type Method and Description
abstract String azureOriginResourceId()

Gets the resource ID of the Azure origin resource.

abstract DeploymentStatus deploymentStatus()

Gets the deployment status for the origin.

abstract EnabledState enabledState()

Gets whether health probes are enabled for this origin.

abstract Boolean enforceCertificateNameCheck()

Gets whether certificate name check is enforced at origin level.

abstract String hostname()

Gets the address of the origin.

abstract Integer httpPort()

Gets the HTTP port for the origin.

abstract Integer httpsPort()

Gets the HTTPS port for the origin.

abstract String originGroupName()

Gets the name of the origin group which contains this origin.

abstract String originHostHeader()

Gets the host header value sent to the origin with each request.

abstract Integer priority()

Gets the priority of this origin in the origin group for load balancing.

abstract AfdProvisioningState provisioningState()

Gets the provisioning state reported by the service.

abstract SharedPrivateLinkResourceProperties sharedPrivateLinkResource()

Gets the shared private link resource properties for this private origin.

abstract Integer weight()

Gets the weight of this origin in the origin group for load balancing.

Method Details

azureOriginResourceId

public abstract String azureOriginResourceId()

Gets the resource ID of the Azure origin resource.

Returns:

the Azure origin resource ID

deploymentStatus

public abstract DeploymentStatus deploymentStatus()

Gets the deployment status for the origin.

Returns:

the deployment status

enabledState

public abstract EnabledState enabledState()

Gets whether health probes are enabled for this origin.

Returns:

the enabled state

enforceCertificateNameCheck

public abstract Boolean enforceCertificateNameCheck()

Gets whether certificate name check is enforced at origin level.

Returns:

true if certificate name check is enforced

hostname

public abstract String hostname()

Gets the address of the origin.

Returns:

the hostname

httpPort

public abstract Integer httpPort()

Gets the HTTP port for the origin.

Returns:

the HTTP port

httpsPort

public abstract Integer httpsPort()

Gets the HTTPS port for the origin.

Returns:

the HTTPS port

originGroupName

public abstract String originGroupName()

Gets the name of the origin group which contains this origin.

Returns:

the origin group name

originHostHeader

public abstract String originHostHeader()

Gets the host header value sent to the origin with each request.

Returns:

the origin host header

priority

public abstract Integer priority()

Gets the priority of this origin in the origin group for load balancing.

Returns:

the priority (1\u20135)

provisioningState

public abstract AfdProvisioningState provisioningState()

Gets the provisioning state reported by the service.

Returns:

the provisioning state

sharedPrivateLinkResource

public abstract SharedPrivateLinkResourceProperties sharedPrivateLinkResource()

Gets the shared private link resource properties for this private origin.

Returns:

the shared private link resource properties

weight

public abstract Integer weight()

Gets the weight of this origin in the origin group for load balancing.

Returns:

the weight (1\u20131000)

Applies to