public interface CdnProfile extends GroupableResource<com.microsoft.azure.management.cdn.implementation.CdnManager,com.microsoft.azure.management.cdn.implementation.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.
|
rx.Observable<CheckNameAvailabilityResult> |
checkEndpointNameAvailabilityAsync(String name)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
|
ServiceFuture<CheckNameAvailabilityResult> |
checkEndpointNameAvailabilityAsync(String name,
ServiceCallback<CheckNameAvailabilityResult> callback)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
|
Map<String,CdnEndpoint> |
endpoints() |
String |
generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
|
rx.Observable<String> |
generateSsoUriAsync()
Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.
|
ServiceFuture<String> |
generateSsoUriAsync(ServiceCallback<String> callback)
Asynchronously generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
|
boolean |
isPremiumVerizon() |
PagedList<ResourceUsage> |
listResourceUsage() |
void |
loadEndpointContent(String endpointName,
Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile.
|
rx.Completable |
loadEndpointContentAsync(String endpointName,
Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
|
ServiceFuture<Void> |
loadEndpointContentAsync(String endpointName,
Set<String> contentPaths,
ServiceCallback<Void> callback)
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.
|
rx.Completable |
purgeEndpointContentAsync(String endpointName,
Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
|
ServiceFuture<Void> |
purgeEndpointContentAsync(String endpointName,
Set<String> contentPaths,
ServiceCallback<Void> callback)
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
|
String |
resourceState() |
Sku |
sku() |
void |
startEndpoint(String endpointName)
Starts a stopped CDN endpoint.
|
rx.Completable |
startEndpointAsync(String endpointName)
Starts a stopped CDN endpoint asynchronously.
|
ServiceFuture<Void> |
startEndpointAsync(String endpointName,
ServiceCallback<Void> callback)
Starts a stopped CDN endpoint asynchronously.
|
void |
stopEndpoint(String endpointName)
Stops a running CDN endpoint.
|
rx.Completable |
stopEndpointAsync(String endpointName)
Stops a running CDN endpoint asynchronously.
|
ServiceFuture<Void> |
stopEndpointAsync(String endpointName,
ServiceCallback<Void> callback)
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.
|
rx.Observable<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.
|
ServiceFuture<CustomDomainValidationResult> |
validateEndpointCustomDomainAsync(String endpointName,
String hostName,
ServiceCallback<CustomDomainValidationResult> callback)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.
|
region, regionName, tags, type
key
id
name
resourceGroupName
manager
inner
refresh, refreshAsync
Sku sku()
String resourceState()
Map<String,CdnEndpoint> endpoints()
String generateSsoUri()
rx.Observable<String> generateSsoUriAsync()
ServiceFuture<String> generateSsoUriAsync(ServiceCallback<String> callback)
callback
- the callback to call on success or failurevoid startEndpoint(String endpointName)
endpointName
- a name of an endpoint under the profilerx.Completable startEndpointAsync(String endpointName)
endpointName
- a name of an endpoint under the profileServiceFuture<Void> startEndpointAsync(String endpointName, ServiceCallback<Void> callback)
endpointName
- a name of an endpoint under the profilecallback
- the callback to call on success or failurevoid stopEndpoint(String endpointName)
endpointName
- a name of an endpoint under the profilerx.Completable stopEndpointAsync(String endpointName)
endpointName
- a name of an endpoint under the profileServiceFuture<Void> stopEndpointAsync(String endpointName, ServiceCallback<Void> callback)
endpointName
- a name of an endpoint under the profilecallback
- the callback to call on success or failurevoid 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 cardsrx.Completable 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 cardsServiceFuture<Void> purgeEndpointContentAsync(String endpointName, Set<String> contentPaths, ServiceCallback<Void> callback)
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 cardscallback
- the callback to call on success or failurevoid 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 cardsrx.Completable 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 cardsServiceFuture<Void> loadEndpointContentAsync(String endpointName, Set<String> contentPaths, ServiceCallback<Void> callback)
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 cardscallback
- the callback to call on success or failureCustomDomainValidationResult 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 namerx.Observable<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 nameServiceFuture<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName, ServiceCallback<CustomDomainValidationResult> callback)
endpointName
- a name of the endpoint under the profilehostName
- the host name of the custom domain, which must be a domain namecallback
- the callback to call on success or failureCheckNameAvailabilityResult checkEndpointNameAvailability(String name)
name
- the endpoint resource name to validaterx.Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)
name
- the endpoint resource name to validate.ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)
name
- the endpoint resource name to validate.callback
- the callback to call on success or failureboolean isPremiumVerizon()
PagedList<ResourceUsage> listResourceUsage()
Copyright © 2019. All rights reserved.