swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Monitoring API schemes: - https tags: - name: Monitoring paths: /monitoring/workloadTypes/spark/Applications: get: tags: - Monitoring operationId: microsoftAzureMonitoringGetsparkjoblist description: Get list of spark applications for the workspace. x-ms-examples: Get list of spark application: $ref: ./examples/Monitoring_GetSparkJobList.json parameters: - name: x-ms-client-request-id in: header required: false type: string description: Can provide a guid, which is helpful for debugging and to provide better customer support - name: api-version in: query required: true type: string responses: '200': description: Success schema: $ref: '#/definitions/SparkJobListViewResponse' summary: Microsoft Azure Get Monitoring Workloadtypes Spark Applications /monitoring/workloadTypes/sql/querystring: get: tags: - Monitoring operationId: microsoftAzureMonitoringGetsqljobquerystring description: Get SQL OD/DW Query for the workspace. x-ms-examples: Get SOL job query string: $ref: ./examples/Monitoring_GetSqlJobQueryString.json parameters: - name: x-ms-client-request-id in: header required: false type: string description: Can provide a guid, which is helpful for debugging and to provide better customer support - name: api-version in: query required: true type: string - name: filter in: query required: false type: string - name: $orderby in: query required: false type: string - name: skip in: query required: false type: string responses: '200': description: Success schema: $ref: '#/definitions/SqlQueryStringDataModel' summary: Microsoft Azure Get Monitoring Workloadtypes Sql Querystring definitions: SqlQueryStringDataModel: type: object properties: query: type: string SparkJobListViewResponse: type: object properties: nJobs: format: int32 type: integer sparkJobs: uniqueItems: false type: array items: $ref: '#/definitions/SparkJob' x-nullable: true SparkJob: type: object properties: state: type: string name: type: string submitter: type: string compute: type: string sparkApplicationId: type: string livyId: type: string timing: uniqueItems: false type: array items: type: string sparkJobDefinition: type: string x-nullable: true pipeline: uniqueItems: false x-nullable: true type: array items: $ref: '#/definitions/SparkJob' jobType: type: string submitTime: format: date-time type: string x-nullable: true endTime: format: date-time type: string x-nullable: true queuedDuration: type: string runningDuration: type: string totalDuration: type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'