CdnProfile Interface
public interface CdnProfile extends GroupableResource<CdnManager, ProfileInner>,Refreshable,Updatable<CdnProfile.Update>
An immutable client-side representation of an Azure CDN profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
Check |
checkEndpointNameAvailability(String name)
Checks the availability of an endpoint name without creating the CDN endpoint. |
Observable<Check |
checkEndpointNameAvailabilityAsync(String name)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously. |
ServiceFuture<Check |
checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously. |
Map<String, Cdn |
endpoints() |
String |
generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks. |
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<Resource |
listResourceUsage() |
void |
loadEndpointContent(String endpointName, Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile. Note, this is Available for Verizon Profiles only. |
Completable |
loadEndpointContentAsync(String endpointName, Set<String> contentPaths)
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously. Note, this is Available for Verizon Profiles only. |
ServiceFuture<Void> |
loadEndpointContentAsync(String endpointName, Set<String> contentPaths, ServiceCallback<Void> callback)
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously. Note, this is Available for Verizon Profiles only. |
void |
purgeEndpointContent(String endpointName, Set<String> contentPaths)
Forcibly purges CDN endpoint content in the CDN profile. |
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. |
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. |
Completable |
stopEndpointAsync(String endpointName)
Stops a running CDN endpoint asynchronously. |
ServiceFuture<Void> |
stopEndpointAsync(String endpointName, ServiceCallback<Void> callback)
Stops a running CDN endpoint asynchronously. |
Custom |
validateEndpointCustomDomain(String endpointName, String hostName)
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile. |
Observable<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. |
ServiceFuture<Custom |
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. |
Inherited Members
Method Details
checkEndpointNameAvailability
public CheckNameAvailabilityResult checkEndpointNameAvailability(String name)
Checks the availability of an endpoint name without creating the CDN endpoint.
Parameters:
Returns:
checkEndpointNameAvailabilityAsync
public Observable
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
Parameters:
Returns:
checkEndpointNameAvailabilityAsync
public ServiceFuture
Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
Parameters:
Returns:
endpoints
public Map
Returns:
generateSsoUri
public String generateSsoUri()
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
Returns:
generateSsoUriAsync
public Observable
Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.
Returns:
generateSsoUriAsync
public ServiceFuture
Asynchronously generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.
Parameters:
Returns:
isPremiumVerizon
public boolean isPremiumVerizon()
Returns:
listResourceUsage
public PagedList
Returns:
loadEndpointContent
public 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 Completable loadEndpointContentAsync(String endpointName, Set
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
Note, this is Available for Verizon Profiles only.
Parameters:
Returns:
loadEndpointContentAsync
public ServiceFuture
Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
Note, this is Available for Verizon Profiles only.
Parameters:
Returns:
purgeEndpointContent
public void purgeEndpointContent(String endpointName, Set
Forcibly purges CDN endpoint content in the CDN profile.
Parameters:
purgeEndpointContentAsync
public Completable purgeEndpointContentAsync(String endpointName, Set
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
Parameters:
Returns:
purgeEndpointContentAsync
public ServiceFuture
Forcibly purges CDN endpoint content in the CDN profile asynchronously.
Parameters:
Returns:
resourceState
public String resourceState()
Returns:
sku
public Sku sku()
Returns:
startEndpoint
public void startEndpoint(String endpointName)
Starts a stopped CDN endpoint.
Parameters:
startEndpointAsync
public Completable startEndpointAsync(String endpointName)
Starts a stopped CDN endpoint asynchronously.
Parameters:
Returns:
startEndpointAsync
public ServiceFuture
Starts a stopped CDN endpoint asynchronously.
Parameters:
Returns:
stopEndpoint
public void stopEndpoint(String endpointName)
Stops a running CDN endpoint.
Parameters:
stopEndpointAsync
public Completable stopEndpointAsync(String endpointName)
Stops a running CDN endpoint asynchronously.
Parameters:
Returns:
stopEndpointAsync
public ServiceFuture
Stops a running CDN endpoint asynchronously.
Parameters:
Returns:
validateEndpointCustomDomain
public 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 Observable
Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.
Parameters:
Returns:
validateEndpointCustomDomainAsync
public ServiceFuture
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