@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,342 @@
|
|
|
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 AttachedDatabaseConfigurations operations. */
|
|
16
|
+
export class AttachedDatabaseConfigurationsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class AttachedDatabaseConfigurations class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns the list of attached database configurations of the given Kusto cluster.
|
|
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
|
+
listByCluster(resourceGroupName, clusterName, options) {
|
|
31
|
+
const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listByClusterPagingPage(resourceGroupName, clusterName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listByClusterPagingPage(resourceGroupName, clusterName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listByClusterPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listByCluster(resourceGroupName, clusterName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
listByClusterPagingAll(resourceGroupName, clusterName, options) {
|
|
51
|
+
return __asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
|
|
52
|
+
var e_1, _a;
|
|
53
|
+
try {
|
|
54
|
+
for (var _b = __asyncValues(this.listByClusterPagingPage(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 attached database configuration resource 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 resourceName The name of the resource.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
checkNameAvailability(resourceGroupName, clusterName, resourceName, options) {
|
|
76
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, resourceName, options }, checkNameAvailabilityOperationSpec);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns the list of attached database configurations of the given Kusto cluster.
|
|
80
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
81
|
+
* @param clusterName The name of the Kusto cluster.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
_listByCluster(resourceGroupName, clusterName, options) {
|
|
85
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Returns an attached database configuration.
|
|
89
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
90
|
+
* @param clusterName The name of the Kusto cluster.
|
|
91
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
get(resourceGroupName, clusterName, attachedDatabaseConfigurationName, options) {
|
|
95
|
+
return this.client.sendOperationRequest({
|
|
96
|
+
resourceGroupName,
|
|
97
|
+
clusterName,
|
|
98
|
+
attachedDatabaseConfigurationName,
|
|
99
|
+
options
|
|
100
|
+
}, getOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates or updates an attached database configuration.
|
|
104
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
105
|
+
* @param clusterName The name of the Kusto cluster.
|
|
106
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
107
|
+
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
108
|
+
* @param options The options parameters.
|
|
109
|
+
*/
|
|
110
|
+
beginCreateOrUpdate(resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
return this.client.sendOperationRequest(args, spec);
|
|
114
|
+
});
|
|
115
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
var _a;
|
|
117
|
+
let currentRawResponse = undefined;
|
|
118
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
119
|
+
const callback = (rawResponse, flatResponse) => {
|
|
120
|
+
currentRawResponse = rawResponse;
|
|
121
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
122
|
+
};
|
|
123
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
124
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
125
|
+
return {
|
|
126
|
+
flatResponse,
|
|
127
|
+
rawResponse: {
|
|
128
|
+
statusCode: currentRawResponse.status,
|
|
129
|
+
body: currentRawResponse.parsedBody,
|
|
130
|
+
headers: currentRawResponse.headers.toJSON()
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
const lro = new LroImpl(sendOperation, {
|
|
135
|
+
resourceGroupName,
|
|
136
|
+
clusterName,
|
|
137
|
+
attachedDatabaseConfigurationName,
|
|
138
|
+
parameters,
|
|
139
|
+
options
|
|
140
|
+
}, createOrUpdateOperationSpec);
|
|
141
|
+
return new LroEngine(lro, {
|
|
142
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
143
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Creates or updates an attached database configuration.
|
|
149
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
150
|
+
* @param clusterName The name of the Kusto cluster.
|
|
151
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
152
|
+
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
beginCreateOrUpdateAndWait(resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options);
|
|
158
|
+
return poller.pollUntilDone();
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Deletes the attached database configuration with the given name.
|
|
163
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
164
|
+
* @param clusterName The name of the Kusto cluster.
|
|
165
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
166
|
+
* @param options The options parameters.
|
|
167
|
+
*/
|
|
168
|
+
beginDelete(resourceGroupName, clusterName, attachedDatabaseConfigurationName, options) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
return this.client.sendOperationRequest(args, spec);
|
|
172
|
+
});
|
|
173
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
var _a;
|
|
175
|
+
let currentRawResponse = undefined;
|
|
176
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
177
|
+
const callback = (rawResponse, flatResponse) => {
|
|
178
|
+
currentRawResponse = rawResponse;
|
|
179
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
180
|
+
};
|
|
181
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
182
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
183
|
+
return {
|
|
184
|
+
flatResponse,
|
|
185
|
+
rawResponse: {
|
|
186
|
+
statusCode: currentRawResponse.status,
|
|
187
|
+
body: currentRawResponse.parsedBody,
|
|
188
|
+
headers: currentRawResponse.headers.toJSON()
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
});
|
|
192
|
+
const lro = new LroImpl(sendOperation, {
|
|
193
|
+
resourceGroupName,
|
|
194
|
+
clusterName,
|
|
195
|
+
attachedDatabaseConfigurationName,
|
|
196
|
+
options
|
|
197
|
+
}, deleteOperationSpec);
|
|
198
|
+
return new LroEngine(lro, {
|
|
199
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
200
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Deletes the attached database configuration with the given name.
|
|
206
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
207
|
+
* @param clusterName The name of the Kusto cluster.
|
|
208
|
+
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
209
|
+
* @param options The options parameters.
|
|
210
|
+
*/
|
|
211
|
+
beginDeleteAndWait(resourceGroupName, clusterName, attachedDatabaseConfigurationName, options) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, attachedDatabaseConfigurationName, options);
|
|
214
|
+
return poller.pollUntilDone();
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
// Operation Specifications
|
|
219
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
220
|
+
const checkNameAvailabilityOperationSpec = {
|
|
221
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurationCheckNameAvailability",
|
|
222
|
+
httpMethod: "POST",
|
|
223
|
+
responses: {
|
|
224
|
+
200: {
|
|
225
|
+
bodyMapper: Mappers.CheckNameResult
|
|
226
|
+
},
|
|
227
|
+
default: {
|
|
228
|
+
bodyMapper: Mappers.CloudError
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
requestBody: Parameters.resourceName1,
|
|
232
|
+
queryParameters: [Parameters.apiVersion],
|
|
233
|
+
urlParameters: [
|
|
234
|
+
Parameters.$host,
|
|
235
|
+
Parameters.resourceGroupName,
|
|
236
|
+
Parameters.clusterName,
|
|
237
|
+
Parameters.subscriptionId
|
|
238
|
+
],
|
|
239
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
240
|
+
mediaType: "json",
|
|
241
|
+
serializer
|
|
242
|
+
};
|
|
243
|
+
const listByClusterOperationSpec = {
|
|
244
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations",
|
|
245
|
+
httpMethod: "GET",
|
|
246
|
+
responses: {
|
|
247
|
+
200: {
|
|
248
|
+
bodyMapper: Mappers.AttachedDatabaseConfigurationListResult
|
|
249
|
+
},
|
|
250
|
+
default: {
|
|
251
|
+
bodyMapper: Mappers.CloudError
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
queryParameters: [Parameters.apiVersion],
|
|
255
|
+
urlParameters: [
|
|
256
|
+
Parameters.$host,
|
|
257
|
+
Parameters.resourceGroupName,
|
|
258
|
+
Parameters.clusterName,
|
|
259
|
+
Parameters.subscriptionId
|
|
260
|
+
],
|
|
261
|
+
headerParameters: [Parameters.accept],
|
|
262
|
+
serializer
|
|
263
|
+
};
|
|
264
|
+
const getOperationSpec = {
|
|
265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
266
|
+
httpMethod: "GET",
|
|
267
|
+
responses: {
|
|
268
|
+
200: {
|
|
269
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
270
|
+
},
|
|
271
|
+
default: {
|
|
272
|
+
bodyMapper: Mappers.CloudError
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
queryParameters: [Parameters.apiVersion],
|
|
276
|
+
urlParameters: [
|
|
277
|
+
Parameters.$host,
|
|
278
|
+
Parameters.resourceGroupName,
|
|
279
|
+
Parameters.clusterName,
|
|
280
|
+
Parameters.subscriptionId,
|
|
281
|
+
Parameters.attachedDatabaseConfigurationName
|
|
282
|
+
],
|
|
283
|
+
headerParameters: [Parameters.accept],
|
|
284
|
+
serializer
|
|
285
|
+
};
|
|
286
|
+
const createOrUpdateOperationSpec = {
|
|
287
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
288
|
+
httpMethod: "PUT",
|
|
289
|
+
responses: {
|
|
290
|
+
200: {
|
|
291
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
292
|
+
},
|
|
293
|
+
201: {
|
|
294
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
295
|
+
},
|
|
296
|
+
202: {
|
|
297
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
298
|
+
},
|
|
299
|
+
204: {
|
|
300
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
301
|
+
},
|
|
302
|
+
default: {
|
|
303
|
+
bodyMapper: Mappers.CloudError
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
requestBody: Parameters.parameters4,
|
|
307
|
+
queryParameters: [Parameters.apiVersion],
|
|
308
|
+
urlParameters: [
|
|
309
|
+
Parameters.$host,
|
|
310
|
+
Parameters.resourceGroupName,
|
|
311
|
+
Parameters.clusterName,
|
|
312
|
+
Parameters.subscriptionId,
|
|
313
|
+
Parameters.attachedDatabaseConfigurationName
|
|
314
|
+
],
|
|
315
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
316
|
+
mediaType: "json",
|
|
317
|
+
serializer
|
|
318
|
+
};
|
|
319
|
+
const deleteOperationSpec = {
|
|
320
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
321
|
+
httpMethod: "DELETE",
|
|
322
|
+
responses: {
|
|
323
|
+
200: {},
|
|
324
|
+
201: {},
|
|
325
|
+
202: {},
|
|
326
|
+
204: {},
|
|
327
|
+
default: {
|
|
328
|
+
bodyMapper: Mappers.CloudError
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
queryParameters: [Parameters.apiVersion],
|
|
332
|
+
urlParameters: [
|
|
333
|
+
Parameters.$host,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.clusterName,
|
|
336
|
+
Parameters.subscriptionId,
|
|
337
|
+
Parameters.attachedDatabaseConfigurationName
|
|
338
|
+
],
|
|
339
|
+
headerParameters: [Parameters.accept],
|
|
340
|
+
serializer
|
|
341
|
+
};
|
|
342
|
+
//# sourceMappingURL=attachedDatabaseConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachedDatabaseConfigurations.js","sourceRoot":"","sources":["../../../src/operations/attachedDatabaseConfigurations.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,kEAAkE;AAClE,MAAM,OAAO,kCAAkC;IAI7C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAmE;QAEnE,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAA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;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,iCAAiC;KAC7C;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ClusterPrincipalAssignments } from "../operationsInterfaces";
|
|
3
|
+
import { KustoManagementClient } from "../kustoManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { ClusterPrincipalAssignment, ClusterPrincipalAssignmentsListOptionalParams, ClusterPrincipalAssignmentCheckNameRequest, ClusterPrincipalAssignmentsCheckNameAvailabilityOptionalParams, ClusterPrincipalAssignmentsCheckNameAvailabilityResponse, ClusterPrincipalAssignmentsGetOptionalParams, ClusterPrincipalAssignmentsGetResponse, ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams, ClusterPrincipalAssignmentsCreateOrUpdateResponse, ClusterPrincipalAssignmentsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing ClusterPrincipalAssignments operations. */
|
|
7
|
+
export declare class ClusterPrincipalAssignmentsImpl implements ClusterPrincipalAssignments {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class ClusterPrincipalAssignments class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: KustoManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists all Kusto cluster principalAssignments.
|
|
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
|
+
list(resourceGroupName: string, clusterName: string, options?: ClusterPrincipalAssignmentsListOptionalParams): PagedAsyncIterableIterator<ClusterPrincipalAssignment>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Checks that the principal assignment name is valid and is not already in use.
|
|
25
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
26
|
+
* @param clusterName The name of the Kusto cluster.
|
|
27
|
+
* @param principalAssignmentName The name of the principal assignment.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
checkNameAvailability(resourceGroupName: string, clusterName: string, principalAssignmentName: ClusterPrincipalAssignmentCheckNameRequest, options?: ClusterPrincipalAssignmentsCheckNameAvailabilityOptionalParams): Promise<ClusterPrincipalAssignmentsCheckNameAvailabilityResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets a Kusto cluster principalAssignment.
|
|
33
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
34
|
+
* @param clusterName The name of the Kusto cluster.
|
|
35
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsGetOptionalParams): Promise<ClusterPrincipalAssignmentsGetResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a Kusto cluster principalAssignment.
|
|
41
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
42
|
+
* @param clusterName The name of the Kusto cluster.
|
|
43
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
44
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: ClusterPrincipalAssignment, options?: ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClusterPrincipalAssignmentsCreateOrUpdateResponse>, ClusterPrincipalAssignmentsCreateOrUpdateResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a Kusto cluster principalAssignment.
|
|
50
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
51
|
+
* @param clusterName The name of the Kusto cluster.
|
|
52
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
53
|
+
* @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: ClusterPrincipalAssignment, options?: ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams): Promise<ClusterPrincipalAssignmentsCreateOrUpdateResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
59
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
60
|
+
* @param clusterName The name of the Kusto cluster.
|
|
61
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginDelete(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes a Kusto cluster principalAssignment.
|
|
67
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
68
|
+
* @param clusterName The name of the Kusto cluster.
|
|
69
|
+
* @param principalAssignmentName The name of the Kusto principalAssignment.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: ClusterPrincipalAssignmentsDeleteOptionalParams): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Lists all Kusto cluster principalAssignments.
|
|
75
|
+
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
76
|
+
* @param clusterName The name of the Kusto cluster.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _list;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=clusterPrincipalAssignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterPrincipalAssignments.d.ts","sourceRoot":"","sources":["../../../src/operations/clusterPrincipalAssignments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAItE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,0BAA0B,EAC1B,6CAA6C,EAC7C,0CAA0C,EAC1C,8DAA8D,EAC9D,wDAAwD,EACxD,4CAA4C,EAC5C,sCAAsC,EACtC,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAEhD,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,0BAA0B,CAAC;YAe1C,cAAc;YASd,aAAa;IAc5B;;;;;;OAMG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,WAA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