Interface CdnProfile
- All Superinterfaces:
- GroupableResource<com.microsoft.azure.management.cdn.implementation.CdnManager,,- com.microsoft.azure.management.cdn.implementation.ProfileInner> - HasId,- HasInner<com.microsoft.azure.management.cdn.implementation.ProfileInner>,- HasManager<com.microsoft.azure.management.cdn.implementation.CdnManager>,- HasName,- HasResourceGroup,- Indexable,- Refreshable<CdnProfile>,- Resource,- Updatable<CdnProfile.Update>
public interface CdnProfile
extends GroupableResource<com.microsoft.azure.management.cdn.implementation.CdnManager,com.microsoft.azure.management.cdn.implementation.ProfileInner>, Refreshable<CdnProfile>, Updatable<CdnProfile.Update> 
An immutable client-side representation of an Azure CDN profile.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of a CDN profile definition.static interfaceGrouping of CDN profile definition stages.static interfaceThe template for an update operation, containing all the settings that can be modified.static interfaceGrouping of CDN manager update stages.Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ResourceResource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
- 
Method SummaryModifier and TypeMethodDescriptionChecks the availability of an endpoint name without creating the CDN endpoint.rx.Observable<CheckNameAvailabilityResult>Checks the availability of an 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 an endpoint name without creating the CDN endpoint asynchronously.Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.rx.Observable<String>Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.com.microsoft.rest.ServiceFuture<String>generateSsoUriAsync(com.microsoft.rest.ServiceCallback<String> callback) Asynchronously generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.booleancom.microsoft.azure.PagedList<ResourceUsage>voidloadEndpointContent(String endpointName, Set<String> contentPaths) Forcibly pre-loads CDN endpoint content in the CDN profile.rx.CompletableloadEndpointContentAsync(String endpointName, Set<String> contentPaths) Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.com.microsoft.rest.ServiceFuture<Void>loadEndpointContentAsync(String endpointName, Set<String> contentPaths, com.microsoft.rest.ServiceCallback<Void> callback) Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.voidpurgeEndpointContent(String endpointName, Set<String> contentPaths) Forcibly purges CDN endpoint content in the CDN profile.rx.CompletablepurgeEndpointContentAsync(String endpointName, Set<String> contentPaths) Forcibly purges CDN endpoint content in the CDN profile asynchronously.com.microsoft.rest.ServiceFuture<Void>purgeEndpointContentAsync(String endpointName, Set<String> contentPaths, com.microsoft.rest.ServiceCallback<Void> callback) Forcibly purges CDN endpoint content in the CDN profile asynchronously.sku()voidstartEndpoint(String endpointName) Starts a stopped CDN endpoint.rx.CompletablestartEndpointAsync(String endpointName) Starts a stopped CDN endpoint asynchronously.com.microsoft.rest.ServiceFuture<Void>startEndpointAsync(String endpointName, com.microsoft.rest.ServiceCallback<Void> callback) Starts a stopped CDN endpoint asynchronously.voidstopEndpoint(String endpointName) Stops a running CDN endpoint.rx.CompletablestopEndpointAsync(String endpointName) Stops a running CDN endpoint asynchronously.com.microsoft.rest.ServiceFuture<Void>stopEndpointAsync(String endpointName, com.microsoft.rest.ServiceCallback<Void> callback) Stops a running CDN endpoint asynchronously.validateEndpointCustomDomain(String endpointName, String hostName) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile.rx.Observable<CustomDomainValidationResult>validateEndpointCustomDomainAsync(String endpointName, String hostName) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.com.microsoft.rest.ServiceFuture<CustomDomainValidationResult>validateEndpointCustomDomainAsync(String endpointName, String hostName, com.microsoft.rest.ServiceCallback<CustomDomainValidationResult> callback) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasIdidMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInnerinnerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManagermanagerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasNamenameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroupresourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.IndexablekeyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshablerefresh, refreshAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resourceregion, regionName, tags, type
- 
Method Details- 
skuSku sku()- Returns:
- the SKU of the CDN profile
 
- 
resourceStateString resourceState()- Returns:
- CDN profile state
 
- 
endpointsMap<String,CdnEndpoint> endpoints()- Returns:
- endpoints in the CDN manager profile, indexed by name
 
- 
generateSsoUriString generateSsoUri()Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.- Returns:
- URI used to login to the third party web portal
 
- 
generateSsoUriAsyncrx.Observable<String> generateSsoUriAsync()Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.- Returns:
- Observable to URI used to login to third party web portal
 
- 
generateSsoUriAsynccom.microsoft.rest.ServiceFuture<String> generateSsoUriAsync(com.microsoft.rest.ServiceCallback<String> callback) Asynchronously generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.- Parameters:
- callback- the callback to call on success or failure
- Returns:
- a handle to cancel the request
 
