@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,332 @@
|
|
|
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 ClusterPrincipalAssignments operations. */
|
|
16
|
+
export class ClusterPrincipalAssignmentsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class ClusterPrincipalAssignments class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lists all Kusto cluster principalAssignments.
|
|
26
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
27
|
+
* @param clusterName The name of the Kusto cluster.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(resourceGroupName, clusterName, options) {
|
|
31
|
+
const iter = this.listPagingAll(resourceGroupName, clusterName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listPagingPage(resourceGroupName, clusterName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(resourceGroupName, clusterName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._list(resourceGroupName, clusterName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
listPagingAll(resourceGroupName, clusterName, options) {
|
|
51
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
52
|
+
var e_1, _a;
|
|
53
|
+
try {
|
|
54
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, clusterName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
55
|
+
const page = _c.value;
|
|
56
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
60
|
+
finally {
|
|
61
|
+
try {
|
|
62
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
63
|
+
}
|
|
64
|
+
finally { if (e_1) throw e_1.error; }
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Checks that the principal assignment name is valid and is not already in use.
|
|
70
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
71
|
+
* @param clusterName The name of the Kusto cluster.
|
|
72
|
+
* @param principalAssignmentName The name of the principal assignment.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
checkNameAvailability(resourceGroupName, clusterName, principalAssignmentName, options) {
|
|
76
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, principalAssignmentName, options }, checkNameAvailabilityOperationSpec);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Gets a Kusto cluster principalAssignment.
|
|
80
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
81
|
+
* @param clusterName The name of the Kusto cluster.
|
|
82
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
get(resourceGroupName, clusterName, principalAssignmentName, options) {
|
|
86
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, principalAssignmentName, options }, getOperationSpec);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Create a Kusto cluster principalAssignment.
|
|
90
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
91
|
+
* @param clusterName The name of the Kusto cluster.
|
|
92
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
93
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
beginCreateOrUpdate(resourceGroupName, clusterName, principalAssignmentName, parameters, options) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
return this.client.sendOperationRequest(args, spec);
|
|
100
|
+
});
|
|
101
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
var _a;
|
|
103
|
+
let currentRawResponse = undefined;
|
|
104
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
105
|
+
const callback = (rawResponse, flatResponse) => {
|
|
106
|
+
currentRawResponse = rawResponse;
|
|
107
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
108
|
+
};
|
|
109
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
110
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
111
|
+
return {
|
|
112
|
+
flatResponse,
|
|
113
|
+
rawResponse: {
|
|
114
|
+
statusCode: currentRawResponse.status,
|
|
115
|
+
body: currentRawResponse.parsedBody,
|
|
116
|
+
headers: currentRawResponse.headers.toJSON()
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
});
|
|
120
|
+
const lro = new LroImpl(sendOperation, {
|
|
121
|
+
resourceGroupName,
|
|
122
|
+
clusterName,
|
|
123
|
+
principalAssignmentName,
|
|
124
|
+
parameters,
|
|
125
|
+
options
|
|
126
|
+
}, createOrUpdateOperationSpec);
|
|
127
|
+
return new LroEngine(lro, {
|
|
128
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
129
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Create a Kusto cluster principalAssignment.
|
|
135
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
136
|
+
* @param clusterName The name of the Kusto cluster.
|
|
137
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
138
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
beginCreateOrUpdateAndWait(resourceGroupName, clusterName, principalAssignmentName, parameters, options) {
|
|
142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, clusterName, principalAssignmentName, parameters, options);
|
|
144
|
+
return poller.pollUntilDone();
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
149
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
150
|
+
* @param clusterName The name of the Kusto cluster.
|
|
151
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
beginDelete(resourceGroupName, clusterName, principalAssignmentName, options) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
return this.client.sendOperationRequest(args, spec);
|
|
158
|
+
});
|
|
159
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
var _a;
|
|
161
|
+
let currentRawResponse = undefined;
|
|
162
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
163
|
+
const callback = (rawResponse, flatResponse) => {
|
|
164
|
+
currentRawResponse = rawResponse;
|
|
165
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
166
|
+
};
|
|
167
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
168
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
169
|
+
return {
|
|
170
|
+
flatResponse,
|
|
171
|
+
rawResponse: {
|
|
172
|
+
statusCode: currentRawResponse.status,
|
|
173
|
+
body: currentRawResponse.parsedBody,
|
|
174
|
+
headers: currentRawResponse.headers.toJSON()
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
});
|
|
178
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, principalAssignmentName, options }, deleteOperationSpec);
|
|
179
|
+
return new LroEngine(lro, {
|
|
180
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
181
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
187
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
188
|
+
* @param clusterName The name of the Kusto cluster.
|
|
189
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
190
|
+
* @param options The options parameters.
|
|
191
|
+
*/
|
|
192
|
+
beginDeleteAndWait(resourceGroupName, clusterName, principalAssignmentName, options) {
|
|
193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, principalAssignmentName, options);
|
|
195
|
+
return poller.pollUntilDone();
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Lists all Kusto cluster principalAssignments.
|
|
200
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
201
|
+
* @param clusterName The name of the Kusto cluster.
|
|
202
|
+
* @param options The options parameters.
|
|
203
|
+
*/
|
|
204
|
+
_list(resourceGroupName, clusterName, options) {
|
|
205
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
// Operation Specifications
|
|
209
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
210
|
+
const checkNameAvailabilityOperationSpec = {
|
|
211
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkPrincipalAssignmentNameAvailability",
|
|
212
|
+
httpMethod: "POST",
|
|
213
|
+
responses: {
|
|
214
|
+
200: {
|
|
215
|
+
bodyMapper: Mappers.CheckNameResult
|
|
216
|
+
},
|
|
217
|
+
default: {
|
|
218
|
+
bodyMapper: Mappers.CloudError
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
requestBody: Parameters.principalAssignmentName,
|
|
222
|
+
queryParameters: [Parameters.apiVersion],
|
|
223
|
+
urlParameters: [
|
|
224
|
+
Parameters.$host,
|
|
225
|
+
Parameters.resourceGroupName,
|
|
226
|
+
Parameters.clusterName,
|
|
227
|
+
Parameters.subscriptionId
|
|
228
|
+
],
|
|
229
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
230
|
+
mediaType: "json",
|
|
231
|
+
serializer
|
|
232
|
+
};
|
|
233
|
+
const getOperationSpec = {
|
|
234
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
|
|
235
|
+
httpMethod: "GET",
|
|
236
|
+
responses: {
|
|
237
|
+
200: {
|
|
238
|
+
bodyMapper: Mappers.ClusterPrincipalAssignment
|
|
239
|
+
},
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.CloudError
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
queryParameters: [Parameters.apiVersion],
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.resourceGroupName,
|
|
248
|
+
Parameters.clusterName,
|
|
249
|
+
Parameters.subscriptionId,
|
|
250
|
+
Parameters.principalAssignmentName1
|
|
251
|
+
],
|
|
252
|
+
headerParameters: [Parameters.accept],
|
|
253
|
+
serializer
|
|
254
|
+
};
|
|
255
|
+
const createOrUpdateOperationSpec = {
|
|
256
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
|
|
257
|
+
httpMethod: "PUT",
|
|
258
|
+
responses: {
|
|
259
|
+
200: {
|
|
260
|
+
bodyMapper: Mappers.ClusterPrincipalAssignment
|
|
261
|
+
},
|
|
262
|
+
201: {
|
|
263
|
+
bodyMapper: Mappers.ClusterPrincipalAssignment
|
|
264
|
+
},
|
|
265
|
+
202: {
|
|
266
|
+
bodyMapper: Mappers.ClusterPrincipalAssignment
|
|
267
|
+
},
|
|
268
|
+
204: {
|
|
269
|
+
bodyMapper: Mappers.ClusterPrincipalAssignment
|
|
270
|
+
},
|
|
271
|
+
default: {
|
|
272
|
+
bodyMapper: Mappers.CloudError
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
requestBody: Parameters.parameters2,
|
|
276
|
+
queryParameters: [Parameters.apiVersion],
|
|
277
|
+
urlParameters: [
|
|
278
|
+
Parameters.$host,
|
|
279
|
+
Parameters.resourceGroupName,
|
|
280
|
+
Parameters.clusterName,
|
|
281
|
+
Parameters.subscriptionId,
|
|
282
|
+
Parameters.principalAssignmentName1
|
|
283
|
+
],
|
|
284
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
285
|
+
mediaType: "json",
|
|
286
|
+
serializer
|
|
287
|
+
};
|
|
288
|
+
const deleteOperationSpec = {
|
|
289
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
|
|
290
|
+
httpMethod: "DELETE",
|
|
291
|
+
responses: {
|
|
292
|
+
200: {},
|
|
293
|
+
201: {},
|
|
294
|
+
202: {},
|
|
295
|
+
204: {},
|
|
296
|
+
default: {
|
|
297
|
+
bodyMapper: Mappers.CloudError
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
queryParameters: [Parameters.apiVersion],
|
|
301
|
+
urlParameters: [
|
|
302
|
+
Parameters.$host,
|
|
303
|
+
Parameters.resourceGroupName,
|
|
304
|
+
Parameters.clusterName,
|
|
305
|
+
Parameters.subscriptionId,
|
|
306
|
+
Parameters.principalAssignmentName1
|
|
307
|
+
],
|
|
308
|
+
headerParameters: [Parameters.accept],
|
|
309
|
+
serializer
|
|
310
|
+
};
|
|
311
|
+
const listOperationSpec = {
|
|
312
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments",
|
|
313
|
+
httpMethod: "GET",
|
|
314
|
+
responses: {
|
|
315
|
+
200: {
|
|
316
|
+
bodyMapper: Mappers.ClusterPrincipalAssignmentListResult
|
|
317
|
+
},
|
|
318
|
+
default: {
|
|
319
|
+
bodyMapper: Mappers.CloudError
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
queryParameters: [Parameters.apiVersion],
|
|
323
|
+
urlParameters: [
|
|
324
|
+
Parameters.$host,
|
|
325
|
+
Parameters.resourceGroupName,
|
|
326
|
+
Parameters.clusterName,
|
|
327
|
+
Parameters.subscriptionId
|
|
328
|
+
],
|
|
329
|
+
headerParameters: [Parameters.accept],
|
|
330
|
+
serializer
|
|
331
|
+
};
|
|
332
|
+
//# sourceMappingURL=clusterPrincipalAssignments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterPrincipalAssignments.js","sourceRoot":"","sources":["../../../src/operations/clusterPrincipalAssignments.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,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAerC,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;YACtE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EAC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rC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Clusters } from "../operationsInterfaces";
|
|
3
|
+
import { KustoManagementClient } from "../kustoManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { FollowerDatabaseDefinition, ClustersListFollowerDatabasesOptionalParams, Cluster, ClustersListByResourceGroupOptionalParams, ClustersListOptionalParams, SkuDescription, ClustersListSkusOptionalParams, AzureResourceSku, ClustersListSkusByResourceOptionalParams, OutboundNetworkDependenciesEndpoint, ClustersListOutboundNetworkDependenciesEndpointsOptionalParams, LanguageExtension, ClustersListLanguageExtensionsOptionalParams, ClustersGetOptionalParams, ClustersGetResponse, ClustersCreateOrUpdateOptionalParams, ClustersCreateOrUpdateResponse, ClusterUpdate, ClustersUpdateOptionalParams, ClustersUpdateResponse, ClustersDeleteOptionalParams, ClustersStopOptionalParams, ClustersStartOptionalParams, ClustersDetachFollowerDatabasesOptionalParams, ClustersDiagnoseVirtualNetworkOptionalParams, ClustersDiagnoseVirtualNetworkResponse, ClusterCheckNameRequest, ClustersCheckNameAvailabilityOptionalParams, ClustersCheckNameAvailabilityResponse, LanguageExtensionsList, ClustersAddLanguageExtensionsOptionalParams, ClustersRemoveLanguageExtensionsOptionalParams } from "../models";
|
|
6
|
+
/** Class containing Clusters operations. */
|
|
7
|
+
export declare class ClustersImpl implements Clusters {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Clusters class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: KustoManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Returns a list of databases that are owned by this cluster and were followed by another cluster.
|
|
16
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
17
|
+
* @param clusterName The name of the Kusto cluster.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listFollowerDatabases(resourceGroupName: string, clusterName: string, options?: ClustersListFollowerDatabasesOptionalParams): PagedAsyncIterableIterator<FollowerDatabaseDefinition>;
|
|
21
|
+
private listFollowerDatabasesPagingPage;
|
|
22
|
+
private listFollowerDatabasesPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Lists all Kusto clusters within a resource group.
|
|
25
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
29
|
+
private listByResourceGroupPagingPage;
|
|
30
|
+
private listByResourceGroupPagingAll;
|
|
31
|
+
/**
|
|
32
|
+
* Lists all Kusto clusters within a subscription.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
36
|
+
private listPagingPage;
|
|
37
|
+
private listPagingAll;
|
|
38
|
+
/**
|
|
39
|
+
* Lists eligible SKUs for Kusto resource provider.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
listSkus(options?: ClustersListSkusOptionalParams): PagedAsyncIterableIterator<SkuDescription>;
|
|
43
|
+
private listSkusPagingPage;
|
|
44
|
+
private listSkusPagingAll;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the SKUs available for the provided resource.
|
|
47
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
48
|
+
* @param clusterName The name of the Kusto cluster.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
listSkusByResource(resourceGroupName: string, clusterName: string, options?: ClustersListSkusByResourceOptionalParams): PagedAsyncIterableIterator<AzureResourceSku>;
|
|
52
|
+
private listSkusByResourcePagingPage;
|
|
53
|
+
private listSkusByResourcePagingAll;
|
|
54
|
+
/**
|
|
55
|
+
* Gets the network endpoints of all outbound dependencies of a Kusto cluster
|
|
56
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
57
|
+
* @param clusterName The name of the Kusto cluster.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, clusterName: string, options?: ClustersListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundNetworkDependenciesEndpoint>;
|
|
61
|
+
private listOutboundNetworkDependenciesEndpointsPagingPage;
|
|
62
|
+
private listOutboundNetworkDependenciesEndpointsPagingAll;
|
|
63
|
+
/**
|
|
64
|
+
* Returns a list of language extensions that can run within KQL queries.
|
|
65
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
66
|
+
* @param clusterName The name of the Kusto cluster.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
listLanguageExtensions(resourceGroupName: string, clusterName: string, options?: ClustersListLanguageExtensionsOptionalParams): PagedAsyncIterableIterator<LanguageExtension>;
|
|
70
|
+
private listLanguageExtensionsPagingPage;
|
|
71
|
+
private listLanguageExtensionsPagingAll;
|
|
72
|
+
/**
|
|
73
|
+
* Gets a Kusto cluster.
|
|
74
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
75
|
+
* @param clusterName The name of the Kusto cluster.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Create or update a Kusto cluster.
|
|
81
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
82
|
+
* @param clusterName The name of the Kusto cluster.
|
|
83
|
+
* @param parameters The Kusto cluster parameters supplied to the CreateOrUpdate operation.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateOrUpdateResponse>, ClustersCreateOrUpdateResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Create or update a Kusto cluster.
|
|
89
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
90
|
+
* @param clusterName The name of the Kusto cluster.
|
|
91
|
+
* @param parameters The Kusto cluster parameters supplied to the CreateOrUpdate operation.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<ClustersCreateOrUpdateResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Update a Kusto cluster.
|
|
97
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
98
|
+
* @param clusterName The name of the Kusto cluster.
|
|
99
|
+
* @param parameters The Kusto cluster parameters supplied to the Update operation.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: ClustersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersUpdateResponse>, ClustersUpdateResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
* Update a Kusto cluster.
|
|
105
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
106
|
+
* @param clusterName The name of the Kusto cluster.
|
|
107
|
+
* @param parameters The Kusto cluster parameters supplied to the Update operation.
|
|
108
|
+
* @param options The options parameters.
|
|
109
|
+
*/
|
|
110
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Deletes a Kusto cluster.
|
|
113
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
114
|
+
* @param clusterName The name of the Kusto cluster.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes a Kusto cluster.
|
|
120
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
121
|
+
* @param clusterName The name of the Kusto cluster.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Stops a Kusto cluster.
|
|
127
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
128
|
+
* @param clusterName The name of the Kusto cluster.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
beginStop(resourceGroupName: string, clusterName: string, options?: ClustersStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
132
|
+
/**
|
|
133
|
+
* Stops a Kusto cluster.
|
|
134
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
135
|
+
* @param clusterName The name of the Kusto cluster.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
beginStopAndWait(resourceGroupName: string, clusterName: string, options?: ClustersStopOptionalParams): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Starts a Kusto cluster.
|
|
141
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
142
|
+
* @param clusterName The name of the Kusto cluster.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
beginStart(resourceGroupName: string, clusterName: string, options?: ClustersStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
146
|
+
/**
|
|
147
|
+
* Starts a Kusto cluster.
|
|
148
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
149
|
+
* @param clusterName The name of the Kusto cluster.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
beginStartAndWait(resourceGroupName: string, clusterName: string, options?: ClustersStartOptionalParams): Promise<void>;
|
|
153
|
+
/**
|
|
154
|
+
* Returns a list of databases that are owned by this cluster and were followed by another cluster.
|
|
155
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
156
|
+
* @param clusterName The name of the Kusto cluster.
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
private _listFollowerDatabases;
|
|
160
|
+
/**
|
|
161
|
+
* Detaches all followers of a database owned by this cluster.
|
|
162
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
163
|
+
* @param clusterName The name of the Kusto cluster.
|
|
164
|
+
* @param followerDatabaseToRemove The follower databases properties to remove.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
beginDetachFollowerDatabases(resourceGroupName: string, clusterName: string, followerDatabaseToRemove: FollowerDatabaseDefinition, options?: ClustersDetachFollowerDatabasesOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
168
|
+
/**
|
|
169
|
+
* Detaches all followers of a database owned by this cluster.
|
|
170
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
171
|
+
* @param clusterName The name of the Kusto cluster.
|
|
172
|
+
* @param followerDatabaseToRemove The follower databases properties to remove.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
beginDetachFollowerDatabasesAndWait(resourceGroupName: string, clusterName: string, followerDatabaseToRemove: FollowerDatabaseDefinition, options?: ClustersDetachFollowerDatabasesOptionalParams): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
* Diagnoses network connectivity status for external resources on which the service is dependent on.
|
|
178
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
179
|
+
* @param clusterName The name of the Kusto cluster.
|
|
180
|
+
* @param options The options parameters.
|
|
181
|
+
*/
|
|
182
|
+
beginDiagnoseVirtualNetwork(resourceGroupName: string, clusterName: string, options?: ClustersDiagnoseVirtualNetworkOptionalParams): Promise<PollerLike<PollOperationState<ClustersDiagnoseVirtualNetworkResponse>, ClustersDiagnoseVirtualNetworkResponse>>;
|
|
183
|
+
/**
|
|
184
|
+
* Diagnoses network connectivity status for external resources on which the service is dependent on.
|
|
185
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
186
|
+
* @param clusterName The name of the Kusto cluster.
|
|
187
|
+
* @param options The options parameters.
|
|
188
|
+
*/
|
|
189
|
+
beginDiagnoseVirtualNetworkAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDiagnoseVirtualNetworkOptionalParams): Promise<ClustersDiagnoseVirtualNetworkResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* Lists all Kusto clusters within a resource group.
|
|
192
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
193
|
+
* @param options The options parameters.
|
|
194
|
+
*/
|
|
195
|
+
private _listByResourceGroup;
|
|
196
|
+
/**
|
|
197
|
+
* Lists all Kusto clusters within a subscription.
|
|
198
|
+
* @param options The options parameters.
|
|
199
|
+
*/
|
|
200
|
+
private _list;
|
|
201
|
+
/**
|
|
202
|
+
* Lists eligible SKUs for Kusto resource provider.
|
|
203
|
+
* @param options The options parameters.
|
|
204
|
+
*/
|
|
205
|
+
private _listSkus;
|
|
206
|
+
/**
|
|
207
|
+
* Checks that the cluster name is valid and is not already in use.
|
|
208
|
+
* @param location Azure location (region) name.
|
|
209
|
+
* @param clusterName The name of the cluster.
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
checkNameAvailability(location: string, clusterName: ClusterCheckNameRequest, options?: ClustersCheckNameAvailabilityOptionalParams): Promise<ClustersCheckNameAvailabilityResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* Returns the SKUs available for the provided resource.
|
|
215
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
216
|
+
* @param clusterName The name of the Kusto cluster.
|
|
217
|
+
* @param options The options parameters.
|
|
218
|
+
*/
|
|
219
|
+
private _listSkusByResource;
|
|
220
|
+
/**
|
|
221
|
+
* Gets the network endpoints of all outbound dependencies of a Kusto cluster
|
|
222
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
223
|
+
* @param clusterName The name of the Kusto cluster.
|
|
224
|
+
* @param options The options parameters.
|
|
225
|
+
*/
|
|
226
|
+
private _listOutboundNetworkDependenciesEndpoints;
|
|
227
|
+
/**
|
|
228
|
+
* Returns a list of language extensions that can run within KQL queries.
|
|
229
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
230
|
+
* @param clusterName The name of the Kusto cluster.
|
|
231
|
+
* @param options The options parameters.
|
|
232
|
+
*/
|
|
233
|
+
private _listLanguageExtensions;
|
|
234
|
+
/**
|
|
235
|
+
* Add a list of language extensions that can run within KQL queries.
|
|
236
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
237
|
+
* @param clusterName The name of the Kusto cluster.
|
|
238
|
+
* @param languageExtensionsToAdd The language extensions to add.
|
|
239
|
+
* @param options The options parameters.
|
|
240
|
+
*/
|
|
241
|
+
beginAddLanguageExtensions(resourceGroupName: string, clusterName: string, languageExtensionsToAdd: LanguageExtensionsList, options?: ClustersAddLanguageExtensionsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
242
|
+
/**
|
|
243
|
+
* Add a list of language extensions that can run within KQL queries.
|
|
244
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
245
|
+
* @param clusterName The name of the Kusto cluster.
|
|
246
|
+
* @param languageExtensionsToAdd The language extensions to add.
|
|
247
|
+
* @param options The options parameters.
|
|
248
|
+
*/
|
|
249
|
+
beginAddLanguageExtensionsAndWait(resourceGroupName: string, clusterName: string, languageExtensionsToAdd: LanguageExtensionsList, options?: ClustersAddLanguageExtensionsOptionalParams): Promise<void>;
|
|
250
|
+
/**
|
|
251
|
+
* Remove a list of language extensions that can run within KQL queries.
|
|
252
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
253
|
+
* @param clusterName The name of the Kusto cluster.
|
|
254
|
+
* @param languageExtensionsToRemove The language extensions to remove.
|
|
255
|
+
* @param options The options parameters.
|
|
256
|
+
*/
|
|
257
|
+
beginRemoveLanguageExtensions(resourceGroupName: string, clusterName: string, languageExtensionsToRemove: LanguageExtensionsList, options?: ClustersRemoveLanguageExtensionsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
258
|
+
/**
|
|
259
|
+
* Remove a list of language extensions that can run within KQL queries.
|
|
260
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
261
|
+
* @param clusterName The name of the Kusto cluster.
|
|
262
|
+
* @param languageExtensionsToRemove The language extensions to remove.
|
|
263
|
+
* @param options The options parameters.
|
|
264
|
+
*/
|
|
265
|
+
beginRemoveLanguageExtensionsAndWait(resourceGroupName: string, clusterName: string, languageExtensionsToRemove: LanguageExtensionsList, options?: ClustersRemoveLanguageExtensionsOptionalParams): Promise<void>;
|
|
266
|
+
/**
|
|
267
|
+
* ListOutboundNetworkDependenciesEndpointsNext
|
|
268
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
269
|
+
* @param clusterName The name of the Kusto cluster.
|
|
270
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
271
|
+
* ListOutboundNetworkDependenciesEndpoints method.
|
|
272
|
+
* @param options The options parameters.
|
|
273
|
+
*/
|
|
274
|
+
private _listOutboundNetworkDependenciesEndpointsNext;
|
|
275
|
+
}
|
|
276
|
+
//# sourceMappingURL=clusters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../../src/operations/clusters.ts"],"names":[],"mappings":"AAQA,OAAO,E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