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
The following fields are returned by SELECT
queries:
- get
- list_by_automation_account
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource Id for the resource |
name | string | The name of the resource |
properties | object | Gets or sets the hybrid worker group properties. |
systemData | object | Resource system metadata. |
type | string | The type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource Id for the resource |
name | string | The name of the resource |
properties | object | Gets or sets the hybrid worker group properties. |
systemData | object | Resource system metadata. |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , automationAccountName , hybridRunbookWorkerGroupName , subscriptionId | Retrieve a hybrid runbook worker group. | |
list_by_automation_account | select | resourceGroupName , automationAccountName , subscriptionId | $filter | Retrieve a list of hybrid runbook worker groups. |
create | insert | resourceGroupName , automationAccountName , hybridRunbookWorkerGroupName , subscriptionId | Create a hybrid runbook worker group. | |
update | update | resourceGroupName , automationAccountName , hybridRunbookWorkerGroupName , subscriptionId | Update a hybrid runbook worker group. | |
delete | delete | resourceGroupName , automationAccountName , hybridRunbookWorkerGroupName , subscriptionId | Delete a hybrid runbook worker group. |
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 |
---|---|---|
automationAccountName | string | The name of the automation account. |
hybridRunbookWorkerGroupName | string | The hybrid runbook worker group name |
resourceGroupName | string | Name of an Azure Resource group. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
$filter | string | The filter to apply on the operation. |
SELECT
examples
- get
- list_by_automation_account
Retrieve a hybrid runbook worker group.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automation.hybrid_runbook_worker_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND automationAccountName = '{{ automationAccountName }}' -- required
AND hybridRunbookWorkerGroupName = '{{ hybridRunbookWorkerGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Retrieve a list of hybrid runbook worker groups.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.automation.hybrid_runbook_worker_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND automationAccountName = '{{ automationAccountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
;
INSERT
examples
- create
- Manifest
Create a hybrid runbook worker group.
INSERT INTO azure.automation.hybrid_runbook_worker_groups (
data__properties,
data__name,
resourceGroupName,
automationAccountName,
hybridRunbookWorkerGroupName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ automationAccountName }}',
'{{ hybridRunbookWorkerGroupName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: hybrid_runbook_worker_groups
props:
- name: resourceGroupName
value: string
description: Required parameter for the hybrid_runbook_worker_groups resource.
- name: automationAccountName
value: string
description: Required parameter for the hybrid_runbook_worker_groups resource.
- name: hybridRunbookWorkerGroupName
value: string
description: Required parameter for the hybrid_runbook_worker_groups resource.
- name: subscriptionId
value: string
description: Required parameter for the hybrid_runbook_worker_groups resource.
- name: properties
value: object
description: |
Gets or sets hybrid runbook worker group create or update properties.
- name: name
value: string
description: |
Gets or sets the name of the resource.
UPDATE
examples
- update
Update a hybrid runbook worker group.
UPDATE azure.automation.hybrid_runbook_worker_groups
SET
data__properties = '{{ properties }}',
data__name = '{{ name }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND automationAccountName = '{{ automationAccountName }}' --required
AND hybridRunbookWorkerGroupName = '{{ hybridRunbookWorkerGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE
examples
- delete
Delete a hybrid runbook worker group.
DELETE FROM azure.automation.hybrid_runbook_worker_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND automationAccountName = '{{ automationAccountName }}' --required
AND hybridRunbookWorkerGroupName = '{{ hybridRunbookWorkerGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;