CdnProfile Interface
Implements
public interface CdnProfile
extends GroupableResource<CdnManager,ProfileInner>, Refreshable<CdnProfile>, Updatable<Update>
An immutable client-side representation of an Azure CDN profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Check |
checkEndpointNameAvailability(String name)
Checks the availability of an endpoint name without creating the CDN endpoint. |
abstract
Mono<Check |
checkEndpointNameAvailabilityAsync(String name)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously. |
abstract
Map<String,Cdn |
endpoints()
Gets latest endpoints by sending http request. |
abstract String |
generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks. |
abstract Mono<String> |
generateSsoUriAsync()
Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks. |
abstract boolean |
isPremiumVerizon()
Check whether this CDN profile's SKU is of Premium Verizon. |
abstract
Paged |
listResourceUsage()
Gets quotas and actual usages of endpoints under the current CDN profile. |
abstract void |
loadEndpointContent(String endpointName, Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile. |
abstract Mono<Void> |
loadEndpointContentAsync(String endpointName, Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously. |
abstract void |
purgeEndpointContent(String endpointName, Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile. |
abstract Mono<Void> |
purgeEndpointContentAsync(String endpointName, Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile asynchronously. |
abstract String |
resourceState()
Gets CDN profile state. |
abstract Sku |
sku()
Gets the SKU of the CDN profile. |
abstract void |
startEndpoint(String endpointName)
Starts a stopped CDN endpoint. |
abstract Mono<Void> |
startEndpointAsync(String endpointName)
Starts a stopped CDN endpoint asynchronously. |
abstract void |
stopEndpoint(String endpointName)
Stops a running CDN endpoint. |
abstract Mono<Void> |
stopEndpointAsync(String endpointName)
Stops a running CDN endpoint asynchronously. |
abstract
Custom |
validateEndpointCustomDomain(String endpointName, String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile. |
abstract
Mono<Custom |
validateEndpointCustomDomainAsync(String endpointName, String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously. |
Method Details
checkEndpointNameAvailability
public abstract CheckNameAvailabilityResult checkEndpointNameAvailability(String name)
Checks the availability of an endpoint name without creating the CDN endpoint.
Parameters:
Returns:
checkEndpointNameAvailabilityAsync
public abstract Mono
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
Parameters:
Returns:
endpoints
public abstract Map
Gets latest endpoints by sending http request.
Returns:
generateSsoUri
public abstract String generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
Returns:
generateSsoUriAsync
public abstract Mono
Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.
Returns:
isPremiumVerizon
public abstract boolean isPremiumVerizon()
Check whether this CDN profile's SKU is of Premium Verizon.
Returns:
listResourceUsage
public abstract PagedIterable
Gets quotas and actual usages of endpoints under the current CDN profile.
Returns:
loadEndpointContent
public abstract void loadEndpointContent(String endpointName, Set
Forcibly pre-loads CDN endpoint content in the CDN profile.
Note, this is Available for Verizon Profiles only.
Parameters:
loadEndpointContentAsync
public abstract Mono
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
Note, this is Available for Verizon Profiles only.
Parameters:
Returns:
purgeEndpointContent
public abstract void purgeEndpointContent(String endpointName, Set
Forcibly purges CDN endpoint content in the CDN profile.
Parameters:
purgeEndpointContentAsync
public abstract Mono
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
Parameters:
Returns:
resourceState
public abstract String resourceState()
Gets CDN profile state.
Returns:
sku
public abstract Sku sku()
Gets the SKU of the CDN profile.
Returns:
startEndpoint
public abstract void startEndpoint(String endpointName)
Starts a stopped CDN endpoint.
Parameters:
startEndpointAsync
public abstract Mono
Starts a stopped CDN endpoint asynchronously.
Parameters:
Returns:
stopEndpoint
public abstract void stopEndpoint(String endpointName)
Stops a running CDN endpoint.
Parameters:
stopEndpointAsync
public abstract Mono
Stops a running CDN endpoint asynchronously.
Parameters:
Returns:
validateEndpointCustomDomain
public abstract CustomDomainValidationResult validateEndpointCustomDomain(String endpointName, String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile.
Parameters:
Returns:
validateEndpointCustomDomainAsync
public abstract Mono
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.
Parameters:
Returns:
Applies to
Azure SDK for Java