@azure/synapse-monitoring 1.0.0-beta.2 → 1.0.0-beta.4
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/LICENSE +21 -0
- package/README.md +17 -14
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +11 -0
- 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 +9 -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/browser/models/mappers.js +162 -0
- 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/browser/models/parameters.js +77 -0
- 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/browser/monitoringClient.js +101 -0
- 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/browser/operations/monitoring.js +69 -0
- 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 +9 -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/browser/tracing.js +14 -0
- package/dist/browser/tracing.js.map +1 -0
- 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 +106 -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 +74 -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/models/index.js +9 -0
- 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 +101 -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 +69 -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/react-native/models/index.js +9 -0
- 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 +101 -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 +69 -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/package.json +82 -50
- package/CHANGELOG.md +0 -9
- package/dist/index.js +0 -2587
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/rollup.config.js +0 -41
- package/tsconfig.json +0 -20
- package/types/synapse-monitoring.d.ts +0 -120
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const SparkJobListViewResponse = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "SparkJobListViewResponse",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
nJobs: {
|
|
14
|
+
serializedName: "nJobs",
|
|
15
|
+
type: {
|
|
16
|
+
name: "Number",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
sparkJobs: {
|
|
20
|
+
serializedName: "sparkJobs",
|
|
21
|
+
nullable: true,
|
|
22
|
+
type: {
|
|
23
|
+
name: "Sequence",
|
|
24
|
+
element: {
|
|
25
|
+
type: {
|
|
26
|
+
name: "Composite",
|
|
27
|
+
className: "SparkJob",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
export const SparkJob = {
|
|
36
|
+
type: {
|
|
37
|
+
name: "Composite",
|
|
38
|
+
className: "SparkJob",
|
|
39
|
+
modelProperties: {
|
|
40
|
+
state: {
|
|
41
|
+
serializedName: "state",
|
|
42
|
+
type: {
|
|
43
|
+
name: "String",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
name: {
|
|
47
|
+
serializedName: "name",
|
|
48
|
+
type: {
|
|
49
|
+
name: "String",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
submitter: {
|
|
53
|
+
serializedName: "submitter",
|
|
54
|
+
type: {
|
|
55
|
+
name: "String",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
compute: {
|
|
59
|
+
serializedName: "compute",
|
|
60
|
+
type: {
|
|
61
|
+
name: "String",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
sparkApplicationId: {
|
|
65
|
+
serializedName: "sparkApplicationId",
|
|
66
|
+
type: {
|
|
67
|
+
name: "String",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
livyId: {
|
|
71
|
+
serializedName: "livyId",
|
|
72
|
+
type: {
|
|
73
|
+
name: "String",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
timing: {
|
|
77
|
+
serializedName: "timing",
|
|
78
|
+
type: {
|
|
79
|
+
name: "Sequence",
|
|
80
|
+
element: {
|
|
81
|
+
type: {
|
|
82
|
+
name: "String",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
sparkJobDefinition: {
|
|
88
|
+
serializedName: "sparkJobDefinition",
|
|
89
|
+
nullable: true,
|
|
90
|
+
type: {
|
|
91
|
+
name: "String",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
pipeline: {
|
|
95
|
+
serializedName: "pipeline",
|
|
96
|
+
nullable: true,
|
|
97
|
+
type: {
|
|
98
|
+
name: "Sequence",
|
|
99
|
+
element: {
|
|
100
|
+
type: {
|
|
101
|
+
name: "Composite",
|
|
102
|
+
className: "SparkJob",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
jobType: {
|
|
108
|
+
serializedName: "jobType",
|
|
109
|
+
type: {
|
|
110
|
+
name: "String",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
submitTime: {
|
|
114
|
+
serializedName: "submitTime",
|
|
115
|
+
nullable: true,
|
|
116
|
+
type: {
|
|
117
|
+
name: "DateTime",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
endTime: {
|
|
121
|
+
serializedName: "endTime",
|
|
122
|
+
nullable: true,
|
|
123
|
+
type: {
|
|
124
|
+
name: "DateTime",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
queuedDuration: {
|
|
128
|
+
serializedName: "queuedDuration",
|
|
129
|
+
type: {
|
|
130
|
+
name: "String",
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
runningDuration: {
|
|
134
|
+
serializedName: "runningDuration",
|
|
135
|
+
type: {
|
|
136
|
+
name: "String",
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
totalDuration: {
|
|
140
|
+
serializedName: "totalDuration",
|
|
141
|
+
type: {
|
|
142
|
+
name: "String",
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
export const SqlQueryStringDataModel = {
|
|
149
|
+
type: {
|
|
150
|
+
name: "Composite",
|
|
151
|
+
className: "SqlQueryStringDataModel",
|
|
152
|
+
modelProperties: {
|
|
153
|
+
query: {
|
|
154
|
+
serializedName: "query",
|
|
155
|
+
type: {
|
|
156
|
+
name: "String",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"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","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 type * 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"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const endpoint: OperationURLParameter;
|
|
4
|
+
export declare const xMsClientRequestId: OperationParameter;
|
|
5
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
6
|
+
export declare const filter: OperationQueryParameter;
|
|
7
|
+
export declare const orderby: OperationQueryParameter;
|
|
8
|
+
export declare const skip: OperationQueryParameter;
|
|
9
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAQhC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,uBAQrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,uBAQlB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const accept = {
|
|
9
|
+
parameterPath: "accept",
|
|
10
|
+
mapper: {
|
|
11
|
+
defaultValue: "application/json",
|
|
12
|
+
isConstant: true,
|
|
13
|
+
serializedName: "Accept",
|
|
14
|
+
type: {
|
|
15
|
+
name: "String",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export const endpoint = {
|
|
20
|
+
parameterPath: "endpoint",
|
|
21
|
+
mapper: {
|
|
22
|
+
serializedName: "endpoint",
|
|
23
|
+
required: true,
|
|
24
|
+
type: {
|
|
25
|
+
name: "String",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
skipEncoding: true,
|
|
29
|
+
};
|
|
30
|
+
export const xMsClientRequestId = {
|
|
31
|
+
parameterPath: ["options", "xMsClientRequestId"],
|
|
32
|
+
mapper: {
|
|
33
|
+
serializedName: "x-ms-client-request-id",
|
|
34
|
+
type: {
|
|
35
|
+
name: "String",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
export const apiVersion = {
|
|
40
|
+
parameterPath: "apiVersion",
|
|
41
|
+
mapper: {
|
|
42
|
+
defaultValue: "2020-12-01",
|
|
43
|
+
isConstant: true,
|
|
44
|
+
serializedName: "api-version",
|
|
45
|
+
type: {
|
|
46
|
+
name: "String",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
export const filter = {
|
|
51
|
+
parameterPath: ["options", "filter"],
|
|
52
|
+
mapper: {
|
|
53
|
+
serializedName: "filter",
|
|
54
|
+
type: {
|
|
55
|
+
name: "String",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
export const orderby = {
|
|
60
|
+
parameterPath: ["options", "orderby"],
|
|
61
|
+
mapper: {
|
|
62
|
+
serializedName: "$orderby",
|
|
63
|
+
type: {
|
|
64
|
+
name: "String",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
export const skip = {
|
|
69
|
+
parameterPath: ["options", "skip"],
|
|
70
|
+
mapper: {
|
|
71
|
+
serializedName: "skip",
|
|
72
|
+
type: {
|
|
73
|
+
name: "String",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAuB;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,oBAAoB,CAAC;IAChD,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA4B;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA4B;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrC,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAA4B;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","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 type {\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"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import type { Monitoring } from "./operationsInterfaces/index.js";
|
|
4
|
+
import type { MonitoringClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class MonitoringClient extends coreClient.ServiceClient {
|
|
6
|
+
endpoint: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
/**
|
|
9
|
+
* Initializes a new instance of the MonitoringClient class.
|
|
10
|
+
* @param credentials - Subscription credentials which uniquely identify client subscription.
|
|
11
|
+
* @param endpoint - The workspace development endpoint, for example
|
|
12
|
+
* https://myworkspace.dev.azuresynapse.net.
|
|
13
|
+
* @param options - The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, endpoint: string, options?: MonitoringClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
monitoring: Monitoring;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=monitoringClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoringClient.d.ts","sourceRoot":"","sources":["../../src/monitoringClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,qBAAa,gBAAiB,SAAQ,UAAU,CAAC,aAAa;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,8BAA8B;IAmE1C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
+
import { MonitoringImpl } from "./operations/index.js";
|
|
11
|
+
export class MonitoringClient extends coreClient.ServiceClient {
|
|
12
|
+
endpoint;
|
|
13
|
+
apiVersion;
|
|
14
|
+
/**
|
|
15
|
+
* Initializes a new instance of the MonitoringClient class.
|
|
16
|
+
* @param credentials - Subscription credentials which uniquely identify client subscription.
|
|
17
|
+
* @param endpoint - The workspace development endpoint, for example
|
|
18
|
+
* https://myworkspace.dev.azuresynapse.net.
|
|
19
|
+
* @param options - The parameter options
|
|
20
|
+
*/
|
|
21
|
+
constructor(credentials, endpoint, options) {
|
|
22
|
+
if (credentials === undefined) {
|
|
23
|
+
throw new Error("'credentials' cannot be null");
|
|
24
|
+
}
|
|
25
|
+
if (endpoint === undefined) {
|
|
26
|
+
throw new Error("'endpoint' cannot be null");
|
|
27
|
+
}
|
|
28
|
+
// Initializing default values for options
|
|
29
|
+
if (!options) {
|
|
30
|
+
options = {};
|
|
31
|
+
}
|
|
32
|
+
const defaults = {
|
|
33
|
+
requestContentType: "application/json; charset=utf-8",
|
|
34
|
+
credential: credentials,
|
|
35
|
+
};
|
|
36
|
+
const packageDetails = `azsdk-js-synapse-monitoring/1.0.0-beta.3`;
|
|
37
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
|
+
: `${packageDetails}`;
|
|
40
|
+
if (!options.credentialScopes) {
|
|
41
|
+
options.credentialScopes = ["https://dev.azuresynapse.net/.default"];
|
|
42
|
+
}
|
|
43
|
+
const optionsWithDefaults = {
|
|
44
|
+
...defaults,
|
|
45
|
+
...options,
|
|
46
|
+
userAgentOptions: {
|
|
47
|
+
userAgentPrefix,
|
|
48
|
+
},
|
|
49
|
+
baseUri: options.endpoint ?? options.baseUri ?? "{endpoint}",
|
|
50
|
+
};
|
|
51
|
+
super(optionsWithDefaults);
|
|
52
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
53
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
54
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
55
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
+
this.pipeline.removePolicy({
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
58
|
+
});
|
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
61
|
+
challengeCallbacks: {
|
|
62
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
63
|
+
},
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
// Parameter assignments
|
|
68
|
+
this.endpoint = endpoint;
|
|
69
|
+
// Assigning values to Constant parameters
|
|
70
|
+
this.apiVersion = options.apiVersion || "2020-12-01";
|
|
71
|
+
this.monitoring = new MonitoringImpl(this);
|
|
72
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
73
|
+
}
|
|
74
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
75
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
76
|
+
if (!apiVersion) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const apiVersionPolicy = {
|
|
80
|
+
name: "CustomApiVersionPolicy",
|
|
81
|
+
async sendRequest(request, next) {
|
|
82
|
+
const param = request.url.split("?");
|
|
83
|
+
if (param.length > 1) {
|
|
84
|
+
const newParams = param[1].split("&").map((item) => {
|
|
85
|
+
if (item.indexOf("api-version") > -1) {
|
|
86
|
+
return "api-version=" + apiVersion;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
return item;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
93
|
+
}
|
|
94
|
+
return next(request);
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
98
|
+
}
|
|
99
|
+
monitoring;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=monitoringClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoringClient.js","sourceRoot":"","sources":["../../src/monitoringClient.ts"],"names":[],"mappings":"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","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport { MonitoringImpl } from \"./operations/index.js\";\nimport type { Monitoring } from \"./operationsInterfaces/index.js\";\nimport type { MonitoringClientOptionalParams } from \"./models/index.js\";\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[] =\n options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === 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: 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): void {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): 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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./monitoring.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC","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\nexport * from \"./monitoring.js\";\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Monitoring } from "../operationsInterfaces/index.js";
|
|
2
|
+
import type { MonitoringClient } from "../monitoringClient.js";
|
|
3
|
+
import type { MonitoringGetSparkJobListOptionalParams, MonitoringGetSparkJobListResponse, MonitoringGetSqlJobQueryStringOptionalParams, MonitoringGetSqlJobQueryStringResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Monitoring operations. */
|
|
5
|
+
export declare class MonitoringImpl implements Monitoring {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Monitoring class.
|
|
9
|
+
* @param client - Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: MonitoringClient);
|
|
12
|
+
/**
|
|
13
|
+
* Get list of spark applications for the workspace.
|
|
14
|
+
* @param options - The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
getSparkJobList(options?: MonitoringGetSparkJobListOptionalParams): Promise<MonitoringGetSparkJobListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get SQL OD/DW Query for the workspace.
|
|
19
|
+
* @param options - The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
getSqlJobQueryString(options?: MonitoringGetSqlJobQueryStringOptionalParams): Promise<MonitoringGetSqlJobQueryStringResponse>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=monitoring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.d.ts","sourceRoot":"","sources":["../../../src/operations/monitoring.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EACV,uCAAuC,EACvC,iCAAiC,EACjC,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAgC5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;OAGG;IACG,eAAe,CACnB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAa7C;;;OAGG;IACG,oBAAoB,CACxB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;CAYnD"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
// Operation Specifications
|
|
13
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
14
|
+
const getSparkJobListOperationSpec = {
|
|
15
|
+
path: "/monitoring/workloadTypes/spark/Applications",
|
|
16
|
+
httpMethod: "GET",
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
bodyMapper: Mappers.SparkJobListViewResponse,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
queryParameters: [Parameters.apiVersion],
|
|
23
|
+
urlParameters: [Parameters.endpoint],
|
|
24
|
+
headerParameters: [Parameters.accept, Parameters.xMsClientRequestId],
|
|
25
|
+
serializer,
|
|
26
|
+
};
|
|
27
|
+
const getSqlJobQueryStringOperationSpec = {
|
|
28
|
+
path: "/monitoring/workloadTypes/sql/querystring",
|
|
29
|
+
httpMethod: "GET",
|
|
30
|
+
responses: {
|
|
31
|
+
200: {
|
|
32
|
+
bodyMapper: Mappers.SqlQueryStringDataModel,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.skip],
|
|
36
|
+
urlParameters: [Parameters.endpoint],
|
|
37
|
+
headerParameters: [Parameters.accept, Parameters.xMsClientRequestId],
|
|
38
|
+
serializer,
|
|
39
|
+
};
|
|
40
|
+
/** Class containing Monitoring operations. */
|
|
41
|
+
export class MonitoringImpl {
|
|
42
|
+
client;
|
|
43
|
+
/**
|
|
44
|
+
* Initialize a new instance of the class Monitoring class.
|
|
45
|
+
* @param client - Reference to the service client
|
|
46
|
+
*/
|
|
47
|
+
constructor(client) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get list of spark applications for the workspace.
|
|
52
|
+
* @param options - The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
async getSparkJobList(options) {
|
|
55
|
+
return tracingClient.withSpan("MonitoringClient.getSparkJobList", options ?? {}, async (updatedOptions) => {
|
|
56
|
+
return this.client.sendOperationRequest({ updatedOptions }, getSparkJobListOperationSpec);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get SQL OD/DW Query for the workspace.
|
|
61
|
+
* @param options - The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
async getSqlJobQueryString(options) {
|
|
64
|
+
return tracingClient.withSpan("MonitoringClient.getSqlJobQueryString", options ?? {}, async (updatedOptions) => {
|
|
65
|
+
return this.client.sendOperationRequest({ updatedOptions }, getSqlJobQueryStringOperationSpec);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=monitoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.js","sourceRoot":"","sources":["../../../src/operations/monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAStD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,8CAA8C;IACpD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC;IACpE,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC;IAChG,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC;IACpE,UAAU;CACX,CAAC;AAEF,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAmB;IAE1C;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,eAAe,CACnB,OAAiD;QAEjD,OAAO,aAAa,CAAC,QAAQ,CAC3B,kCAAkC,EAClC,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,EAClB,4BAA4B,CACiB,CAAC;QAClD,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAAsD;QAEtD,OAAO,aAAa,CAAC,QAAQ,CAC3B,uCAAuC,EACvC,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,EAClB,iCAAiC,CACiB,CAAC;QACvD,CAAC,CACF,CAAC;IACJ,CAAC;CACF","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 { tracingClient } from \"../tracing.js\";\nimport type { Monitoring } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { MonitoringClient } from \"../monitoringClient.js\";\nimport type {\n MonitoringGetSparkJobListOptionalParams,\n MonitoringGetSparkJobListResponse,\n MonitoringGetSqlJobQueryStringOptionalParams,\n MonitoringGetSqlJobQueryStringResponse,\n} from \"../models/index.js\";\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: [Parameters.apiVersion, Parameters.filter, Parameters.orderby, Parameters.skip],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.xMsClientRequestId],\n serializer,\n};\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { updatedOptions },\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { updatedOptions },\n getSqlJobQueryStringOperationSpec,\n ) as Promise<MonitoringGetSqlJobQueryStringResponse>;\n },\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./monitoring.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC","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\nexport * from \"./monitoring.js\";\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MonitoringGetSparkJobListOptionalParams, MonitoringGetSparkJobListResponse, MonitoringGetSqlJobQueryStringOptionalParams, MonitoringGetSqlJobQueryStringResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a Monitoring. */
|
|
3
|
+
export interface Monitoring {
|
|
4
|
+
/**
|
|
5
|
+
* Get list of spark applications for the workspace.
|
|
6
|
+
* @param options - The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
getSparkJobList(options?: MonitoringGetSparkJobListOptionalParams): Promise<MonitoringGetSparkJobListResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Get SQL OD/DW Query for the workspace.
|
|
11
|
+
* @param options - The options parameters.
|
|
12
|
+
*/
|
|
13
|
+
getSqlJobQueryString(options?: MonitoringGetSqlJobQueryStringOptionalParams): Promise<MonitoringGetSqlJobQueryStringResponse>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=monitoring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoring.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,uCAAuC,EACvC,iCAAiC,EACjC,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,eAAe,CACb,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=monitoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 type {\n MonitoringGetSparkJobListOptionalParams,\n MonitoringGetSparkJobListResponse,\n MonitoringGetSqlJobQueryStringOptionalParams,\n MonitoringGetSqlJobQueryStringResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Monitoring. */\nexport interface Monitoring {\n /**\n * Get list of spark applications for the workspace.\n * @param options - The options parameters.\n */\n getSparkJobList(\n options?: MonitoringGetSparkJobListOptionalParams,\n ): Promise<MonitoringGetSparkJobListResponse>;\n /**\n * Get SQL OD/DW Query for the workspace.\n * @param options - The options parameters.\n */\n getSqlJobQueryString(\n options?: MonitoringGetSqlJobQueryStringOptionalParams,\n ): Promise<MonitoringGetSqlJobQueryStringResponse>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa,6CAIxB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { createTracingClient } from "@azure/core-tracing";
|
|
9
|
+
export const tracingClient = createTracingClient({
|
|
10
|
+
namespace: "Azure.Synapse.Monitoring",
|
|
11
|
+
packageName: "@azure/synapse-monitoring",
|
|
12
|
+
packageVersion: "1.0.0-beta.3",
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=tracing.js.map
|