@azure/arm-databricks 0.1.0 → 3.0.0-alpha.20211103.2
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 +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +71 -77
- package/dist/index.js +3186 -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/azureDatabricksManagementClient.d.ts +20 -0
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClient.js +27 -0
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +16 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js +49 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.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 +839 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +94 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +44 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1298 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +149 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.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/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +65 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +347 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +169 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/vNetPeering.d.ts +81 -0
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operations/vNetPeering.js +338 -0
- package/dist-esm/src/operations/vNetPeering.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +107 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +500 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.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/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.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/vNetPeering.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js +9 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/databricks_examples.d.ts +2 -0
- package/dist-esm/test/databricks_examples.d.ts.map +1 -0
- package/dist-esm/test/databricks_examples.js +100 -0
- package/dist-esm/test/databricks_examples.js.map +1 -0
- package/package.json +72 -25
- package/review/arm-databricks.api.md +742 -0
- package/rollup.config.js +184 -27
- package/src/azureDatabricksManagementClient.ts +58 -0
- package/src/azureDatabricksManagementClientContext.ts +70 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +960 -0
- package/src/models/mappers.ts +1368 -0
- package/src/models/parameters.ts +174 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
- package/src/operations/privateEndpointConnections.ts +481 -0
- package/src/operations/privateLinkResources.ts +221 -0
- package/src/operations/vNetPeering.ts +483 -0
- package/src/operations/workspaces.ts +674 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +29 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/vNetPeering.ts +109 -0
- package/src/operationsInterfaces/workspaces.ts +139 -0
- package/tsconfig.json +4 -4
- package/types/arm-databricks.d.ts +1198 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-databricks.js +0 -1078
- package/dist/arm-databricks.js.map +0 -1
- package/dist/arm-databricks.min.js +0 -1
- package/dist/arm-databricks.min.js.map +0 -1
- package/esm/databricksClient.d.ts +0 -19
- package/esm/databricksClient.d.ts.map +0 -1
- package/esm/databricksClient.js +0 -34
- package/esm/databricksClient.js.map +0 -1
- package/esm/databricksClientContext.d.ts +0 -16
- package/esm/databricksClientContext.d.ts.map +0 -1
- package/esm/databricksClientContext.js +0 -56
- package/esm/databricksClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -486
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -370
- 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 +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -80
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- 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 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -156
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -332
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/databricksClient.ts +0 -44
- package/lib/databricksClientContext.ts +0 -62
- package/lib/models/index.ts +0 -520
- package/lib/models/mappers.ts +0 -396
- package/lib/models/operationsMappers.ts +0 -19
- package/lib/models/parameters.ts +0 -82
- package/lib/models/workspacesMappers.ts +0 -24
- package/lib/operations/index.ts +0 -12
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/workspaces.ts +0 -474
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {DatabricksClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
nextPageLink: nextPageLink,
|
|
30
|
-
options: options
|
|
31
|
-
}, listNextOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Operations;
|
|
34
|
-
}());
|
|
35
|
-
export { Operations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.Databricks/operations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.OperationListResult
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.ErrorResponse
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var listNextOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
baseUrl: "https://management.azure.com",
|
|
60
|
-
path: "{nextLink}",
|
|
61
|
-
urlParameters: [
|
|
62
|
-
Parameters.nextPageLink
|
|
63
|
-
],
|
|
64
|
-
headerParameters: [
|
|
65
|
-
Parameters.acceptLanguage
|
|
66
|
-
],
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
bodyMapper: Mappers.OperationListResult
|
|
70
|
-
},
|
|
71
|
-
default: {
|
|
72
|
-
bodyMapper: Mappers.ErrorResponse
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
serializer: serializer
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,2CAA2C;IACjD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -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 { DatabricksClientContext } from "../databricksClientContext";
|
|
5
|
-
/** Class representing a Workspaces. */
|
|
6
|
-
export declare class Workspaces {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a Workspaces.
|
|
10
|
-
* @param {DatabricksClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: DatabricksClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Gets the workspace.
|
|
15
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param workspaceName The name of the workspace.
|
|
17
|
-
* @param [options] The optional parameters
|
|
18
|
-
* @returns Promise<Models.WorkspacesGetResponse>
|
|
19
|
-
*/
|
|
20
|
-
get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesGetResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
-
* @param workspaceName The name of the workspace.
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
get(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
27
|
-
/**
|
|
28
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
-
* @param workspaceName The name of the workspace.
|
|
30
|
-
* @param options The optional parameters
|
|
31
|
-
* @param callback The callback
|
|
32
|
-
*/
|
|
33
|
-
get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
34
|
-
/**
|
|
35
|
-
* Deletes the workspace.
|
|
36
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
-
* @param workspaceName The name of the workspace.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<msRest.RestResponse>
|
|
40
|
-
*/
|
|
41
|
-
deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new workspace.
|
|
44
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
45
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
-
* @param workspaceName The name of the workspace.
|
|
47
|
-
* @param [options] The optional parameters
|
|
48
|
-
* @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
|
|
49
|
-
*/
|
|
50
|
-
createOrUpdate(parameters: Models.Workspace, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesCreateOrUpdateResponse>;
|
|
51
|
-
/**
|
|
52
|
-
* Updates a workspace.
|
|
53
|
-
* @param parameters The update to the workspace.
|
|
54
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
55
|
-
* @param workspaceName The name of the workspace.
|
|
56
|
-
* @param [options] The optional parameters
|
|
57
|
-
* @returns Promise<Models.WorkspacesUpdateResponse>
|
|
58
|
-
*/
|
|
59
|
-
update(parameters: Models.WorkspaceUpdate, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesUpdateResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* Gets all the workspaces within a resource group.
|
|
62
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
|
-
* @param [options] The optional parameters
|
|
64
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupResponse>
|
|
65
|
-
*/
|
|
66
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupResponse>;
|
|
67
|
-
/**
|
|
68
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
72
|
-
/**
|
|
73
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
-
* @param options The optional parameters
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
78
|
-
/**
|
|
79
|
-
* Gets all the workspaces within a subscription.
|
|
80
|
-
* @param [options] The optional parameters
|
|
81
|
-
* @returns Promise<Models.WorkspacesListBySubscriptionResponse>
|
|
82
|
-
*/
|
|
83
|
-
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListBySubscriptionResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
88
|
-
/**
|
|
89
|
-
* @param options The optional parameters
|
|
90
|
-
* @param callback The callback
|
|
91
|
-
*/
|
|
92
|
-
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
93
|
-
/**
|
|
94
|
-
* Deletes the workspace.
|
|
95
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
96
|
-
* @param workspaceName The name of the workspace.
|
|
97
|
-
* @param [options] The optional parameters
|
|
98
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
99
|
-
*/
|
|
100
|
-
beginDeleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
101
|
-
/**
|
|
102
|
-
* Creates a new workspace.
|
|
103
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
104
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
105
|
-
* @param workspaceName The name of the workspace.
|
|
106
|
-
* @param [options] The optional parameters
|
|
107
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
108
|
-
*/
|
|
109
|
-
beginCreateOrUpdate(parameters: Models.Workspace, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
110
|
-
/**
|
|
111
|
-
* Updates a workspace.
|
|
112
|
-
* @param parameters The update to the workspace.
|
|
113
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
-
* @param workspaceName The name of the workspace.
|
|
115
|
-
* @param [options] The optional parameters
|
|
116
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
117
|
-
*/
|
|
118
|
-
beginUpdate(parameters: Models.WorkspaceUpdate, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
119
|
-
/**
|
|
120
|
-
* Gets all the workspaces within a resource group.
|
|
121
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
122
|
-
* @param [options] The optional parameters
|
|
123
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupNextResponse>
|
|
124
|
-
*/
|
|
125
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupNextResponse>;
|
|
126
|
-
/**
|
|
127
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
128
|
-
* @param callback The callback
|
|
129
|
-
*/
|
|
130
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
131
|
-
/**
|
|
132
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
133
|
-
* @param options The optional parameters
|
|
134
|
-
* @param callback The callback
|
|
135
|
-
*/
|
|
136
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
137
|
-
/**
|
|
138
|
-
* Gets all the workspaces within a subscription.
|
|
139
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
140
|
-
* @param [options] The optional parameters
|
|
141
|
-
* @returns Promise<Models.WorkspacesListBySubscriptionNextResponse>
|
|
142
|
-
*/
|
|
143
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListBySubscriptionNextResponse>;
|
|
144
|
-
/**
|
|
145
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
146
|
-
* @param callback The callback
|
|
147
|
-
*/
|
|
148
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
149
|
-
/**
|
|
150
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
151
|
-
* @param options The optional parameters
|
|
152
|
-
* @param callback The callback
|
|
153
|
-
*/
|
|
154
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
155
|
-
}
|
|
156
|
-
//# sourceMappingURL=workspaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../lib/operations/workspaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;OAMG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;IACjI;;;;OAIG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI;IAC/G;;;;;OAKG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI;IAYnJ;;;;;;OAMG;IACH,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAA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AC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAChH;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUrJ"}
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/workspacesMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Workspaces. */
|
|
15
|
-
var Workspaces = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Workspaces.
|
|
18
|
-
* @param {DatabricksClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Workspaces(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Workspaces.prototype.get = function (resourceGroupName, workspaceName, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroupName: resourceGroupName,
|
|
26
|
-
workspaceName: workspaceName,
|
|
27
|
-
options: options
|
|
28
|
-
}, getOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Deletes the workspace.
|
|
32
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
-
* @param workspaceName The name of the workspace.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<msRest.RestResponse>
|
|
36
|
-
*/
|
|
37
|
-
Workspaces.prototype.deleteMethod = function (resourceGroupName, workspaceName, options) {
|
|
38
|
-
return this.beginDeleteMethod(resourceGroupName, workspaceName, options)
|
|
39
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Creates a new workspace.
|
|
43
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
44
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
-
* @param workspaceName The name of the workspace.
|
|
46
|
-
* @param [options] The optional parameters
|
|
47
|
-
* @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
|
|
48
|
-
*/
|
|
49
|
-
Workspaces.prototype.createOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
|
|
50
|
-
return this.beginCreateOrUpdate(parameters, resourceGroupName, workspaceName, options)
|
|
51
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Updates a workspace.
|
|
55
|
-
* @param parameters The update to the workspace.
|
|
56
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
-
* @param workspaceName The name of the workspace.
|
|
58
|
-
* @param [options] The optional parameters
|
|
59
|
-
* @returns Promise<Models.WorkspacesUpdateResponse>
|
|
60
|
-
*/
|
|
61
|
-
Workspaces.prototype.update = function (parameters, resourceGroupName, workspaceName, options) {
|
|
62
|
-
return this.beginUpdate(parameters, resourceGroupName, workspaceName, options)
|
|
63
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
64
|
-
};
|
|
65
|
-
Workspaces.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
66
|
-
return this.client.sendOperationRequest({
|
|
67
|
-
resourceGroupName: resourceGroupName,
|
|
68
|
-
options: options
|
|
69
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
70
|
-
};
|
|
71
|
-
Workspaces.prototype.listBySubscription = function (options, callback) {
|
|
72
|
-
return this.client.sendOperationRequest({
|
|
73
|
-
options: options
|
|
74
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Deletes the workspace.
|
|
78
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
|
-
* @param workspaceName The name of the workspace.
|
|
80
|
-
* @param [options] The optional parameters
|
|
81
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
82
|
-
*/
|
|
83
|
-
Workspaces.prototype.beginDeleteMethod = function (resourceGroupName, workspaceName, options) {
|
|
84
|
-
return this.client.sendLRORequest({
|
|
85
|
-
resourceGroupName: resourceGroupName,
|
|
86
|
-
workspaceName: workspaceName,
|
|
87
|
-
options: options
|
|
88
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Creates a new workspace.
|
|
92
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
93
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
-
* @param workspaceName The name of the workspace.
|
|
95
|
-
* @param [options] The optional parameters
|
|
96
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
97
|
-
*/
|
|
98
|
-
Workspaces.prototype.beginCreateOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
|
|
99
|
-
return this.client.sendLRORequest({
|
|
100
|
-
parameters: parameters,
|
|
101
|
-
resourceGroupName: resourceGroupName,
|
|
102
|
-
workspaceName: workspaceName,
|
|
103
|
-
options: options
|
|
104
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Updates a workspace.
|
|
108
|
-
* @param parameters The update to the workspace.
|
|
109
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
110
|
-
* @param workspaceName The name of the workspace.
|
|
111
|
-
* @param [options] The optional parameters
|
|
112
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
113
|
-
*/
|
|
114
|
-
Workspaces.prototype.beginUpdate = function (parameters, resourceGroupName, workspaceName, options) {
|
|
115
|
-
return this.client.sendLRORequest({
|
|
116
|
-
parameters: parameters,
|
|
117
|
-
resourceGroupName: resourceGroupName,
|
|
118
|
-
workspaceName: workspaceName,
|
|
119
|
-
options: options
|
|
120
|
-
}, beginUpdateOperationSpec, options);
|
|
121
|
-
};
|
|
122
|
-
Workspaces.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
123
|
-
return this.client.sendOperationRequest({
|
|
124
|
-
nextPageLink: nextPageLink,
|
|
125
|
-
options: options
|
|
126
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
127
|
-
};
|
|
128
|
-
Workspaces.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
129
|
-
return this.client.sendOperationRequest({
|
|
130
|
-
nextPageLink: nextPageLink,
|
|
131
|
-
options: options
|
|
132
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
133
|
-
};
|
|
134
|
-
return Workspaces;
|
|
135
|
-
}());
|
|
136
|
-
export { Workspaces };
|
|
137
|
-
// Operation Specifications
|
|
138
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
139
|
-
var getOperationSpec = {
|
|
140
|
-
httpMethod: "GET",
|
|
141
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
142
|
-
urlParameters: [
|
|
143
|
-
Parameters.resourceGroupName,
|
|
144
|
-
Parameters.workspaceName,
|
|
145
|
-
Parameters.subscriptionId
|
|
146
|
-
],
|
|
147
|
-
queryParameters: [
|
|
148
|
-
Parameters.apiVersion
|
|
149
|
-
],
|
|
150
|
-
headerParameters: [
|
|
151
|
-
Parameters.acceptLanguage
|
|
152
|
-
],
|
|
153
|
-
responses: {
|
|
154
|
-
200: {
|
|
155
|
-
bodyMapper: Mappers.Workspace
|
|
156
|
-
},
|
|
157
|
-
404: {},
|
|
158
|
-
default: {
|
|
159
|
-
bodyMapper: Mappers.ErrorResponse
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
serializer: serializer
|
|
163
|
-
};
|
|
164
|
-
var listByResourceGroupOperationSpec = {
|
|
165
|
-
httpMethod: "GET",
|
|
166
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
|
|
167
|
-
urlParameters: [
|
|
168
|
-
Parameters.resourceGroupName,
|
|
169
|
-
Parameters.subscriptionId
|
|
170
|
-
],
|
|
171
|
-
queryParameters: [
|
|
172
|
-
Parameters.apiVersion
|
|
173
|
-
],
|
|
174
|
-
headerParameters: [
|
|
175
|
-
Parameters.acceptLanguage
|
|
176
|
-
],
|
|
177
|
-
responses: {
|
|
178
|
-
200: {
|
|
179
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
180
|
-
},
|
|
181
|
-
default: {
|
|
182
|
-
bodyMapper: Mappers.ErrorResponse
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
serializer: serializer
|
|
186
|
-
};
|
|
187
|
-
var listBySubscriptionOperationSpec = {
|
|
188
|
-
httpMethod: "GET",
|
|
189
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
|
|
190
|
-
urlParameters: [
|
|
191
|
-
Parameters.subscriptionId
|
|
192
|
-
],
|
|
193
|
-
queryParameters: [
|
|
194
|
-
Parameters.apiVersion
|
|
195
|
-
],
|
|
196
|
-
headerParameters: [
|
|
197
|
-
Parameters.acceptLanguage
|
|
198
|
-
],
|
|
199
|
-
responses: {
|
|
200
|
-
200: {
|
|
201
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
202
|
-
},
|
|
203
|
-
default: {
|
|
204
|
-
bodyMapper: Mappers.ErrorResponse
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
serializer: serializer
|
|
208
|
-
};
|
|
209
|
-
var beginDeleteMethodOperationSpec = {
|
|
210
|
-
httpMethod: "DELETE",
|
|
211
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
212
|
-
urlParameters: [
|
|
213
|
-
Parameters.resourceGroupName,
|
|
214
|
-
Parameters.workspaceName,
|
|
215
|
-
Parameters.subscriptionId
|
|
216
|
-
],
|
|
217
|
-
queryParameters: [
|
|
218
|
-
Parameters.apiVersion
|
|
219
|
-
],
|
|
220
|
-
headerParameters: [
|
|
221
|
-
Parameters.acceptLanguage
|
|
222
|
-
],
|
|
223
|
-
responses: {
|
|
224
|
-
202: {},
|
|
225
|
-
204: {},
|
|
226
|
-
default: {
|
|
227
|
-
bodyMapper: Mappers.ErrorResponse
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
serializer: serializer
|
|
231
|
-
};
|
|
232
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
233
|
-
httpMethod: "PUT",
|
|
234
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
235
|
-
urlParameters: [
|
|
236
|
-
Parameters.resourceGroupName,
|
|
237
|
-
Parameters.workspaceName,
|
|
238
|
-
Parameters.subscriptionId
|
|
239
|
-
],
|
|
240
|
-
queryParameters: [
|
|
241
|
-
Parameters.apiVersion
|
|
242
|
-
],
|
|
243
|
-
headerParameters: [
|
|
244
|
-
Parameters.acceptLanguage
|
|
245
|
-
],
|
|
246
|
-
requestBody: {
|
|
247
|
-
parameterPath: "parameters",
|
|
248
|
-
mapper: tslib_1.__assign({}, Mappers.Workspace, { required: true })
|
|
249
|
-
},
|
|
250
|
-
responses: {
|
|
251
|
-
200: {
|
|
252
|
-
bodyMapper: Mappers.Workspace
|
|
253
|
-
},
|
|
254
|
-
201: {
|
|
255
|
-
bodyMapper: Mappers.Workspace
|
|
256
|
-
},
|
|
257
|
-
default: {
|
|
258
|
-
bodyMapper: Mappers.ErrorResponse
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
serializer: serializer
|
|
262
|
-
};
|
|
263
|
-
var beginUpdateOperationSpec = {
|
|
264
|
-
httpMethod: "PATCH",
|
|
265
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
266
|
-
urlParameters: [
|
|
267
|
-
Parameters.resourceGroupName,
|
|
268
|
-
Parameters.workspaceName,
|
|
269
|
-
Parameters.subscriptionId
|
|
270
|
-
],
|
|
271
|
-
queryParameters: [
|
|
272
|
-
Parameters.apiVersion
|
|
273
|
-
],
|
|
274
|
-
headerParameters: [
|
|
275
|
-
Parameters.acceptLanguage
|
|
276
|
-
],
|
|
277
|
-
requestBody: {
|
|
278
|
-
parameterPath: "parameters",
|
|
279
|
-
mapper: tslib_1.__assign({}, Mappers.WorkspaceUpdate, { required: true })
|
|
280
|
-
},
|
|
281
|
-
responses: {
|
|
282
|
-
200: {
|
|
283
|
-
bodyMapper: Mappers.Workspace
|
|
284
|
-
},
|
|
285
|
-
202: {},
|
|
286
|
-
default: {
|
|
287
|
-
bodyMapper: Mappers.ErrorResponse
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
serializer: serializer
|
|
291
|
-
};
|
|
292
|
-
var listByResourceGroupNextOperationSpec = {
|
|
293
|
-
httpMethod: "GET",
|
|
294
|
-
baseUrl: "https://management.azure.com",
|
|
295
|
-
path: "{nextLink}",
|
|
296
|
-
urlParameters: [
|
|
297
|
-
Parameters.nextPageLink
|
|
298
|
-
],
|
|
299
|
-
headerParameters: [
|
|
300
|
-
Parameters.acceptLanguage
|
|
301
|
-
],
|
|
302
|
-
responses: {
|
|
303
|
-
200: {
|
|
304
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
305
|
-
},
|
|
306
|
-
default: {
|
|
307
|
-
bodyMapper: Mappers.ErrorResponse
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
serializer: serializer
|
|
311
|
-
};
|
|
312
|
-
var listBySubscriptionNextOperationSpec = {
|
|
313
|
-
httpMethod: "GET",
|
|
314
|
-
baseUrl: "https://management.azure.com",
|
|
315
|
-
path: "{nextLink}",
|
|
316
|
-
urlParameters: [
|
|
317
|
-
Parameters.nextPageLink
|
|
318
|
-
],
|
|
319
|
-
headerParameters: [
|
|
320
|
-
Parameters.acceptLanguage
|
|
321
|
-
],
|
|
322
|
-
responses: {
|
|
323
|
-
200: {
|
|
324
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
325
|
-
},
|
|
326
|
-
default: {
|
|
327
|
-
bodyMapper: Mappers.ErrorResponse
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
serializer: serializer
|
|
331
|
-
};
|
|
332
|
-
//# sourceMappingURL=workspaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../lib/operations/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,wBAAG,GAAH,UAAI,iBAAyB,EAAE,aAAqB,EAAE,OAA8E,EAAE,QAAmD;QACvL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,aAAa,eAAA;YACb,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA0C,CAAC;IACvD,CAAC;IAED;;;;;;OAMG;IACH,iCAAY,GAAZ,UAAa,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,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "./models";
|
|
13
|
-
import * as Mappers from "./models/mappers";
|
|
14
|
-
import * as operations from "./operations";
|
|
15
|
-
import { DatabricksClientContext } from "./databricksClientContext";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class DatabricksClient extends DatabricksClientContext {
|
|
19
|
-
// Operation groups
|
|
20
|
-
workspaces: operations.Workspaces;
|
|
21
|
-
operations: operations.Operations;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the DatabricksClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
26
|
-
* @param subscriptionId The ID of the target subscription.
|
|
27
|
-
* @param [options] The parameter options
|
|
28
|
-
*/
|
|
29
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DatabricksClientOptions) {
|
|
30
|
-
super(credentials, subscriptionId, options);
|
|
31
|
-
this.workspaces = new operations.Workspaces(this);
|
|
32
|
-
this.operations = new operations.Operations(this);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
|
|
38
|
-
export {
|
|
39
|
-
DatabricksClient,
|
|
40
|
-
DatabricksClientContext,
|
|
41
|
-
Models as DatabricksModels,
|
|
42
|
-
Mappers as DatabricksMappers
|
|
43
|
-
};
|
|
44
|
-
export * from "./operations";
|