You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **targetName**: the name of an existing Virtual Machine within your resource group that you want to target
156
155
* **experimentName**: the desired name for your Chaos Experiment
157
-
* **location**: the desired region for the experiment, targets, and capabilities
158
156
1. The template should deploy within a few minutes. Once the deployment is complete, navigate to Chaos Studio in the Azure portal, select **Experiments**, and find the experiment created by the template. Select it, then **Start** the experiment.
Copy file name to clipboardExpand all lines: articles/chaos-studio/sample-template-experiment.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ This article includes sample [Azure Resource Manager templates (ARM templates)](
19
19
20
20
In this sample, we create a chaos experiment with a single target resource and a single CPU pressure fault. You can modify the experiment by referencing our [REST API](/rest/api/chaosstudio/experiments/create-or-update) and [fault library](chaos-studio-fault-library.md).
21
21
22
+
## Deploying templates
23
+
24
+
Once you've reviewed the template and parameter files, learn how to deploy them into your Azure subscription with the [Deploy resources with ARM templates and Azure portal](../azure-resource-manager/templates/deploy-portal.md) article.
25
+
22
26
### Template file
23
27
24
28
```json
@@ -43,7 +47,7 @@ In this sample, we create a chaos experiment with a single target resource and a
43
47
"chaosTargetResourceId": {
44
48
"type": "string",
45
49
"metadata": {
46
-
"description": "Resource ID of the chaos target. This is the resource ID of the resource being targeted plus the target proxy resource."
50
+
"description": "Resource ID of the chaos target. This is the full resource ID of the resource being targeted plus the target proxy resource."
47
51
}
48
52
}
49
53
},
@@ -52,7 +56,7 @@ In this sample, we create a chaos experiment with a single target resource and a
52
56
"resources": [
53
57
{
54
58
"type": "Microsoft.Chaos/experiments",
55
-
"apiVersion": "2023-11-01",
59
+
"apiVersion": "2024-01-01",
56
60
"name": "[parameters('experimentName')]",
57
61
"location": "[parameters('location')]",
58
62
"identity": {
@@ -71,7 +75,6 @@ In this sample, we create a chaos experiment with a single target resource and a
Copy file name to clipboardExpand all lines: articles/chaos-studio/sample-template-targets.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ This article includes sample [Azure Resource Manager templates (ARM templates)](
19
19
20
20
In this sample, we add an Azure Cosmos DB instance by using [targets and capabilities](chaos-studio-targets-capabilities.md). To modify the template for any service-direct target and capabilities, see the [fault library](chaos-studio-fault-library.md).
21
21
22
+
## Deploying templates
23
+
24
+
Once you've reviewed the template and parameter files, learn how to deploy them into your Azure subscription with the [Deploy resources with ARM templates and Azure portal](../azure-resource-manager/templates/deploy-portal.md) article.
0 commit comments