Interface Extensions
public interface Extensions
Resource collection API of Extensions.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Extension resource.voidUninstall extension.voiddeleteById(String id) Uninstall extension.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Uninstall extension.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String farmBeatsResourceName, String extensionId, com.azure.core.util.Context context) Uninstall extension.Get installed extension details by extension id.Get installed extension details by extension id.com.azure.core.http.rest.Response<Extension> getByIdWithResponse(String id, com.azure.core.util.Context context) Get installed extension details by extension id.com.azure.core.http.rest.Response<Extension> getWithResponse(String resourceGroupName, String farmBeatsResourceName, String extensionId, com.azure.core.util.Context context) Get installed extension details by extension id.com.azure.core.http.rest.PagedIterable<Extension> listByFarmBeats(String resourceGroupName, String farmBeatsResourceName) Get installed extensions details.com.azure.core.http.rest.PagedIterable<Extension> listByFarmBeats(String resourceGroupName, String farmBeatsResourceName, List<String> extensionIds, List<String> extensionCategories, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Get installed extensions details.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<Extension> getWithResponse(String resourceGroupName, String farmBeatsResourceName, String extensionId, com.azure.core.util.Context context) Get installed extension details by extension id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.extensionId- Id of extension resource.context- The context to associate with this operation.- Returns:
- installed extension details by extension id 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.
-
get
Get installed extension details by extension id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.extensionId- Id of extension resource.- Returns:
- installed extension details by extension id.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String farmBeatsResourceName, String extensionId, com.azure.core.util.Context context) Uninstall extension.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.extensionId- Id of extension resource.context- The context to associate with this operation.- Returns:
- the
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.
-
delete
Uninstall extension.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.extensionId- Id of extension resource.- 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.
-
listByFarmBeats
com.azure.core.http.rest.PagedIterable<Extension> listByFarmBeats(String resourceGroupName, String farmBeatsResourceName) Get installed extensions details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.- Returns:
- installed extensions details 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.
-
listByFarmBeats
com.azure.core.http.rest.PagedIterable<Extension> listByFarmBeats(String resourceGroupName, String farmBeatsResourceName, List<String> extensionIds, List<String> extensionCategories, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Get installed extensions details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.extensionIds- Installed extension ids.extensionCategories- Installed extension categories.maxPageSize- Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.skipToken- Skip token for getting next set of results.context- The context to associate with this operation.- Returns:
- installed extensions details 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.
-
getById
Get installed extension details by extension id.- Parameters:
id- the resource ID.- Returns:
- installed extension details by extension id 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Extension> getByIdWithResponse(String id, com.azure.core.util.Context context) Get installed extension details by extension id.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- installed extension details by extension id 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.
-
deleteById
Uninstall extension.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Uninstall extension.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- the
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.
-
define
Begins definition for a new Extension resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Extension definition.
-