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>
Modifier and Type | Method and Description |
---|---|
CheckNameAvailabilityResult |
checkEndpointNameAvailability(String name)
Checks the availability of a endpoint name without creating the CDN endpoint.
|
rx.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.
|
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.
|
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.
|
define
list, listAsync
listByResourceGroup, listByResourceGroupAsync
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
getById, getByIdAsync, getByIdAsync
deleteById, deleteByIdAsync, deleteByIdAsync
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
create, create, createAsync, createAsync, createAsync, createAsync
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync
manager
String generateSsoUri(String resourceGroupName, String profileName)
resourceGroupName
- name of the resource group within the Azure subscription.profileName
- name of the CDN profile which is unique within the resource group.CheckNameAvailabilityResult checkEndpointNameAvailability(String name)
name
- The endpoint resource name to validate.rx.Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name)
name
- the endpoint resource name to validate.ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)
name
- the endpoint resource name to validate.callback
- the callback to call on success or failurePagedList<Operation> listOperations()
PagedList<ResourceUsage> listResourceUsage()
PagedList<EdgeNode> listEdgeNodes()
void startEndpoint(String resourceGroupName, String profileName, String endpointName)
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.void stopEndpoint(String resourceGroupName, String profileName, String endpointName)
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.void purgeEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)
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.void loadEndpointContent(String resourceGroupName, String profileName, String endpointName, List<String> contentPaths)
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.Copyright © 2019. All rights reserved.