Interface Endpoints
public interface Endpoints
Resource collection API of Endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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.
-