Skip to content

Commit 3104455

Browse files
committed
updates
1 parent 3c24d07 commit 3104455

1 file changed

Lines changed: 62 additions & 3 deletions

File tree

articles/partner-solutions/datadog/create.md

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Create a Datadog resource
33
description: Get started with Datadog on Azure by creating a new resource, configuring metrics and logs, and setting up single sign-on through Microsoft Entra ID.
44
ms.topic: quickstart
5-
ms.date: 03/10/2025
5+
zone_pivot_groups: datadog-create
6+
ms.date: 08/04/2025
67
ms.custom:
78
- references_regions
89
- ai-gen-docs-bap
@@ -27,6 +28,62 @@ In this quickstart, you create a new instance of Datadog.
2728
> [!NOTE]
2829
> The steps in this article are for creating a new Datadog organization. See [link to an existing Datadog organization](link-to-existing-organization.md) if you have an existing Datadog organization you'd prefer to link your Azure subscription to.
2930
31+
::: zone pivot="azure-cli"
32+
33+
Start by preparing your environment for the Azure CLI:
34+
35+
[!INCLUDE [azure-cli-prepare-your-environment-no-header.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
36+
37+
After you sign in, use the [az datadog monitor create](/cli/azure/datadog/monitor#az-datadog-monitor-create) command to create the new monitor resource:
38+
39+
```azurecli
40+
az datadog monitor create --name "myMonitor" --resource-group "myResourceGroup" \
41+
--location "my location" \
42+
--offer-detail id="string" plan-id="string" plan-name="string" publisher-id="string" term-unit="string" \
43+
--user-detail email-address="[email protected]" first-name="string" last-name="string" \
44+
--tags Environment="Dev"
45+
```
46+
47+
> [!NOTE]
48+
> If you want the command to return before the create operation completes, add the optional parameter `--no-wait`. The operation continues to run until the Datadog monitor is created.
49+
50+
To pause CLI execution until a monitor's specific event or condition occurs, use the [az datadog monitor wait](/cli/azure/datadog/monitor#az-datadog-monitor-wait) command. For example, to wait until a monitor is created:
51+
52+
```azurecli
53+
az datadog monitor wait --name "myMonitor" --resource-group "myResourceGroup" --created
54+
```
55+
56+
To see a list of existing monitors, use the [az datadog monitor list](/cli/azure/datadog/monitor#az-datadog-monitor-list) command.
57+
58+
You can view all of the monitors in your subscription:
59+
60+
```azurecli
61+
az datadog monitor list
62+
```
63+
64+
Or, view the monitors in a resource group:
65+
66+
```azurecli
67+
az datadog monitor list --resource-group "myResourceGroup"
68+
```
69+
70+
To see the properties of a specific monitor, use the [az datadog monitor show](/cli/azure/datadog/monitor#az-datadog-monitor-show) command.
71+
72+
You can view the monitor by name:
73+
74+
```azurecli
75+
az datadog monitor show --name "myMonitor" --resource-group "myResourceGroup"
76+
```
77+
78+
Or, view the monitor by resource ID:
79+
80+
```azurecli
81+
az datadog monitor show --ids "/subscriptions/{SubID}/resourceGroups/{myResourceGroup}/providers/Microsoft.Datadog/monitors/{myMonitor}"
82+
83+
::: zone-end
84+
85+
::: zone pivot="azure-portal"
86+
3087
### Basics tab
3188
3289
The *Basics* tab has three sections:
@@ -108,7 +165,9 @@ Select the **Next** button at the bottom of the page.
108165
109166
[!INCLUDE [review-create](../includes/review-create.md)]
110167
111-
## Next steps
168+
::: zone-end
112169
113-
- [Manage Datadog resources](manage.md)
170+
## Next step
171+
> [!div class="nextstepaction"]
172+
> [Manage Datadog resources](manage.md)
114173

0 commit comments

Comments
 (0)