Skip to main content

chaos_faults

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

Overview

Namechaos_faults
TypeResource
Idazure.cosmos_db.chaos_faults

Fields

NameDatatypeDescription
accountNametextfield from the properties object
actiontextfield from the properties object
chaosFaulttextfield from the properties object
container_nametextfield from the properties object
database_nametextfield from the properties object
provisioning_statetextfield from the properties object
regiontextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, chaosFault, resourceGroupName, subscriptionIdGet Chaos Fault for a CosmosdB account for a particular Chaos Fault.
listSELECTaccountName, resourceGroupName, subscriptionIdList Chaos Faults for CosmosDB account.
enable_disableEXECaccountName, chaosFault, resourceGroupName, subscriptionIdEnable, disable Chaos Fault in a CosmosDB account.

SELECT examples

List Chaos Faults for CosmosDB account.

SELECT
accountName,
action,
chaosFault,
container_name,
database_name,
provisioning_state,
region,
resourceGroupName,
subscriptionId
FROM azure.cosmos_db.vw_chaos_faults
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';