Interface SolutionsClient
public interface SolutionsClient
An instance of this class provides access to all the operations defined in SolutionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String farmBeatsResourceName, String solutionId) Install Or Update Solution.com.azure.core.http.rest.Response<SolutionInner> createOrUpdateWithResponse(String resourceGroupName, String farmBeatsResourceName, String solutionId, SolutionInstallationRequest body, com.azure.core.util.Context context) Install Or Update Solution.voidUninstall 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.com.azure.core.http.rest.Response<SolutionInner> 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<SolutionInner> Get installed Solutions details.com.azure.core.http.rest.PagedIterable<SolutionInner> 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
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SolutionInner> createOrUpdateWithResponse(String resourceGroupName, String farmBeatsResourceName, String solutionId, SolutionInstallationRequest body, com.azure.core.util.Context context) Install Or Update Solution.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.body- Solution resource request body.context- The context to associate with this operation.- Returns:
- solution resource 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.
-
createOrUpdate
SolutionInner createOrUpdate(String resourceGroupName, String farmBeatsResourceName, String solutionId) Install Or Update Solution.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.solutionId- Solution Id of the solution.- Returns:
- solution 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.
-
getWithResponse
com.azure.core.http.rest.Response<SolutionInner> 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<SolutionInner> 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<SolutionInner> 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.
-