Microsoft.Datadog (stable:2023-01-01)

2024/12/18 • 7 updated methods

CreationSupported_List (updated)
Description Informs if the current subscription is being already monitored for selected Datadog organization.
Reference Link ¶

⚶ Changes

{
  "#id": "CreationSupported_List",
  "$responses": {
    "200": {
      "$properties": {
        "@added_1bc759deff5f480ab5f7dd7a5207a1b6": {
          "#name": "nextLink",
          "Description": "Link to the next set of results, if any.",
          "Required": false,
          "Type": "string"
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/subscriptionStatuses
{
subscriptionId: string ,
api-version: string ,
datadogOrganizationId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
creationSupported: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Monitors_List (updated)
Description List all monitors under the specified subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "Monitors_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "sku": [
              {
                "#name": "name",
                "Description": {
                  "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
                  "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Monitors_ListByResourceGroup (updated)
Description List all monitors under the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "Monitors_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "sku": [
              {
                "#name": "name",
                "Description": {
                  "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
                  "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Monitors_Get (updated)
Description Get the properties of a specific monitor resource.
Reference Link ¶

⚶ Changes

{
  "#id": "Monitors_Get",
  "$responses": {
    "200": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}
{
subscriptionId: string ,
resourceGroupName: string ,
monitorName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Monitors_Create (updated)
Description Create a monitor resource.
Reference Link ¶

⚶ Changes

{
  "#id": "Monitors_Create",
  "$parameters": {
    "body": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}
{
subscriptionId: string ,
resourceGroupName: string ,
monitorName: string ,
api-version: string ,
body:
{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Monitors_Update (updated)
Description Update a monitor resource.
Reference Link ¶

⚶ Changes

{
  "#id": "Monitors_Update",
  "$parameters": {
    "body": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "sku": [
          {
            "#name": "name",
            "Description": {
              "new": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.",
              "old": "Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'linking'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}
{
subscriptionId: string ,
resourceGroupName: string ,
monitorName: string ,
api-version: string ,
body:
{
properties:
{
monitoringStatus: enum ,
cspm: boolean ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
sku:
{
name: string ,
}
,
properties:
{
provisioningState: enum ,
monitoringStatus: enum ,
marketplaceSubscriptionStatus: enum ,
datadogOrganizationProperties:
{
name: string ,
id: string ,
linkingAuthCode: string ,
linkingClientId: string ,
redirectUri: string ,
apiKey: string ,
applicationKey: string ,
enterpriseAppId: string ,
cspm: boolean ,
}
,
userInfo:
{
name: string ,
emailAddress: string ,
phoneNumber: string ,
}
,
liftrResourceCategory: enum ,
liftrResourcePreference: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
tags: object ,
location: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MonitoredSubscriptions_List (updated)
Description List the subscriptions currently being monitored by the Datadog monitor resource.
Reference Link ¶

⚶ Changes

{
  "#id": "MonitoredSubscriptions_List",
  "$responses": {
    "200": {
      "$properties": {
        "@added_0d6a10c99f9b4781aed239468bbe2f1c": {
          "#name": "nextLink",
          "Description": "Link to the next set of results, if any.",
          "Required": false,
          "Type": "string"
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/monitoredSubscriptions
{
subscriptionId: string ,
resourceGroupName: string ,
monitorName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
type: string ,
properties:
{
operation: enum ,
monitoredSubscriptionList:
[
{
subscriptionId: string ,
status: enum ,
error: string ,
tagRules:
{
provisioningState: enum ,
logRules:
{
sendAadLogs: boolean ,
sendSubscriptionLogs: boolean ,
sendResourceLogs: boolean ,
filteringTags:
[
{
name: string ,
value: string ,
action: enum ,
}
,
]
,
}
,
metricRules:
{
filteringTags:
[
{
name: string ,
value: string ,
action: enum ,
}
,
]
,
}
,
automuting: boolean ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}