solutions
Creates, updates, deletes, gets or lists a solutions
resource.
Overview
Name | solutions |
Type | Resource |
Id | azure.operations_management.solutions |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
OK response definition.
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
location | string | Resource location |
plan | object | Plan for solution object supported by the OperationsManagement resource provider. |
properties | object | Properties for solution object supported by the OperationsManagement resource provider. |
tags | object | Resource tags |
type | string | Resource type. |
OK response definition.
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
location | string | Resource location |
plan | object | Plan for solution object supported by the OperationsManagement resource provider. |
properties | object | Properties for solution object supported by the OperationsManagement resource provider. |
tags | object | Resource tags |
type | string | Resource type. |
OK response definition.
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
location | string | Resource location |
plan | object | Plan for solution object supported by the OperationsManagement resource provider. |
properties | object | Properties for solution object supported by the OperationsManagement resource provider. |
tags | object | Resource tags |
type | string | Resource type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , solutionName | Retrieves the user solution. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Retrieves the solution list. It will retrieve both first party and third party solutions | |
list_by_subscription | select | subscriptionId | Retrieves the solution list. It will retrieve both first party and third party solutions | |
create_or_update | insert | subscriptionId , resourceGroupName , solutionName | Creates or updates the Solution. | |
update | update | subscriptionId , resourceGroupName , solutionName | Patch a Solution. Only updating tags supported. | |
delete | delete | subscriptionId , resourceGroupName , solutionName | Deletes the solution in the subscription. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group to get. The name is case insensitive. |
solutionName | string | User Solution Name. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Retrieves the user solution.
SELECT
id,
name,
location,
plan,
properties,
tags,
type
FROM azure.operations_management.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND solutionName = '{{ solutionName }}' -- required
;
Retrieves the solution list. It will retrieve both first party and third party solutions
SELECT
id,
name,
location,
plan,
properties,
tags,
type
FROM azure.operations_management.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Retrieves the solution list. It will retrieve both first party and third party solutions
SELECT
id,
name,
location,
plan,
properties,
tags,
type
FROM azure.operations_management.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates the Solution.
INSERT INTO azure.operations_management.solutions (
data__location,
data__tags,
data__plan,
data__properties,
subscriptionId,
resourceGroupName,
solutionName
)
SELECT
'{{ location }}',
'{{ tags }}',
'{{ plan }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ solutionName }}'
RETURNING
id,
name,
location,
plan,
properties,
tags,
type
;
# Description fields are for documentation purposes
- name: solutions
props:
- name: subscriptionId
value: string
description: Required parameter for the solutions resource.
- name: resourceGroupName
value: string
description: Required parameter for the solutions resource.
- name: solutionName
value: string
description: Required parameter for the solutions resource.
- name: location
value: string
description: |
Resource location
- name: tags
value: object
description: |
Resource tags
- name: plan
value: object
description: |
Plan for solution object supported by the OperationsManagement resource provider.
- name: properties
value: object
description: |
Properties for solution object supported by the OperationsManagement resource provider.
UPDATE
examples
- update
Patch a Solution. Only updating tags supported.
UPDATE azure.operations_management.solutions
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND solutionName = '{{ solutionName }}' --required
RETURNING
id,
name,
location,
plan,
properties,
tags,
type;
DELETE
examples
- delete
Deletes the solution in the subscription.
DELETE FROM azure.operations_management.solutions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND solutionName = '{{ solutionName }}' --required
;