Interface Solutions
public interface Solutions
Resource collection API of Solutions.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Solution resource.void
Deletes the solutionvoid
deleteById
(String id) Deletes the solutionvoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the solutionvoid
deleteByResourceGroup
(String resourceGroupName, String solutionName) Deletes the solutionRetrieve solution.com.azure.core.http.rest.Response<Solution>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Retrieve solution.getByResourceGroup
(String resourceGroupName, String solutionName) Retrieve solution.com.azure.core.http.rest.Response<Solution>
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<SolutionPropertiesList>
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<SolutionPropertiesList>
listBySubscriptionWithResponse
(com.azure.core.util.Context context) Retrieves the solution list for the subscription
-
Method Details
-
deleteByResourceGroup
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<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
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 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<SolutionPropertiesList> 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
SolutionPropertiesList 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.
-
getById
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
Deletes the solutionDeletes 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
Deletes the solutionDeletes 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.
-