AfdEndpoint Interface
Implements
public interface AfdEndpoint
extends ExternalChildResource<AfdEndpoint,CdnProfile>, HasInnerModel<AfdEndpointInner>
An immutable client-side representation of an Azure Front Door (AFD) endpoint that lives under a CdnProfile.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Auto |
autoGeneratedDomainNameLabelScope()
Gets the scope that determines whether a generated host name can be reused. |
|
abstract
Deployment |
deploymentStatus()
Gets the deployment status for the endpoint. |
|
abstract
Enabled |
enabledState()
Gets the enablement state of the endpoint. |
| abstract String |
hostname()
Gets the host name assigned to the endpoint. |
|
abstract
Paged |
listResourceUsage()
Lists usage information for the endpoint. |
|
abstract
Afd |
provisioningState()
Gets the provisioning state reported by the service. |
| abstract void |
purgeContent(List<String> contentPaths)
Purges cached content for the endpoint. |
| abstract void |
purgeContent(List<String> contentPaths, List<String> domains)
Purges cached content for the endpoint. |
| abstract reactor.core.publisher.Mono<Void> |
purgeContentAsync(List<String> contentPaths)
Purges cached content for the endpoint asynchronously. |
| abstract reactor.core.publisher.Mono<Void> |
purgeContentAsync(List<String> contentPaths, List<String> domains)
Purges cached content for the endpoint asynchronously. |
| abstract Map<String,Route> |
routes()
Gets latest routes by sending http request. |
|
abstract
Custom |
validateCustomDomain(String hostName)
Validates that the provided custom domain maps correctly to this endpoint. |
|
abstract
reactor.core.publisher.Mono<Custom |
validateCustomDomainAsync(String hostName)
Validates that the provided custom domain maps correctly to this endpoint asynchronously. |
Method Details
autoGeneratedDomainNameLabelScope
public abstract AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()
Gets the scope that determines whether a generated host name can be reused.
Returns:
deploymentStatus
public abstract DeploymentStatus deploymentStatus()
Gets the deployment status for the endpoint.
Returns:
enabledState
public abstract EnabledState enabledState()
Gets the enablement state of the endpoint.
Returns:
hostname
public abstract String hostname()
Gets the host name assigned to the endpoint.
Returns:
listResourceUsage
public abstract PagedIterable<Usage> listResourceUsage()
Lists usage information for the endpoint.
Returns:
provisioningState
public abstract AfdProvisioningState provisioningState()
Gets the provisioning state reported by the service.
Returns:
purgeContent
public abstract void purgeContent(List<String> contentPaths)
Purges cached content for the endpoint.
Parameters:
purgeContent
public abstract void purgeContent(List<String> contentPaths, List<String> domains)
Purges cached content for the endpoint.
Parameters:
purgeContentAsync
public abstract Mono<Void> purgeContentAsync(List<String> contentPaths)
Purges cached content for the endpoint asynchronously.
Parameters:
Returns:
purgeContentAsync
public abstract Mono<Void> purgeContentAsync(List<String> contentPaths, List<String> domains)
Purges cached content for the endpoint asynchronously.
Parameters:
Returns:
routes
public abstract Map<String,Route> routes()
Gets latest routes by sending http request.
Returns:
validateCustomDomain
public abstract CustomDomainValidationResult validateCustomDomain(String hostName)
Validates that the provided custom domain maps correctly to this endpoint.
Parameters:
Returns:
validateCustomDomainAsync
public abstract Mono<CustomDomainValidationResult> validateCustomDomainAsync(String hostName)
Validates that the provided custom domain maps correctly to this endpoint asynchronously.
Parameters:
Returns: