Interface Solutions
public interface Solutions
Resource collection API of Solutions.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Solution resource.voidUninstall Solution.voiddeleteById(String id) Uninstall Solution.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Uninstall Solution.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String farmBeatsResourceName, String solutionId, com.azure.core.util.Context context) Uninstall Solution.Get installed Solution details by Solution id.Get installed Solution details by Solution id.com.azure.core.http.rest.Response<Solution> getByIdWithResponse(String id, com.azure.core.util.Context context) Get installed Solution details by Solution id.com.azure.core.http.rest.Response<Solution> getWithResponse(String resourceGroupName, String farmBeatsResourceName, String solutionId, com.azure.core.util.Context context) Get installed Solution details by Solution id.com.azure.core.http.rest.PagedIterable<Solution> Get installed Solutions details.com.azure.core.http.rest.PagedIterable<Solution> list(String resourceGroupName, String farmBeatsResourceName, List<String> solutionIds, List<String> ids, List<String> names, List<String> propertyFilters, List<String> statuses, OffsetDateTime minCreatedDateTime, OffsetDateTime maxCreatedDateTime, OffsetDateTime minLastModifiedDateTime, OffsetDateTime maxLastModifiedDateTime, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Get installed Solutions details.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<Solution> getWithResponse(String resourceGroupName, String farmBeatsResourceName, String solutionId, com.azure.core.util.Context context) Get installed Solution details by Solution id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.context- The context to associate with this operation.- Returns:
- installed Solution details by Solution 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 Solution details by Solution id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.- Returns:
- installed Solution details by Solution 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 solutionId, com.azure.core.util.Context context) Uninstall Solution.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.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 Solution.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.- 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.
-
list
com.azure.core.http.rest.PagedIterable<Solution> list(String resourceGroupName, String farmBeatsResourceName) Get installed Solutions details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.- Returns:
- installed Solutions 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.
-
list
com.azure.core.http.rest.PagedIterable<Solution> list(String resourceGroupName, String farmBeatsResourceName, List<String> solutionIds, List<String> ids, List<String> names, List<String> propertyFilters, List<String> statuses, OffsetDateTime minCreatedDateTime, OffsetDateTime maxCreatedDateTime, OffsetDateTime minLastModifiedDateTime, OffsetDateTime maxLastModifiedDateTime, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Get installed Solutions details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionIds- Installed Solution ids.ids- Ids of the resource.names- Names of the resource.propertyFilters- Filters on key-value pairs within the Properties object. eg. "{testKey} eq {testValue}".statuses- Statuses of the resource.minCreatedDateTime- Minimum creation date of resource (inclusive).maxCreatedDateTime- Maximum creation date of resource (inclusive).minLastModifiedDateTime- Minimum last modified date of resource (inclusive).maxLastModifiedDateTime- Maximum last modified date of resource (inclusive).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 Solutions 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 Solution details by Solution id.- Parameters:
id- the resource ID.- Returns:
- installed Solution details by Solution 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<Solution> getByIdWithResponse(String id, com.azure.core.util.Context context) Get installed Solution details by Solution id.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- installed Solution details by Solution 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 Solution.- 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 Solution.- 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 Solution resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Solution definition.
-