Skip to main content

activities

Creates, updates, deletes, gets or lists a activities resource.

Overview

Nameactivities
TypeResource
Idazure.automation.activities

Fields

NameDatatypeDescription
idtextGets or sets the id of the resource.
nametextGets the name of the activity.
descriptiontextfield from the properties object
activityNametextfield from the properties object
automationAccountNametextfield from the properties object
creation_timetextfield from the properties object
definitiontextfield from the properties object
last_modified_timetextfield from the properties object
moduleNametextfield from the properties object
output_typestextfield from the properties object
parameter_setstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTactivityName, automationAccountName, moduleName, resourceGroupName, subscriptionIdRetrieve the activity in the module identified by module name and activity name.
list_by_moduleSELECTautomationAccountName, moduleName, resourceGroupName, subscriptionIdRetrieve 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.

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 }}';