@azure/arm-kusto 6.2.0 → 7.0.0
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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -83
- package/dist/index.js +8198 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/kustoManagementClient.d.ts +30 -0
- package/dist-esm/src/kustoManagementClient.d.ts.map +1 -0
- package/dist-esm/src/kustoManagementClient.js +63 -0
- package/dist-esm/src/kustoManagementClient.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2023 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +256 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +89 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1710 -1269
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +46 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +308 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/attachedDatabaseConfigurations.d.ts +81 -0
- package/dist-esm/src/operations/attachedDatabaseConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/attachedDatabaseConfigurations.js +342 -0
- package/dist-esm/src/operations/attachedDatabaseConfigurations.js.map +1 -0
- package/dist-esm/src/operations/clusterPrincipalAssignments.d.ts +81 -0
- package/dist-esm/src/operations/clusterPrincipalAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/clusterPrincipalAssignments.js +332 -0
- package/dist-esm/src/operations/clusterPrincipalAssignments.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +276 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +1317 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/dataConnections.d.ts +127 -0
- package/dist-esm/src/operations/dataConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnections.js +547 -0
- package/dist-esm/src/operations/dataConnections.js.map +1 -0
- package/dist-esm/src/operations/databasePrincipalAssignments.d.ts +89 -0
- package/dist-esm/src/operations/databasePrincipalAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/databasePrincipalAssignments.js +364 -0
- package/dist-esm/src/operations/databasePrincipalAssignments.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +135 -0
- package/dist-esm/src/operations/databases.d.ts.map +1 -0
- package/dist-esm/src/operations/databases.js +571 -0
- package/dist-esm/src/operations/databases.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +20 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managedPrivateEndpoints.d.ts +99 -0
- package/dist-esm/src/operations/managedPrivateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/managedPrivateEndpoints.js +424 -0
- package/dist-esm/src/operations/managedPrivateEndpoints.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/operationsResults.d.ts +20 -0
- package/dist-esm/src/operations/operationsResults.d.ts.map +1 -0
- package/dist-esm/src/operations/operationsResults.js +53 -0
- package/dist-esm/src/operations/operationsResults.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +309 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +38 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +131 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/scripts.d.ts +109 -0
- package/dist-esm/src/operations/scripts.d.ts.map +1 -0
- package/dist-esm/src/operations/scripts.js +442 -0
- package/dist-esm/src/operations/scripts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.d.ts.map +1 -0
- package/{src/models/operationsResultsMappers.ts → dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.js} +2 -8
- package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +201 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/{esm/models/operationsResultsMappers.js → dist-esm/src/operationsInterfaces/clusters.js} +2 -2
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnections.d.ts +109 -0
- package/dist-esm/src/operationsInterfaces/dataConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts +108 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.js +9 -0
- package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +20 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationsResults.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationsResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationsResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationsResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scripts.d.ts +91 -0
- package/dist-esm/src/operationsInterfaces/scripts.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/scripts.js} +2 -1
- package/dist-esm/src/operationsInterfaces/scripts.js.map +1 -0
- package/dist-esm/test/kusto-client-test.d.ts +4 -0
- package/dist-esm/test/kusto-client-test.d.ts.map +1 -0
- package/dist-esm/test/kusto-client-test.js +117 -0
- package/dist-esm/test/kusto-client-test.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-kusto.api.md +1798 -0
- package/rollup.config.js +181 -24
- package/{esm/models/operationsMappers.js → src/index.ts} +5 -2
- package/src/kustoManagementClient.ts +112 -49
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1853 -2535
- package/src/models/mappers.ts +1798 -1302
- package/src/models/parameters.ts +264 -44
- package/src/operations/attachedDatabaseConfigurations.ts +314 -177
- package/src/operations/clusterPrincipalAssignments.ts +300 -264
- package/src/operations/clusters.ts +1396 -724
- package/src/operations/dataConnections.ts +499 -363
- package/src/operations/databasePrincipalAssignments.ts +326 -281
- package/src/operations/databases.ts +538 -517
- package/src/operations/index.ts +5 -3
- package/src/operations/managedPrivateEndpoints.ts +599 -0
- package/src/operations/operations.ts +85 -85
- package/src/operations/operationsResults.ts +34 -60
- package/src/operations/privateEndpointConnections.ts +427 -0
- package/src/operations/privateLinkResources.ts +167 -0
- package/src/operations/scripts.ts +408 -334
- package/src/operationsInterfaces/attachedDatabaseConfigurations.ts +125 -0
- package/src/operationsInterfaces/clusterPrincipalAssignments.ts +125 -0
- package/src/operationsInterfaces/clusters.ts +371 -0
- package/src/operationsInterfaces/dataConnections.ts +218 -0
- package/src/operationsInterfaces/databasePrincipalAssignments.ts +139 -0
- package/src/operationsInterfaces/databases.ts +212 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +6 -4
- package/src/operationsInterfaces/managedPrivateEndpoints.ts +162 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/operationsResults.ts +27 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/scripts.ts +177 -0
- package/tsconfig.json +14 -6
- package/types/arm-kusto.d.ts +3174 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-kusto.js +0 -5320
- package/dist/arm-kusto.js.map +0 -1
- package/dist/arm-kusto.min.js +0 -1
- package/dist/arm-kusto.min.js.map +0 -1
- package/esm/kustoManagementClient.d.ts +0 -33
- package/esm/kustoManagementClient.d.ts.map +0 -1
- package/esm/kustoManagementClient.js +0 -46
- package/esm/kustoManagementClient.js.map +0 -1
- package/esm/kustoManagementClientContext.d.ts +0 -23
- package/esm/kustoManagementClientContext.d.ts.map +0 -1
- package/esm/kustoManagementClientContext.js +0 -62
- package/esm/kustoManagementClientContext.js.map +0 -1
- package/esm/models/attachedDatabaseConfigurationsMappers.d.ts +0 -2
- package/esm/models/attachedDatabaseConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/attachedDatabaseConfigurationsMappers.js +0 -9
- package/esm/models/attachedDatabaseConfigurationsMappers.js.map +0 -1
- package/esm/models/clusterPrincipalAssignmentsMappers.d.ts +0 -2
- package/esm/models/clusterPrincipalAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/clusterPrincipalAssignmentsMappers.js +0 -9
- package/esm/models/clusterPrincipalAssignmentsMappers.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/dataConnectionsMappers.d.ts +0 -2
- package/esm/models/dataConnectionsMappers.d.ts.map +0 -1
- package/esm/models/dataConnectionsMappers.js +0 -9
- package/esm/models/dataConnectionsMappers.js.map +0 -1
- package/esm/models/databasePrincipalAssignmentsMappers.d.ts +0 -2
- package/esm/models/databasePrincipalAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/databasePrincipalAssignmentsMappers.js +0 -9
- package/esm/models/databasePrincipalAssignmentsMappers.js.map +0 -1
- package/esm/models/databasesMappers.d.ts +0 -2
- package/esm/models/databasesMappers.d.ts.map +0 -1
- package/esm/models/databasesMappers.js +0 -9
- package/esm/models/databasesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2705
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -75
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/operationsResultsMappers.d.ts +0 -2
- package/esm/models/operationsResultsMappers.d.ts.map +0 -1
- package/esm/models/operationsResultsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -158
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/scriptsMappers.d.ts +0 -2
- package/esm/models/scriptsMappers.d.ts.map +0 -1
- package/esm/models/scriptsMappers.js +0 -9
- package/esm/models/scriptsMappers.js.map +0 -1
- package/esm/operations/attachedDatabaseConfigurations.d.ts +0 -97
- package/esm/operations/attachedDatabaseConfigurations.d.ts.map +0 -1
- package/esm/operations/attachedDatabaseConfigurations.js +0 -188
- package/esm/operations/attachedDatabaseConfigurations.js.map +0 -1
- package/esm/operations/clusterPrincipalAssignments.d.ts +0 -121
- package/esm/operations/clusterPrincipalAssignments.d.ts.map +0 -1
- package/esm/operations/clusterPrincipalAssignments.js +0 -213
- package/esm/operations/clusterPrincipalAssignments.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -323
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -620
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/dataConnections.d.ts +0 -176
- package/esm/operations/dataConnections.d.ts.map +0 -1
- package/esm/operations/dataConnections.js +0 -359
- package/esm/operations/dataConnections.js.map +0 -1
- package/esm/operations/databasePrincipalAssignments.d.ts +0 -134
- package/esm/operations/databasePrincipalAssignments.d.ts.map +0 -1
- package/esm/operations/databasePrincipalAssignments.js +0 -235
- package/esm/operations/databasePrincipalAssignments.js.map +0 -1
- package/esm/operations/databases.d.ts +0 -219
- package/esm/operations/databases.d.ts.map +0 -1
- package/esm/operations/databases.js +0 -374
- package/esm/operations/databases.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -69
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/operationsResults.d.ts +0 -34
- package/esm/operations/operationsResults.d.ts.map +0 -1
- package/esm/operations/operationsResults.js +0 -49
- package/esm/operations/operationsResults.js.map +0 -1
- package/esm/operations/scripts.d.ts +0 -156
- package/esm/operations/scripts.d.ts.map +0 -1
- package/esm/operations/scripts.js +0 -300
- package/esm/operations/scripts.js.map +0 -1
- package/src/kustoManagementClientContext.ts +0 -75
- package/src/models/attachedDatabaseConfigurationsMappers.ts +0 -43
- package/src/models/clusterPrincipalAssignmentsMappers.ts +0 -45
- package/src/models/clustersMappers.ts +0 -54
- package/src/models/dataConnectionsMappers.ts +0 -48
- package/src/models/databasePrincipalAssignmentsMappers.ts +0 -45
- package/src/models/databasesMappers.ts +0 -48
- package/src/models/scriptsMappers.ts +0 -45
|
@@ -0,0 +1,442 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing Scripts operations. */
|
|
16
|
+
export class ScriptsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class Scripts class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns the list of database scripts for given database.
|
|
26
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
27
|
+
* @param clusterName The name of the Kusto cluster.
|
|
28
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByDatabase(resourceGroupName, clusterName, databaseName, options) {
|
|
32
|
+
const iter = this.listByDatabasePagingAll(resourceGroupName, clusterName, databaseName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: () => {
|
|
41
|
+
return this.listByDatabasePagingPage(resourceGroupName, clusterName, databaseName, options);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
listByDatabasePagingPage(resourceGroupName, clusterName, databaseName, options) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listByDatabasePagingPage_1() {
|
|
47
|
+
let result = yield __await(this._listByDatabase(resourceGroupName, clusterName, databaseName, options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
listByDatabasePagingAll(resourceGroupName, clusterName, databaseName, options) {
|
|
52
|
+
return __asyncGenerator(this, arguments, function* listByDatabasePagingAll_1() {
|
|
53
|
+
var e_1, _a;
|
|
54
|
+
try {
|
|
55
|
+
for (var _b = __asyncValues(this.listByDatabasePagingPage(resourceGroupName, clusterName, databaseName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
56
|
+
const page = _c.value;
|
|
57
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
61
|
+
finally {
|
|
62
|
+
try {
|
|
63
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
64
|
+
}
|
|
65
|
+
finally { if (e_1) throw e_1.error; }
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns the list of database scripts for given database.
|
|
71
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
72
|
+
* @param clusterName The name of the Kusto cluster.
|
|
73
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
_listByDatabase(resourceGroupName, clusterName, databaseName, options) {
|
|
77
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listByDatabaseOperationSpec);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Gets a Kusto cluster database script.
|
|
81
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
82
|
+
* @param clusterName The name of the Kusto cluster.
|
|
83
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
84
|
+
* @param scriptName The name of the Kusto database script.
|
|
85
|
+
* @param options The options parameters.
|
|
86
|
+
*/
|
|
87
|
+
get(resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
88
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, scriptName, options }, getOperationSpec);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Creates a Kusto database script.
|
|
92
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
93
|
+
* @param clusterName The name of the Kusto cluster.
|
|
94
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
95
|
+
* @param scriptName The name of the Kusto database script.
|
|
96
|
+
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
beginCreateOrUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
return this.client.sendOperationRequest(args, spec);
|
|
103
|
+
});
|
|
104
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
var _a;
|
|
106
|
+
let currentRawResponse = undefined;
|
|
107
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
108
|
+
const callback = (rawResponse, flatResponse) => {
|
|
109
|
+
currentRawResponse = rawResponse;
|
|
110
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
111
|
+
};
|
|
112
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
113
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
114
|
+
return {
|
|
115
|
+
flatResponse,
|
|
116
|
+
rawResponse: {
|
|
117
|
+
statusCode: currentRawResponse.status,
|
|
118
|
+
body: currentRawResponse.parsedBody,
|
|
119
|
+
headers: currentRawResponse.headers.toJSON()
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
});
|
|
123
|
+
const lro = new LroImpl(sendOperation, {
|
|
124
|
+
resourceGroupName,
|
|
125
|
+
clusterName,
|
|
126
|
+
databaseName,
|
|
127
|
+
scriptName,
|
|
128
|
+
parameters,
|
|
129
|
+
options
|
|
130
|
+
}, createOrUpdateOperationSpec);
|
|
131
|
+
return new LroEngine(lro, {
|
|
132
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
133
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Creates a Kusto database script.
|
|
139
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
140
|
+
* @param clusterName The name of the Kusto cluster.
|
|
141
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
142
|
+
* @param scriptName The name of the Kusto database script.
|
|
143
|
+
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
beginCreateOrUpdateAndWait(resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options);
|
|
149
|
+
return poller.pollUntilDone();
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Updates a database script.
|
|
154
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
155
|
+
* @param clusterName The name of the Kusto cluster.
|
|
156
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
157
|
+
* @param scriptName The name of the Kusto database script.
|
|
158
|
+
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
beginUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
164
|
+
return this.client.sendOperationRequest(args, spec);
|
|
165
|
+
});
|
|
166
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
var _a;
|
|
168
|
+
let currentRawResponse = undefined;
|
|
169
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
170
|
+
const callback = (rawResponse, flatResponse) => {
|
|
171
|
+
currentRawResponse = rawResponse;
|
|
172
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
173
|
+
};
|
|
174
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
175
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
176
|
+
return {
|
|
177
|
+
flatResponse,
|
|
178
|
+
rawResponse: {
|
|
179
|
+
statusCode: currentRawResponse.status,
|
|
180
|
+
body: currentRawResponse.parsedBody,
|
|
181
|
+
headers: currentRawResponse.headers.toJSON()
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
});
|
|
185
|
+
const lro = new LroImpl(sendOperation, {
|
|
186
|
+
resourceGroupName,
|
|
187
|
+
clusterName,
|
|
188
|
+
databaseName,
|
|
189
|
+
scriptName,
|
|
190
|
+
parameters,
|
|
191
|
+
options
|
|
192
|
+
}, updateOperationSpec);
|
|
193
|
+
return new LroEngine(lro, {
|
|
194
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
195
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Updates a database script.
|
|
201
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
202
|
+
* @param clusterName The name of the Kusto cluster.
|
|
203
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
204
|
+
* @param scriptName The name of the Kusto database script.
|
|
205
|
+
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
206
|
+
* @param options The options parameters.
|
|
207
|
+
*/
|
|
208
|
+
beginUpdateAndWait(resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
const poller = yield this.beginUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options);
|
|
211
|
+
return poller.pollUntilDone();
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Deletes a Kusto principalAssignment.
|
|
216
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
217
|
+
* @param clusterName The name of the Kusto cluster.
|
|
218
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
219
|
+
* @param scriptName The name of the Kusto database script.
|
|
220
|
+
* @param options The options parameters.
|
|
221
|
+
*/
|
|
222
|
+
beginDelete(resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
224
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
return this.client.sendOperationRequest(args, spec);
|
|
226
|
+
});
|
|
227
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
var _a;
|
|
229
|
+
let currentRawResponse = undefined;
|
|
230
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
231
|
+
const callback = (rawResponse, flatResponse) => {
|
|
232
|
+
currentRawResponse = rawResponse;
|
|
233
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
234
|
+
};
|
|
235
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
236
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
237
|
+
return {
|
|
238
|
+
flatResponse,
|
|
239
|
+
rawResponse: {
|
|
240
|
+
statusCode: currentRawResponse.status,
|
|
241
|
+
body: currentRawResponse.parsedBody,
|
|
242
|
+
headers: currentRawResponse.headers.toJSON()
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, databaseName, scriptName, options }, deleteOperationSpec);
|
|
247
|
+
return new LroEngine(lro, {
|
|
248
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
249
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Deletes a Kusto principalAssignment.
|
|
255
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
256
|
+
* @param clusterName The name of the Kusto cluster.
|
|
257
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
258
|
+
* @param scriptName The name of the Kusto database script.
|
|
259
|
+
* @param options The options parameters.
|
|
260
|
+
*/
|
|
261
|
+
beginDeleteAndWait(resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
262
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
263
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, databaseName, scriptName, options);
|
|
264
|
+
return poller.pollUntilDone();
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Checks that the script name is valid and is not already in use.
|
|
269
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
270
|
+
* @param clusterName The name of the Kusto cluster.
|
|
271
|
+
* @param databaseName The name of the database in the Kusto cluster.
|
|
272
|
+
* @param scriptName The name of the script.
|
|
273
|
+
* @param options The options parameters.
|
|
274
|
+
*/
|
|
275
|
+
checkNameAvailability(resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
276
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, scriptName, options }, checkNameAvailabilityOperationSpec);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
// Operation Specifications
|
|
280
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
281
|
+
const listByDatabaseOperationSpec = {
|
|
282
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts",
|
|
283
|
+
httpMethod: "GET",
|
|
284
|
+
responses: {
|
|
285
|
+
200: {
|
|
286
|
+
bodyMapper: Mappers.ScriptListResult
|
|
287
|
+
},
|
|
288
|
+
default: {
|
|
289
|
+
bodyMapper: Mappers.CloudError
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
queryParameters: [Parameters.apiVersion],
|
|
293
|
+
urlParameters: [
|
|
294
|
+
Parameters.$host,
|
|
295
|
+
Parameters.resourceGroupName,
|
|
296
|
+
Parameters.clusterName,
|
|
297
|
+
Parameters.subscriptionId,
|
|
298
|
+
Parameters.databaseName
|
|
299
|
+
],
|
|
300
|
+
headerParameters: [Parameters.accept],
|
|
301
|
+
serializer
|
|
302
|
+
};
|
|
303
|
+
const getOperationSpec = {
|
|
304
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
305
|
+
httpMethod: "GET",
|
|
306
|
+
responses: {
|
|
307
|
+
200: {
|
|
308
|
+
bodyMapper: Mappers.Script
|
|
309
|
+
},
|
|
310
|
+
default: {
|
|
311
|
+
bodyMapper: Mappers.CloudError
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
queryParameters: [Parameters.apiVersion],
|
|
315
|
+
urlParameters: [
|
|
316
|
+
Parameters.$host,
|
|
317
|
+
Parameters.resourceGroupName,
|
|
318
|
+
Parameters.clusterName,
|
|
319
|
+
Parameters.subscriptionId,
|
|
320
|
+
Parameters.databaseName,
|
|
321
|
+
Parameters.scriptName
|
|
322
|
+
],
|
|
323
|
+
headerParameters: [Parameters.accept],
|
|
324
|
+
serializer
|
|
325
|
+
};
|
|
326
|
+
const createOrUpdateOperationSpec = {
|
|
327
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
328
|
+
httpMethod: "PUT",
|
|
329
|
+
responses: {
|
|
330
|
+
200: {
|
|
331
|
+
bodyMapper: Mappers.Script
|
|
332
|
+
},
|
|
333
|
+
201: {
|
|
334
|
+
bodyMapper: Mappers.Script
|
|
335
|
+
},
|
|
336
|
+
202: {
|
|
337
|
+
bodyMapper: Mappers.Script
|
|
338
|
+
},
|
|
339
|
+
204: {
|
|
340
|
+
bodyMapper: Mappers.Script
|
|
341
|
+
},
|
|
342
|
+
default: {
|
|
343
|
+
bodyMapper: Mappers.CloudError
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
requestBody: Parameters.parameters7,
|
|
347
|
+
queryParameters: [Parameters.apiVersion],
|
|
348
|
+
urlParameters: [
|
|
349
|
+
Parameters.$host,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.clusterName,
|
|
352
|
+
Parameters.subscriptionId,
|
|
353
|
+
Parameters.databaseName,
|
|
354
|
+
Parameters.scriptName
|
|
355
|
+
],
|
|
356
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
357
|
+
mediaType: "json",
|
|
358
|
+
serializer
|
|
359
|
+
};
|
|
360
|
+
const updateOperationSpec = {
|
|
361
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
362
|
+
httpMethod: "PATCH",
|
|
363
|
+
responses: {
|
|
364
|
+
200: {
|
|
365
|
+
bodyMapper: Mappers.Script
|
|
366
|
+
},
|
|
367
|
+
201: {
|
|
368
|
+
bodyMapper: Mappers.Script
|
|
369
|
+
},
|
|
370
|
+
202: {
|
|
371
|
+
bodyMapper: Mappers.Script
|
|
372
|
+
},
|
|
373
|
+
204: {
|
|
374
|
+
bodyMapper: Mappers.Script
|
|
375
|
+
},
|
|
376
|
+
default: {
|
|
377
|
+
bodyMapper: Mappers.CloudError
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
requestBody: Parameters.parameters7,
|
|
381
|
+
queryParameters: [Parameters.apiVersion],
|
|
382
|
+
urlParameters: [
|
|
383
|
+
Parameters.$host,
|
|
384
|
+
Parameters.resourceGroupName,
|
|
385
|
+
Parameters.clusterName,
|
|
386
|
+
Parameters.subscriptionId,
|
|
387
|
+
Parameters.databaseName,
|
|
388
|
+
Parameters.scriptName
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
391
|
+
mediaType: "json",
|
|
392
|
+
serializer
|
|
393
|
+
};
|
|
394
|
+
const deleteOperationSpec = {
|
|
395
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
396
|
+
httpMethod: "DELETE",
|
|
397
|
+
responses: {
|
|
398
|
+
200: {},
|
|
399
|
+
201: {},
|
|
400
|
+
202: {},
|
|
401
|
+
204: {},
|
|
402
|
+
default: {
|
|
403
|
+
bodyMapper: Mappers.CloudError
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
queryParameters: [Parameters.apiVersion],
|
|
407
|
+
urlParameters: [
|
|
408
|
+
Parameters.$host,
|
|
409
|
+
Parameters.resourceGroupName,
|
|
410
|
+
Parameters.clusterName,
|
|
411
|
+
Parameters.subscriptionId,
|
|
412
|
+
Parameters.databaseName,
|
|
413
|
+
Parameters.scriptName
|
|
414
|
+
],
|
|
415
|
+
headerParameters: [Parameters.accept],
|
|
416
|
+
serializer
|
|
417
|
+
};
|
|
418
|
+
const checkNameAvailabilityOperationSpec = {
|
|
419
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scriptsCheckNameAvailability",
|
|
420
|
+
httpMethod: "POST",
|
|
421
|
+
responses: {
|
|
422
|
+
200: {
|
|
423
|
+
bodyMapper: Mappers.CheckNameResult
|
|
424
|
+
},
|
|
425
|
+
default: {
|
|
426
|
+
bodyMapper: Mappers.CloudError
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
requestBody: Parameters.scriptName1,
|
|
430
|
+
queryParameters: [Parameters.apiVersion],
|
|
431
|
+
urlParameters: [
|
|
432
|
+
Parameters.$host,
|
|
433
|
+
Parameters.resourceGroupName,
|
|
434
|
+
Parameters.clusterName,
|
|
435
|
+
Parameters.subscriptionId,
|
|
436
|
+
Parameters.databaseName
|
|
437
|
+
],
|
|
438
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
439
|
+
mediaType: "json",
|
|
440
|
+
serializer
|
|
441
|
+
};
|
|
442
|
+
//# sourceMappingURL=scripts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../../src/operations/scripts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,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CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,mKAAmK;IACrK,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EACF,2KAA2K;IAC7K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { AttachedDatabaseConfiguration, AttachedDatabaseConfigurationsListByClusterOptionalParams, AttachedDatabaseConfigurationsCheckNameRequest, AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams, AttachedDatabaseConfigurationsCheckNameAvailabilityResponse, AttachedDatabaseConfigurationsGetOptionalParams, AttachedDatabaseConfigurationsGetResponse, AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams, AttachedDatabaseConfigurationsCreateOrUpdateResponse, AttachedDatabaseConfigurationsDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a AttachedDatabaseConfigurations. */
|
|
5
|
+
export interface AttachedDatabaseConfigurations {
|
|
6
|
+
/**
|
|
7
|
+
* Returns the list of attached database configurations of the given Kusto cluster.
|
|
8
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
9
|
+
* @param clusterName The name of the Kusto cluster.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByCluster(resourceGroupName: string, clusterName: string, options?: AttachedDatabaseConfigurationsListByClusterOptionalParams): PagedAsyncIterableIterator<AttachedDatabaseConfiguration>;
|
|
13
|
+
/**
|
|
14
|
+
* Checks that the attached database configuration resource name is valid and is not already in use.
|
|
15
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
16
|
+
* @param clusterName The name of the Kusto cluster.
|
|
17
|
+
* @param resourceName The name of the resource.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
checkNameAvailability(resourceGroupName: string, clusterName: string, resourceName: AttachedDatabaseConfigurationsCheckNameRequest, options?: AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams): Promise<AttachedDatabaseConfigurationsCheckNameAvailabilityResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns an attached database configuration.
|
|
23
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
24
|
+
* @param clusterName The name of the Kusto cluster.
|
|
25
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
get(resourceGroupName: string, clusterName: string, attachedDatabaseConfigurationName: string, options?: AttachedDatabaseConfigurationsGetOptionalParams): Promise<AttachedDatabaseConfigurationsGetResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Creates or updates an attached database configuration.
|
|
31
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
32
|
+
* @param clusterName The name of the Kusto cluster.
|
|
33
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
34
|
+
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, attachedDatabaseConfigurationName: string, parameters: AttachedDatabaseConfiguration, options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AttachedDatabaseConfigurationsCreateOrUpdateResponse>, AttachedDatabaseConfigurationsCreateOrUpdateResponse>>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates or updates an attached database configuration.
|
|
40
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
41
|
+
* @param clusterName The name of the Kusto cluster.
|
|
42
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
43
|
+
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, attachedDatabaseConfigurationName: string, parameters: AttachedDatabaseConfiguration, options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams): Promise<AttachedDatabaseConfigurationsCreateOrUpdateResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes the attached database configuration with the given name.
|
|
49
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
50
|
+
* @param clusterName The name of the Kusto cluster.
|
|
51
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginDelete(resourceGroupName: string, clusterName: string, attachedDatabaseConfigurationName: string, options?: AttachedDatabaseConfigurationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes the attached database configuration with the given name.
|
|
57
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
58
|
+
* @param clusterName The name of the Kusto cluster.
|
|
59
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, attachedDatabaseConfigurationName: string, options?: AttachedDatabaseConfigurationsDeleteOptionalParams): Promise<void>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=attachedDatabaseConfigurations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachedDatabaseConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/attachedDatabaseConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,6BAA6B,EAC7B,yDAAyD,EACzD,8CAA8C,EAC9C,iEAAiE,EACjE,2DAA2D,EAC3D,+CAA+C,EAC/C,yCAAyC,EACzC,0DAA0D,EAC1D,oDAAoD,EACpD,kDAAkD,EACnD,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA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AC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=attachedDatabaseConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachedDatabaseConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/attachedDatabaseConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { ClusterPrincipalAssignment, ClusterPrincipalAssignmentsListOptionalParams, ClusterPrincipalAssignmentCheckNameRequest, ClusterPrincipalAssignmentsCheckNameAvailabilityOptionalParams, ClusterPrincipalAssignmentsCheckNameAvailabilityResponse, ClusterPrincipalAssignmentsGetOptionalParams, ClusterPrincipalAssignmentsGetResponse, ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams, ClusterPrincipalAssignmentsCreateOrUpdateResponse, ClusterPrincipalAssignmentsDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a ClusterPrincipalAssignments. */
|
|
5
|
+
export interface ClusterPrincipalAssignments {
|
|
6
|
+
/**
|
|
7
|
+
* Lists all Kusto cluster principalAssignments.
|
|
8
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
9
|
+
* @param clusterName The name of the Kusto cluster.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
list(resourceGroupName: string, clusterName: string, options?: ClusterPrincipalAssignmentsListOptionalParams): PagedAsyncIterableIterator<ClusterPrincipalAssignment>;
|
|
13
|
+
/**
|
|
14
|
+
* Checks that the principal assignment name is valid and is not already in use.
|
|
15
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
16
|
+
* @param clusterName The name of the Kusto cluster.
|
|
17
|
+
* @param principalAssignmentName The name of the principal assignment.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
checkNameAvailability(resourceGroupName: string, clusterName: string, principalAssignmentName: ClusterPrincipalAssignmentCheckNameRequest, options?: ClusterPrincipalAssignmentsCheckNameAvailabilityOptionalParams): Promise<ClusterPrincipalAssignmentsCheckNameAvailabilityResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Gets a Kusto cluster principalAssignment.
|
|
23
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
24
|
+
* @param clusterName The name of the Kusto cluster.
|
|
25
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
get(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsGetOptionalParams): Promise<ClusterPrincipalAssignmentsGetResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a Kusto cluster principalAssignment.
|
|
31
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
32
|
+
* @param clusterName The name of the Kusto cluster.
|
|
33
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
34
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: ClusterPrincipalAssignment, options?: ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClusterPrincipalAssignmentsCreateOrUpdateResponse>, ClusterPrincipalAssignmentsCreateOrUpdateResponse>>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Kusto cluster principalAssignment.
|
|
40
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
41
|
+
* @param clusterName The name of the Kusto cluster.
|
|
42
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
43
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: ClusterPrincipalAssignment, options?: ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<ClusterPrincipalAssignmentsCreateOrUpdateResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
49
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
50
|
+
* @param clusterName The name of the Kusto cluster.
|
|
51
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginDelete(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
57
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
58
|
+
* @param clusterName The name of the Kusto cluster.
|
|
59
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsDeleteOptionalParams): Promise<void>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=clusterPrincipalAssignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterPrincipalAssignments.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusterPrincipalAssignments.ts"],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AAM,EAC/B,UAAU,EAAE,0BAA0B,EACtC,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -5,11 +5,5 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
discriminators,
|
|
11
|
-
CloudError,
|
|
12
|
-
Operation,
|
|
13
|
-
OperationDisplay,
|
|
14
|
-
OperationListResult
|
|
15
|
-
} from "../models/mappers";
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=clusterPrincipalAssignments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterPrincipalAssignments.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusterPrincipalAssignments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|