public interface CdnProfile extends GroupableResource<CdnManager,ProfileInner>, Refreshable<CdnProfile>, Updatable<CdnProfile.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CdnProfile.Definition
The entirety of a CDN profile definition.
|
static interface |
CdnProfile.DefinitionStages
Grouping of CDN profile definition stages.
|
static interface |
CdnProfile.Update
The template for an update operation, containing all the settings that can be modified.
|
static interface |
CdnProfile.UpdateStages
Grouping of CDN manager update stages.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>| Modifier and Type | Method and Description |
|---|---|
CheckNameAvailabilityResult |
checkEndpointNameAvailability(String name)
Checks the availability of an endpoint name without creating the CDN endpoint.
|
Mono<CheckNameAvailabilityResult> |
checkEndpointNameAvailabilityAsync(String name)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
|
Map<String,CdnEndpoint> |
endpoints()
Gets latest endpoints by sending http request.
|
String |
generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
|
Mono<String> |
generateSsoUriAsync()
Asynchronously generates a dynamic SSO URI used to sign into
the CDN supplemental portal used for advanced management tasks.
|
boolean |
isPremiumVerizon() |
com.azure.core.http.rest.PagedIterable<ResourceUsage> |
listResourceUsage() |
void |
loadEndpointContent(String endpointName,
Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile.
|
Mono<Void> |
loadEndpointContentAsync(String endpointName,
Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
|
void |
purgeEndpointContent(String endpointName,
Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile.
|
Mono<Void> |
purgeEndpointContentAsync(String endpointName,
Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
|
String |
resourceState() |
Sku |
sku() |
void |
startEndpoint(String endpointName)
Starts a stopped CDN endpoint.
|
Mono<Void> |
startEndpointAsync(String endpointName)
Starts a stopped CDN endpoint asynchronously.
|
void |
stopEndpoint(String endpointName)
Stops a running CDN endpoint.
|
Mono<Void> |
stopEndpointAsync(String endpointName)
Stops a running CDN endpoint asynchronously.
|
CustomDomainValidationResult |
validateEndpointCustomDomain(String endpointName,
String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile.
|
Mono<CustomDomainValidationResult> |
validateEndpointCustomDomainAsync(String endpointName,
String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME
in DNS in current profile asynchronously.
|
region, regionName, tags, typenameresourceGroupNamemanagerinnerModelrefresh, refreshAsyncSku sku()
String resourceState()
Map<String,CdnEndpoint> endpoints()
String generateSsoUri()
Mono<String> generateSsoUriAsync()
void startEndpoint(String endpointName)
endpointName - a name of an endpoint under the profileMono<Void> startEndpointAsync(String endpointName)
endpointName - a name of an endpoint under the profilevoid stopEndpoint(String endpointName)
endpointName - a name of an endpoint under the profileMono<Void> stopEndpointAsync(String endpointName)
endpointName - a name of an endpoint under the profilevoid purgeEndpointContent(String endpointName, Set<String> contentPaths)
endpointName - a name of the endpoint under the profilecontentPaths - the paths to the content to be purged, which can be file paths or directory wild cardsMono<Void> purgeEndpointContentAsync(String endpointName, Set<String> contentPaths)
endpointName - a name of the endpoint under the profilecontentPaths - the paths to the content to be purged, which can be file paths or directory wild cardsvoid loadEndpointContent(String endpointName, Set<String> contentPaths)
Note, this is Available for Verizon Profiles only.
endpointName - a name of the endpoint under the profilecontentPaths - the paths to the content to be purged, which can be file paths or directory wild cardsMono<Void> loadEndpointContentAsync(String endpointName, Set<String> contentPaths)
Note, this is Available for Verizon Profiles only.
endpointName - a name of the endpoint under the profilecontentPaths - the paths to the content to be purged, which can be file paths or directory wild cardsCustomDomainValidationResult validateEndpointCustomDomain(String endpointName, String hostName)
endpointName - a name of the endpoint under the profilehostName - the host name of the custom domain, which must be a domain nameMono<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName)
endpointName - a name of the endpoint under the profilehostName - the host name of the custom domain, which must be a domain nameCheckNameAvailabilityResult checkEndpointNameAvailability(String name)
name - the endpoint resource name to validateMono<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)
name - the endpoint resource name to validate.boolean isPremiumVerizon()
com.azure.core.http.rest.PagedIterable<ResourceUsage> listResourceUsage()
Copyright © 2020 Microsoft Corporation. All rights reserved.