Freigeben über


CdnProfiles Interface

Implements

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

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 Mono<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)

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

abstract String generateSsoUri(String resourceGroupName, String profileName)

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

abstract PagedIterable<EdgeNode> listEdgeNodes()

Lists all the edge nodes of a CDN service.

abstract PagedIterable<Operation> listOperations()

Lists all of the available CDN REST API operations.

abstract PagedIterable<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 Mono 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

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 PagedIterable listEdgeNodes()

Lists all the edge nodes of a CDN service.

Returns:

list of all the edge nodes of a CDN service.

listOperations

public abstract PagedIterable listOperations()

Lists all of the available CDN REST API operations.

Returns:

list of available CDN REST operations.

listResourceUsage

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