CdnEndpoint Interface
Implements
public interface CdnEndpoint
extends ExternalChildResource<CdnEndpoint,CdnProfile>, HasInner<com.microsoft.azure.management.cdn.implementation.EndpointInner>
An immutable client-side representation of an Azure CDN endpoint.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract java.util.Set<java.lang.String> | contentTypesToCompress() |
abstract java.util.Set<java.lang.String> | customDomains() |
abstract
java.util.List<Geo |
geoFilters() |
abstract java.lang.String | hostName() |
abstract int | httpPort() |
abstract int | httpsPort() |
abstract boolean | isCompressionEnabled() |
abstract boolean | isHttpAllowed() |
abstract boolean | isHttpsAllowed() |
abstract
com.microsoft.azure.PagedList<Resource |
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 rx.Completable |
loadContentAsync(Set<String> contentPaths)
Forcibly preloads the content of the CDN endpoint asynchronously. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
loadContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback)
Forcibly preloads the content of the CDN endpoint asynchronously. |
abstract java.lang.String | optimizationType() |
abstract java.lang.String | originHostHeader() |
abstract java.lang.String | originHostName() |
abstract java.lang.String | originPath() |
abstract java.lang.String | provisioningState() |
abstract void |
purgeContent(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint. |
abstract rx.Completable |
purgeContentAsync(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint asynchronously. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
purgeContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback)
Forcibly purges the content of the CDN endpoint asynchronously. |
abstract
Query |
queryStringCachingBehavior() |
abstract
Endpoint |
resourceState() |
abstract void |
start()
Starts the CDN endpoint, if it is stopped. |
abstract rx.Completable |
startAsync()
Starts the CDN endpoint asynchronously, if it is stopped. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
startAsync(ServiceCallback<Void> callback)
Starts the CDN endpoint asynchronously, if it is stopped. |
abstract void |
stop()
Stops the CDN endpoint, if it is running. |
abstract rx.Completable |
stopAsync()
Stops the CDN endpoint asynchronously, if it is running. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
stopAsync(ServiceCallback<Void> callback)
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
rx.Observable<Custom |
validateCustomDomainAsync(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously. |
abstract
com.microsoft.rest.ServiceFuture<Custom |
validateCustomDomainAsync(String hostName, ServiceCallback<CustomDomainValidationResult> callback)
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 List
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 PagedList
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 Completable loadContentAsync(Set
Forcibly preloads the content of the CDN endpoint asynchronously.
Note: this is supported for Verizon profiles only.
Parameters:
Returns:
loadContentAsync
public abstract ServiceFuture
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 Completable purgeContentAsync(Set
Forcibly purges the content of the CDN endpoint asynchronously.
Parameters:
Returns:
purgeContentAsync
public abstract ServiceFuture
Forcibly purges the content of the CDN endpoint asynchronously.
Parameters:
Returns:
queryStringCachingBehavior
public abstract QueryStringCachingBehavior queryStringCachingBehavior()
Returns:
resourceState
public abstract EndpointResourceState resourceState()
Returns:
start
public abstract void start()
Starts the CDN endpoint, if it is stopped.
startAsync
public abstract Completable startAsync()
Starts the CDN endpoint asynchronously, if it is stopped.
Returns:
startAsync
public abstract ServiceFuture
Starts the CDN endpoint asynchronously, if it is stopped.
Parameters:
Returns:
stop
public abstract void stop()
Stops the CDN endpoint, if it is running.
stopAsync
public abstract Completable stopAsync()
Stops the CDN endpoint asynchronously, if it is running.
Returns:
stopAsync
public abstract ServiceFuture
Stops the CDN endpoint asynchronously, if it is running.
Parameters:
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 Observable
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously.
Parameters:
Returns:
validateCustomDomainAsync
public abstract ServiceFuture
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