Interface SolutionsClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,
SolutionInner> beginCreateOrUpdate
(String resourceGroupName, String solutionName, SolutionInner parameters) Create/Update Solution.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,
SolutionInner> beginCreateOrUpdate
(String resourceGroupName, String solutionName, SolutionInner parameters, com.azure.core.util.Context context) Create/Update Solution.beginDelete
(String resourceGroupName, String solutionName) Deletes the solutionbeginDelete
(String resourceGroupName, String solutionName, com.azure.core.util.Context context) Deletes the solutioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,
SolutionInner> beginUpdate
(String resourceGroupName, String solutionName, SolutionPatch parameters) Patch a Solution.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,
SolutionInner> beginUpdate
(String resourceGroupName, String solutionName, SolutionPatch parameters, com.azure.core.util.Context context) Patch a Solution.createOrUpdate
(String resourceGroupName, String solutionName, SolutionInner parameters) Create/Update Solution.createOrUpdate
(String resourceGroupName, String solutionName, SolutionInner parameters, com.azure.core.util.Context context) Create/Update Solution.void
Deletes the solutionvoid
Deletes the solutiongetByResourceGroup
(String resourceGroupName, String solutionName) Retrieve solution.com.azure.core.http.rest.Response<SolutionInner>
getByResourceGroupWithResponse
(String resourceGroupName, String solutionName, com.azure.core.util.Context context) Retrieve solution.listByResourceGroup
(String resourceGroupName) Retrieves the solution list for the subscriptioncom.azure.core.http.rest.Response<SolutionPropertiesListInner>
listByResourceGroupWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Retrieves the solution list for the subscriptionRetrieves the solution list for the subscriptioncom.azure.core.http.rest.Response<SolutionPropertiesListInner>
listBySubscriptionWithResponse
(com.azure.core.util.Context context) Retrieves the solution list for the subscriptionupdate
(String resourceGroupName, String solutionName, SolutionPatch parameters) Patch a Solution.update
(String resourceGroupName, String solutionName, SolutionPatch parameters, com.azure.core.util.Context context) Patch a Solution.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,SolutionInner> beginCreateOrUpdate(String resourceGroupName, String solutionName, SolutionInner parameters) Create/Update Solution.Creates or updates the Solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to create OMS Solution.- Returns:
- the
SyncPoller
for polling of the container for 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,SolutionInner> beginCreateOrUpdate(String resourceGroupName, String solutionName, SolutionInner parameters, com.azure.core.util.Context context) Create/Update Solution.Creates or updates the Solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to create OMS Solution.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the container for 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.
-
createOrUpdate
SolutionInner createOrUpdate(String resourceGroupName, String solutionName, SolutionInner parameters) Create/Update Solution.Creates or updates the Solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to create OMS Solution.- Returns:
- the container for 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.
-
createOrUpdate
SolutionInner createOrUpdate(String resourceGroupName, String solutionName, SolutionInner parameters, com.azure.core.util.Context context) Create/Update Solution.Creates or updates the Solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to create OMS Solution.context
- The context to associate with this operation.- Returns:
- the container for 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,SolutionInner> beginUpdate(String resourceGroupName, String solutionName, SolutionPatch parameters) Patch a Solution.Patch a Solution. Only updating tags supported.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to patch a Solution.- Returns:
- the
SyncPoller
for polling of the container for 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SolutionInner>,SolutionInner> beginUpdate(String resourceGroupName, String solutionName, SolutionPatch parameters, com.azure.core.util.Context context) Patch a Solution.Patch a Solution. Only updating tags supported.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to patch a Solution.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the container for 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.
-
update
Patch a Solution.Patch a Solution. Only updating tags supported.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to patch a Solution.- Returns:
- the container for 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.
-
update
SolutionInner update(String resourceGroupName, String solutionName, SolutionPatch parameters, com.azure.core.util.Context context) Patch a Solution.Patch a Solution. Only updating tags supported.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.parameters
- The parameters required to patch a Solution.context
- The context to associate with this operation.- Returns:
- the container for 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String solutionName) Deletes the solutionDeletes the solution in the subscription.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String solutionName, com.azure.core.util.Context context) Deletes the solutionDeletes the solution in the subscription.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.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.
-
delete
Deletes the solutionDeletes the solution in the subscription.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.- 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
Deletes the solutionDeletes the solution in the subscription.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SolutionInner> getByResourceGroupWithResponse(String resourceGroupName, String solutionName, com.azure.core.util.Context context) Retrieve solution.Retrieves the user solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.context
- The context to associate with this operation.- Returns:
- the container for solution 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.
-
getByResourceGroup
Retrieve solution.Retrieves the user solution.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.solutionName
- User Solution Name.- Returns:
- the container for 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.
-
listByResourceGroupWithResponse
com.azure.core.http.rest.Response<SolutionPropertiesListInner> listByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context) Retrieves the solution list for the subscriptionRetrieves the solution list. It will retrieve both first party and third party solutions.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the list of solution response 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.
-
listByResourceGroup
Retrieves the solution list for the subscriptionRetrieves the solution list. It will retrieve both first party and third party solutions.
- Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.- Returns:
- the list of solution 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.
-
listBySubscriptionWithResponse
com.azure.core.http.rest.Response<SolutionPropertiesListInner> listBySubscriptionWithResponse(com.azure.core.util.Context context) Retrieves the solution list for the subscriptionRetrieves the solution list. It will retrieve both first party and third party solutions.
- Parameters:
context
- The context to associate with this operation.- Returns:
- the list of solution response 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.
-
listBySubscription
SolutionPropertiesListInner listBySubscription()Retrieves the solution list for the subscriptionRetrieves the solution list. It will retrieve both first party and third party solutions.
- Returns:
- the list of solution response.
- Throws:
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.
-