Interface EndpointsClient
public interface EndpointsClient
An instance of this class provides access to all the operations defined in EndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginPurgeContent
(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) Removes a content from Front Door.beginPurgeContent
(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from Front Door.void
purgeContent
(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) Removes a content from Front Door.void
purgeContent
(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from Front Door.
-
Method Details
-
beginPurgeContent
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeContent(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) Removes a content from Front Door.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.frontDoorName
- Name of the Front Door which is globally unique.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
SyncPoller
for 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 frontDoorName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from Front Door.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.frontDoorName
- Name of the Front Door which is globally unique.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
SyncPoller
for 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.
-
purgeContent
Removes a content from Front Door.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.frontDoorName
- Name of the Front Door which is globally unique.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 frontDoorName, PurgeParameters contentFilePaths, com.azure.core.util.Context context) Removes a content from Front Door.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.frontDoorName
- Name of the Front Door which is globally unique.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.
-