data_manager_for_agriculture_resources
Creates, updates, deletes, gets or lists a data_manager_for_agriculture_resources
resource.
Overview
Name | data_manager_for_agriculture_resources |
Type | Resource |
Id | azure_extras.ag_food_platform.data_manager_for_agriculture_resources |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Data Manager For Agriculture ARM Resource properties. |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Data Manager For Agriculture ARM Resource properties. |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Data Manager For Agriculture ARM Resource properties. |
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 , dataManagerForAgricultureResourceName | Get DataManagerForAgriculture resource. | |
list_by_resource_group | select | resourceGroupName , subscriptionId | $maxPageSize , $skipToken | Lists the DataManagerForAgriculture instances for a resource group. |
list_by_subscription | select | subscriptionId | $maxPageSize , $skipToken | Lists the DataManagerForAgriculture instances for a subscription. |
create_or_update | insert | subscriptionId , resourceGroupName , dataManagerForAgricultureResourceName | Create or update Data Manager For Agriculture resource. | |
update | update | subscriptionId , resourceGroupName , dataManagerForAgricultureResourceName | Update a Data Manager For Agriculture resource. | |
delete | delete | subscriptionId , resourceGroupName , dataManagerForAgricultureResourceName | Delete a Data Manager For Agriculture resource. |
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 |
---|---|---|
dataManagerForAgricultureResourceName | string | DataManagerForAgriculture resource name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
$maxPageSize | integer (int32) | Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50. |
$skipToken | string | Skip token for getting next set of results. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get DataManagerForAgriculture resource.
SELECT
identity,
location,
properties,
tags
FROM azure_extras.ag_food_platform.data_manager_for_agriculture_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dataManagerForAgricultureResourceName = '{{ dataManagerForAgricultureResourceName }}' -- required
;
Lists the DataManagerForAgriculture instances for a resource group.
SELECT
identity,
location,
properties,
tags
FROM azure_extras.ag_food_platform.data_manager_for_agriculture_resources
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $maxPageSize = '{{ $maxPageSize }}'
AND $skipToken = '{{ $skipToken }}'
;
Lists the DataManagerForAgriculture instances for a subscription.
SELECT
identity,
location,
properties,
tags
FROM azure_extras.ag_food_platform.data_manager_for_agriculture_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND $maxPageSize = '{{ $maxPageSize }}'
AND $skipToken = '{{ $skipToken }}'
;
INSERT
examples
- create_or_update
- Manifest
Create or update Data Manager For Agriculture resource.
INSERT INTO azure_extras.ag_food_platform.data_manager_for_agriculture_resources (
data__tags,
data__location,
data__identity,
data__properties,
subscriptionId,
resourceGroupName,
dataManagerForAgricultureResourceName
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ dataManagerForAgricultureResourceName }}'
RETURNING
identity,
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: data_manager_for_agriculture_resources
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the data_manager_for_agriculture_resources resource.
- name: resourceGroupName
value: string
description: Required parameter for the data_manager_for_agriculture_resources resource.
- name: dataManagerForAgricultureResourceName
value: string
description: Required parameter for the data_manager_for_agriculture_resources resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: identity
value: object
description: |
Identity for the resource.
- name: properties
value: object
description: |
Data Manager For Agriculture ARM Resource properties.
UPDATE
examples
- update
Update a Data Manager For Agriculture resource.
UPDATE azure_extras.ag_food_platform.data_manager_for_agriculture_resources
SET
data__location = '{{ location }}',
data__identity = '{{ identity }}',
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dataManagerForAgricultureResourceName = '{{ dataManagerForAgricultureResourceName }}' --required
RETURNING
identity,
location,
properties,
tags;
DELETE
examples
- delete
Delete a Data Manager For Agriculture resource.
DELETE FROM azure_extras.ag_food_platform.data_manager_for_agriculture_resources
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dataManagerForAgricultureResourceName = '{{ dataManagerForAgricultureResourceName }}' --required
;