Interface EndpointsClient
public interface EndpointsClient
An instance of this class provides access to all the operations defined in EndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam, com.azure.core.util.Context context) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.beginDelete(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.beginDelete(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.beginDeleteAsync(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.beginLoadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN.beginLoadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths, com.azure.core.util.Context context) Pre-loads a content to CDN.beginLoadContentAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN.beginPurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.beginPurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from CDN.beginPurgeContentAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStart(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStart(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Starts an existing CDN endpoint that is on a stopped state.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStartAsync(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> Stops an existing running CDN endpoint.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStop(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Stops an existing running CDN endpoint.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStopAsync(String resourceGroupName, String profileName, String endpointName) Stops an existing running CDN endpoint.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.create(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.create(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam, com.azure.core.util.Context context) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.createAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createWithResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.voidDeletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.voiddelete(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.deleteAsync(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.http.rest.Response<EndpointInner>getWithResponse(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<com.azure.core.http.rest.Response<EndpointInner>>getWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.http.rest.PagedIterable<EndpointInner>listByProfile(String resourceGroupName, String profileName) Lists existing CDN endpoints.com.azure.core.http.rest.PagedIterable<EndpointInner>listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context) Lists existing CDN endpoints.com.azure.core.http.rest.PagedFlux<EndpointInner>listByProfileAsync(String resourceGroupName, String profileName) Lists existing CDN endpoints.com.azure.core.http.rest.PagedIterable<ResourceUsageInner>listResourceUsage(String resourceGroupName, String profileName, String endpointName) Checks the quota and usage of geo filters and custom domains under the given endpoint.com.azure.core.http.rest.PagedIterable<ResourceUsageInner>listResourceUsage(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Checks the quota and usage of geo filters and custom domains under the given endpoint.com.azure.core.http.rest.PagedFlux<ResourceUsageInner>listResourceUsageAsync(String resourceGroupName, String profileName, String endpointName) Checks the quota and usage of geo filters and custom domains under the given endpoint.voidloadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN.voidloadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths, com.azure.core.util.Context context) Pre-loads a content to CDN.loadContentAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>loadContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN.voidpurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.voidpurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from CDN.purgeContentAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>purgeContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.Starts an existing CDN endpoint that is on a stopped state.start(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Starts an existing CDN endpoint that is on a stopped state.startAsync(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>startWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.Stops an existing running CDN endpoint.stop(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Stops an existing running CDN endpoint.Stops an existing running CDN endpoint.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>stopWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Stops an existing running CDN endpoint.update(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.update(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.validateCustomDomain(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.validateCustomDomainAsync(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner>validateCustomDomainWithResponse(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties, com.azure.core.util.Context context) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.Mono<com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner>>validateCustomDomainWithResponseAsync(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
-
Method Details
-
listByProfileAsync
com.azure.core.http.rest.PagedFlux<EndpointInner> listByProfileAsync(String resourceGroupName, String profileName) Lists existing CDN endpoints.- 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:
- result of the request to list endpoints as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByProfile
com.azure.core.http.rest.PagedIterable<EndpointInner> listByProfile(String resourceGroupName, String profileName) Lists existing CDN endpoints.- 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:
- result of the request to list endpoints as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByProfile
com.azure.core.http.rest.PagedIterable<EndpointInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context) Lists existing CDN endpoints.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- result of the request to list endpoints as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<EndpointInner>> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- an existing CDN endpoint with the specified endpoint name under the specified subscription, resource
group and profile along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- an existing CDN endpoint with the specified endpoint name under the specified subscription, resource
group and profile on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<EndpointInner> getWithResponse(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.context- The context to associate with this operation.- Returns:
- an existing CDN endpoint with the specified endpoint name under the specified subscription, resource
group and profile along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.- Returns:
- the
PollerFluxfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam, com.azure.core.util.Context context) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAsync
Mono<EndpointInner> createAsync(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
EndpointInner create(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
EndpointInner create(String resourceGroupName, String profileName, String endpointName, EndpointInner endpointParam, com.azure.core.util.Context context) Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.endpointParam- Endpoint properties.context- The context to associate with this operation.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.- Returns:
- the
PollerFluxfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<EndpointInner> updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
EndpointInner update(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
EndpointInner update(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context) Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.- 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.endpointUpdateProperties- Endpoint update properties.context- The context to associate with this operation.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String endpointName) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.- 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.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.- 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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStartAsync(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.- 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.- Returns:
- the
PollerFluxfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStart(String resourceGroupName, String profileName, String endpointName) Starts an existing CDN endpoint that is on a stopped state.- 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.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStart(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Starts an existing CDN endpoint that is on a stopped state.- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
Starts an existing CDN endpoint that is on a stopped state.- 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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
Starts an existing CDN endpoint that is on a stopped state.- 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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
EndpointInner start(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Starts an existing CDN endpoint that is on a stopped state.- 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.context- The context to associate with this operation.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync(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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStopAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStopAsync(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.- Returns:
- the
PollerFluxfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStop(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.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,EndpointInner> beginStop(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopAsync
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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin,
protocol, content caching and delivery behavior on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
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.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
EndpointInner stop(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeContentWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeContentAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeContentAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeContent
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeContent
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeContentAsync
Mono<Void> purgeContentAsync(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeContent
void purgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeContent
void purgeContent(String resourceGroupName, String profileName, String endpointName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from CDN.- 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.contentFilePaths- The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
loadContentWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> loadContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginLoadContentAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginLoadContentAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginLoadContent
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginLoadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginLoadContent
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginLoadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths, com.azure.core.util.Context context) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
loadContentAsync
Mono<Void> loadContentAsync(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
loadContent
void loadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
loadContent
void loadContent(String resourceGroupName, String profileName, String endpointName, LoadParameters contentFilePaths, com.azure.core.util.Context context) Pre-loads a content to CDN. 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.contentFilePaths- The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateCustomDomainWithResponseAsync
Mono<com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner>> validateCustomDomainWithResponseAsync(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.- 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.customDomainProperties- Custom domain to be validated.- Returns:
- output of custom domain validation along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateCustomDomainAsync
Mono<ValidateCustomDomainOutputInner> validateCustomDomainAsync(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.- 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.customDomainProperties- Custom domain to be validated.- Returns:
- output of custom domain validation on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateCustomDomain
ValidateCustomDomainOutputInner validateCustomDomain(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.- 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.customDomainProperties- Custom domain to be validated.- Returns:
- output of custom domain validation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateCustomDomainWithResponse
com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner> validateCustomDomainWithResponse(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties, com.azure.core.util.Context context) Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.- 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.customDomainProperties- Custom domain to be validated.context- The context to associate with this operation.- Returns:
- output of custom domain validation along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsageAsync
com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listResourceUsageAsync(String resourceGroupName, String profileName, String endpointName) Checks the quota and usage of geo filters and custom domains under the given 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.- Returns:
- output of check resource usage API as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage(String resourceGroupName, String profileName, String endpointName) Checks the quota and usage of geo filters and custom domains under the given 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.- Returns:
- output of check resource usage API as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context) Checks the quota and usage of geo filters and custom domains under the given 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.context- The context to associate with this operation.- Returns:
- output of check resource usage API as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-