- 
startEndpointStarts a stopped CDN endpoint.- Parameters:
- endpointName- a name of an endpoint under the profile
 
- 
startEndpointAsyncStarts a stopped CDN endpoint asynchronously.- Parameters:
- endpointName- a name of an endpoint under the profile
- Returns:
- a representation of the deferred computation of this call
 
- 
startEndpointAsynccom.microsoft.rest.ServiceFuture<Void> startEndpointAsync(String endpointName, com.microsoft.rest.ServiceCallback<Void> callback) Starts a stopped CDN endpoint asynchronously.- Parameters:
- endpointName- a name of an endpoint under the profile
- callback- the callback to call on success or failure
- Returns:
- a representation of the deferred computation of this call
 
- 
stopEndpointStops a running CDN endpoint.- Parameters:
- endpointName- a name of an endpoint under the profile
 
- 
stopEndpointAsyncStops a running CDN endpoint asynchronously.- Parameters:
- endpointName- a name of an endpoint under the profile
- Returns:
- a representation of the deferred computation of this call
 
- 
stopEndpointAsynccom.microsoft.rest.ServiceFuture<Void> stopEndpointAsync(String endpointName, com.microsoft.rest.ServiceCallback<Void> callback) Stops a running CDN endpoint asynchronously.- Parameters:
- endpointName- a name of an endpoint under the profile
- callback- the callback to call on success or failure
- Returns:
- a representation of the deferred computation of this call
 
- 
purgeEndpointContentForcibly purges CDN endpoint content in the CDN profile.- Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
 
- 
purgeEndpointContentAsyncForcibly purges CDN endpoint content in the CDN profile asynchronously.- Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
- Returns:
- a representation of the deferred computation of this call
 
- 
purgeEndpointContentAsynccom.microsoft.rest.ServiceFuture<Void> purgeEndpointContentAsync(String endpointName, Set<String> contentPaths, com.microsoft.rest.ServiceCallback<Void> callback) Forcibly purges CDN endpoint content in the CDN profile asynchronously.- Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
- callback- the callback to call on success or failure
- Returns:
- a representation of the deferred computation of this call
 
- 
loadEndpointContentForcibly pre-loads CDN endpoint content in the CDN profile.Note, this is Available for Verizon Profiles only. - Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
 
- 
loadEndpointContentAsyncForcibly pre-loads CDN endpoint content in the CDN profile asynchronously.Note, this is Available for Verizon Profiles only. - Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
- Returns:
- a representation of the deferred computation of this call
 
- 
loadEndpointContentAsynccom.microsoft.rest.ServiceFuture<Void> loadEndpointContentAsync(String endpointName, Set<String> contentPaths, com.microsoft.rest.ServiceCallback<Void> callback) Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.Note, this is Available for Verizon Profiles only. - Parameters:
- endpointName- a name of the endpoint under the profile
- contentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
- callback- the callback to call on success or failure
- Returns:
- a representation of the deferred computation of this call
 
- 
validateEndpointCustomDomainValidates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile.- Parameters:
- endpointName- a name of the endpoint under the profile
- hostName- the host name of the custom domain, which must be a domain name
- Returns:
- CustomDomainValidationResult object if successful
 
- 
validateEndpointCustomDomainAsyncrx.Observable<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.- Parameters:
- endpointName- a name of the endpoint under the profile
- hostName- the host name of the custom domain, which must be a domain name
- Returns:
- the Observable to CustomDomainValidationResult object if successful
 
- 
validateEndpointCustomDomainAsynccom.microsoft.rest.ServiceFuture<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName, com.microsoft.rest.ServiceCallback<CustomDomainValidationResult> callback) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.- Parameters:
- endpointName- a name of the endpoint under the profile
- hostName- the host name of the custom domain, which must be a domain name
- callback- the callback to call on success or failure
- Returns:
- a representation of the deferred computation of this call
 
- 
checkEndpointNameAvailabilityChecks the availability of an endpoint name without creating the CDN endpoint.- Parameters:
- name- the endpoint resource name to validate
- Returns:
- the result if successful.
 
- 
checkEndpointNameAvailabilityAsyncChecks the availability of an 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
 
- 
checkEndpointNameAvailabilityAsynccom.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, com.microsoft.rest.ServiceCallback<CheckNameAvailabilityResult> callback) Checks the availability of an 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
 
- 
isPremiumVerizonboolean isPremiumVerizon()- Returns:
- true if this CDN profile's SKU is of Premium Verizon, else false.
 
- 
listResourceUsagecom.microsoft.azure.PagedList<ResourceUsage> listResourceUsage()- Returns:
- quotas and actual usages of endpoints under the current CDN profile
 
 
-