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
subscriptionId
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

DatadogMonitorResourceListResponse

Success

Other Status Codes

ErrorResponse

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
createdByType

The type of identity that created the resource.

DatadogMonitorResource
DatadogMonitorResourceListResponse

Response 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.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

IdentityProperties
LiftrResourceCategories
ManagedIdentityTypes

Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'.

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

Flag specifying if the resource monitoring is enabled or disabled.

MonitorProperties

Properties specific to the monitor resource.

ProvisioningState
ResourceSku
systemData

Metadata pertaining to creation and last modification of the resource.

UserInfo

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

IdentityProperties

location

string

name

string

Name of the monitor resource.

properties

MonitorProperties

Properties specific to the monitor resource.

sku

ResourceSku

systemData

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

DatadogMonitorResource[]

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

IdentityProperties

Name Type Description
principalId

string

The identity ID.

tenantId

string

The tenant ID of resource.

type

ManagedIdentityTypes

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

DatadogOrganizationProperties

Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.

liftrResourceCategory

LiftrResourceCategories

liftrResourcePreference

integer

The priority of the resource.

marketplaceSubscriptionStatus

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

MonitoringStatus

Enabled

Flag specifying if the resource monitoring is enabled or disabled.

provisioningState

ProvisioningState

userInfo

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

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

createdByType

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