Microsoft Azure Monitors Resource API

The MonitorsResource API from Microsoft Azure, for monitorsresource.

GitHub OpenAPI

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /providers/Microsoft.Datadog/operations List Datadog resource provider operations · Microsoft Azure List All Operations Provided By Microsoft Datadog For The 2020… #
Ask an LLM
“What operations does the Microsoft.Datadog resource provider support?”
“Can I get the list of actions available for Datadog monitors in the 2020-02-01-preview API?”
Tell an agent
List all operations offered by the Microsoft.Datadog provider.
Show me the Datadog integration's available provider operations.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors List Datadog monitors in a subscription · Microsoft Azure List All Monitors Under The Specified Subscription #
Ask an LLM
“How do I see every Datadog monitor resource across my whole subscription?”
“Which Datadog monitors exist in this Azure subscription?”
Tell an agent
List all Datadog monitors in subscription {subscriptionId}.
Show every Datadog monitor resource across the subscription.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors List Datadog monitors in a resource group · Microsoft Azure List All Monitors Under The Specified Resource Group #
Ask an LLM
“Which Datadog monitors live in a particular resource group?”
“Can I narrow the list of Datadog monitors down to one resource group?”
Tell an agent
List Datadog monitors in resource group {resourceGroupName}, subscription {subscriptionId}.
Show the Datadog monitor resources under {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName} Get a Datadog monitor · Microsoft Azure Get The Properties Of A Specific Monitor Resource #
Ask an LLM
“How do I read the properties of one Datadog monitor resource?”
“What SKU and tags does a specific Datadog monitor have?”
Tell an agent
Get Datadog monitor {monitorName} in resource group {resourceGroupName}, subscription {subscriptionId}.
Show the settings of Datadog monitor {monitorName} in {resourceGroupName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName} Create a Datadog monitor · Microsoft Azure Create A Monitor Resource #
Ask an LLM
“How do I create a Datadog monitor resource in Azure?”
“Can I pick the region and SKU when setting up a Datadog monitor?”
Tell an agent
Create Datadog monitor {monitorName} in resource group {resourceGroupName} in {location}, subscription {subscriptionId}.
Create Datadog monitor {monitorName} in {resourceGroupName} at {location} with SKU {sku}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName} Update a Datadog monitor · Microsoft Azure Update A Monitor Resource #
Ask an LLM
“Can I change the tags or SKU on an existing Datadog monitor?”
“How do I update the properties of a Datadog monitor after it's created?”
Tell an agent
In subscription {subscriptionId}, set the tags on Datadog monitor {monitorName} in {resourceGroupName} to {tags}.
Change Datadog monitor {monitorName} in {resourceGroupName} to SKU {sku}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName} Delete a Datadog monitor · Microsoft Azure Delete A Monitor Resource #
Ask an LLM
“How do I remove a Datadog monitor resource I no longer use?”
“Can I tear down a Datadog monitor in a given resource group?”
Tell an agent destructive · confirm first
Delete Datadog monitor {monitorName} in resource group {resourceGroupName}, subscription {subscriptionId}.
Remove the Datadog monitor {monitorName} from {resourceGroupName}.
GET /providers/Microsoft.Elastic/operations List Elastic resource provider operations · Microsoft Azure List All Operations Provided By Microsoft Elastic #
Ask an LLM
“What operations does the Microsoft.Elastic resource provider expose?”
“Which actions can I perform on Elastic monitors in Azure?”
Tell an agent
List all operations offered by the Microsoft.Elastic provider.
Show me the Elastic integration's available provider operations.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors List Elastic monitors in a subscription · Microsoft Azure List All Monitors Under The Specified Subscription #
Ask an LLM
“How can I see all Elastic monitor resources in my subscription?”
“Which Elastic monitors are deployed across this subscription?”
Tell an agent
List all Elastic monitors in my subscription.
Show every Elastic monitor resource subscription-wide.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors List Elastic monitors in a resource group · Microsoft Azure List All Monitors Under The Specified Resource Group #
Ask an LLM
“Can I list only the Elastic monitors in one resource group?”
“What Elastic monitor resources are in my current resource group?”
Tell an agent
List the Elastic monitors in my resource group.
Show Elastic monitor resources scoped to the resource group.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName} Get an Elastic monitor · Microsoft Azure Get The Properties Of A Specific Monitor Resource #
Ask an LLM
“How do I view the properties of a specific Elastic monitor?”
“What does the configuration of one Elastic monitor look like?”
Tell an agent
Get Elastic monitor {monitorName}.
Show the settings for Elastic monitor {monitorName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName} Create an Elastic monitor · Microsoft Azure Create A Monitor Resource #
Ask an LLM
“How do I create an Elastic monitor resource in Azure?”
“Can I set a managed identity and SKU when creating an Elastic monitor?”
Tell an agent
Create Elastic monitor {monitorName} in {location}.
Create Elastic monitor {monitorName} in {location} with SKU {sku} and tags {tags}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName} Update an Elastic monitor's tags · Microsoft Azure Update A Monitor Resource #
Ask an LLM
“Is updating tags the only change I can make to an Elastic monitor?”
“How do I retag an existing Elastic monitor?”
Tell an agent
Set the tags on Elastic monitor {monitorName} to {tags}.
Retag Elastic monitor {monitorName} with {tags}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName} Delete an Elastic monitor · Microsoft Azure Delete A Monitor Resource #
Ask an LLM
“How do I delete an Elastic monitor resource?”
“Can I remove an Elastic monitor I set up by mistake?”
Tell an agent destructive · confirm first
Delete Elastic monitor {monitorName}.
Tear down the Elastic monitor {monitorName}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-monitorsresource-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-monitorsresource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.Datadog Monitors Resource API
  version: 2020-02-01-preview
