@azure/synapse-monitoring 1.0.0-alpha.20241120.1 → 1.0.0-alpha.20241125.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +3 -3
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.d.ts +50 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +5 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +51 -51
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.d.ts +9 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +21 -21
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/monitoringClient.d.ts +20 -0
- package/dist/browser/monitoringClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/monitoringClient.js +11 -12
- package/dist/browser/monitoringClient.js.map +1 -0
- package/dist/browser/operations/index.d.ts +2 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +9 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/monitoring.d.ts +23 -0
- package/dist/browser/operations/monitoring.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/monitoring.js +38 -43
- package/dist/browser/operations/monitoring.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +9 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/monitoring.d.ts +15 -0
- package/dist/browser/operationsInterfaces/monitoring.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/monitoring.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/tracing.d.ts +2 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/tracing.js +1 -1
- package/{dist-esm/src → dist/browser}/tracing.js.map +1 -1
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +50 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +5 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +165 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +9 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +80 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/monitoringClient.d.ts +20 -0
- package/dist/commonjs/monitoringClient.d.ts.map +1 -0
- package/dist/commonjs/monitoringClient.js +99 -0
- package/dist/commonjs/monitoringClient.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +2 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +12 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/monitoring.d.ts +23 -0
- package/dist/commonjs/operations/monitoring.d.ts.map +1 -0
- package/dist/commonjs/operations/monitoring.js +73 -0
- package/dist/commonjs/operations/monitoring.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/monitoring.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/monitoring.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/monitoring.js +10 -0
- package/dist/commonjs/operationsInterfaces/monitoring.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tracing.d.ts +2 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +17 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +50 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/{dist-esm/src/operations → dist/esm/models}/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +5 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +162 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +9 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +77 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/monitoringClient.d.ts +20 -0
- package/dist/esm/monitoringClient.d.ts.map +1 -0
- package/dist/esm/monitoringClient.js +94 -0
- package/dist/esm/monitoringClient.js.map +1 -0
- package/dist/esm/operations/index.d.ts +2 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +9 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/monitoring.d.ts +23 -0
- package/dist/esm/operations/monitoring.d.ts.map +1 -0
- package/dist/esm/operations/monitoring.js +68 -0
- package/dist/esm/operations/monitoring.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +9 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/monitoring.d.ts +15 -0
- package/dist/esm/operationsInterfaces/monitoring.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/monitoring.js +9 -0
- package/dist/esm/operationsInterfaces/monitoring.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/tracing.d.ts +2 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +14 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +11 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +50 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces → dist/react-native/models}/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +5 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +162 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +9 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +77 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/monitoringClient.d.ts +20 -0
- package/dist/react-native/monitoringClient.d.ts.map +1 -0
- package/dist/react-native/monitoringClient.js +94 -0
- package/dist/react-native/monitoringClient.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +2 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +9 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/monitoring.d.ts +23 -0
- package/dist/react-native/operations/monitoring.d.ts.map +1 -0
- package/dist/react-native/operations/monitoring.js +68 -0
- package/dist/react-native/operations/monitoring.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +9 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/monitoring.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/monitoring.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/monitoring.js +9 -0
- package/dist/react-native/operationsInterfaces/monitoring.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/tracing.d.ts +2 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +14 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/{types → dist}/synapse-monitoring.d.ts +6 -6
- package/package.json +63 -36
- package/dist/index.js +0 -450
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/monitoringClient.js.map +0 -1
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/monitoring.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/monitoring.js.map +0 -1
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/monitoring.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as coreAuth from '@azure/core-auth';
|
|
1
|
+
import type * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
3
|
|
|
4
4
|
/** Interface representing a Monitoring. */
|
|
5
5
|
export declare interface Monitoring {
|
|
6
6
|
/**
|
|
7
7
|
* Get list of spark applications for the workspace.
|
|
8
|
-
* @param options The options parameters.
|
|
8
|
+
* @param options - The options parameters.
|
|
9
9
|
*/
|
|
10
10
|
getSparkJobList(options?: MonitoringGetSparkJobListOptionalParams): Promise<MonitoringGetSparkJobListResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* Get SQL OD/DW Query for the workspace.
|
|
13
|
-
* @param options The options parameters.
|
|
13
|
+
* @param options - The options parameters.
|
|
14
14
|
*/
|
|
15
15
|
getSqlJobQueryString(options?: MonitoringGetSqlJobQueryStringOptionalParams): Promise<MonitoringGetSqlJobQueryStringResponse>;
|
|
16
16
|
}
|
|
@@ -20,10 +20,10 @@ export declare class MonitoringClient extends coreClient.ServiceClient {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
/**
|
|
22
22
|
* Initializes a new instance of the MonitoringClient class.
|
|
23
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
24
|
-
* @param endpoint The workspace development endpoint, for example
|
|
23
|
+
* @param credentials - Subscription credentials which uniquely identify client subscription.
|
|
24
|
+
* @param endpoint - The workspace development endpoint, for example
|
|
25
25
|
* https://myworkspace.dev.azuresynapse.net.
|
|
26
|
-
* @param options The parameter options
|
|
26
|
+
* @param options - The parameter options
|
|
27
27
|
*/
|
|
28
28
|
constructor(credentials: coreAuth.TokenCredential, endpoint: string, options?: MonitoringClientOptionalParams);
|
|
29
29
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
package/package.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-monitoring/README.md",
|
|
6
6
|
"repository": "github:Azure/azure-sdk-for-js",
|
|
7
7
|
"sdk-type": "client",
|
|
8
|
-
"version": "1.0.0-alpha.
|
|
8
|
+
"version": "1.0.0-alpha.20241125.1",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@azure/core-auth": "^1.
|
|
11
|
-
"@azure/core-client": "^1.
|
|
12
|
-
"@azure/core-rest-pipeline": "
|
|
13
|
-
"@azure/core-tracing": "^1.
|
|
10
|
+
"@azure/core-auth": "^1.9.0",
|
|
11
|
+
"@azure/core-client": "^1.9.2",
|
|
12
|
+
"@azure/core-rest-pipeline": ">=1.18.0-alpha <1.18.0-alphb",
|
|
13
|
+
"@azure/core-tracing": "^1.2.0",
|
|
14
14
|
"tslib": "^2.2.0"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
@@ -25,64 +25,91 @@
|
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18.0.0"
|
|
27
27
|
},
|
|
28
|
-
"main": "./dist/index.js",
|
|
29
|
-
"module": "./dist
|
|
30
|
-
"types": "./
|
|
28
|
+
"main": "./dist/commonjs/index.js",
|
|
29
|
+
"module": "./dist/esm/index.js",
|
|
30
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@azure-tools/test-credential": "^
|
|
33
|
-
"@azure-tools/test-recorder": "
|
|
34
|
-
"@azure-tools/test-utils": "
|
|
32
|
+
"@azure-tools/test-credential": "^2.0.0",
|
|
33
|
+
"@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
|
|
34
|
+
"@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
|
|
35
35
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
36
36
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
37
|
-
"@types/mocha": "^10.0.0",
|
|
38
37
|
"@types/node": "^18.0.0",
|
|
38
|
+
"@vitest/browser": "^2.1.5",
|
|
39
|
+
"@vitest/coverage-istanbul": "^2.1.5",
|
|
39
40
|
"eslint": "^9.9.0",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"karma-env-preprocessor": "^0.1.1",
|
|
44
|
-
"karma-firefox-launcher": "^1.1.0",
|
|
45
|
-
"karma-junit-reporter": "^2.0.1",
|
|
46
|
-
"karma-mocha": "^2.0.1",
|
|
47
|
-
"karma-mocha-reporter": "^2.2.5",
|
|
48
|
-
"karma-source-map-support": "~1.4.0",
|
|
49
|
-
"karma-sourcemap-loader": "^0.3.8",
|
|
50
|
-
"mocha": "^10.0.0",
|
|
51
|
-
"ts-node": "^10.0.0",
|
|
52
|
-
"typescript": "~5.6.2"
|
|
41
|
+
"playwright": "^1.49.0",
|
|
42
|
+
"typescript": "~5.6.2",
|
|
43
|
+
"vitest": "^2.1.5"
|
|
53
44
|
},
|
|
54
45
|
"bugs": {
|
|
55
46
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
56
47
|
},
|
|
57
48
|
"files": [
|
|
58
49
|
"dist/",
|
|
59
|
-
"dist-esm/src/",
|
|
60
|
-
"types/synapse-monitoring.d.ts",
|
|
61
50
|
"README.md",
|
|
62
51
|
"LICENSE"
|
|
63
52
|
],
|
|
64
53
|
"scripts": {
|
|
65
|
-
"build": "
|
|
54
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
66
55
|
"build:samples": "echo Skipped.",
|
|
67
|
-
"build:test": "
|
|
68
|
-
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"test/**/*.ts\" \"*.{js,json}\"",
|
|
56
|
+
"build:test": "dev-tool run build-package && dev-tool run bundle",
|
|
57
|
+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
69
58
|
"clean": "dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log",
|
|
70
59
|
"extract-api": "dev-tool run extract-api",
|
|
71
|
-
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"test/**/*.ts\" \"*.{js,json}\"",
|
|
60
|
+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
72
61
|
"integration-test": "echo skip",
|
|
73
62
|
"integration-test:browser": "echo skip",
|
|
74
63
|
"integration-test:node": "echo skip",
|
|
75
|
-
"lint": "
|
|
76
|
-
"
|
|
64
|
+
"lint": "eslint README.md package.json api-extractor.json src test",
|
|
65
|
+
"lint:fix": "eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
77
66
|
"pack": "npm pack 2>&1",
|
|
78
67
|
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
79
68
|
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
|
80
69
|
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
81
70
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
82
|
-
"unit-test:browser": "dev-tool run test:browser",
|
|
83
|
-
"unit-test:node": "dev-tool run test:
|
|
71
|
+
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
72
|
+
"unit-test:node": "dev-tool run test:vitest",
|
|
84
73
|
"update-snippets": "echo skipped"
|
|
85
74
|
},
|
|
86
75
|
"sideEffects": false,
|
|
87
|
-
"autoPublish": true
|
|
76
|
+
"autoPublish": true,
|
|
77
|
+
"type": "module",
|
|
78
|
+
"tshy": {
|
|
79
|
+
"exports": {
|
|
80
|
+
"./package.json": "./package.json",
|
|
81
|
+
".": "./src/index.ts"
|
|
82
|
+
},
|
|
83
|
+
"dialects": [
|
|
84
|
+
"esm",
|
|
85
|
+
"commonjs"
|
|
86
|
+
],
|
|
87
|
+
"esmDialects": [
|
|
88
|
+
"browser",
|
|
89
|
+
"react-native"
|
|
90
|
+
],
|
|
91
|
+
"selfLink": false
|
|
92
|
+
},
|
|
93
|
+
"browser": "./dist/browser/index.js",
|
|
94
|
+
"exports": {
|
|
95
|
+
"./package.json": "./package.json",
|
|
96
|
+
".": {
|
|
97
|
+
"browser": {
|
|
98
|
+
"types": "./dist/browser/index.d.ts",
|
|
99
|
+
"default": "./dist/browser/index.js"
|
|
100
|
+
},
|
|
101
|
+
"react-native": {
|
|
102
|
+
"types": "./dist/react-native/index.d.ts",
|
|
103
|
+
"default": "./dist/react-native/index.js"
|
|
104
|
+
},
|
|
105
|
+
"import": {
|
|
106
|
+
"types": "./dist/esm/index.d.ts",
|
|
107
|
+
"default": "./dist/esm/index.js"
|
|
108
|
+
},
|
|
109
|
+
"require": {
|
|
110
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
111
|
+
"default": "./dist/commonjs/index.js"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
88
115
|
}
|
package/dist/index.js
DELETED
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
|
6
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
7
|
-
var coreTracing = require('@azure/core-tracing');
|
|
8
|
-
|
|
9
|
-
function _interopNamespaceDefault(e) {
|
|
10
|
-
var n = Object.create(null);
|
|
11
|
-
if (e) {
|
|
12
|
-
Object.keys(e).forEach(function (k) {
|
|
13
|
-
if (k !== 'default') {
|
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return e[k]; }
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
n.default = e;
|
|
23
|
-
return Object.freeze(n);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
27
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
28
|
-
|
|
29
|
-
/*
|
|
30
|
-
* Copyright (c) Microsoft Corporation.
|
|
31
|
-
* Licensed under the MIT License.
|
|
32
|
-
*
|
|
33
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
34
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
35
|
-
*/
|
|
36
|
-
const tracingClient = coreTracing.createTracingClient({
|
|
37
|
-
namespace: "Azure.Synapse.Monitoring",
|
|
38
|
-
packageName: "@azure/synapse-monitoring",
|
|
39
|
-
packageVersion: "1.0.0-beta.3"
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
/*
|
|
43
|
-
* Copyright (c) Microsoft Corporation.
|
|
44
|
-
* Licensed under the MIT License.
|
|
45
|
-
*
|
|
46
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
47
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
48
|
-
*/
|
|
49
|
-
const SparkJobListViewResponse = {
|
|
50
|
-
type: {
|
|
51
|
-
name: "Composite",
|
|
52
|
-
className: "SparkJobListViewResponse",
|
|
53
|
-
modelProperties: {
|
|
54
|
-
nJobs: {
|
|
55
|
-
serializedName: "nJobs",
|
|
56
|
-
type: {
|
|
57
|
-
name: "Number"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
sparkJobs: {
|
|
61
|
-
serializedName: "sparkJobs",
|
|
62
|
-
nullable: true,
|
|
63
|
-
type: {
|
|
64
|
-
name: "Sequence",
|
|
65
|
-
element: {
|
|
66
|
-
type: {
|
|
67
|
-
name: "Composite",
|
|
68
|
-
className: "SparkJob"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
const SparkJob = {
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "SparkJob",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
state: {
|
|
82
|
-
serializedName: "state",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
name: {
|
|
88
|
-
serializedName: "name",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
submitter: {
|
|
94
|
-
serializedName: "submitter",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
compute: {
|
|
100
|
-
serializedName: "compute",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
sparkApplicationId: {
|
|
106
|
-
serializedName: "sparkApplicationId",
|
|
107
|
-
type: {
|
|
108
|
-
name: "String"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
livyId: {
|
|
112
|
-
serializedName: "livyId",
|
|
113
|
-
type: {
|
|
114
|
-
name: "String"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
timing: {
|
|
118
|
-
serializedName: "timing",
|
|
119
|
-
type: {
|
|
120
|
-
name: "Sequence",
|
|
121
|
-
element: {
|
|
122
|
-
type: {
|
|
123
|
-
name: "String"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
sparkJobDefinition: {
|
|
129
|
-
serializedName: "sparkJobDefinition",
|
|
130
|
-
nullable: true,
|
|
131
|
-
type: {
|
|
132
|
-
name: "String"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
pipeline: {
|
|
136
|
-
serializedName: "pipeline",
|
|
137
|
-
nullable: true,
|
|
138
|
-
type: {
|
|
139
|
-
name: "Sequence",
|
|
140
|
-
element: {
|
|
141
|
-
type: {
|
|
142
|
-
name: "Composite",
|
|
143
|
-
className: "SparkJob"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
jobType: {
|
|
149
|
-
serializedName: "jobType",
|
|
150
|
-
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
submitTime: {
|
|
155
|
-
serializedName: "submitTime",
|
|
156
|
-
nullable: true,
|
|
157
|
-
type: {
|
|
158
|
-
name: "DateTime"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
endTime: {
|
|
162
|
-
serializedName: "endTime",
|
|
163
|
-
nullable: true,
|
|
164
|
-
type: {
|
|
165
|
-
name: "DateTime"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
queuedDuration: {
|
|
169
|
-
serializedName: "queuedDuration",
|
|
170
|
-
type: {
|
|
171
|
-
name: "String"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
runningDuration: {
|
|
175
|
-
serializedName: "runningDuration",
|
|
176
|
-
type: {
|
|
177
|
-
name: "String"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
totalDuration: {
|
|
181
|
-
serializedName: "totalDuration",
|
|
182
|
-
type: {
|
|
183
|
-
name: "String"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
const SqlQueryStringDataModel = {
|
|
190
|
-
type: {
|
|
191
|
-
name: "Composite",
|
|
192
|
-
className: "SqlQueryStringDataModel",
|
|
193
|
-
modelProperties: {
|
|
194
|
-
query: {
|
|
195
|
-
serializedName: "query",
|
|
196
|
-
type: {
|
|
197
|
-
name: "String"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
205
|
-
__proto__: null,
|
|
206
|
-
SparkJob: SparkJob,
|
|
207
|
-
SparkJobListViewResponse: SparkJobListViewResponse,
|
|
208
|
-
SqlQueryStringDataModel: SqlQueryStringDataModel
|
|
209
|
-
});
|
|
210
|
-
|
|
211
|
-
/*
|
|
212
|
-
* Copyright (c) Microsoft Corporation.
|
|
213
|
-
* Licensed under the MIT License.
|
|
214
|
-
*
|
|
215
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
216
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
217
|
-
*/
|
|
218
|
-
const accept = {
|
|
219
|
-
parameterPath: "accept",
|
|
220
|
-
mapper: {
|
|
221
|
-
defaultValue: "application/json",
|
|
222
|
-
isConstant: true,
|
|
223
|
-
serializedName: "Accept",
|
|
224
|
-
type: {
|
|
225
|
-
name: "String"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
const endpoint = {
|
|
230
|
-
parameterPath: "endpoint",
|
|
231
|
-
mapper: {
|
|
232
|
-
serializedName: "endpoint",
|
|
233
|
-
required: true,
|
|
234
|
-
type: {
|
|
235
|
-
name: "String"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
skipEncoding: true
|
|
239
|
-
};
|
|
240
|
-
const xMsClientRequestId = {
|
|
241
|
-
parameterPath: ["options", "xMsClientRequestId"],
|
|
242
|
-
mapper: {
|
|
243
|
-
serializedName: "x-ms-client-request-id",
|
|
244
|
-
type: {
|
|
245
|
-
name: "String"
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
const apiVersion = {
|
|
250
|
-
parameterPath: "apiVersion",
|
|
251
|
-
mapper: {
|
|
252
|
-
defaultValue: "2020-12-01",
|
|
253
|
-
isConstant: true,
|
|
254
|
-
serializedName: "api-version",
|
|
255
|
-
type: {
|
|
256
|
-
name: "String"
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
const filter = {
|
|
261
|
-
parameterPath: ["options", "filter"],
|
|
262
|
-
mapper: {
|
|
263
|
-
serializedName: "filter",
|
|
264
|
-
type: {
|
|
265
|
-
name: "String"
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
const orderby = {
|
|
270
|
-
parameterPath: ["options", "orderby"],
|
|
271
|
-
mapper: {
|
|
272
|
-
serializedName: "$orderby",
|
|
273
|
-
type: {
|
|
274
|
-
name: "String"
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
const skip = {
|
|
279
|
-
parameterPath: ["options", "skip"],
|
|
280
|
-
mapper: {
|
|
281
|
-
serializedName: "skip",
|
|
282
|
-
type: {
|
|
283
|
-
name: "String"
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
/*
|
|
289
|
-
* Copyright (c) Microsoft Corporation.
|
|
290
|
-
* Licensed under the MIT License.
|
|
291
|
-
*
|
|
292
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
293
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
294
|
-
*/
|
|
295
|
-
/** Class containing Monitoring operations. */
|
|
296
|
-
class MonitoringImpl {
|
|
297
|
-
/**
|
|
298
|
-
* Initialize a new instance of the class Monitoring class.
|
|
299
|
-
* @param client Reference to the service client
|
|
300
|
-
*/
|
|
301
|
-
constructor(client) {
|
|
302
|
-
this.client = client;
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Get list of spark applications for the workspace.
|
|
306
|
-
* @param options The options parameters.
|
|
307
|
-
*/
|
|
308
|
-
async getSparkJobList(options) {
|
|
309
|
-
return tracingClient.withSpan("MonitoringClient.getSparkJobList", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
310
|
-
return this.client.sendOperationRequest({ options }, getSparkJobListOperationSpec);
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* Get SQL OD/DW Query for the workspace.
|
|
315
|
-
* @param options The options parameters.
|
|
316
|
-
*/
|
|
317
|
-
async getSqlJobQueryString(options) {
|
|
318
|
-
return tracingClient.withSpan("MonitoringClient.getSqlJobQueryString", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
319
|
-
return this.client.sendOperationRequest({ options }, getSqlJobQueryStringOperationSpec);
|
|
320
|
-
});
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
// Operation Specifications
|
|
324
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
325
|
-
const getSparkJobListOperationSpec = {
|
|
326
|
-
path: "/monitoring/workloadTypes/spark/Applications",
|
|
327
|
-
httpMethod: "GET",
|
|
328
|
-
responses: {
|
|
329
|
-
200: {
|
|
330
|
-
bodyMapper: SparkJobListViewResponse
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
queryParameters: [apiVersion],
|
|
334
|
-
urlParameters: [endpoint],
|
|
335
|
-
headerParameters: [accept, xMsClientRequestId],
|
|
336
|
-
serializer
|
|
337
|
-
};
|
|
338
|
-
const getSqlJobQueryStringOperationSpec = {
|
|
339
|
-
path: "/monitoring/workloadTypes/sql/querystring",
|
|
340
|
-
httpMethod: "GET",
|
|
341
|
-
responses: {
|
|
342
|
-
200: {
|
|
343
|
-
bodyMapper: SqlQueryStringDataModel
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
queryParameters: [
|
|
347
|
-
apiVersion,
|
|
348
|
-
filter,
|
|
349
|
-
orderby,
|
|
350
|
-
skip
|
|
351
|
-
],
|
|
352
|
-
urlParameters: [endpoint],
|
|
353
|
-
headerParameters: [accept, xMsClientRequestId],
|
|
354
|
-
serializer
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
/*
|
|
358
|
-
* Copyright (c) Microsoft Corporation.
|
|
359
|
-
* Licensed under the MIT License.
|
|
360
|
-
*
|
|
361
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
362
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
363
|
-
*/
|
|
364
|
-
class MonitoringClient extends coreClient__namespace.ServiceClient {
|
|
365
|
-
/**
|
|
366
|
-
* Initializes a new instance of the MonitoringClient class.
|
|
367
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
368
|
-
* @param endpoint The workspace development endpoint, for example
|
|
369
|
-
* https://myworkspace.dev.azuresynapse.net.
|
|
370
|
-
* @param options The parameter options
|
|
371
|
-
*/
|
|
372
|
-
constructor(credentials, endpoint, options) {
|
|
373
|
-
var _a, _b;
|
|
374
|
-
if (credentials === undefined) {
|
|
375
|
-
throw new Error("'credentials' cannot be null");
|
|
376
|
-
}
|
|
377
|
-
if (endpoint === undefined) {
|
|
378
|
-
throw new Error("'endpoint' cannot be null");
|
|
379
|
-
}
|
|
380
|
-
// Initializing default values for options
|
|
381
|
-
if (!options) {
|
|
382
|
-
options = {};
|
|
383
|
-
}
|
|
384
|
-
const defaults = {
|
|
385
|
-
requestContentType: "application/json; charset=utf-8",
|
|
386
|
-
credential: credentials
|
|
387
|
-
};
|
|
388
|
-
const packageDetails = `azsdk-js-synapse-monitoring/1.0.0-beta.3`;
|
|
389
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
390
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
391
|
-
: `${packageDetails}`;
|
|
392
|
-
if (!options.credentialScopes) {
|
|
393
|
-
options.credentialScopes = ["https://dev.azuresynapse.net/.default"];
|
|
394
|
-
}
|
|
395
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
396
|
-
userAgentPrefix
|
|
397
|
-
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
|
|
398
|
-
super(optionsWithDefaults);
|
|
399
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
400
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
401
|
-
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
402
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
403
|
-
if (!bearerTokenAuthenticationPolicyFound) {
|
|
404
|
-
this.pipeline.removePolicy({
|
|
405
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
406
|
-
});
|
|
407
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
408
|
-
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
409
|
-
challengeCallbacks: {
|
|
410
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
411
|
-
}
|
|
412
|
-
}));
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
// Parameter assignments
|
|
416
|
-
this.endpoint = endpoint;
|
|
417
|
-
// Assigning values to Constant parameters
|
|
418
|
-
this.apiVersion = options.apiVersion || "2020-12-01";
|
|
419
|
-
this.monitoring = new MonitoringImpl(this);
|
|
420
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
421
|
-
}
|
|
422
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
423
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
424
|
-
if (!apiVersion) {
|
|
425
|
-
return;
|
|
426
|
-
}
|
|
427
|
-
const apiVersionPolicy = {
|
|
428
|
-
name: "CustomApiVersionPolicy",
|
|
429
|
-
async sendRequest(request, next) {
|
|
430
|
-
const param = request.url.split("?");
|
|
431
|
-
if (param.length > 1) {
|
|
432
|
-
const newParams = param[1].split("&").map((item) => {
|
|
433
|
-
if (item.indexOf("api-version") > -1) {
|
|
434
|
-
return "api-version=" + apiVersion;
|
|
435
|
-
}
|
|
436
|
-
else {
|
|
437
|
-
return item;
|
|
438
|
-
}
|
|
439
|
-
});
|
|
440
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
441
|
-
}
|
|
442
|
-
return next(request);
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
exports.MonitoringClient = MonitoringClient;
|
|
450
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/tracing.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/monitoring.ts","../src/monitoringClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Azure.Synapse.Monitoring\",\n packageName: \"@azure/synapse-monitoring\",\n packageVersion: \"1.0.0-beta.3\"\n});\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SparkJobListViewResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SparkJobListViewResponse\",\n modelProperties: {\n nJobs: {\n serializedName: \"nJobs\",\n type: {\n name: \"Number\"\n }\n },\n sparkJobs: {\n serializedName: \"sparkJobs\",\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SparkJob\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SparkJob: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SparkJob\",\n modelProperties: {\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n submitter: {\n serializedName: \"submitter\",\n type: {\n name: \"String\"\n }\n },\n compute: {\n serializedName: \"compute\",\n type: {\n name: \"String\"\n }\n },\n sparkApplicationId: {\n serializedName: \"sparkApplicationId\",\n type: {\n name: \"String\"\n }\n },\n livyId: {\n serializedName: \"livyId\",\n type: {\n name: \"String\"\n }\n },\n timing: {\n serializedName: \"timing\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n sparkJobDefinition: {\n serializedName: \"sparkJobDefinition\",\n nullable: true,\n type: {\n name: \"String\"\n }\n },\n pipeline: {\n serializedName: \"pipeline\",\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SparkJob\"\n }\n }\n }\n },\n jobType: {\n serializedName: \"jobType\",\n type: {\n name: \"String\"\n }\n },\n submitTime: {\n serializedName: \"submitTime\",\n nullable: true,\n type: {\n name: \"DateTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"DateTime\"\n }\n },\n queuedDuration: {\n serializedName: \"queuedDuration\",\n type: {\n name: \"String\"\n }\n },\n runningDuration: {\n serializedName: \"runningDuration\",\n type: {\n name: \"String\"\n }\n },\n totalDuration: {\n serializedName: \"totalDuration\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SqlQueryStringDataModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SqlQueryStringDataModel\",\n modelProperties: {\n query: {\n serializedName: \"query\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const xMsClientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"xMsClientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-12-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const orderby: OperationQueryParameter = {\n parameterPath: [\"options\", \"orderby\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n serializedName: \"skip\",\n type: {\n name: \"String\"\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing\";\nimport { Monitoring } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { MonitoringClient } from \"../monitoringClient\";\nimport {\n MonitoringGetSparkJobListOptionalParams,\n MonitoringGetSparkJobListResponse,\n MonitoringGetSqlJobQueryStringOptionalParams,\n MonitoringGetSqlJobQueryStringResponse\n} from \"../models\";\n\n/** Class containing Monitoring operations. */\nexport class MonitoringImpl implements Monitoring {\n private readonly client: MonitoringClient;\n\n /**\n * Initialize a new instance of the class Monitoring class.\n * @param client Reference to the service client\n */\n constructor(client: MonitoringClient) {\n this.client = client;\n }\n\n /**\n * Get list of spark applications for the workspace.\n * @param options The options parameters.\n */\n async getSparkJobList(\n options?: MonitoringGetSparkJobListOptionalParams\n ): Promise<MonitoringGetSparkJobListResponse> {\n return tracingClient.withSpan(\n \"MonitoringClient.getSparkJobList\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getSparkJobListOperationSpec\n ) as Promise<MonitoringGetSparkJobListResponse>;\n }\n );\n }\n\n /**\n * Get SQL OD/DW Query for the workspace.\n * @param options The options parameters.\n */\n async getSqlJobQueryString(\n options?: MonitoringGetSqlJobQueryStringOptionalParams\n ): Promise<MonitoringGetSqlJobQueryStringResponse> {\n return tracingClient.withSpan(\n \"MonitoringClient.getSqlJobQueryString\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getSqlJobQueryStringOperationSpec\n ) as Promise<MonitoringGetSqlJobQueryStringResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getSparkJobListOperationSpec: coreClient.OperationSpec = {\n path: \"/monitoring/workloadTypes/spark/Applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SparkJobListViewResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.xMsClientRequestId],\n serializer\n};\nconst getSqlJobQueryStringOperationSpec: coreClient.OperationSpec = {\n path: \"/monitoring/workloadTypes/sql/querystring\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlQueryStringDataModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.orderby,\n Parameters.skip\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.xMsClientRequestId],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { MonitoringImpl } from \"./operations\";\nimport { Monitoring } from \"./operationsInterfaces\";\nimport { MonitoringClientOptionalParams } from \"./models\";\n\nexport class MonitoringClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the MonitoringClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param endpoint The workspace development endpoint, for example\n * https://myworkspace.dev.azuresynapse.net.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n endpoint: string,\n options?: MonitoringClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MonitoringClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-synapse-monitoring/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://dev.azuresynapse.net/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint ?? options.baseUri ?? \"{endpoint}\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2020-12-01\";\n this.monitoring = new MonitoringImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n monitoring: Monitoring;\n}\n"],"names":["createTracingClient","coreClient","Mappers.SparkJobListViewResponse","Parameters.apiVersion","Parameters.endpoint","Parameters.accept","Parameters.xMsClientRequestId","Mappers.SqlQueryStringDataModel","Parameters.filter","Parameters.orderby","Parameters.skip","coreRestPipeline"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAII,MAAM,aAAa,GAAGA,+BAAmB,CAAC;AAC/C,IAAA,SAAS,EAAE,0BAA0B;AACrC,IAAA,WAAW,EAAE,2BAA2B;AACxC,IAAA,cAAc,EAAE;AACjB,CAAA,CAAC;;ACdF;;;;;;AAMG;AAII,MAAM,wBAAwB,GAA+B;A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