CdnProfiles Interface

public interface CdnProfiles extends SupportsCreating<CdnProfile.DefinitionStages.Blank>,SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation,SupportsBatchDeletion,HasManager,HasInner

Entry point for CDN profile management API.

Method Summary

Modifier and Type Method and Description
CheckNameAvailabilityResult checkEndpointNameAvailability(String name)

Checks the availability of a endpoint name without creating the CDN endpoint.

Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)

Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.

ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.

String generateSsoUri(String resourceGroupName, String profileName)

Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.

PagedList<EdgeNode> listEdgeNodes()

Lists all the edge nodes of a CDN service.

PagedList<Operation> listOperations()

Lists all of the available CDN REST API operations.

PagedList<ResourceUsage> listResourceUsage()

Check the quota and actual usage of the CDN profiles under the current subscription.

void loadEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)

Forcibly pre-loads CDN endpoint content. Available for Verizon profiles.

void purgeEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)

Forcibly purges CDN endpoint content.

void startEndpoint(String resourceGroupName, String profileName, String endpointName)

Starts an existing stopped CDN endpoint.

void stopEndpoint(String resourceGroupName, String profileName, String endpointName)

Stops an existing running CDN endpoint.

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

checkEndpointNameAvailability

public CheckNameAvailabilityResult checkEndpointNameAvailability(String name)

Checks the availability of a endpoint name without creating the CDN endpoint.

Parameters:

name - The endpoint resource name to validate.

Returns:

the CheckNameAvailabilityResult object if successful.

checkEndpointNameAvailabilityAsync

public Observable checkEndpointNameAvailabilityAsync(String name)

Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.

Parameters:

name - the endpoint resource name to validate.

Returns:

a representation of the deferred computation of this call

checkEndpointNameAvailabilityAsync

public ServiceFuture checkEndpointNameAvailabilityAsync(String name, ServiceCallback callback)

Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.

Parameters:

name - the endpoint resource name to validate.
callback - the callback to call on success or failure

Returns:

a representation of the deferred computation of this call

generateSsoUri

public String generateSsoUri(String resourceGroupName, String profileName)

Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.

Parameters:

resourceGroupName - name of the resource group within the Azure subscription.
profileName - name of the CDN profile which is unique within the resource group.

Returns:

the Sso Uri string if successful.

listEdgeNodes

public PagedList listEdgeNodes()

Lists all the edge nodes of a CDN service.

Returns:

list of all the edge nodes of a CDN service.

listOperations

public PagedList listOperations()

Lists all of the available CDN REST API operations.

Returns:

list of available CDN REST operations.

listResourceUsage

public PagedList listResourceUsage()

Check the quota and actual usage of the CDN profiles under the current subscription.

Returns:

quotas and actual usages of the CDN profiles under the current subscription.

loadEndpointContent

public void loadEndpointContent(String resourceGroupName, String profileName, String endpointName, List contentPaths)

Forcibly pre-loads CDN endpoint content. Available for Verizon profiles.

Parameters:

resourceGroupName - name of the resource group within the Azure subscription.
profileName - name of the CDN profile which is unique within the resource group.
endpointName - name of the endpoint under the profile which is unique globally.
contentPaths - the path to the content to be loaded. Should describe a file path.

purgeEndpointContent

public void purgeEndpointContent(String resourceGroupName, String profileName, String endpointName, List contentPaths)

Forcibly purges CDN endpoint content.

Parameters:

resourceGroupName - name of the resource group within the Azure subscription.
profileName - name of the CDN profile which is unique within the resource group.
endpointName - name of the endpoint under the profile which is unique globally.
contentPaths - the path to the content to be purged. Can describe a file path or a wild card directory.

startEndpoint

public void startEndpoint(String resourceGroupName, String profileName, String endpointName)

Starts an existing stopped CDN endpoint.

Parameters:

resourceGroupName - name of the resource group within the Azure subscription.
profileName - name of the CDN profile which is unique within the resource group.
endpointName - name of the endpoint under the profile which is unique globally.

stopEndpoint

public void stopEndpoint(String resourceGroupName, String profileName, String endpointName)

Stops an existing running CDN endpoint.

Parameters:

resourceGroupName - name of the resource group within the Azure subscription.
profileName - name of the CDN profile which is unique within the resource group.
endpointName - name of the endpoint under the profile which is unique globally.

Applies to