@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,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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,0BAA0B;IACrC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,cAAc;CAC/B,CAAC,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 { 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"]}
|
package/package.json
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
"name": "@azure/synapse-monitoring",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
4
|
"description": "A generated SDK for MonitoringClient.",
|
|
5
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/
|
|
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-beta.
|
|
8
|
+
"version": "1.0.0-beta.4",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@azure/core-
|
|
11
|
-
"@
|
|
12
|
-
"
|
|
10
|
+
"@azure/core-auth": "^1.9.0",
|
|
11
|
+
"@azure/core-client": "^1.9.2",
|
|
12
|
+
"@azure/core-rest-pipeline": "^1.19.0",
|
|
13
|
+
"@azure/core-tracing": "^1.2.0",
|
|
14
|
+
"tslib": "^2.8.1"
|
|
13
15
|
},
|
|
14
16
|
"keywords": [
|
|
15
17
|
"node",
|
|
@@ -20,61 +22,91 @@
|
|
|
20
22
|
"isomorphic"
|
|
21
23
|
],
|
|
22
24
|
"license": "MIT",
|
|
23
|
-
"engine": {
|
|
24
|
-
"node": ">=8.0.0"
|
|
25
|
-
},
|
|
26
25
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
26
|
+
"node": ">=20.0.0"
|
|
28
27
|
},
|
|
29
|
-
"main": "./dist/index.js",
|
|
30
|
-
"module": "./dist
|
|
31
|
-
"types": "./
|
|
28
|
+
"main": "./dist/commonjs/index.js",
|
|
29
|
+
"module": "./dist/esm/index.js",
|
|
30
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
32
31
|
"devDependencies": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
32
|
+
"@azure/logger": "^1.1.4",
|
|
33
|
+
"@types/node": "^20.19.0",
|
|
34
|
+
"@vitest/browser": "^3.2.3",
|
|
35
|
+
"@vitest/coverage-istanbul": "^3.2.3",
|
|
36
|
+
"eslint": "^9.33.0",
|
|
37
|
+
"playwright": "^1.50.1",
|
|
38
|
+
"typescript": "~5.8.3",
|
|
39
|
+
"vitest": "^3.2.3",
|
|
40
|
+
"@azure-tools/test-credential": "^2.1.1",
|
|
41
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
35
42
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"rollup-plugin-node-resolve": "^3.4.0",
|
|
39
|
-
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
40
|
-
"@rollup/plugin-commonjs": "11.0.2",
|
|
41
|
-
"uglify-js": "^3.4.9",
|
|
42
|
-
"@microsoft/api-extractor": "7.7.11",
|
|
43
|
-
"typedoc": "0.15.2"
|
|
43
|
+
"@azure/dev-tool": "^1.0.0",
|
|
44
|
+
"@azure-tools/test-utils-vitest": "^1.0.0"
|
|
44
45
|
},
|
|
45
46
|
"bugs": {
|
|
46
47
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
47
48
|
},
|
|
48
49
|
"files": [
|
|
49
|
-
"dist
|
|
50
|
-
"dist/**/*.js.map",
|
|
51
|
-
"dist/**/*.d.ts",
|
|
52
|
-
"dist/**/*.d.ts.map",
|
|
53
|
-
"esm/**/*.js",
|
|
54
|
-
"esm/**/*.js.map",
|
|
55
|
-
"esm/**/*.d.ts",
|
|
56
|
-
"esm/**/*.d.ts.map",
|
|
57
|
-
"types/synapse-monitoring.d.ts",
|
|
50
|
+
"dist/",
|
|
58
51
|
"README.md",
|
|
59
|
-
"
|
|
60
|
-
"tsconfig.json"
|
|
52
|
+
"LICENSE"
|
|
61
53
|
],
|
|
54
|
+
"sideEffects": false,
|
|
55
|
+
"autoPublish": true,
|
|
56
|
+
"type": "module",
|
|
57
|
+
"tshy": {
|
|
58
|
+
"project": "../../../tsconfig.src.build.json",
|
|
59
|
+
"exports": {
|
|
60
|
+
"./package.json": "./package.json",
|
|
61
|
+
".": "./src/index.ts"
|
|
62
|
+
},
|
|
63
|
+
"dialects": [
|
|
64
|
+
"esm",
|
|
65
|
+
"commonjs"
|
|
66
|
+
],
|
|
67
|
+
"esmDialects": [
|
|
68
|
+
"browser",
|
|
69
|
+
"react-native"
|
|
70
|
+
],
|
|
71
|
+
"selfLink": false
|
|
72
|
+
},
|
|
73
|
+
"browser": "./dist/browser/index.js",
|
|
74
|
+
"exports": {
|
|
75
|
+
"./package.json": "./package.json",
|
|
76
|
+
".": {
|
|
77
|
+
"browser": {
|
|
78
|
+
"types": "./dist/browser/index.d.ts",
|
|
79
|
+
"default": "./dist/browser/index.js"
|
|
80
|
+
},
|
|
81
|
+
"react-native": {
|
|
82
|
+
"types": "./dist/react-native/index.d.ts",
|
|
83
|
+
"default": "./dist/react-native/index.js"
|
|
84
|
+
},
|
|
85
|
+
"import": {
|
|
86
|
+
"types": "./dist/esm/index.d.ts",
|
|
87
|
+
"default": "./dist/esm/index.js"
|
|
88
|
+
},
|
|
89
|
+
"require": {
|
|
90
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
91
|
+
"default": "./dist/commonjs/index.js"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"react-native": "./dist/react-native/index.js",
|
|
62
96
|
"scripts": {
|
|
63
|
-
"build": "
|
|
64
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
65
|
-
"pack": "npm pack 2>&1",
|
|
66
|
-
"build:test": "echo skipped",
|
|
67
|
-
"lint:fix": "eslint package.json api-extractor.json src --ext .ts --fix --fix-type [problem,suggestion]",
|
|
68
|
-
"lint": "eslint package.json api-extractor.json src --ext .ts -f html -o synapse-monitoring-lintReport.html || exit 0",
|
|
69
|
-
"unit-test:browser": "echo skipped",
|
|
70
|
-
"unit-test:node": "echo skipped",
|
|
71
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
72
|
-
"test": "echo skipped",
|
|
73
|
-
"extract-api": "api-extractor run --local",
|
|
74
|
-
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
97
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
75
98
|
"build:samples": "echo Skipped.",
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
99
|
+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
100
|
+
"clean": "dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log",
|
|
101
|
+
"extract-api": "dev-tool run extract-api",
|
|
102
|
+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
103
|
+
"lint": "eslint package.json src test",
|
|
104
|
+
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
|
|
105
|
+
"pack": "pnpm pack 2>&1",
|
|
106
|
+
"test": "npm run test:node && npm run test:browser",
|
|
107
|
+
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
108
|
+
"test:node": "dev-tool run test:vitest",
|
|
109
|
+
"test:node:esm": "dev-tool run test:vitest --esm",
|
|
110
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
111
|
+
}
|
|
112
|
+
}
|