Monitors - List
List all monitors under the specified subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors?api-version=2023-01-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
Default error response. |
Examples
Monitors_List
Sample Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/monitors?api-version=2023-01-01
Sample Response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
"name": "myMonitor",
"type": "Microsoft.Datadog/monitors",
"properties": {
"provisioningState": "Succeeded",
"monitoringStatus": "Enabled",
"datadogOrganizationProperties": {
"name": "myOrg",
"id": "myOrg123",
"linkingAuthCode": null,
"linkingClientId": null,
"enterpriseAppId": null,
"cspm": false
},
"liftrResourceCategory": "MonitorLogs",
"liftrResourcePreference": 1
},
"tags": {
"Environment": "Dev"
},
"location": "West US"
}
]
}
Definitions
Name | Description |
---|---|
created |
The type of identity that created the resource. |
Datadog |
|
Datadog |
Response of a list operation. |
Datadog |
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Identity |
|
Liftr |
|
Managed |
Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'. |
Marketplace |
Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. |
Monitoring |
Flag specifying if the resource monitoring is enabled or disabled. |
Monitor |
Properties specific to the monitor resource. |
Provisioning |
|
Resource |
|
system |
Metadata pertaining to creation and last modification of the resource. |
User |
Includes name, email and optionally, phone number. User Information can't be null. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
DatadogMonitorResource
Name | Type | Description |
---|---|---|
id |
string |
ARM id of the monitor resource. |
identity | ||
location |
string |
|
name |
string |
Name of the monitor resource. |
properties |
Properties specific to the monitor resource. |
|
sku | ||
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
tags |
object |
|
type |
string |
The type of the monitor resource. |
DatadogMonitorResourceListResponse
Response of a list operation.
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to the next set of results, if any. |
value |
Results of a list operation. |
DatadogOrganizationProperties
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
Name | Type | Description |
---|---|---|
apiKey |
string |
Api key associated to the Datadog organization. |
applicationKey |
string |
Application key associated to the Datadog organization. |
cspm |
boolean |
The configuration which describes the state of cloud security posture management. This collects configuration information for all resources in a subscription and track conformance to industry benchmarks. |
enterpriseAppId |
string |
The Id of the Enterprise App used for Single sign on. |
id |
string |
Id of the Datadog organization. |
linkingAuthCode |
string |
The auth code used to linking to an existing Datadog organization. |
linkingClientId |
string |
The client_id from an existing in exchange for an auth token to link organization. |
name |
string |
Name of the Datadog organization. |
redirectUri |
string |
The redirect URI for linking. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
IdentityProperties
Name | Type | Description |
---|---|---|
principalId |
string |
The identity ID. |
tenantId |
string |
The tenant ID of resource. |
type |
Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'. |
LiftrResourceCategories
Name | Type | Description |
---|---|---|
MonitorLogs |
string |
|
Unknown |
string |
ManagedIdentityTypes
Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'.
Name | Type | Description |
---|---|---|
SystemAssigned |
string |
|
UserAssigned |
string |
MarketplaceSubscriptionStatus
Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
Name | Type | Description |
---|---|---|
Active |
string |
|
Provisioning |
string |
|
Suspended |
string |
|
Unsubscribed |
string |
MonitoringStatus
Flag specifying if the resource monitoring is enabled or disabled.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
MonitorProperties
Properties specific to the monitor resource.
Name | Type | Default Value | Description |
---|---|---|---|
datadogOrganizationProperties |
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well. |
||
liftrResourceCategory | |||
liftrResourcePreference |
integer |
The priority of the resource. |
|
marketplaceSubscriptionStatus |
Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. |
||
monitoringStatus | Enabled |
Flag specifying if the resource monitoring is enabled or disabled. |
|
provisioningState | |||
userInfo |
Includes name, email and optionally, phone number. User Information can't be null. |
ProvisioningState
Name | Type | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Creating |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
NotSpecified |
string |
|
Succeeded |
string |
|
Updating |
string |
ResourceSku
Name | Type | Description |
---|---|---|
name |
string |
Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UserInfo
Includes name, email and optionally, phone number. User Information can't be null.
Name | Type | Description |
---|---|---|
emailAddress |
string |
Email of the user used by Datadog for contacting them if needed |
name |
string |
Name of the user |
phoneNumber |
string |
Phone number of the user used by Datadog for contacting them if needed |