servers:
- url: https://management.azure.com
tags:
- name: MonitorsResource
paths:
  /providers/Microsoft.Datadog/operations:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Operations Provided By Microsoft Datadog For The 2020…
      operationId: microsoftAzureOperationsList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationListResult'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Operations_List:
          $ref: ./examples/Operations_List.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Monitors Under The Specified Subscription
      operationId: microsoftAzureMonitorsList
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Monitors_List:
          $ref: ./examples/Monitors_List.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Monitors Under The Specified Resource Group
      operationId: microsoftAzureMonitorsListbyresourcegroup
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Monitors_ListByResourceGroup:
          $ref: ./examples/Monitors_ListByResourceGroup.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Get The Properties Of A Specific Monitor Resource
      operationId: microsoftAzureMonitorsGet
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-examples:
        Monitors_Get:
          $ref: ./examples/Monitors_Get.json
      description: Needs a more full description created.
    put:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Create A Monitor Resource
      operationId: microsoftAzureMonitorsCreate
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResource'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Monitors_Create:
          $ref: ./examples/Monitors_Create.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatadogMonitorResource'
    patch:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Update A Monitor Resource
      operationId: microsoftAzureMonitorsUpdate
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResource'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatadogMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-long-running-operation: true
      x-ms-examples:
        Monitors_Update:
          $ref: ./examples/Monitors_Update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatadogMonitorResourceUpdateParameters'
    delete:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Delete A Monitor Resource
      operationId: microsoftAzureMonitorsDelete
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
        '202':
          description: Success
        '204':
          description: Success
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-long-running-operation: true
      x-ms-examples:
        Monitors_Delete:
          $ref: ./examples/Monitors_Delete.json
      description: Needs a more full description created.
  /providers/Microsoft.Elastic/operations:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Operations Provided By Microsoft Elastic
      operationId: microsoftAzureOperationsList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationListResult'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Operations_List:
          $ref: ./examples/Operations_List.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Monitors Under The Specified Subscription
      operationId: microsoftAzureMonitorsList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Monitors_List:
          $ref: ./examples/Monitors_List.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure List All Monitors Under The Specified Resource Group
      operationId: microsoftAzureMonitorsListbyresourcegroup
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Monitors_ListByResourceGroup:
          $ref: ./examples/Monitors_ListByResourceGroup.json
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}:
    get:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Get The Properties Of A Specific Monitor Resource
      operationId: microsoftAzureMonitorsGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-examples:
        Monitors_Get:
          $ref: ./examples/Monitors_Get.json
      description: Needs a more full description created.
    put:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Create A Monitor Resource
      operationId: microsoftAzureMonitorsCreate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResource'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Monitors_Create:
          $ref: ./examples/Monitors_Create.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ElasticMonitorResource'
        description: Elastic monitor resource model
    patch:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Update A Monitor Resource
      operationId: microsoftAzureMonitorsUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElasticMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-examples:
        Monitors_Update:
          $ref: ./examples/Monitors_Update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ElasticMonitorResourceUpdateParameters'
        description: Elastic resource model update parameters.
    delete:
      tags:
      - MonitorsResource
      summary: Microsoft Azure Delete A Monitor Resource
      operationId: microsoftAzureMonitorsDelete
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      responses:
        '200':
          description: Success
        '202':
          description: Success
        '204':
          description: Success
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-long-running-operation: true
      x-ms-examples:
        Monitors_Delete:
          $ref: ./examples/Monitors_Delete.json
      description: Needs a more full description created.
