Interface CdnProfiles
- All Superinterfaces:
HasInner<com.microsoft.azure.management.cdn.implementation.ProfilesInner>
,HasManager<com.microsoft.azure.management.cdn.implementation.CdnManager>
,SupportsBatchCreation<CdnProfile>
,SupportsBatchDeletion
,SupportsCreating<CdnProfile.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsDeletingByResourceGroup
,SupportsGettingById<CdnProfile>
,SupportsGettingByResourceGroup<CdnProfile>
,SupportsListing<CdnProfile>
,SupportsListingByResourceGroup<CdnProfile>
public interface CdnProfiles
extends SupportsCreating<CdnProfile.DefinitionStages.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 TypeMethodDescriptionChecks the availability of a endpoint name without creating the CDN endpoint.rx.Observable<CheckNameAvailabilityResult>
Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult>
checkEndpointNameAvailabilityAsync
(String name, com.microsoft.rest.ServiceCallback<CheckNameAvailabilityResult> callback) Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.generateSsoUri
(String resourceGroupName, String profileName) Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.com.microsoft.azure.PagedList<EdgeNode>
Lists all the edge nodes of a CDN service.com.microsoft.azure.PagedList<Operation>
Lists all of the available CDN REST API operations.com.microsoft.azure.PagedList<ResourceUsage>
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.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.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
generateSsoUri
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.
-
checkEndpointNameAvailability
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
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
com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, com.microsoft.rest.ServiceCallback<CheckNameAvailabilityResult> 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
-
listOperations
com.microsoft.azure.PagedList<Operation> listOperations()Lists all of the available CDN REST API operations.- Returns:
- list of available CDN REST operations.
-
listResourceUsage
com.microsoft.azure.PagedList<ResourceUsage> 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.
-
listEdgeNodes
com.microsoft.azure.PagedList<EdgeNode> listEdgeNodes()Lists all the edge nodes of a CDN service.- Returns:
- list of all the edge nodes of a CDN service.
-
startEndpoint
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
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.
-
purgeEndpointContent
void purgeEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> 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.
-
loadEndpointContent
void loadEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> 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.
-