public interface CdnEndpoint extends ExternalChildResource<CdnEndpoint,CdnProfile>, HasInner<com.microsoft.azure.management.cdn.implementation.EndpointInner>
Modifier and Type | Interface and Description |
---|---|
static interface |
CdnEndpoint.DefinitionStages
Grouping of CDN profile endpoint definition stages as a part of parent CDN profile definition.
|
static interface |
CdnEndpoint.Update
The entirety of a CDN endpoint update as part of a CDN profile update.
|
static interface |
CdnEndpoint.UpdateDefinitionStages
The entirety of a CDN profile endpoint definition as a part of a parent CDN profile update.
|
static interface |
CdnEndpoint.UpdatePremiumEndpoint
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
|
static interface |
CdnEndpoint.UpdateStandardEndpoint
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
contentTypesToCompress() |
Set<String> |
customDomains() |
List<GeoFilter> |
geoFilters() |
String |
hostName() |
int |
httpPort() |
int |
httpsPort() |
boolean |
isCompressionEnabled() |
boolean |
isHttpAllowed() |
boolean |
isHttpsAllowed() |
PagedList<ResourceUsage> |
listResourceUsage()
Checks the quota and usage of geo filters and custom domains under the current endpoint.
|
void |
loadContent(Set<String> contentPaths)
Forcibly preloads the content of the CDN endpoint.
|
rx.Completable |
loadContentAsync(Set<String> contentPaths)
Forcibly preloads the content of the CDN endpoint asynchronously.
|
ServiceFuture<Void> |
loadContentAsync(Set<String> contentPaths,
ServiceCallback<Void> callback)
Forcibly preloads the content of the CDN endpoint asynchronously.
|
String |
optimizationType() |
String |
originHostHeader() |
String |
originHostName() |
String |
originPath() |
String |
provisioningState() |
void |
purgeContent(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint.
|
rx.Completable |
purgeContentAsync(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint asynchronously.
|
ServiceFuture<Void> |
purgeContentAsync(Set<String> contentPaths,
ServiceCallback<Void> callback)
Forcibly purges the content of the CDN endpoint asynchronously.
|
QueryStringCachingBehavior |
queryStringCachingBehavior() |
EndpointResourceState |
resourceState() |
void |
start()
Starts the CDN endpoint, if it is stopped.
|
rx.Completable |
startAsync()
Starts the CDN endpoint asynchronously, if it is stopped.
|
ServiceFuture<Void> |
startAsync(ServiceCallback<Void> callback)
Starts the CDN endpoint asynchronously, if it is stopped.
|
void |
stop()
Stops the CDN endpoint, if it is running.
|
rx.Completable |
stopAsync()
Stops the CDN endpoint asynchronously, if it is running.
|
ServiceFuture<Void> |
stopAsync(ServiceCallback<Void> callback)
Stops the CDN endpoint asynchronously, if it is running.
|
CustomDomainValidationResult |
validateCustomDomain(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint.
|
rx.Observable<CustomDomainValidationResult> |
validateCustomDomainAsync(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously.
|
ServiceFuture<CustomDomainValidationResult> |
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.
|
id
key
name
parent
refresh, refreshAsync
String originHostHeader()
String originPath()
boolean isCompressionEnabled()
boolean isHttpAllowed()
boolean isHttpsAllowed()
QueryStringCachingBehavior queryStringCachingBehavior()
String optimizationType()
String hostName()
EndpointResourceState resourceState()
String provisioningState()
String originHostName()
int httpPort()
int httpsPort()
void start()
rx.Completable startAsync()
ServiceFuture<Void> startAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid stop()
rx.Completable stopAsync()
ServiceFuture<Void> stopAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid purgeContent(Set<String> contentPaths)
contentPaths
- the paths to the content to be purged, which can be file paths or directory wild cards.rx.Completable purgeContentAsync(Set<String> contentPaths)
contentPaths
- the paths to the content to be purged, which can be file paths or directory wild cards.ServiceFuture<Void> purgeContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback)
contentPaths
- the paths to the content to be purged, which can be file paths or directory wild cards.callback
- the callback to call on success or failurevoid loadContent(Set<String> contentPaths)
Note: this is supported for Verizon profiles only.
contentPaths
- the file paths to the content to be loadedrx.Completable loadContentAsync(Set<String> contentPaths)
Note: this is supported for Verizon profiles only.
contentPaths
- the file paths to the content to be loadedServiceFuture<Void> loadContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback)
Note: this is supported for Verizon profiles only.
contentPaths
- the file paths to the content to be loadedcallback
- the callback to call on success or failureCustomDomainValidationResult validateCustomDomain(String hostName)
hostName
- the host name, which must be a domain name, of the custom domainrx.Observable<CustomDomainValidationResult> validateCustomDomainAsync(String hostName)
hostName
- the host name, which must be a domain name, of the custom domainServiceFuture<CustomDomainValidationResult> validateCustomDomainAsync(String hostName, ServiceCallback<CustomDomainValidationResult> callback)
hostName
- the host name, which must be a domain name, of the custom domaincallback
- the callback to call on success or failurePagedList<ResourceUsage> listResourceUsage()
Copyright © 2019. All rights reserved.