Interface CdnProfile
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<CdnManager, ProfileInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ProfileInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<CdnManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<CdnProfile>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.Updatable<CdnProfile.Update>
public interface CdnProfile
extends com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<CdnManager, ProfileInner>, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<CdnProfile>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<CdnProfile.Update>
An immutable client-side representation of an Azure CDN profile.
-
Nested Class Summary
Nested 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.azure.resourcemanager.resources.fluentcore.arm.models.Resource
com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<T> -
Field Summary
Fields inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
DUMMY -
Method Summary
Modifier and TypeMethodDescriptionChecks the availability of an endpoint name without creating the CDN endpoint.Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.Gets latest endpoints by sending http request.Generates a dynamic SSO URI used to sign in to the CDN supplemental portal used for advanced management tasks.Asynchronously generates a dynamic SSO URI used to sign into the CDN supplemental portal used for advanced management tasks.booleanCheck whether this CDN profile's SKU is of Premium Verizon.com.azure.core.http.rest.PagedIterable<ResourceUsage> Gets quotas and actual usages of endpoints under the current CDN profile.voidloadEndpointContent(String endpointName, Set<String> contentPaths) Forcibly pre-loads CDN endpoint content in the CDN profile.loadEndpointContentAsync(String endpointName, Set<String> contentPaths) 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.purgeEndpointContentAsync(String endpointName, Set<String> contentPaths) Forcibly purges CDN endpoint content in the CDN profile asynchronously.Gets CDN profile state.sku()Gets the SKU of the CDN profile.voidstartEndpoint(String endpointName) Starts a stopped CDN endpoint.startEndpointAsync(String endpointName) Starts a stopped CDN endpoint asynchronously.voidstopEndpoint(String endpointName) Stops a running CDN endpoint.stopEndpointAsync(String endpointName) 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.validateEndpointCustomDomainAsync(String endpointName, String hostName) Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, typeMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
update
-
Method Details
-
sku
-
resourceState
-
endpoints
Map<String, CdnEndpoint> endpoints()Gets latest endpoints by sending http request.- Returns:
- endpoints in the CDN manager profile, indexed by name
-
generateSsoUri
String 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
-
generateSsoUriAsync
-
startEndpoint
Starts a stopped CDN endpoint.- Parameters:
endpointName- a name of an endpoint under the profile
-
startEndpointAsync
-
stopEndpoint
Stops a running CDN endpoint.- Parameters:
endpointName- a name of an endpoint under the profile
-
stopEndpointAsync
-
purgeEndpointContent
-
purgeEndpointContentAsync
Forcibly purges CDN endpoint content in the CDN profile asynchronously.- Parameters:
endpointName- a name of the endpoint under the profilecontentPaths- 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
-
loadEndpointContent
Forcibly 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 profilecontentPaths- the paths to the content to be purged, which can be file paths or directory wild cards
-
loadEndpointContentAsync
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 profilecontentPaths- 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
-
validateEndpointCustomDomain
Validates 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 profilehostName- the host name of the custom domain, which must be a domain name- Returns:
- CustomDomainValidationResult object if successful
-
validateEndpointCustomDomainAsync
Mono<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 profilehostName- the host name of the custom domain, which must be a domain name- Returns:
- the Observable to CustomDomainValidationResult object if successful
-
checkEndpointNameAvailability
Checks the availability of an endpoint name without creating the CDN endpoint.- Parameters:
name- the endpoint resource name to validate- Returns:
- the result if successful.
-
checkEndpointNameAvailabilityAsync
Checks 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
-
isPremiumVerizon
boolean isPremiumVerizon()Check whether this CDN profile's SKU is of Premium Verizon.- Returns:
- true if this CDN profile's SKU is of Premium Verizon, else false.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<ResourceUsage> listResourceUsage()Gets quotas and actual usages of endpoints under the current CDN profile.- Returns:
- quotas and actual usages of endpoints under the current CDN profile
-