activities
Creates, updates, deletes, gets or lists a activities
resource.
Overview
Name | activities |
Type | Resource |
Id | azure.automation.activities |
Fields
- vw_activities
- activities
Name | Datatype | Description |
---|---|---|
id | text | Gets or sets the id of the resource. |
name | text | Gets the name of the activity. |
description | text | field from the properties object |
activityName | text | field from the properties object |
automationAccountName | text | field from the properties object |
creation_time | text | field from the properties object |
definition | text | field from the properties object |
last_modified_time | text | field from the properties object |
moduleName | text | field from the properties object |
output_types | text | field from the properties object |
parameter_sets | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Gets or sets the id of the resource. |
name | string | Gets the name of the activity. |
properties | object | Properties of the activity. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | activityName, automationAccountName, moduleName, resourceGroupName, subscriptionId | Retrieve the activity in the module identified by module name and activity name. |
list_by_module | SELECT | automationAccountName, moduleName, resourceGroupName, subscriptionId | Retrieve a list of activities in the module identified by module name. |
SELECT
examples
Retrieve a list of activities in the module identified by module name.
- vw_activities
- activities
SELECT
id,
name,
description,
activityName,
automationAccountName,
creation_time,
definition,
last_modified_time,
moduleName,
output_types,
parameter_sets,
resourceGroupName,
subscriptionId
FROM azure.automation.vw_activities
WHERE automationAccountName = '{{ automationAccountName }}'
AND moduleName = '{{ moduleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties
FROM azure.automation.activities
WHERE automationAccountName = '{{ automationAccountName }}'
AND moduleName = '{{ moduleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';