swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector MonitoredResources API schemes: - https tags: - name: MonitoredResources paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listMonitoredResources : post: tags: - MonitoredResources summary: Microsoft Azure List The Resources Currently Being Monitored By The Datadog Monitor Resource operationId: microsoftAzureMonitorsListmonitoredresources produces: - application/json parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/MonitorNameParameter' - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/MonitoredResourceListResponse' default: description: Default error response. schema: $ref: '#/definitions/ResourceProviderDefaultErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Monitors_ListMonitoredResources: $ref: ./examples/MonitoredResources_List.json description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listMonitoredResources : post: tags: - MonitoredResources summary: Microsoft Azure List The Resources Currently Being Monitored By The Elastic Monitor Resource operationId: microsoftAzureMonitoredresourcesList produces: - application/json 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: '#/parameters/MonitorNameParameter' responses: '200': description: Success schema: $ref: '#/definitions/MonitoredResourceListResponse_2' default: description: Default error response. schema: $ref: '#/definitions/ResourceProviderDefaultErrorResponse_2' x-ms-pageable: nextLinkName: nextLink x-ms-examples: MonitoredResources_List: $ref: ./examples/MonitoredResources_List.json description: Needs a more full description created. definitions: 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 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: '#/definitions/SendingLogs' reasonForLogsStatus: description: Reason for why the resource is sending logs (or why it is not sending). 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 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: '#/definitions/ErrorResponseBody_2' ResourceProviderDefaultErrorResponse: type: object properties: error: $ref: '#/definitions/ErrorResponseBody' MonitoredResourceListResponse: description: Response of a list operation. type: object properties: value: description: Results of a list operation. type: array items: $ref: '#/definitions/MonitoredResource' nextLink: description: Link to the next set of results, if any. type: string ResourceProviderDefaultErrorResponse_2: description: RP default error response. type: object properties: error: description: Response body of Error readOnly: true $ref: '#/definitions/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: '#/definitions/MonitoredResource_2' nextLink: description: Link to the next set of results, if any. type: string ErrorResponseBody: type: object properties: code: type: string message: type: string target: type: string details: type: array items: $ref: '#/definitions/ErrorResponseBody' parameters: SubscriptionIdParameter: name: subscriptionId in: path description: The Microsoft Azure subscription ID. required: true type: string MonitorNameParameter: in: path name: monitorName description: Monitor resource name required: true type: string x-ms-parameter-location: method ResourceGroupNameParameter: name: resourceGroupName in: path description: The name of the resource group to which the Datadog resource belongs. required: true type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'