@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
|
@@ -3,26 +3,42 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { AttachedDatabaseConfigurations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { KustoManagementClient } from "../kustoManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
AttachedDatabaseConfiguration,
|
|
19
|
+
AttachedDatabaseConfigurationsListByClusterOptionalParams,
|
|
20
|
+
AttachedDatabaseConfigurationsCheckNameRequest,
|
|
21
|
+
AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams,
|
|
22
|
+
AttachedDatabaseConfigurationsCheckNameAvailabilityResponse,
|
|
23
|
+
AttachedDatabaseConfigurationsListByClusterResponse,
|
|
24
|
+
AttachedDatabaseConfigurationsGetOptionalParams,
|
|
25
|
+
AttachedDatabaseConfigurationsGetResponse,
|
|
26
|
+
AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams,
|
|
27
|
+
AttachedDatabaseConfigurationsCreateOrUpdateResponse,
|
|
28
|
+
AttachedDatabaseConfigurationsDeleteOptionalParams
|
|
29
|
+
} from "../models";
|
|
16
30
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
/// <reference lib="esnext.asynciterable" />
|
|
32
|
+
/** Class containing AttachedDatabaseConfigurations operations. */
|
|
33
|
+
export class AttachedDatabaseConfigurationsImpl
|
|
34
|
+
implements AttachedDatabaseConfigurations {
|
|
35
|
+
private readonly client: KustoManagementClient;
|
|
20
36
|
|
|
21
37
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
38
|
+
* Initialize a new instance of the class AttachedDatabaseConfigurations class.
|
|
39
|
+
* @param client Reference to the service client
|
|
24
40
|
*/
|
|
25
|
-
constructor(client:
|
|
41
|
+
constructor(client: KustoManagementClient) {
|
|
26
42
|
this.client = client;
|
|
27
43
|
}
|
|
28
44
|
|
|
@@ -30,104 +46,111 @@ export class AttachedDatabaseConfigurations {
|
|
|
30
46
|
* Returns the list of attached database configurations of the given Kusto cluster.
|
|
31
47
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
32
48
|
* @param clusterName The name of the Kusto cluster.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse>
|
|
49
|
+
* @param options The options parameters.
|
|
35
50
|
*/
|
|
36
|
-
listByCluster(
|
|
51
|
+
public listByCluster(
|
|
37
52
|
resourceGroupName: string,
|
|
38
53
|
clusterName: string,
|
|
39
|
-
options?:
|
|
40
|
-
):
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<AttachedDatabaseConfiguration> {
|
|
56
|
+
const iter = this.listByClusterPagingAll(
|
|
57
|
+
resourceGroupName,
|
|
58
|
+
clusterName,
|
|
59
|
+
options
|
|
60
|
+
);
|
|
61
|
+
return {
|
|
62
|
+
next() {
|
|
63
|
+
return iter.next();
|
|
64
|
+
},
|
|
65
|
+
[Symbol.asyncIterator]() {
|
|
66
|
+
return this;
|
|
67
|
+
},
|
|
68
|
+
byPage: () => {
|
|
69
|
+
return this.listByClusterPagingPage(
|
|
70
|
+
resourceGroupName,
|
|
71
|
+
clusterName,
|
|
72
|
+
options
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
private async *listByClusterPagingPage(
|
|
58
79
|
resourceGroupName: string,
|
|
59
80
|
clusterName: string,
|
|
60
|
-
options
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
81
|
+
options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
|
|
82
|
+
): AsyncIterableIterator<AttachedDatabaseConfiguration[]> {
|
|
83
|
+
let result = await this._listByCluster(
|
|
84
|
+
resourceGroupName,
|
|
85
|
+
clusterName,
|
|
86
|
+
options
|
|
87
|
+
);
|
|
88
|
+
yield result.value || [];
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private async *listByClusterPagingAll(
|
|
64
92
|
resourceGroupName: string,
|
|
65
93
|
clusterName: string,
|
|
66
|
-
options?:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
options
|
|
76
|
-
},
|
|
77
|
-
listByClusterOperationSpec,
|
|
78
|
-
callback
|
|
79
|
-
) as Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse>;
|
|
94
|
+
options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
|
|
95
|
+
): AsyncIterableIterator<AttachedDatabaseConfiguration> {
|
|
96
|
+
for await (const page of this.listByClusterPagingPage(
|
|
97
|
+
resourceGroupName,
|
|
98
|
+
clusterName,
|
|
99
|
+
options
|
|
100
|
+
)) {
|
|
101
|
+
yield* page;
|
|
102
|
+
}
|
|
80
103
|
}
|
|
81
104
|
|
|
82
105
|
/**
|
|
83
|
-
*
|
|
106
|
+
* Checks that the attached database configuration resource name is valid and is not already in use.
|
|
84
107
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
85
108
|
* @param clusterName The name of the Kusto cluster.
|
|
86
|
-
* @param
|
|
87
|
-
* @param
|
|
88
|
-
* @returns Promise<Models.AttachedDatabaseConfigurationsGetResponse>
|
|
109
|
+
* @param resourceName The name of the resource.
|
|
110
|
+
* @param options The options parameters.
|
|
89
111
|
*/
|
|
90
|
-
|
|
112
|
+
checkNameAvailability(
|
|
91
113
|
resourceGroupName: string,
|
|
92
114
|
clusterName: string,
|
|
93
|
-
|
|
94
|
-
options?:
|
|
95
|
-
): Promise<
|
|
115
|
+
resourceName: AttachedDatabaseConfigurationsCheckNameRequest,
|
|
116
|
+
options?: AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams
|
|
117
|
+
): Promise<AttachedDatabaseConfigurationsCheckNameAvailabilityResponse> {
|
|
118
|
+
return this.client.sendOperationRequest(
|
|
119
|
+
{ resourceGroupName, clusterName, resourceName, options },
|
|
120
|
+
checkNameAvailabilityOperationSpec
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
96
124
|
/**
|
|
125
|
+
* Returns the list of attached database configurations of the given Kusto cluster.
|
|
97
126
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
98
127
|
* @param clusterName The name of the Kusto cluster.
|
|
99
|
-
* @param
|
|
100
|
-
* @param callback The callback
|
|
128
|
+
* @param options The options parameters.
|
|
101
129
|
*/
|
|
102
|
-
|
|
130
|
+
private _listByCluster(
|
|
103
131
|
resourceGroupName: string,
|
|
104
132
|
clusterName: string,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
133
|
+
options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
|
|
134
|
+
): Promise<AttachedDatabaseConfigurationsListByClusterResponse> {
|
|
135
|
+
return this.client.sendOperationRequest(
|
|
136
|
+
{ resourceGroupName, clusterName, options },
|
|
137
|
+
listByClusterOperationSpec
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
108
141
|
/**
|
|
142
|
+
* Returns an attached database configuration.
|
|
109
143
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
110
144
|
* @param clusterName The name of the Kusto cluster.
|
|
111
145
|
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
112
|
-
* @param options The
|
|
113
|
-
* @param callback The callback
|
|
146
|
+
* @param options The options parameters.
|
|
114
147
|
*/
|
|
115
148
|
get(
|
|
116
149
|
resourceGroupName: string,
|
|
117
150
|
clusterName: string,
|
|
118
151
|
attachedDatabaseConfigurationName: string,
|
|
119
|
-
options
|
|
120
|
-
|
|
121
|
-
): void;
|
|
122
|
-
get(
|
|
123
|
-
resourceGroupName: string,
|
|
124
|
-
clusterName: string,
|
|
125
|
-
attachedDatabaseConfigurationName: string,
|
|
126
|
-
options?:
|
|
127
|
-
| msRest.RequestOptionsBase
|
|
128
|
-
| msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>,
|
|
129
|
-
callback?: msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>
|
|
130
|
-
): Promise<Models.AttachedDatabaseConfigurationsGetResponse> {
|
|
152
|
+
options?: AttachedDatabaseConfigurationsGetOptionalParams
|
|
153
|
+
): Promise<AttachedDatabaseConfigurationsGetResponse> {
|
|
131
154
|
return this.client.sendOperationRequest(
|
|
132
155
|
{
|
|
133
156
|
resourceGroupName,
|
|
@@ -135,9 +158,8 @@ export class AttachedDatabaseConfigurations {
|
|
|
135
158
|
attachedDatabaseConfigurationName,
|
|
136
159
|
options
|
|
137
160
|
},
|
|
138
|
-
getOperationSpec
|
|
139
|
-
|
|
140
|
-
) as Promise<Models.AttachedDatabaseConfigurationsGetResponse>;
|
|
161
|
+
getOperationSpec
|
|
162
|
+
);
|
|
141
163
|
}
|
|
142
164
|
|
|
143
165
|
/**
|
|
@@ -146,76 +168,167 @@ export class AttachedDatabaseConfigurations {
|
|
|
146
168
|
* @param clusterName The name of the Kusto cluster.
|
|
147
169
|
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
148
170
|
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
149
|
-
* @param
|
|
150
|
-
* @returns Promise<Models.AttachedDatabaseConfigurationsCreateOrUpdateResponse>
|
|
171
|
+
* @param options The options parameters.
|
|
151
172
|
*/
|
|
152
|
-
|
|
173
|
+
async beginCreateOrUpdate(
|
|
153
174
|
resourceGroupName: string,
|
|
154
175
|
clusterName: string,
|
|
155
176
|
attachedDatabaseConfigurationName: string,
|
|
156
|
-
parameters:
|
|
157
|
-
options?:
|
|
158
|
-
): Promise<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
177
|
+
parameters: AttachedDatabaseConfiguration,
|
|
178
|
+
options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams
|
|
179
|
+
): Promise<
|
|
180
|
+
PollerLike<
|
|
181
|
+
PollOperationState<AttachedDatabaseConfigurationsCreateOrUpdateResponse>,
|
|
182
|
+
AttachedDatabaseConfigurationsCreateOrUpdateResponse
|
|
183
|
+
>
|
|
184
|
+
> {
|
|
185
|
+
const directSendOperation = async (
|
|
186
|
+
args: coreClient.OperationArguments,
|
|
187
|
+
spec: coreClient.OperationSpec
|
|
188
|
+
): Promise<AttachedDatabaseConfigurationsCreateOrUpdateResponse> => {
|
|
189
|
+
return this.client.sendOperationRequest(args, spec);
|
|
190
|
+
};
|
|
191
|
+
const sendOperation = async (
|
|
192
|
+
args: coreClient.OperationArguments,
|
|
193
|
+
spec: coreClient.OperationSpec
|
|
194
|
+
) => {
|
|
195
|
+
let currentRawResponse:
|
|
196
|
+
| coreClient.FullOperationResponse
|
|
197
|
+
| undefined = undefined;
|
|
198
|
+
const providedCallback = args.options?.onResponse;
|
|
199
|
+
const callback: coreClient.RawResponseCallback = (
|
|
200
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
201
|
+
flatResponse: unknown
|
|
202
|
+
) => {
|
|
203
|
+
currentRawResponse = rawResponse;
|
|
204
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
205
|
+
};
|
|
206
|
+
const updatedArgs = {
|
|
207
|
+
...args,
|
|
208
|
+
options: {
|
|
209
|
+
...args.options,
|
|
210
|
+
onResponse: callback
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
214
|
+
return {
|
|
215
|
+
flatResponse,
|
|
216
|
+
rawResponse: {
|
|
217
|
+
statusCode: currentRawResponse!.status,
|
|
218
|
+
body: currentRawResponse!.parsedBody,
|
|
219
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
const lro = new LroImpl(
|
|
225
|
+
sendOperation,
|
|
226
|
+
{
|
|
227
|
+
resourceGroupName,
|
|
228
|
+
clusterName,
|
|
229
|
+
attachedDatabaseConfigurationName,
|
|
230
|
+
parameters,
|
|
231
|
+
options
|
|
232
|
+
},
|
|
233
|
+
createOrUpdateOperationSpec
|
|
234
|
+
);
|
|
235
|
+
return new LroEngine(lro, {
|
|
236
|
+
resumeFrom: options?.resumeFrom,
|
|
237
|
+
intervalInMs: options?.updateIntervalInMs
|
|
238
|
+
});
|
|
168
239
|
}
|
|
169
240
|
|
|
170
241
|
/**
|
|
171
|
-
*
|
|
242
|
+
* Creates or updates an attached database configuration.
|
|
172
243
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
173
244
|
* @param clusterName The name of the Kusto cluster.
|
|
174
245
|
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
175
|
-
* @param
|
|
176
|
-
* @
|
|
246
|
+
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
|
|
247
|
+
* @param options The options parameters.
|
|
177
248
|
*/
|
|
178
|
-
|
|
249
|
+
async beginCreateOrUpdateAndWait(
|
|
179
250
|
resourceGroupName: string,
|
|
180
251
|
clusterName: string,
|
|
181
252
|
attachedDatabaseConfigurationName: string,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
253
|
+
parameters: AttachedDatabaseConfiguration,
|
|
254
|
+
options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams
|
|
255
|
+
): Promise<AttachedDatabaseConfigurationsCreateOrUpdateResponse> {
|
|
256
|
+
const poller = await this.beginCreateOrUpdate(
|
|
185
257
|
resourceGroupName,
|
|
186
258
|
clusterName,
|
|
187
259
|
attachedDatabaseConfigurationName,
|
|
260
|
+
parameters,
|
|
188
261
|
options
|
|
189
|
-
)
|
|
262
|
+
);
|
|
263
|
+
return poller.pollUntilDone();
|
|
190
264
|
}
|
|
191
265
|
|
|
192
266
|
/**
|
|
193
|
-
*
|
|
267
|
+
* Deletes the attached database configuration with the given name.
|
|
194
268
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
195
269
|
* @param clusterName The name of the Kusto cluster.
|
|
196
270
|
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
197
|
-
* @param
|
|
198
|
-
* @param [options] The optional parameters
|
|
199
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
271
|
+
* @param options The options parameters.
|
|
200
272
|
*/
|
|
201
|
-
|
|
273
|
+
async beginDelete(
|
|
202
274
|
resourceGroupName: string,
|
|
203
275
|
clusterName: string,
|
|
204
276
|
attachedDatabaseConfigurationName: string,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
277
|
+
options?: AttachedDatabaseConfigurationsDeleteOptionalParams
|
|
278
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
279
|
+
const directSendOperation = async (
|
|
280
|
+
args: coreClient.OperationArguments,
|
|
281
|
+
spec: coreClient.OperationSpec
|
|
282
|
+
): Promise<void> => {
|
|
283
|
+
return this.client.sendOperationRequest(args, spec);
|
|
284
|
+
};
|
|
285
|
+
const sendOperation = async (
|
|
286
|
+
args: coreClient.OperationArguments,
|
|
287
|
+
spec: coreClient.OperationSpec
|
|
288
|
+
) => {
|
|
289
|
+
let currentRawResponse:
|
|
290
|
+
| coreClient.FullOperationResponse
|
|
291
|
+
| undefined = undefined;
|
|
292
|
+
const providedCallback = args.options?.onResponse;
|
|
293
|
+
const callback: coreClient.RawResponseCallback = (
|
|
294
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
295
|
+
flatResponse: unknown
|
|
296
|
+
) => {
|
|
297
|
+
currentRawResponse = rawResponse;
|
|
298
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
299
|
+
};
|
|
300
|
+
const updatedArgs = {
|
|
301
|
+
...args,
|
|
302
|
+
options: {
|
|
303
|
+
...args.options,
|
|
304
|
+
onResponse: callback
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
308
|
+
return {
|
|
309
|
+
flatResponse,
|
|
310
|
+
rawResponse: {
|
|
311
|
+
statusCode: currentRawResponse!.status,
|
|
312
|
+
body: currentRawResponse!.parsedBody,
|
|
313
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
const lro = new LroImpl(
|
|
319
|
+
sendOperation,
|
|
209
320
|
{
|
|
210
321
|
resourceGroupName,
|
|
211
322
|
clusterName,
|
|
212
323
|
attachedDatabaseConfigurationName,
|
|
213
|
-
parameters,
|
|
214
324
|
options
|
|
215
325
|
},
|
|
216
|
-
|
|
217
|
-
options
|
|
326
|
+
deleteOperationSpec
|
|
218
327
|
);
|
|
328
|
+
return new LroEngine(lro, {
|
|
329
|
+
resumeFrom: options?.resumeFrom,
|
|
330
|
+
intervalInMs: options?.updateIntervalInMs
|
|
331
|
+
});
|
|
219
332
|
}
|
|
220
333
|
|
|
221
334
|
/**
|
|
@@ -223,60 +336,76 @@ export class AttachedDatabaseConfigurations {
|
|
|
223
336
|
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
224
337
|
* @param clusterName The name of the Kusto cluster.
|
|
225
338
|
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
|
|
226
|
-
* @param
|
|
227
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
339
|
+
* @param options The options parameters.
|
|
228
340
|
*/
|
|
229
|
-
|
|
341
|
+
async beginDeleteAndWait(
|
|
230
342
|
resourceGroupName: string,
|
|
231
343
|
clusterName: string,
|
|
232
344
|
attachedDatabaseConfigurationName: string,
|
|
233
|
-
options?:
|
|
234
|
-
): Promise<
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
attachedDatabaseConfigurationName,
|
|
240
|
-
options
|
|
241
|
-
},
|
|
242
|
-
beginDeleteMethodOperationSpec,
|
|
345
|
+
options?: AttachedDatabaseConfigurationsDeleteOptionalParams
|
|
346
|
+
): Promise<void> {
|
|
347
|
+
const poller = await this.beginDelete(
|
|
348
|
+
resourceGroupName,
|
|
349
|
+
clusterName,
|
|
350
|
+
attachedDatabaseConfigurationName,
|
|
243
351
|
options
|
|
244
352
|
);
|
|
353
|
+
return poller.pollUntilDone();
|
|
245
354
|
}
|
|
246
355
|
}
|
|
247
|
-
|
|
248
356
|
// Operation Specifications
|
|
249
|
-
const serializer =
|
|
250
|
-
|
|
251
|
-
|
|
357
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
358
|
+
|
|
359
|
+
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
252
360
|
path:
|
|
253
|
-
"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/
|
|
254
|
-
|
|
255
|
-
queryParameters: [Parameters.apiVersion],
|
|
256
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
361
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurationCheckNameAvailability",
|
|
362
|
+
httpMethod: "POST",
|
|
257
363
|
responses: {
|
|
258
364
|
200: {
|
|
259
|
-
bodyMapper: Mappers.
|
|
365
|
+
bodyMapper: Mappers.CheckNameResult
|
|
260
366
|
},
|
|
261
367
|
default: {
|
|
262
368
|
bodyMapper: Mappers.CloudError
|
|
263
369
|
}
|
|
264
370
|
},
|
|
371
|
+
requestBody: Parameters.resourceName1,
|
|
372
|
+
queryParameters: [Parameters.apiVersion],
|
|
373
|
+
urlParameters: [
|
|
374
|
+
Parameters.$host,
|
|
375
|
+
Parameters.resourceGroupName,
|
|
376
|
+
Parameters.clusterName,
|
|
377
|
+
Parameters.subscriptionId
|
|
378
|
+
],
|
|
379
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
380
|
+
mediaType: "json",
|
|
265
381
|
serializer
|
|
266
382
|
};
|
|
267
|
-
|
|
268
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
269
|
-
httpMethod: "GET",
|
|
383
|
+
const listByClusterOperationSpec: coreClient.OperationSpec = {
|
|
270
384
|
path:
|
|
271
|
-
"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations
|
|
385
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations",
|
|
386
|
+
httpMethod: "GET",
|
|
387
|
+
responses: {
|
|
388
|
+
200: {
|
|
389
|
+
bodyMapper: Mappers.AttachedDatabaseConfigurationListResult
|
|
390
|
+
},
|
|
391
|
+
default: {
|
|
392
|
+
bodyMapper: Mappers.CloudError
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
queryParameters: [Parameters.apiVersion],
|
|
272
396
|
urlParameters: [
|
|
397
|
+
Parameters.$host,
|
|
273
398
|
Parameters.resourceGroupName,
|
|
274
399
|
Parameters.clusterName,
|
|
275
|
-
Parameters.attachedDatabaseConfigurationName,
|
|
276
400
|
Parameters.subscriptionId
|
|
277
401
|
],
|
|
278
|
-
|
|
279
|
-
|
|
402
|
+
headerParameters: [Parameters.accept],
|
|
403
|
+
serializer
|
|
404
|
+
};
|
|
405
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
406
|
+
path:
|
|
407
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
408
|
+
httpMethod: "GET",
|
|
280
409
|
responses: {
|
|
281
410
|
200: {
|
|
282
411
|
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
@@ -285,28 +414,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
285
414
|
bodyMapper: Mappers.CloudError
|
|
286
415
|
}
|
|
287
416
|
},
|
|
288
|
-
|
|
289
|
-
};
|
|
290
|
-
|
|
291
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
292
|
-
httpMethod: "PUT",
|
|
293
|
-
path:
|
|
294
|
-
"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
417
|
+
queryParameters: [Parameters.apiVersion],
|
|
295
418
|
urlParameters: [
|
|
419
|
+
Parameters.$host,
|
|
296
420
|
Parameters.resourceGroupName,
|
|
297
421
|
Parameters.clusterName,
|
|
298
|
-
Parameters.
|
|
299
|
-
Parameters.
|
|
422
|
+
Parameters.subscriptionId,
|
|
423
|
+
Parameters.attachedDatabaseConfigurationName
|
|
300
424
|
],
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
},
|
|
425
|
+
headerParameters: [Parameters.accept],
|
|
426
|
+
serializer
|
|
427
|
+
};
|
|
428
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
429
|
+
path:
|
|
430
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
431
|
+
httpMethod: "PUT",
|
|
310
432
|
responses: {
|
|
311
433
|
200: {
|
|
312
434
|
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
@@ -317,32 +439,47 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
317
439
|
202: {
|
|
318
440
|
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
319
441
|
},
|
|
442
|
+
204: {
|
|
443
|
+
bodyMapper: Mappers.AttachedDatabaseConfiguration
|
|
444
|
+
},
|
|
320
445
|
default: {
|
|
321
446
|
bodyMapper: Mappers.CloudError
|
|
322
447
|
}
|
|
323
448
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
328
|
-
httpMethod: "DELETE",
|
|
329
|
-
path:
|
|
330
|
-
"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
449
|
+
requestBody: Parameters.parameters4,
|
|
450
|
+
queryParameters: [Parameters.apiVersion],
|
|
331
451
|
urlParameters: [
|
|
452
|
+
Parameters.$host,
|
|
332
453
|
Parameters.resourceGroupName,
|
|
333
454
|
Parameters.clusterName,
|
|
334
|
-
Parameters.
|
|
335
|
-
Parameters.
|
|
455
|
+
Parameters.subscriptionId,
|
|
456
|
+
Parameters.attachedDatabaseConfigurationName
|
|
336
457
|
],
|
|
337
|
-
|
|
338
|
-
|
|
458
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
459
|
+
mediaType: "json",
|
|
460
|
+
serializer
|
|
461
|
+
};
|
|
462
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
463
|
+
path:
|
|
464
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
|
|
465
|
+
httpMethod: "DELETE",
|
|
339
466
|
responses: {
|
|
340
467
|
200: {},
|
|
468
|
+
201: {},
|
|
341
469
|
202: {},
|
|
342
470
|
204: {},
|
|
343
471
|
default: {
|
|
344
472
|
bodyMapper: Mappers.CloudError
|
|
345
473
|
}
|
|
346
474
|
},
|
|
475
|
+
queryParameters: [Parameters.apiVersion],
|
|
476
|
+
urlParameters: [
|
|
477
|
+
Parameters.$host,
|
|
478
|
+
Parameters.resourceGroupName,
|
|
479
|
+
Parameters.clusterName,
|
|
480
|
+
Parameters.subscriptionId,
|
|
481
|
+
Parameters.attachedDatabaseConfigurationName
|
|
482
|
+
],
|
|
483
|
+
headerParameters: [Parameters.accept],
|
|
347
484
|
serializer
|
|
348
485
|
};
|