chaos_faults
Creates, updates, deletes, gets or lists a chaos_faults
resource.
Overview
Name | chaos_faults |
Type | Resource |
Id | azure.cosmos_db.chaos_faults |
Fields
- vw_chaos_faults
- chaos_faults
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
action | text | field from the properties object |
chaosFault | text | field from the properties object |
container_name | text | field from the properties object |
database_name | text | field from the properties object |
provisioning_state | text | field from the properties object |
region | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | A request object to enable/disable the chaos fault. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, chaosFault, resourceGroupName, subscriptionId | Get Chaos Fault for a CosmosdB account for a particular Chaos Fault. |
list | SELECT | accountName, resourceGroupName, subscriptionId | List Chaos Faults for CosmosDB account. |
enable_disable | EXEC | accountName, chaosFault, resourceGroupName, subscriptionId | Enable, disable Chaos Fault in a CosmosDB account. |
SELECT
examples
List Chaos Faults for CosmosDB account.
- vw_chaos_faults
- chaos_faults
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 }}';
SELECT
properties
FROM azure.cosmos_db.chaos_faults
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';