public interface CdnEndpoint extends ExternalChildResource<CdnEndpoint,CdnProfile>, HasInnerModel<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() |
Collection<GeoFilter> |
geoFilters() |
String |
hostname() |
int |
httpPort() |
int |
httpsPort() |
boolean |
isCompressionEnabled() |
boolean |
isHttpAllowed() |
boolean |
isHttpsAllowed() |
com.azure.core.http.rest.PagedIterable<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.
|
Mono<Void> |
loadContentAsync(Set<String> contentPaths)
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.
|
Mono<Void> |
purgeContentAsync(Set<String> contentPaths)
Forcibly purges the content of the CDN endpoint asynchronously.
|
QueryStringCachingBehavior |
queryStringCachingBehavior() |
EndpointResourceState |
resourceState() |
void |
start()
Starts the CDN endpoint, if it is stopped.
|
Mono<Void> |
startAsync()
Starts the CDN endpoint asynchronously, if it is stopped.
|
void |
stop()
Stops the CDN endpoint, if it is running.
|
Mono<Void> |
stopAsync()
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.
|
Mono<CustomDomainValidationResult> |
validateCustomDomainAsync(String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME
in DNS for current endpoint asynchronously.
|
idnameparentrefresh, refreshAsyncinnerModelString originHostHeader()
String originPath()
boolean isCompressionEnabled()
boolean isHttpAllowed()
boolean isHttpsAllowed()
QueryStringCachingBehavior queryStringCachingBehavior()
String optimizationType()
Collection<GeoFilter> geoFilters()
String hostname()
EndpointResourceState resourceState()
String provisioningState()
String originHostName()
int httpPort()
int httpsPort()
void start()
Mono<Void> startAsync()
void stop()
Mono<Void> stopAsync()
void purgeContent(Set<String> contentPaths)
contentPaths - the paths to the content to be purged, which can be file paths or directory wild cards.Mono<Void> purgeContentAsync(Set<String> contentPaths)
contentPaths - the paths to the content to be purged, which can be file paths or directory wild cards.void loadContent(Set<String> contentPaths)
Note: this is supported for Verizon profiles only.
contentPaths - the file paths to the content to be loadedMono<Void> loadContentAsync(Set<String> contentPaths)
Note: this is supported for Verizon profiles only.
contentPaths - the file paths to the content to be loadedCustomDomainValidationResult validateCustomDomain(String hostName)
hostName - the host name, which must be a domain name, of the custom domainMono<CustomDomainValidationResult> validateCustomDomainAsync(String hostName)
hostName - the host name, which must be a domain name, of the custom domaincom.azure.core.http.rest.PagedIterable<ResourceUsage> listResourceUsage()
Copyright © 2020 Microsoft Corporation. All rights reserved.