openapi: 3.2.0 info: title: Microsoft Azure Monitored Resources API version: '1.0' description: 'Operations tagged MonitoredResources across 2 of this provider''s published API definitions: microsoftdatadog-openapi-original.yml, microsoftelastic-openapi-original.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://management.azure.com tags: - name: Monitored Resources paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listMonitoredResources : post: tags: - Monitored Resources summary: Microsoft Azure List The Resources Currently Being Monitored By The Datadog… operationId: microsoftAzureMonitorsListmonitoredresources 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/MonitoredResourceListResponse' default: description: Default error response. content: application/json: schema: $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Monitors_ListMonitoredResources: $ref: ./examples/MonitoredResources_List.json description: Needs a more full description created. servers: - url: https://management.azure.com ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listMonitoredResources : post: tags: - Monitored Resources summary: Microsoft Azure List The Resources Currently Being Monitored By The Elastic… operationId: microsoftAzureMonitoredresourcesList 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/MonitoredResourceListResponse_2' default: description: Default error response. content: application/json: schema: $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse_2' x-ms-pageable: nextLinkName: nextLink x-ms-examples: MonitoredResources_List: $ref: ./examples/MonitoredResources_List.json description: Needs a more full description created. servers: - url: https://management.azure.com components: schemas: MonitoredResource: description: The properties of a resource currently being monitored by the Datadog monitor resource. type: object properties: id: description: The ARM id of the resource. type: string sendingMetrics: description: Flag indicating if resource is sending metrics to Datadog. type: boolean reasonForMetricsStatus: description: Reason for why the resource is sending metrics (or why it is not sending). type: string sendingLogs: description: Flag indicating if resource is sending logs to Datadog. type: boolean reasonForLogsStatus: description: Reason for why the resource is sending logs (or why it is not sending). type: string ResourceProviderDefaultErrorResponse: type: object properties: error: $ref: '#/components/schemas/ErrorResponseBody' ErrorResponseBody: type: object properties: code: type: string message: type: string target: type: string details: type: array items: $ref: '#/components/schemas/ErrorResponseBody' MonitoredResourceListResponse: description: Response of a list operation. type: object properties: value: description: Results of a list operation. type: array items: $ref: '#/components/schemas/MonitoredResource' nextLink: description: Link to the next set of results, if any. type: string SendingLogs: enum: - 'True' - 'False' type: string description: Flag indicating the status of the resource for sending logs operation to Elastic. title: SendingLogs x-ms-enum: modelAsString: true name: SendingLogs MonitoredResource_2: description: The properties of a resource currently being monitored by the Elastic monitor resource. type: object properties: id: description: The ARM id of the resource. type: string sendingLogs: description: Flag indicating the status of the resource for sending logs operation to Elastic. $ref: '#/components/schemas/SendingLogs' reasonForLogsStatus: description: Reason for why the resource is sending logs (or why it is not sending). type: string ResourceProviderDefaultErrorResponse_2: description: RP default error response. type: object properties: error: description: Response body of Error readOnly: true $ref: '#/components/schemas/ErrorResponseBody_2' ErrorResponseBody_2: description: Error response body. title: ErrorResponseBody type: object properties: code: description: Error code. type: string message: description: Error message. type: string target: description: Error target. type: string details: description: Error details. type: array x-ms-identifiers: [] items: $ref: '#/components/schemas/ErrorResponseBody_2' MonitoredResourceListResponse_2: 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/MonitoredResource_2' nextLink: description: Link to the next set of results, if any. type: string parameters: MonitorNameParameter: in: path name: monitorName description: Monitor resource name required: true x-ms-parameter-location: method schema: type: string 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 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 x-refined-from: - microsoftdatadog-openapi-original.yml - microsoftelastic-openapi-original.yml x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/components/parameters/Endpoint'