Interface AfdEndpointsClient
-
public interface AfdEndpointsClientAn instance of this class provides access to all the operations defined in AfdEndpointsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdEndpointInner>,AfdEndpointInner>beginCreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)Creates a new AzureFrontDoor 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<AfdEndpointInner>,AfdEndpointInner>beginCreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam, com.azure.core.util.Context context)Creates a new AzureFrontDoor 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<AfdEndpointInner>,AfdEndpointInner>beginCreateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)Creates a new AzureFrontDoor 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<Void>,Void>beginDelete(String resourceGroupName, String profileName, String endpointName)Deletes an existing AzureFrontDoor 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<Void>,Void>beginDelete(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)Deletes an existing AzureFrontDoor 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<Void>,Void>beginDeleteAsync(String resourceGroupName, String profileName, String endpointName)Deletes an existing AzureFrontDoor 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<Void>,Void>beginPurgeContent(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)Removes a content from AzureFrontDoor.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginPurgeContent(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents, com.azure.core.util.Context context)Removes a content from AzureFrontDoor.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginPurgeContentAsync(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)Removes a content from AzureFrontDoor.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdEndpointInner>,AfdEndpointInner>beginUpdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)Updates an existing AzureFrontDoor 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<AfdEndpointInner>,AfdEndpointInner>beginUpdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context)Updates an existing AzureFrontDoor 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<AfdEndpointInner>,AfdEndpointInner>beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.AfdEndpointInnercreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.AfdEndpointInnercreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam, com.azure.core.util.Context context)Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<AfdEndpointInner>createAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)Creates a new AzureFrontDoor 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, AfdEndpointInner endpointParam)Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.voiddelete(String resourceGroupName, String profileName, String endpointName)Deletes an existing AzureFrontDoor 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 AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<Void>deleteAsync(String resourceGroupName, String profileName, String endpointName)Deletes an existing AzureFrontDoor 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 AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.AfdEndpointInnerget(String resourceGroupName, String profileName, String endpointName)Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<AfdEndpointInner>getAsync(String resourceGroupName, String profileName, String endpointName)Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.http.rest.Response<AfdEndpointInner>getWithResponse(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<com.azure.core.http.rest.Response<AfdEndpointInner>>getWithResponseAsync(String resourceGroupName, String profileName, String endpointName)Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.com.azure.core.http.rest.PagedIterable<AfdEndpointInner>listByProfile(String resourceGroupName, String profileName)Lists existing AzureFrontDoor endpoints.com.azure.core.http.rest.PagedIterable<AfdEndpointInner>listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)Lists existing AzureFrontDoor endpoints.com.azure.core.http.rest.PagedFlux<AfdEndpointInner>listByProfileAsync(String resourceGroupName, String profileName)Lists existing AzureFrontDoor endpoints.com.azure.core.http.rest.PagedIterable<UsageInner>listResourceUsage(String resourceGroupName, String profileName, String endpointName)Checks the quota and actual usage of endpoints under the given CDN profile.com.azure.core.http.rest.PagedIterable<UsageInner>listResourceUsage(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)Checks the quota and actual usage of endpoints under the given CDN profile.com.azure.core.http.rest.PagedFlux<UsageInner>listResourceUsageAsync(String resourceGroupName, String profileName, String endpointName)Checks the quota and actual usage of endpoints under the given CDN profile.voidpurgeContent(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)Removes a content from AzureFrontDoor.voidpurgeContent(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents, com.azure.core.util.Context context)Removes a content from AzureFrontDoor.Mono<Void>purgeContentAsync(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)Removes a content from AzureFrontDoor.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>purgeContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)Removes a content from AzureFrontDoor.AfdEndpointInnerupdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.AfdEndpointInnerupdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context)Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.Mono<AfdEndpointInner>updateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)Updates an existing AzureFrontDoor 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, AfdEndpointUpdateParameters endpointUpdateProperties)Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.ValidateCustomDomainOutputInnervalidateCustomDomain(String resourceGroupName, String profileName, String endpointName, ValidateCustomDomainInput customDomainProperties)Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.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.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 Detail
-
listByProfileAsync
com.azure.core.http.rest.PagedFlux<AfdEndpointInner> listByProfileAsync(String resourceGroupName, String profileName)
Lists existing AzureFrontDoor endpoints.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner> listByProfile(String resourceGroupName, String profileName)
Lists existing AzureFrontDoor endpoints.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Lists existing AzureFrontDoor endpoints.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName)
Gets an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.- Returns:
- an existing AzureFrontDoor 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
Mono<AfdEndpointInner> getAsync(String resourceGroupName, String profileName, String endpointName)
Gets an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.- Returns:
- an existing AzureFrontDoor 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
AfdEndpointInner get(String resourceGroupName, String profileName, String endpointName)
Gets an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.- Returns:
- an existing AzureFrontDoor 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<AfdEndpointInner> getWithResponse(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)
Gets an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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, AfdEndpointInner endpointParam)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginCreate(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam, com.azure.core.util.Context context)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner> createAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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
AfdEndpointInner create(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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
AfdEndpointInner create(String resourceGroupName, String profileName, String endpointName, AfdEndpointInner endpointParam, com.azure.core.util.Context context)
Creates a new AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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, AfdEndpointUpdateParameters endpointUpdateProperties)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner>,AfdEndpointInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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<AfdEndpointInner> updateAsync(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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
AfdEndpointInner update(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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
AfdEndpointInner update(String resourceGroupName, String profileName, String endpointName, AfdEndpointUpdateParameters endpointUpdateProperties, com.azure.core.util.Context context)
Updates an existing AzureFrontDoor 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 domains, use the Update Custom Domain operation.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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
Mono<Void> deleteAsync(String resourceGroupName, String profileName, String endpointName)
Deletes an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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
void delete(String resourceGroupName, String profileName, String endpointName)
Deletes an existing AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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 AzureFrontDoor 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 Azure Front Door Standard or Azure Front Door Premium 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.
-
purgeContentWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeContentWithResponseAsync(String resourceGroupName, String profileName, String endpointName, AfdPurgeParameters contents)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents, com.azure.core.util.Context context)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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, AfdPurgeParameters contents, com.azure.core.util.Context context)
Removes a content from AzureFrontDoor.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.contents- The list of paths to the content and the list of linked domains 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.
-
listResourceUsageAsync
com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync(String resourceGroupName, String profileName, String endpointName)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.- Returns:
- the list usages operation response 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<UsageInner> listResourceUsage(String resourceGroupName, String profileName, String endpointName)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.endpointName- Name of the endpoint under the profile which is unique globally.- Returns:
- the list usages operation response 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<UsageInner> listResourceUsage(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium 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 list usages operation response 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.
-
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 Azure Front Door Standard or Azure Front Door Premium 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 Azure Front Door Standard or Azure Front Door Premium 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 Azure Front Door Standard or Azure Front Door Premium 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 Azure Front Door Standard or Azure Front Door Premium 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.
-
-