CdnProfiles Interface

Implements

public interface CdnProfiles
extends SupportsCreating<Blank>, SupportsListing<CdnProfile>, SupportsListingByResourceGroup<CdnProfile>, SupportsGettingByResourceGroup<CdnProfile>, SupportsGettingById<CdnProfile>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<CdnProfile>, SupportsBatchDeletion, HasManager<com.microsoft.azure.management.cdn.implementation.CdnManager>, HasInner<com.microsoft.azure.management.cdn.implementation.ProfilesInner>

Entry point for CDN profile management API.

Method Summary

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

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

abstract rx.Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)

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

abstract com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

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

abstract java.lang.String generateSsoUri(String resourceGroupName, String profileName)

Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.

abstract com.microsoft.azure.PagedList<EdgeNode> listEdgeNodes()

Lists all the edge nodes of a CDN service.

abstract com.microsoft.azure.PagedList<Operation> listOperations()

Lists all of the available CDN REST API operations.

abstract com.microsoft.azure.PagedList<ResourceUsage> listResourceUsage()

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

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

Forcibly pre-loads CDN endpoint content.

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

Forcibly purges CDN endpoint content.

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

Starts an existing stopped CDN endpoint.

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

Stops an existing running CDN endpoint.

Method Details

checkEndpointNameAvailability

public abstract 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 abstract 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 abstract 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 abstract 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 abstract PagedList listEdgeNodes()

Lists all the edge nodes of a CDN service.

Returns:

list of all the edge nodes of a CDN service.

listOperations

public abstract PagedList listOperations()

Lists all of the available CDN REST API operations.

Returns:

list of available CDN REST operations.

listResourceUsage

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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