CdnEndpoint Interface
Implements
public interface CdnEndpoint
extends ExternalChildResource<CdnEndpoint,CdnProfile>, HasInnerModel<EndpointInner>
An immutable client-side representation of an Azure CDN endpoint.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Set<String> |
contentTypesToCompress()
Gets content types to be compressed. |
abstract Set<String> |
customDomains()
Gets custom domains associated with this endpoint. |
abstract
Collection<Geo |
geoFilters()
Gets list of Geo filters. |
abstract String |
hostname()
Gets endpoint host name. |
abstract int |
httpPort()
Gets HTTP port value. |
abstract int |
httpsPort()
Gets HTTPS port value. |
abstract boolean |
isCompressionEnabled()
Check whether content compression is enabled. |
abstract boolean |
isHttpAllowed()
Check whether HTTP traffic is allowed. |
abstract boolean |
isHttpsAllowed()
Check whether HTTPS traffic is allowed. |
abstract
Paged |
listResourceUsage()
Checks the quota and usage of geo filters and custom domains under the current endpoint. |
abstract void |
loadContent(Set<String> contentPaths)
Forcibly preloads the content of the CDN endpoint. |
abstract Mono<Void> |
loadContentAsync(Set<String> contentPaths)
Forcibly preloads the content of the CDN endpoint asynchronously. |
abstract String |
optimizationType()
Gets optimization type. |
abstract String |
originHostHeader()
Gets origin host header. |
abstract String |
originHostName()
Gets origin host nam. |
abstract String |
originPath()
Gets origin path. |
abstract String |
provisioningState()
Gets endpoint provisioning state. |
abstract void |
purgeContent(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint. |
abstract Mono<Void> |
purgeContentAsync(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint asynchronously. |
abstract
Query |
queryStringCachingBehavior()
Gets query string caching behavior. |
abstract
Endpoint |
resourceState()
Gets endpoint state. |
abstract
Map<String,Delivery |
standardRulesEngineRules()
Gets the map of the Standard rules engine rules. |
abstract void |
start()
Starts the CDN endpoint, if it is stopped. |
abstract Mono<Void> |
startAsync()
Starts the CDN endpoint asynchronously, if it is stopped. |
abstract void |
stop()
Stops the CDN endpoint, if it is running. |
abstract Mono<Void> |
stopAsync()
Stops the CDN endpoint asynchronously, if it is running. |
abstract
Custom |
validateCustomDomain(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint. |
abstract
Mono<Custom |
validateCustomDomainAsync(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously. |
Method Details
contentTypesToCompress
public abstract Set
Gets content types to be compressed.
Returns:
customDomains
public abstract Set
Gets custom domains associated with this endpoint.
Returns:
geoFilters
public abstract Collection
Gets list of Geo filters.
Returns:
hostname
public abstract String hostname()
Gets endpoint host name.
Returns:
httpPort
public abstract int httpPort()
Gets HTTP port value.
Returns:
httpsPort
public abstract int httpsPort()
Gets HTTPS port value.
Returns:
isCompressionEnabled
public abstract boolean isCompressionEnabled()
Check whether content compression is enabled.
Returns:
isHttpAllowed
public abstract boolean isHttpAllowed()
Check whether HTTP traffic is allowed.
Returns:
isHttpsAllowed
public abstract boolean isHttpsAllowed()
Check whether HTTPS traffic is allowed.
Returns:
listResourceUsage
public abstract PagedIterable
Checks the quota and usage of geo filters and custom domains under the current endpoint.
Returns:
loadContent
public abstract void loadContent(Set
Forcibly preloads the content of the CDN endpoint.
Note: this is supported for Verizon profiles only.
Parameters:
loadContentAsync
public abstract Mono
Forcibly preloads the content of the CDN endpoint asynchronously.
Note: this is supported for Verizon profiles only.
Parameters:
Returns:
optimizationType
public abstract String optimizationType()
Gets optimization type.
Returns:
originHostHeader
public abstract String originHostHeader()
Gets origin host header.
Returns:
originHostName
public abstract String originHostName()
Gets origin host nam.
Returns:
originPath
public abstract String originPath()
Gets origin path.
Returns:
provisioningState
public abstract String provisioningState()
Gets endpoint provisioning state.
Returns:
purgeContent
public abstract void purgeContent(Set
Forcibly purges the content of the CDN endpoint.
Parameters:
purgeContentAsync
public abstract Mono
Forcibly purges the content of the CDN endpoint asynchronously.
Parameters:
Returns:
queryStringCachingBehavior
public abstract QueryStringCachingBehavior queryStringCachingBehavior()
Gets query string caching behavior.
Returns:
resourceState
public abstract EndpointResourceState resourceState()
Gets endpoint state.
Returns:
standardRulesEngineRules
public abstract Map
Gets the map of the Standard rules engine rules.
Returns:
start
public abstract void start()
Starts the CDN endpoint, if it is stopped.
startAsync
public abstract Mono
Starts the CDN endpoint asynchronously, if it is stopped.
Returns:
stop
public abstract void stop()
Stops the CDN endpoint, if it is running.
stopAsync
public abstract Mono
Stops the CDN endpoint asynchronously, if it is running.
Returns:
validateCustomDomain
public abstract CustomDomainValidationResult validateCustomDomain(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint.
Parameters:
Returns:
validateCustomDomainAsync
public abstract Mono
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously.
Parameters:
Returns:
Applies to
Azure SDK for Java