Interface SolutionsClient


public interface SolutionsClient
An instance of this class provides access to all the operations defined in SolutionsClient.
  • 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

      SolutionInner update(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 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 solution

      Deletes 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 solution

      Deletes 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

      void delete(String resourceGroupName, String solutionName)
      Deletes the solution

      Deletes 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

      void delete(String resourceGroupName, String solutionName, com.azure.core.util.Context context)
      Deletes the solution

      Deletes 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

      SolutionInner getByResourceGroup(String resourceGroupName, String solutionName)
      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 subscription

      Retrieves 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

      SolutionPropertiesListInner listByResourceGroup(String resourceGroupName)
      Retrieves the solution list for the subscription

      Retrieves 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 subscription

      Retrieves 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 subscription

      Retrieves 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.