@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
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { KustoManagementClientContext } from "../kustoManagementClientContext";
|
|
5
|
-
/** Class representing a Scripts. */
|
|
6
|
-
export declare class Scripts {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a Scripts.
|
|
10
|
-
* @param {KustoManagementClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: KustoManagementClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Returns the list of database scripts for given database.
|
|
15
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
16
|
-
* @param clusterName The name of the Kusto cluster.
|
|
17
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
18
|
-
* @param [options] The optional parameters
|
|
19
|
-
* @returns Promise<Models.ScriptsListByDatabaseResponse>
|
|
20
|
-
*/
|
|
21
|
-
listByDatabase(resourceGroupName: string, clusterName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ScriptsListByDatabaseResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
24
|
-
* @param clusterName The name of the Kusto cluster.
|
|
25
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
26
|
-
* @param callback The callback
|
|
27
|
-
*/
|
|
28
|
-
listByDatabase(resourceGroupName: string, clusterName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ScriptListResult>): void;
|
|
29
|
-
/**
|
|
30
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
31
|
-
* @param clusterName The name of the Kusto cluster.
|
|
32
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
33
|
-
* @param options The optional parameters
|
|
34
|
-
* @param callback The callback
|
|
35
|
-
*/
|
|
36
|
-
listByDatabase(resourceGroupName: string, clusterName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ScriptListResult>): void;
|
|
37
|
-
/**
|
|
38
|
-
* Gets a Kusto cluster database script.
|
|
39
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
40
|
-
* @param clusterName The name of the Kusto cluster.
|
|
41
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
42
|
-
* @param scriptName The name of the Kusto database script.
|
|
43
|
-
* @param [options] The optional parameters
|
|
44
|
-
* @returns Promise<Models.ScriptsGetResponse>
|
|
45
|
-
*/
|
|
46
|
-
get(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: msRest.RequestOptionsBase): Promise<Models.ScriptsGetResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
49
|
-
* @param clusterName The name of the Kusto cluster.
|
|
50
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
51
|
-
* @param scriptName The name of the Kusto database script.
|
|
52
|
-
* @param callback The callback
|
|
53
|
-
*/
|
|
54
|
-
get(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, callback: msRest.ServiceCallback<Models.Script>): void;
|
|
55
|
-
/**
|
|
56
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
57
|
-
* @param clusterName The name of the Kusto cluster.
|
|
58
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
59
|
-
* @param scriptName The name of the Kusto database script.
|
|
60
|
-
* @param options The optional parameters
|
|
61
|
-
* @param callback The callback
|
|
62
|
-
*/
|
|
63
|
-
get(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Script>): void;
|
|
64
|
-
/**
|
|
65
|
-
* Creates a Kusto database script.
|
|
66
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
67
|
-
* @param clusterName The name of the Kusto cluster.
|
|
68
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
69
|
-
* @param scriptName The name of the Kusto database script.
|
|
70
|
-
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
71
|
-
* @param [options] The optional parameters
|
|
72
|
-
* @returns Promise<Models.ScriptsCreateOrUpdateResponse>
|
|
73
|
-
*/
|
|
74
|
-
createOrUpdate(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Models.Script, options?: msRest.RequestOptionsBase): Promise<Models.ScriptsCreateOrUpdateResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* Updates a database script.
|
|
77
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
78
|
-
* @param clusterName The name of the Kusto cluster.
|
|
79
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
80
|
-
* @param scriptName The name of the Kusto database script.
|
|
81
|
-
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
82
|
-
* @param [options] The optional parameters
|
|
83
|
-
* @returns Promise<Models.ScriptsUpdateResponse>
|
|
84
|
-
*/
|
|
85
|
-
update(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Models.Script, options?: msRest.RequestOptionsBase): Promise<Models.ScriptsUpdateResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* Deletes a Kusto principalAssignment.
|
|
88
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
89
|
-
* @param clusterName The name of the Kusto cluster.
|
|
90
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
91
|
-
* @param scriptName The name of the Kusto database script.
|
|
92
|
-
* @param [options] The optional parameters
|
|
93
|
-
* @returns Promise<msRest.RestResponse>
|
|
94
|
-
*/
|
|
95
|
-
deleteMethod(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
96
|
-
/**
|
|
97
|
-
* Checks that the script name is valid and is not already in use.
|
|
98
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
99
|
-
* @param clusterName The name of the Kusto cluster.
|
|
100
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
101
|
-
* @param scriptName The name of the script.
|
|
102
|
-
* @param [options] The optional parameters
|
|
103
|
-
* @returns Promise<Models.ScriptsCheckNameAvailabilityResponse>
|
|
104
|
-
*/
|
|
105
|
-
checkNameAvailability(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: Models.ScriptCheckNameRequest, options?: msRest.RequestOptionsBase): Promise<Models.ScriptsCheckNameAvailabilityResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
108
|
-
* @param clusterName The name of the Kusto cluster.
|
|
109
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
110
|
-
* @param scriptName The name of the script.
|
|
111
|
-
* @param callback The callback
|
|
112
|
-
*/
|
|
113
|
-
checkNameAvailability(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: Models.ScriptCheckNameRequest, callback: msRest.ServiceCallback<Models.CheckNameResult>): void;
|
|
114
|
-
/**
|
|
115
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
116
|
-
* @param clusterName The name of the Kusto cluster.
|
|
117
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
118
|
-
* @param scriptName The name of the script.
|
|
119
|
-
* @param options The optional parameters
|
|
120
|
-
* @param callback The callback
|
|
121
|
-
*/
|
|
122
|
-
checkNameAvailability(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: Models.ScriptCheckNameRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameResult>): void;
|
|
123
|
-
/**
|
|
124
|
-
* Creates a Kusto database script.
|
|
125
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
126
|
-
* @param clusterName The name of the Kusto cluster.
|
|
127
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
128
|
-
* @param scriptName The name of the Kusto database script.
|
|
129
|
-
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
130
|
-
* @param [options] The optional parameters
|
|
131
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
132
|
-
*/
|
|
133
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Models.Script, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
134
|
-
/**
|
|
135
|
-
* Updates a database script.
|
|
136
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
137
|
-
* @param clusterName The name of the Kusto cluster.
|
|
138
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
139
|
-
* @param scriptName The name of the Kusto database script.
|
|
140
|
-
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
141
|
-
* @param [options] The optional parameters
|
|
142
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
143
|
-
*/
|
|
144
|
-
beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Models.Script, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
145
|
-
/**
|
|
146
|
-
* Deletes a Kusto principalAssignment.
|
|
147
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
148
|
-
* @param clusterName The name of the Kusto cluster.
|
|
149
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
150
|
-
* @param scriptName The name of the Kusto database script.
|
|
151
|
-
* @param [options] The optional parameters
|
|
152
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
153
|
-
*/
|
|
154
|
-
beginDeleteMethod(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
155
|
-
}
|
|
156
|
-
//# sourceMappingURL=scripts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scripts.d.ts","sourceRoot":"","sources":["../../src/operations/scripts.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAA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ClC,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAalC"}
|
|
@@ -1,300 +0,0 @@
|
|
|
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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/scriptsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Scripts. */
|
|
14
|
-
var Scripts = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Scripts.
|
|
17
|
-
* @param {KustoManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Scripts(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Scripts.prototype.listByDatabase = function (resourceGroupName, clusterName, databaseName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroupName: resourceGroupName,
|
|
25
|
-
clusterName: clusterName,
|
|
26
|
-
databaseName: databaseName,
|
|
27
|
-
options: options
|
|
28
|
-
}, listByDatabaseOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
Scripts.prototype.get = function (resourceGroupName, clusterName, databaseName, scriptName, options, callback) {
|
|
31
|
-
return this.client.sendOperationRequest({
|
|
32
|
-
resourceGroupName: resourceGroupName,
|
|
33
|
-
clusterName: clusterName,
|
|
34
|
-
databaseName: databaseName,
|
|
35
|
-
scriptName: scriptName,
|
|
36
|
-
options: options
|
|
37
|
-
}, getOperationSpec, callback);
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Creates a Kusto database script.
|
|
41
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
42
|
-
* @param clusterName The name of the Kusto cluster.
|
|
43
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
44
|
-
* @param scriptName The name of the Kusto database script.
|
|
45
|
-
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
46
|
-
* @param [options] The optional parameters
|
|
47
|
-
* @returns Promise<Models.ScriptsCreateOrUpdateResponse>
|
|
48
|
-
*/
|
|
49
|
-
Scripts.prototype.createOrUpdate = function (resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
50
|
-
return this.beginCreateOrUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Updates a database script.
|
|
54
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
55
|
-
* @param clusterName The name of the Kusto cluster.
|
|
56
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
57
|
-
* @param scriptName The name of the Kusto database script.
|
|
58
|
-
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
59
|
-
* @param [options] The optional parameters
|
|
60
|
-
* @returns Promise<Models.ScriptsUpdateResponse>
|
|
61
|
-
*/
|
|
62
|
-
Scripts.prototype.update = function (resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
63
|
-
return this.beginUpdate(resourceGroupName, clusterName, databaseName, scriptName, parameters, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Deletes a Kusto 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 databaseName The name of the database in the Kusto cluster.
|
|
70
|
-
* @param scriptName The name of the Kusto database script.
|
|
71
|
-
* @param [options] The optional parameters
|
|
72
|
-
* @returns Promise<msRest.RestResponse>
|
|
73
|
-
*/
|
|
74
|
-
Scripts.prototype.deleteMethod = function (resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
75
|
-
return this.beginDeleteMethod(resourceGroupName, clusterName, databaseName, scriptName, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
76
|
-
};
|
|
77
|
-
Scripts.prototype.checkNameAvailability = function (resourceGroupName, clusterName, databaseName, scriptName, options, callback) {
|
|
78
|
-
return this.client.sendOperationRequest({
|
|
79
|
-
resourceGroupName: resourceGroupName,
|
|
80
|
-
clusterName: clusterName,
|
|
81
|
-
databaseName: databaseName,
|
|
82
|
-
scriptName: scriptName,
|
|
83
|
-
options: options
|
|
84
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Creates a Kusto database script.
|
|
88
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
89
|
-
* @param clusterName The name of the Kusto cluster.
|
|
90
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
91
|
-
* @param scriptName The name of the Kusto database script.
|
|
92
|
-
* @param parameters The Kusto Script parameters contains the KQL to run.
|
|
93
|
-
* @param [options] The optional parameters
|
|
94
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
95
|
-
*/
|
|
96
|
-
Scripts.prototype.beginCreateOrUpdate = function (resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
97
|
-
return this.client.sendLRORequest({
|
|
98
|
-
resourceGroupName: resourceGroupName,
|
|
99
|
-
clusterName: clusterName,
|
|
100
|
-
databaseName: databaseName,
|
|
101
|
-
scriptName: scriptName,
|
|
102
|
-
parameters: parameters,
|
|
103
|
-
options: options
|
|
104
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Updates a database script.
|
|
108
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
109
|
-
* @param clusterName The name of the Kusto cluster.
|
|
110
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
111
|
-
* @param scriptName The name of the Kusto database script.
|
|
112
|
-
* @param parameters The Kusto Script parameters contains to the KQL to run.
|
|
113
|
-
* @param [options] The optional parameters
|
|
114
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
115
|
-
*/
|
|
116
|
-
Scripts.prototype.beginUpdate = function (resourceGroupName, clusterName, databaseName, scriptName, parameters, options) {
|
|
117
|
-
return this.client.sendLRORequest({
|
|
118
|
-
resourceGroupName: resourceGroupName,
|
|
119
|
-
clusterName: clusterName,
|
|
120
|
-
databaseName: databaseName,
|
|
121
|
-
scriptName: scriptName,
|
|
122
|
-
parameters: parameters,
|
|
123
|
-
options: options
|
|
124
|
-
}, beginUpdateOperationSpec, options);
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Deletes a Kusto principalAssignment.
|
|
128
|
-
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
|
|
129
|
-
* @param clusterName The name of the Kusto cluster.
|
|
130
|
-
* @param databaseName The name of the database in the Kusto cluster.
|
|
131
|
-
* @param scriptName The name of the Kusto database script.
|
|
132
|
-
* @param [options] The optional parameters
|
|
133
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
134
|
-
*/
|
|
135
|
-
Scripts.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, databaseName, scriptName, options) {
|
|
136
|
-
return this.client.sendLRORequest({
|
|
137
|
-
resourceGroupName: resourceGroupName,
|
|
138
|
-
clusterName: clusterName,
|
|
139
|
-
databaseName: databaseName,
|
|
140
|
-
scriptName: scriptName,
|
|
141
|
-
options: options
|
|
142
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
143
|
-
};
|
|
144
|
-
return Scripts;
|
|
145
|
-
}());
|
|
146
|
-
export { Scripts };
|
|
147
|
-
// Operation Specifications
|
|
148
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
149
|
-
var listByDatabaseOperationSpec = {
|
|
150
|
-
httpMethod: "GET",
|
|
151
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts",
|
|
152
|
-
urlParameters: [
|
|
153
|
-
Parameters.subscriptionId,
|
|
154
|
-
Parameters.resourceGroupName,
|
|
155
|
-
Parameters.clusterName,
|
|
156
|
-
Parameters.databaseName
|
|
157
|
-
],
|
|
158
|
-
queryParameters: [Parameters.apiVersion],
|
|
159
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
160
|
-
responses: {
|
|
161
|
-
200: {
|
|
162
|
-
bodyMapper: Mappers.ScriptListResult
|
|
163
|
-
},
|
|
164
|
-
default: {
|
|
165
|
-
bodyMapper: Mappers.CloudError
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
serializer: serializer
|
|
169
|
-
};
|
|
170
|
-
var getOperationSpec = {
|
|
171
|
-
httpMethod: "GET",
|
|
172
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
173
|
-
urlParameters: [
|
|
174
|
-
Parameters.subscriptionId,
|
|
175
|
-
Parameters.resourceGroupName,
|
|
176
|
-
Parameters.clusterName,
|
|
177
|
-
Parameters.databaseName,
|
|
178
|
-
Parameters.scriptName
|
|
179
|
-
],
|
|
180
|
-
queryParameters: [Parameters.apiVersion],
|
|
181
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
182
|
-
responses: {
|
|
183
|
-
200: {
|
|
184
|
-
bodyMapper: Mappers.Script
|
|
185
|
-
},
|
|
186
|
-
default: {
|
|
187
|
-
bodyMapper: Mappers.CloudError
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
serializer: serializer
|
|
191
|
-
};
|
|
192
|
-
var checkNameAvailabilityOperationSpec = {
|
|
193
|
-
httpMethod: "POST",
|
|
194
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scriptsCheckNameAvailability",
|
|
195
|
-
urlParameters: [
|
|
196
|
-
Parameters.resourceGroupName,
|
|
197
|
-
Parameters.clusterName,
|
|
198
|
-
Parameters.databaseName,
|
|
199
|
-
Parameters.subscriptionId
|
|
200
|
-
],
|
|
201
|
-
queryParameters: [Parameters.apiVersion],
|
|
202
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
203
|
-
requestBody: {
|
|
204
|
-
parameterPath: "scriptName",
|
|
205
|
-
mapper: __assign(__assign({}, Mappers.ScriptCheckNameRequest), { required: true })
|
|
206
|
-
},
|
|
207
|
-
responses: {
|
|
208
|
-
200: {
|
|
209
|
-
bodyMapper: Mappers.CheckNameResult
|
|
210
|
-
},
|
|
211
|
-
default: {
|
|
212
|
-
bodyMapper: Mappers.CloudError
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
serializer: serializer
|
|
216
|
-
};
|
|
217
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
218
|
-
httpMethod: "PUT",
|
|
219
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
220
|
-
urlParameters: [
|
|
221
|
-
Parameters.subscriptionId,
|
|
222
|
-
Parameters.resourceGroupName,
|
|
223
|
-
Parameters.clusterName,
|
|
224
|
-
Parameters.databaseName,
|
|
225
|
-
Parameters.scriptName
|
|
226
|
-
],
|
|
227
|
-
queryParameters: [Parameters.apiVersion],
|
|
228
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
229
|
-
requestBody: {
|
|
230
|
-
parameterPath: "parameters",
|
|
231
|
-
mapper: __assign(__assign({}, Mappers.Script), { required: true })
|
|
232
|
-
},
|
|
233
|
-
responses: {
|
|
234
|
-
200: {
|
|
235
|
-
bodyMapper: Mappers.Script
|
|
236
|
-
},
|
|
237
|
-
201: {
|
|
238
|
-
bodyMapper: Mappers.Script
|
|
239
|
-
},
|
|
240
|
-
202: {
|
|
241
|
-
bodyMapper: Mappers.Script
|
|
242
|
-
},
|
|
243
|
-
default: {
|
|
244
|
-
bodyMapper: Mappers.CloudError
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
serializer: serializer
|
|
248
|
-
};
|
|
249
|
-
var beginUpdateOperationSpec = {
|
|
250
|
-
httpMethod: "PATCH",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.subscriptionId,
|
|
254
|
-
Parameters.resourceGroupName,
|
|
255
|
-
Parameters.clusterName,
|
|
256
|
-
Parameters.databaseName,
|
|
257
|
-
Parameters.scriptName
|
|
258
|
-
],
|
|
259
|
-
queryParameters: [Parameters.apiVersion],
|
|
260
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
261
|
-
requestBody: {
|
|
262
|
-
parameterPath: "parameters",
|
|
263
|
-
mapper: __assign(__assign({}, Mappers.Script), { required: true })
|
|
264
|
-
},
|
|
265
|
-
responses: {
|
|
266
|
-
200: {
|
|
267
|
-
bodyMapper: Mappers.Script
|
|
268
|
-
},
|
|
269
|
-
202: {
|
|
270
|
-
bodyMapper: Mappers.Script
|
|
271
|
-
},
|
|
272
|
-
default: {
|
|
273
|
-
bodyMapper: Mappers.CloudError
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
serializer: serializer
|
|
277
|
-
};
|
|
278
|
-
var beginDeleteMethodOperationSpec = {
|
|
279
|
-
httpMethod: "DELETE",
|
|
280
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}",
|
|
281
|
-
urlParameters: [
|
|
282
|
-
Parameters.subscriptionId,
|
|
283
|
-
Parameters.resourceGroupName,
|
|
284
|
-
Parameters.clusterName,
|
|
285
|
-
Parameters.databaseName,
|
|
286
|
-
Parameters.scriptName
|
|
287
|
-
],
|
|
288
|
-
queryParameters: [Parameters.apiVersion],
|
|
289
|
-
headerParameters: [Parameters.acceptLanguage],
|
|
290
|
-
responses: {
|
|
291
|
-
200: {},
|
|
292
|
-
202: {},
|
|
293
|
-
204: {},
|
|
294
|
-
default: {
|
|
295
|
-
bodyMapper: Mappers.CloudError
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
serializer: serializer
|
|
299
|
-
};
|
|
300
|
-
//# sourceMappingURL=scripts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../src/operations/scripts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,oCAAoC;AACpC;IAGE;;;OAGG;IACH,iBAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA0CD,gCAAc,GAAd,UACE,iBAAyB,EACzB,WAAmB,EACnB,YAAoB,EACpB,OAAqF,EACrF,QAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CACwC,CAAC;IACrD,CAAC;IAgDD,qBAAG,GAAH,UACE,iBAAyB,EACzB,WAAmB,EACnB,YAAoB,EACpB,UAAkB,EAClB,OAA2E,EAC3E,QAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,YAAY,cAAA;YACZ,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,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U,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,MAAM,KACjB,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,QAAQ;IACpB,IAAI,EACF,kKAAkK;IACpK,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,UAAU;KACtB;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import * as Models from "./models";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-kusto";
|
|
16
|
-
const packageVersion = "6.2.0";
|
|
17
|
-
|
|
18
|
-
export class KustoManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the KustoManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
26
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
27
|
-
* more information about these credentials, see
|
|
28
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
29
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
30
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
31
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
32
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
33
|
-
* @param [options] The parameter options
|
|
34
|
-
*/
|
|
35
|
-
constructor(
|
|
36
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential,
|
|
37
|
-
subscriptionId: string,
|
|
38
|
-
options?: Models.KustoManagementClientOptions
|
|
39
|
-
) {
|
|
40
|
-
if (credentials == undefined) {
|
|
41
|
-
throw new Error("'credentials' cannot be null.");
|
|
42
|
-
}
|
|
43
|
-
if (subscriptionId == undefined) {
|
|
44
|
-
throw new Error("'subscriptionId' cannot be null.");
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
if (!options) {
|
|
48
|
-
options = {};
|
|
49
|
-
}
|
|
50
|
-
if (!options.userAgent) {
|
|
51
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
52
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
super(credentials, options);
|
|
56
|
-
|
|
57
|
-
this.apiVersion = "2021-01-01";
|
|
58
|
-
this.acceptLanguage = "en-US";
|
|
59
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
60
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
61
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
62
|
-
this.credentials = credentials;
|
|
63
|
-
this.subscriptionId = subscriptionId;
|
|
64
|
-
|
|
65
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
66
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
67
|
-
}
|
|
68
|
-
if (
|
|
69
|
-
options.longRunningOperationRetryTimeout !== null &&
|
|
70
|
-
options.longRunningOperationRetryTimeout !== undefined
|
|
71
|
-
) {
|
|
72
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
AttachedDatabaseConfiguration,
|
|
12
|
-
AttachedDatabaseConfigurationListResult,
|
|
13
|
-
AzureEntityResource,
|
|
14
|
-
AzureSku,
|
|
15
|
-
BaseResource,
|
|
16
|
-
CloudError,
|
|
17
|
-
Cluster,
|
|
18
|
-
ClusterPrincipalAssignment,
|
|
19
|
-
ClusterUpdate,
|
|
20
|
-
Database,
|
|
21
|
-
DatabasePrincipalAssignment,
|
|
22
|
-
DatabaseStatistics,
|
|
23
|
-
DataConnection,
|
|
24
|
-
EventGridDataConnection,
|
|
25
|
-
EventHubDataConnection,
|
|
26
|
-
Identity,
|
|
27
|
-
IdentityUserAssignedIdentitiesValue,
|
|
28
|
-
IotHubDataConnection,
|
|
29
|
-
KeyVaultProperties,
|
|
30
|
-
LanguageExtension,
|
|
31
|
-
LanguageExtensionsList,
|
|
32
|
-
OptimizedAutoscale,
|
|
33
|
-
ProxyResource,
|
|
34
|
-
ReadOnlyFollowingDatabase,
|
|
35
|
-
ReadWriteDatabase,
|
|
36
|
-
Resource,
|
|
37
|
-
Script,
|
|
38
|
-
SystemData,
|
|
39
|
-
TableLevelSharingProperties,
|
|
40
|
-
TrackedResource,
|
|
41
|
-
TrustedExternalTenant,
|
|
42
|
-
VirtualNetworkConfiguration
|
|
43
|
-
} from "../models/mappers";
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
AttachedDatabaseConfiguration,
|
|
12
|
-
AzureEntityResource,
|
|
13
|
-
AzureSku,
|
|
14
|
-
BaseResource,
|
|
15
|
-
CheckNameResult,
|
|
16
|
-
CloudError,
|
|
17
|
-
Cluster,
|
|
18
|
-
ClusterPrincipalAssignment,
|
|
19
|
-
ClusterPrincipalAssignmentCheckNameRequest,
|
|
20
|
-
ClusterPrincipalAssignmentListResult,
|
|
21
|
-
ClusterUpdate,
|
|
22
|
-
Database,
|
|
23
|
-
DatabasePrincipalAssignment,
|
|
24
|
-
DatabaseStatistics,
|
|
25
|
-
DataConnection,
|
|
26
|
-
EventGridDataConnection,
|
|
27
|
-
EventHubDataConnection,
|
|
28
|
-
Identity,
|
|
29
|
-
IdentityUserAssignedIdentitiesValue,
|
|
30
|
-
IotHubDataConnection,
|
|
31
|
-
KeyVaultProperties,
|
|
32
|
-
LanguageExtension,
|
|
33
|
-
LanguageExtensionsList,
|
|
34
|
-
OptimizedAutoscale,
|
|
35
|
-
ProxyResource,
|
|
36
|
-
ReadOnlyFollowingDatabase,
|
|
37
|
-
ReadWriteDatabase,
|
|
38
|
-
Resource,
|
|
39
|
-
Script,
|
|
40
|
-
SystemData,
|
|
41
|
-
TableLevelSharingProperties,
|
|
42
|
-
TrackedResource,
|
|
43
|
-
TrustedExternalTenant,
|
|
44
|
-
VirtualNetworkConfiguration
|
|
45
|
-
} from "../models/mappers";
|