Interface CdnProfiles
-
- All Superinterfaces:
HasManager<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<CdnManager>
Entry point for CDN profile management API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckNameAvailabilityResultcheckEndpointNameAvailability(String name)Checks the availability of a endpoint name without creating the CDN endpoint.Mono<CheckNameAvailabilityResult>checkEndpointNameAvailabilityAsync(String name)Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.StringgenerateSsoUri(String resourceGroupName, String profileName)Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.com.azure.core.http.rest.PagedIterable<EdgeNode>listEdgeNodes()Lists all the edge nodes of a CDN service.com.azure.core.http.rest.PagedIterable<Operation>listOperations()Lists all of the available CDN REST API operations.com.azure.core.http.rest.PagedIterable<ResourceUsage>listResourceUsage()Check the quota and actual usage of the CDN profiles under the current subscription.voidloadEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)Forcibly pre-loads CDN endpoint content.voidpurgeEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)Forcibly purges CDN endpoint content.voidstartEndpoint(String resourceGroupName, String profileName, String endpointName)Starts an existing stopped CDN endpoint.voidstopEndpoint(String resourceGroupName, String profileName, String endpointName)Stops an existing running CDN endpoint.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
-
-
-
Method Detail
-
generateSsoUri
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.
-
checkEndpointNameAvailability
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
Mono<CheckNameAvailabilityResult> 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
-
listOperations
com.azure.core.http.rest.PagedIterable<Operation> listOperations()
Lists all of the available CDN REST API operations.- Returns:
- list of available CDN REST operations.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<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.azure.core.http.rest.PagedIterable<EdgeNode> listEdgeNodes()
Lists all the edge nodes of a CDN service.- Returns:
- list of all the edge nodes of a CDN service.
-
startEndpoint
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
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.
-
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.
-
-