data_controllers
Creates, updates, deletes, gets or lists a data_controllers
resource.
Overview
Name | data_controllers |
Type | Resource |
Id | azure.azure_arc_data.data_controllers |
Fields
The following fields are returned by SELECT
queries:
- list_in_group
- list_in_subscription
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The extendedLocation of the resource. |
location | string | The geo-location where the resource lives |
properties | object | The data controller's properties |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The extendedLocation of the resource. |
location | string | The geo-location where the resource lives |
properties | object | The data controller's properties |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_in_group | select | subscriptionId , resourceGroupName | api-version | |
list_in_subscription | select | subscriptionId | api-version | |
put_data_controller | exec | subscriptionId , resourceGroupName , dataControllerName , properties | api-version | Creates or replaces a dataController resource |
patch_data_controller | exec | subscriptionId , resourceGroupName , dataControllerName | api-version | Updates a dataController 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 |
---|---|---|
dataControllerName | string | The name of the data controller |
resourceGroupName | string | The name of the Azure resource group |
subscriptionId | string | The ID of the Azure subscription |
api-version | string | The API version to use for the request |
SELECT
examples
- list_in_group
- list_in_subscription
OK
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.azure_arc_data.data_controllers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND api-version = '{{ api-version }}'
;
OK
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.azure_arc_data.data_controllers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;
Lifecycle Methods
- put_data_controller
- patch_data_controller
Creates or replaces a dataController resource
EXEC azure.azure_arc_data.data_controllers.put_data_controller
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@dataControllerName='{{ dataControllerName }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"tags": "{{ tags }}",
"location": "{{ location }}",
"extendedLocation": "{{ extendedLocation }}",
"properties": "{{ properties }}"
}'
;
Updates a dataController resource
EXEC azure.azure_arc_data.data_controllers.patch_data_controller
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@dataControllerName='{{ dataControllerName }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"tags": "{{ tags }}",
"properties": "{{ properties }}"
}'
;