hybrid_runbook_worker_groups
Creates, updates, deletes, gets or lists a hybrid_runbook_worker_groups
resource.
Overview
Name | hybrid_runbook_worker_groups |
Type | Resource |
Id | azure.automation.hybrid_runbook_worker_groups |
Fields
- vw_hybrid_runbook_worker_groups
- hybrid_runbook_worker_groups
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | text | The name of the resource |
automationAccountName | text | field from the properties object |
credential | text | field from the properties object |
group_type | text | field from the properties object |
hybridRunbookWorkerGroupName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Definition of hybrid runbook worker group property. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | automationAccountName, hybridRunbookWorkerGroupName, resourceGroupName, subscriptionId | Retrieve a hybrid runbook worker group. |
list_by_automation_account | SELECT | automationAccountName, resourceGroupName, subscriptionId | Retrieve a list of hybrid runbook worker groups. |
create | INSERT | automationAccountName, hybridRunbookWorkerGroupName, resourceGroupName, subscriptionId | Create a hybrid runbook worker group. |
delete | DELETE | automationAccountName, hybridRunbookWorkerGroupName, resourceGroupName, subscriptionId | Delete a hybrid runbook worker group. |
update | UPDATE | automationAccountName, hybridRunbookWorkerGroupName, resourceGroupName, subscriptionId | Update a hybrid runbook worker group. |
SELECT
examples
Retrieve a list of hybrid runbook worker groups.
- vw_hybrid_runbook_worker_groups
- hybrid_runbook_worker_groups
SELECT
id,
name,
automationAccountName,
credential,
group_type,
hybridRunbookWorkerGroupName,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.automation.vw_hybrid_runbook_worker_groups
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automation.hybrid_runbook_worker_groups
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new hybrid_runbook_worker_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automation.hybrid_runbook_worker_groups (
automationAccountName,
hybridRunbookWorkerGroupName,
resourceGroupName,
subscriptionId,
properties,
name
)
SELECT
'{{ automationAccountName }}',
'{{ hybridRunbookWorkerGroupName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: credential
value:
- name: name
value: string
- name: name
value: string
UPDATE
example
Updates a hybrid_runbook_worker_groups
resource.
/*+ update */
UPDATE azure.automation.hybrid_runbook_worker_groups
SET
properties = '{{ properties }}',
name = '{{ name }}'
WHERE
automationAccountName = '{{ automationAccountName }}'
AND hybridRunbookWorkerGroupName = '{{ hybridRunbookWorkerGroupName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified hybrid_runbook_worker_groups
resource.
/*+ delete */
DELETE FROM azure.automation.hybrid_runbook_worker_groups
WHERE automationAccountName = '{{ automationAccountName }}'
AND hybridRunbookWorkerGroupName = '{{ hybridRunbookWorkerGroupName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';