Skip to main content

solutions

Creates, updates, deletes, gets or lists a solutions resource.

Overview

Namesolutions
TypeResource
Idazure_extras.ag_food_platform.solutions

Fields

NameDatatypeDescription
dataManagerForAgricultureResourceNametextfield from the properties object
e_tagtextfield from the properties object
marketplace_publisher_idtextfield from the properties object
offer_idtextfield from the properties object
partner_idtextfield from the properties object
plan_idtextfield from the properties object
resourceGroupNametextfield from the properties object
role_assignment_idtextfield from the properties object
saas_subscription_idtextfield from the properties object
saas_subscription_nametextfield from the properties object
solutionIdtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
term_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataManagerForAgricultureResourceName, resourceGroupName, solutionId, subscriptionIdGet installed Solution details by Solution id.
listSELECTdataManagerForAgricultureResourceName, resourceGroupName, subscriptionIdGet installed Solutions details.
create_or_updateINSERTdataManagerForAgricultureResourceName, resourceGroupName, solutionId, subscriptionIdInstall Or Update Solution.
deleteDELETEdataManagerForAgricultureResourceName, resourceGroupName, solutionId, subscriptionIdUninstall Solution.

SELECT examples

Get installed Solutions details.

SELECT
dataManagerForAgricultureResourceName,
e_tag,
marketplace_publisher_id,
offer_id,
partner_id,
plan_id,
resourceGroupName,
role_assignment_id,
saas_subscription_id,
saas_subscription_name,
solutionId,
subscriptionId,
system_data,
term_id
FROM azure_extras.ag_food_platform.vw_solutions
WHERE dataManagerForAgricultureResourceName = '{{ dataManagerForAgricultureResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new solutions resource.

/*+ create */
INSERT INTO azure_extras.ag_food_platform.solutions (
dataManagerForAgricultureResourceName,
resourceGroupName,
solutionId,
subscriptionId,
systemData,
properties
)
SELECT
'{{ dataManagerForAgricultureResourceName }}',
'{{ resourceGroupName }}',
'{{ solutionId }}',
'{{ subscriptionId }}',
'{{ systemData }}',
'{{ properties }}'
;

DELETE example

Deletes the specified solutions resource.

/*+ delete */
DELETE FROM azure_extras.ag_food_platform.solutions
WHERE dataManagerForAgricultureResourceName = '{{ dataManagerForAgricultureResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND solutionId = '{{ solutionId }}'
AND subscriptionId = '{{ subscriptionId }}';