Skip to main content

action_versions

Creates, updates, deletes, gets or lists an action_versions resource.

Overview

Nameaction_versions
TypeResource
Idazure.chaos.action_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
actionNamestringThe short name of the action (e.g., "Shutdown").
actionTypestringThe type of the action. Known values are: "Discrete", "Continuous", and "Cancelable". (Discrete, Continuous, Cancelable)
canonicalIdstringCanonical identifier of the action (e.g., "microsoft-compute-shutdown/1.0").
descriptionstringDescription of what this action does.
displayNamestringHuman-readable display name of the action.
parametersSchemaobjectJSON Schema describing the parameters for this action.
recommendedRolesarrayRecommended Azure RBAC role definition GUIDs for this action.
supportedTargetTypesarrayList of target types supported by this action.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringThe version of the action (e.g., "1.0.0").

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, action_name, version_name, subscription_idGet an Action Version resource for a given location and action.
listselectlocation, action_name, subscription_idcontinuationTokenGet a list of Action Version resources for a given location and action.

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.

NameDatatypeDescription
action_namestringString that represents an Action resource name. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring
version_namestringString that represents an Action Version resource name. Required.
continuationTokenstringString that sets the continuation token. Default value is None.

SELECT examples

Get an Action Version resource for a given location and action.

SELECT
id,
name,
actionName,
actionType,
canonicalId,
description,
displayName,
parametersSchema,
recommendedRoles,
supportedTargetTypes,
systemData,
type,
version
FROM azure.chaos.action_versions
WHERE location = '{{ location }}' -- required
AND action_name = '{{ action_name }}' -- required
AND version_name = '{{ version_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;