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() |
abstract Set<String> | customDomains() |
abstract
Collection<Geo |
geoFilters() |
abstract String | hostname() |
abstract int | httpPort() |
abstract int | httpsPort() |
abstract boolean | isCompressionEnabled() |
abstract boolean | isHttpAllowed() |
abstract boolean | isHttpsAllowed() |
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() |
abstract String | originHostHeader() |
abstract String | originHostName() |
abstract String | originPath() |
abstract String | provisioningState() |
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() |
abstract
Endpoint |
resourceState() |
abstract
Map<String,Delivery |
standardRulesEngineRules() |
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
Returns:
customDomains
public abstract Set
Returns:
geoFilters
public abstract Collection
Returns:
hostname
public abstract String hostname()
Returns:
httpPort
public abstract int httpPort()
Returns:
httpsPort
public abstract int httpsPort()
Returns:
isCompressionEnabled
public abstract boolean isCompressionEnabled()
Returns:
isHttpAllowed
public abstract boolean isHttpAllowed()
Returns:
isHttpsAllowed
public abstract boolean isHttpsAllowed()
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()
Returns:
originHostHeader
public abstract String originHostHeader()
Returns:
originHostName
public abstract String originHostName()
Returns:
originPath
public abstract String originPath()
Returns:
provisioningState
public abstract String provisioningState()
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()
Returns:
resourceState
public abstract EndpointResourceState resourceState()
Returns:
standardRulesEngineRules
public abstract Map
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for