public interface Solutions
Resource collection API of Solutions.
  • Method Details

    • deleteByResourceGroup

      void deleteByResourceGroup(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<Solution> 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

      Solution 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<SolutionPropertiesList> 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

      SolutionPropertiesList 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<SolutionPropertiesList> 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

      SolutionPropertiesList 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.
    • getById

      Solution getById(String id)
      Retrieve solution.

      Retrieves the user solution.

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Solution> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Retrieve solution.

      Retrieves the user solution.

      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the solution

      Deletes the solution in the subscription.

      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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes the solution

      Deletes the solution in the subscription.

      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new Solution resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Solution definition.