solutions
Creates, updates, deletes, gets or lists a solutions
resource.
Overview
Name | solutions |
Type | Resource |
Id | azure.iot_orchestrator.solutions |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
extendedLocation | object | Edge location of the resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
extendedLocation | object | Edge location of the resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
extendedLocation | object | Edge location of the resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , name | Get a Solution | |
list_by_resource_group | select | subscriptionId , resourceGroupName | List Solution resources by resource group | |
list_by_subscription | select | subscriptionId | List Solution resources by subscription ID | |
create_or_update | insert | subscriptionId , resourceGroupName , name , data__extendedLocation | Create a Solution | |
update | update | subscriptionId , resourceGroupName , name | Update a Solution | |
delete | delete | subscriptionId , resourceGroupName , name | Delete a Solution |
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 |
---|---|---|
name | string | Name of solution. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get a Solution
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_orchestrator.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
;
List Solution resources by resource group
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_orchestrator.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
List Solution resources by subscription ID
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_orchestrator.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create a Solution
INSERT INTO azure.iot_orchestrator.solutions (
data__properties,
data__extendedLocation,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
name
)
SELECT
'{{ properties }}',
'{{ extendedLocation }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ name }}'
RETURNING
extendedLocation,
location,
properties,
tags
;
# 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: name
value: string
description: Required parameter for the solutions resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: extendedLocation
value: object
description: |
Edge location of the resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Update a Solution
UPDATE azure.iot_orchestrator.solutions
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;
DELETE
examples
- delete
Delete a Solution
DELETE FROM azure.iot_orchestrator.solutions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
;