components:
  schemas:
    DatadogMonitorResourceListResponse:
      description: Response of a list operation.
      type: object
      properties:
        value:
          description: Results of a list operation.
          type: array
          items:
            $ref: '#/components/schemas/DatadogMonitorResource'
        nextLink:
          description: Link to the next set of results, if any.
          type: string
    ManagedIdentityTypes:
      enum:
      - SystemAssigned
      - UserAssigned
      type: string
      description: Identity type
      x-ms-enum:
        modelAsString: true
        name: ManagedIdentityTypes
    OperationDisplay:
      description: The object that represents the operation.
      type: object
      properties:
        provider:
          description: Service provider, i.e., Microsoft.Datadog.
          type: string
        resource:
          description: Type on which the operation is performed, e.g., 'monitors'.
          type: string
        operation:
          description: Operation type, e.g., read, write, delete, etc.
          type: string
        description:
          description: Description of the operation, e.g., 'Write monitors'.
          type: string
    OperationResult:
      description: A Microsoft.Datadog REST API operation.
      type: object
      properties:
        name:
          description: Operation name, i.e., {provider}/{resource}/{operation}.
          type: string
        display:
          $ref: '#/components/schemas/OperationDisplay'
        isDataAction:
          description: Indicates whether the operation is a data action
          type: boolean
    DatadogMonitorResourceUpdateParameters:
      description: The parameters for a PATCH request to a monitor resource.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/MonitorUpdateProperties'
        tags:
          description: The new tags of the monitor resource.
          type: object
          additionalProperties:
            type: string
        sku:
          $ref: '#/components/schemas/ResourceSku'
    ErrorResponseBody:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorResponseBody'
    IdentityProperties:
      type: object
      properties:
        principalId:
          description: The identity ID.
          type: string
          readOnly: true
        tenantId:
          description: The tenant ID of resource.
          type: string
          readOnly: true
        type:
          $ref: '#/components/schemas/ManagedIdentityTypes'
    LiftrResourceCategories:
      enum:
      - Unknown
      - MonitorLogs
      type: string
      x-ms-enum:
        modelAsString: true
        name: LiftrResourceCategories
      readOnly: true
    ResourceProviderDefaultErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorResponseBody'
    UserInfo:
      description: User info
      type: object
      properties:
        name:
          description: Name of the user
          maxLength: 50
          type: string
        emailAddress:
          description: Email of the user used by Datadog for contacting them if needed
          pattern: ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$
          type: string
        phoneNumber:
          description: Phone number of the user used by Datadog for contacting them if needed
          maxLength: 40
          type: string
      x-ms-secret: true
    MonitorUpdateProperties:
      description: The set of properties that can be update in a PATCH request to a monitor resource.
      type: object
      properties:
        monitoringStatus:
          $ref: '#/components/schemas/MonitoringStatus'
    MarketplaceSubscriptionStatus:
      description: Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
      enum:
      - Provisioning
      - Active
      - Suspended
      - Unsubscribed
      type: string
      x-ms-enum:
        modelAsString: true
        name: MarketplaceSubscriptionStatus
      readOnly: true
    DatadogOrganizationProperties:
      description: Datadog organization properties
      type: object
      properties:
        name:
          description: Name of the Datadog organization.
          type: string
          readOnly: true
        id:
          description: Id of the Datadog organization.
          type: string
          readOnly: true
        linkingAuthCode:
          description: The auth code used to linking to an existing datadog organization.
          type: string
          x-ms-mutability:
          - create
          x-ms-secret: true
        linkingClientId:
          description: The client_id from an existing in exchange for an auth token to link organization.
          type: string
          x-ms-mutability:
          - create
          x-ms-secret: true
        redirectUri:
          description: The redirect uri for linking.
          type: string
          x-ms-mutability:
          - create
        apiKey:
          description: Api key associated to the Datadog organization.
          type: string
          x-ms-mutability:
          - create
          x-ms-secret: true
        applicationKey:
          description: Application key associated to the Datadog organization.
          type: string
          x-ms-mutability:
          - create
          x-ms-secret: true
        enterpriseAppId:
          description: The Id of the Enterprise App used for Single sign on.
          type: string
          x-ms-mutability:
          - create
    OperationListResult:
      description: Result of GET request to list the Microsoft.Datadog operations.
      type: object
      properties:
        value:
          description: List of operations supported by the Microsoft.Datadog provider.
          type: array
          items:
            $ref: '#/components/schemas/OperationResult'
        nextLink:
          description: URL to get the next set of operation list results if there are any.
          type: string
    MonitorProperties:
      description: Properties specific to the monitor resource.
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
        monitoringStatus:
          $ref: '#/components/schemas/MonitoringStatus'
        marketplaceSubscriptionStatus:
          $ref: '#/components/schemas/MarketplaceSubscriptionStatus'
        datadogOrganizationProperties:
          $ref: '#/components/schemas/DatadogOrganizationProperties'
        userInfo:
          $ref: '#/components/schemas/UserInfo'
        liftrResourceCategory:
          $ref: '#/components/schemas/LiftrResourceCategories'
        liftrResourcePreference:
          description: The priority of the resource.
          format: int32
          type: integer
          readOnly: true
    MonitoringStatus:
      description: Flag specifying if the resource monitoring is enabled or disabled.
      enum:
      - Enabled
      - Disabled
      default: Enabled
      type: string
      x-ms-enum:
        modelAsString: true
        name: MonitoringStatus
    ResourceSku:
      required:
      - name
      type: object
      properties:
        name:
          description: Name of the SKU.
          type: string
    ProvisioningState:
      enum:
      - Accepted
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Canceled
      - Deleted
      - NotSpecified
      type: string
      x-ms-enum:
        modelAsString: true
        name: ProvisioningState
      readOnly: true
    DatadogMonitorResource:
      required:
      - location
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          description: ARM id of the monitor resource.
          type: string
          readOnly: true
        name:
          description: Name of the monitor resource.
          type: string
          readOnly: true
        type:
          description: The type of the monitor resource.
          type: string
          readOnly: true
        sku:
          $ref: '#/components/schemas/ResourceSku'
        properties:
          $ref: '#/components/schemas/MonitorProperties'
        identity:
          $ref: '#/components/schemas/IdentityProperties'
        tags:
          type: object
          additionalProperties:
            type: string
        location:
          type: string
    ElasticCloudUser:
      description: Details of the user's elastic account.
      type: object
      properties:
        emailAddress:
          description: Email of the Elastic User Account.
          type: string
          readOnly: true
        id:
          description: User Id of the elastic account of the User.
          type: string
          readOnly: true
        elasticCloudSsoDefaultUrl:
          description: Elastic cloud default dashboard sso URL of the Elastic user account.
          type: string
          readOnly: true
    PlanDetails:
      description: Plan details of the monitor resource.
      type: object
      properties:
        offerID:
          description: Offer ID of the plan
          type: string
        publisherID:
          description: Publisher ID of the plan
          type: string
        termID:
          description: Term ID of the plan
          type: string
        planID:
          description: Plan ID
          type: string
        planName:
          description: Plan Name
          type: string
    ElasticCloudDeployment:
      description: Details of the user's elastic deployment associated with the monitor resource.
      type: object
      properties:
        name:
          description: Elastic deployment name
          type: string
          readOnly: true
        deploymentId:
          description: Elastic deployment Id
          type: string
          readOnly: true
        azureSubscriptionId:
          description: Associated Azure subscription Id for the elastic deployment.
          type: string
          readOnly: true
        elasticsearchRegion:
          description: Region where Deployment at Elastic side took place.
          type: string
          readOnly: true
        elasticsearchServiceUrl:
          description: Elasticsearch ingestion endpoint of the Elastic deployment.
          type: string
          readOnly: true
        kibanaServiceUrl:
          description: Kibana endpoint of the Elastic deployment.
          type: string
          readOnly: true
        kibanaSsoUrl:
          description: Kibana dashboard sso URL of the Elastic deployment.
          type: string
          readOnly: true
    CompanyInfo:
      description: Company information of the user to be passed to partners.
      type: object
      properties:
        domain:
          description: Domain of the company
          maxLength: 250
          type: string
        business:
          description: Business of the company
          maxLength: 64
          type: string
        employeesNumber:
          description: Number of employees in the company
          maxLength: 20
          type: string
        state:
          description: State of the company location.
          maxLength: 64
          type: string
        country:
          description: Country of the company location.
          maxLength: 64
          type: string
    ElasticMonitorResourceUpdateParameters:
      description: Monitor resource update parameters.
      type: object
      properties:
        tags:
          description: elastic monitor resource tags.
          type: object
          additionalProperties:
            type: string
    ElasticMonitorResource:
      description: Monitor resource.
      required:
      - location
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          description: ARM id of the monitor resource.
          type: string
          readOnly: true
        name:
          description: Name of the monitor resource.
          type: string
          readOnly: true
        type:
          description: The type of the monitor resource.
          type: string
          readOnly: true
        sku:
          description: SKU of the monitor resource.
          $ref: '#/components/schemas/ResourceSku'
        properties:
          description: Properties of the monitor resource.
          $ref: '#/components/schemas/MonitorProperties'
          x-ms-client-flatten: false
        identity:
          description: Identity properties of the monitor resource.
          $ref: '#/components/schemas/IdentityProperties'
        tags:
          description: The tags of the monitor resource.
          type: object
          additionalProperties:
            type: string
        location:
          description: The location of the monitor resource
          type: string
          x-ms-mutability:
          - read
          - create
        systemData:
          readOnly: true
          description: The system metadata relating to this resource
          $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/systemData
    ElasticMonitorResourceListResponse:
      description: Response of a list operation.
      type: object
      properties:
        value:
          description: Results of a list operation.
          type: array
          x-ms-identifiers: []
          items:
            $ref: '#/components/schemas/ElasticMonitorResource'
        nextLink:
          description: Link to the next set of results, if any.
          type: string
    ElasticProperties:
      description: Elastic Resource Properties.
      type: object
      properties:
        elasticCloudUser:
          description: Details of the user's elastic account.
          $ref: '#/components/schemas/ElasticCloudUser'
        elasticCloudDeployment:
          description: Details of the elastic cloud deployment.
          $ref: '#/components/schemas/ElasticCloudDeployment'
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group to which the Datadog resource belongs.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    MonitorNameParameter:
      in: path
      name: monitorName
      description: Monitor resource name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Microsoft Azure subscription ID.
      required: true
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow