Skip to main content

capability_types

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

Overview

Namecapability_types
TypeResource
Idazure.chaos.capability_types

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.
azureRbacActionsarrayControl plane actions necessary to execute capability type.
azureRbacDataActionsarrayData plane actions necessary to execute capability type.
descriptionstringLocalized string of the description.
displayNamestringLocalized string of the display name.
kindstringString of the kind of this Capability Type.
parametersSchemastringURL to retrieve JSON schema of the Capability Type parameters.
publisherstringString of the Publisher that this Capability Type extends.
requiredAzureRoleDefinitionIdsarrayRequired Azure Role Definition Ids to execute capability type.
runtimePropertiesobjectRuntime properties of this Capability Type.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
targetTypestringString of the Target Type that this Capability Type extends.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
urnstringString of the URN for this Capability Type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, target_type_name, capability_type_name, subscription_idGet a Capability Type resource for given Target Type and location.
listselectlocation, target_type_name, subscription_idcontinuationTokenGet a list of Capability Type resources for given Target Type and location.

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
capability_type_namestringString that represents a Capability Type resource name. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring
target_type_namestringString that represents a Target Type resource name. Required.
continuationTokenstringString that sets the continuation token. Default value is None.

SELECT examples

Get a Capability Type resource for given Target Type and location.

SELECT
id,
name,
azureRbacActions,
azureRbacDataActions,
description,
displayName,
kind,
parametersSchema,
publisher,
requiredAzureRoleDefinitionIds,
runtimeProperties,
systemData,
targetType,
type,
urn
FROM azure.chaos.capability_types
WHERE location = '{{ location }}' -- required
AND target_type_name = '{{ target_type_name }}' -- required
AND capability_type_name = '{{ capability_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;