@azure/arm-workspaces 0.2.0 → 1.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 -80
- package/dist/index.js +1009 -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/samples-dev/listWorkspaceKeys.d.ts +2 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.js +31 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.js.map +1 -0
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts +2 -0
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/resyncStorageKeys.js +31 -0
- package/dist-esm/samples-dev/resyncStorageKeys.js.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.js +38 -0
- package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.js +31 -0
- package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.js +31 -0
- package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.js +43 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.js +44 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.js +36 -0
- package/dist-esm/samples-dev/workspaceUpdate.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/machineLearningWorkspacesManagementClient.d.ts +19 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.js +52 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +190 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +12 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +177 -167
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +102 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +106 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +423 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -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/workspaces.d.ts +68 -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/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +81 -34
- package/review/arm-workspaces.api.md +206 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/machineLearningWorkspacesManagementClient.ts +64 -37
- package/src/models/index.ts +184 -393
- package/src/models/mappers.ts +177 -166
- package/src/models/parameters.ts +73 -26
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +66 -42
- package/src/operations/workspaces.ts +329 -406
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/workspaces.ts +123 -0
- package/tsconfig.json +6 -5
- package/types/arm-workspaces.d.ts +316 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-workspaces.js +0 -990
- package/dist/arm-workspaces.js.map +0 -1
- package/dist/arm-workspaces.min.js +0 -1
- package/dist/arm-workspaces.min.js.map +0 -1
- package/esm/machineLearningWorkspacesManagementClient.d.ts +0 -25
- package/esm/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
- package/esm/machineLearningWorkspacesManagementClient.js +0 -39
- package/esm/machineLearningWorkspacesManagementClient.js.map +0 -1
- package/esm/machineLearningWorkspacesManagementClientContext.d.ts +0 -22
- package/esm/machineLearningWorkspacesManagementClientContext.d.ts.map +0 -1
- package/esm/machineLearningWorkspacesManagementClientContext.js +0 -61
- package/esm/machineLearningWorkspacesManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -417
- 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 -13
- 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 +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 -71
- 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.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 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -235
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -329
- package/esm/operations/workspaces.js.map +0 -1
- package/src/machineLearningWorkspacesManagementClientContext.ts +0 -68
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/workspacesMappers.ts +0 -20
|
@@ -1,51 +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 {MachineLearningWorkspacesManagementClientContext} 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
|
-
return Operations;
|
|
28
|
-
}());
|
|
29
|
-
export { Operations };
|
|
30
|
-
// Operation Specifications
|
|
31
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
32
|
-
var listOperationSpec = {
|
|
33
|
-
httpMethod: "GET",
|
|
34
|
-
path: "providers/Microsoft.MachineLearning/operations",
|
|
35
|
-
queryParameters: [
|
|
36
|
-
Parameters.apiVersion
|
|
37
|
-
],
|
|
38
|
-
headerParameters: [
|
|
39
|
-
Parameters.acceptLanguage
|
|
40
|
-
],
|
|
41
|
-
responses: {
|
|
42
|
-
200: {
|
|
43
|
-
bodyMapper: Mappers.OperationListResult
|
|
44
|
-
},
|
|
45
|
-
default: {
|
|
46
|
-
bodyMapper: Mappers.ErrorResponse
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
serializer: serializer
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/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,MAAwD;QAClE,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;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;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,gDAAgD;IACtD,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"}
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { MachineLearningWorkspacesManagementClientContext } from "../machineLearningWorkspacesManagementClientContext";
|
|
4
|
-
/** Class representing a Workspaces. */
|
|
5
|
-
export declare class Workspaces {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Workspaces.
|
|
9
|
-
* @param {MachineLearningWorkspacesManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: MachineLearningWorkspacesManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Gets the properties of the specified machine learning workspace.
|
|
14
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
15
|
-
* belongs.
|
|
16
|
-
* @param workspaceName The name of the machine learning 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 to which the machine learning workspace
|
|
23
|
-
* belongs.
|
|
24
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
25
|
-
* @param callback The callback
|
|
26
|
-
*/
|
|
27
|
-
get(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
28
|
-
/**
|
|
29
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
30
|
-
* belongs.
|
|
31
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
32
|
-
* @param options The optional parameters
|
|
33
|
-
* @param callback The callback
|
|
34
|
-
*/
|
|
35
|
-
get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
36
|
-
/**
|
|
37
|
-
* Creates or updates a workspace with the specified parameters.
|
|
38
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
39
|
-
* belongs.
|
|
40
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
41
|
-
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
42
|
-
* @param [options] The optional parameters
|
|
43
|
-
* @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
|
|
44
|
-
*/
|
|
45
|
-
createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesCreateOrUpdateResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
48
|
-
* belongs.
|
|
49
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
50
|
-
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
51
|
-
* @param callback The callback
|
|
52
|
-
*/
|
|
53
|
-
createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
54
|
-
/**
|
|
55
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
56
|
-
* belongs.
|
|
57
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
58
|
-
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
59
|
-
* @param options The optional parameters
|
|
60
|
-
* @param callback The callback
|
|
61
|
-
*/
|
|
62
|
-
createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
63
|
-
/**
|
|
64
|
-
* Deletes a machine learning workspace.
|
|
65
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
66
|
-
* belongs.
|
|
67
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
68
|
-
* @param [options] The optional parameters
|
|
69
|
-
* @returns Promise<msRest.RestResponse>
|
|
70
|
-
*/
|
|
71
|
-
deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
74
|
-
* belongs.
|
|
75
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
76
|
-
* @param callback The callback
|
|
77
|
-
*/
|
|
78
|
-
deleteMethod(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<void>): void;
|
|
79
|
-
/**
|
|
80
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
81
|
-
* belongs.
|
|
82
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
83
|
-
* @param options The optional parameters
|
|
84
|
-
* @param callback The callback
|
|
85
|
-
*/
|
|
86
|
-
deleteMethod(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
87
|
-
/**
|
|
88
|
-
* Updates a machine learning workspace with the specified parameters.
|
|
89
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
90
|
-
* belongs.
|
|
91
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
92
|
-
* @param parameters The parameters for updating a machine learning workspace.
|
|
93
|
-
* @param [options] The optional parameters
|
|
94
|
-
* @returns Promise<Models.WorkspacesUpdateResponse>
|
|
95
|
-
*/
|
|
96
|
-
update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesUpdateResponse>;
|
|
97
|
-
/**
|
|
98
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
99
|
-
* belongs.
|
|
100
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
101
|
-
* @param parameters The parameters for updating a machine learning workspace.
|
|
102
|
-
* @param callback The callback
|
|
103
|
-
*/
|
|
104
|
-
update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
105
|
-
/**
|
|
106
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
107
|
-
* belongs.
|
|
108
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
109
|
-
* @param parameters The parameters for updating a machine learning workspace.
|
|
110
|
-
* @param options The optional parameters
|
|
111
|
-
* @param callback The callback
|
|
112
|
-
*/
|
|
113
|
-
update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
114
|
-
/**
|
|
115
|
-
* Resync storage keys associated with this workspace.
|
|
116
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
117
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
118
|
-
* belongs.
|
|
119
|
-
* @param [options] The optional parameters
|
|
120
|
-
* @returns Promise<msRest.RestResponse>
|
|
121
|
-
*/
|
|
122
|
-
resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
123
|
-
/**
|
|
124
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
125
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
126
|
-
* belongs.
|
|
127
|
-
* @param callback The callback
|
|
128
|
-
*/
|
|
129
|
-
resyncStorageKeys(workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<void>): void;
|
|
130
|
-
/**
|
|
131
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
132
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
133
|
-
* belongs.
|
|
134
|
-
* @param options The optional parameters
|
|
135
|
-
* @param callback The callback
|
|
136
|
-
*/
|
|
137
|
-
resyncStorageKeys(workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
138
|
-
/**
|
|
139
|
-
* List the authorization keys associated with this workspace.
|
|
140
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
141
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
142
|
-
* belongs.
|
|
143
|
-
* @param [options] The optional parameters
|
|
144
|
-
* @returns Promise<Models.WorkspacesListWorkspaceKeysResponse>
|
|
145
|
-
*/
|
|
146
|
-
listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListWorkspaceKeysResponse>;
|
|
147
|
-
/**
|
|
148
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
149
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
150
|
-
* belongs.
|
|
151
|
-
* @param callback The callback
|
|
152
|
-
*/
|
|
153
|
-
listWorkspaceKeys(workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.WorkspaceKeysResponse>): void;
|
|
154
|
-
/**
|
|
155
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
156
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
157
|
-
* belongs.
|
|
158
|
-
* @param options The optional parameters
|
|
159
|
-
* @param callback The callback
|
|
160
|
-
*/
|
|
161
|
-
listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceKeysResponse>): void;
|
|
162
|
-
/**
|
|
163
|
-
* Lists all the available machine learning workspaces under the specified resource group.
|
|
164
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
165
|
-
* belongs.
|
|
166
|
-
* @param [options] The optional parameters
|
|
167
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupResponse>
|
|
168
|
-
*/
|
|
169
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupResponse>;
|
|
170
|
-
/**
|
|
171
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
172
|
-
* belongs.
|
|
173
|
-
* @param callback The callback
|
|
174
|
-
*/
|
|
175
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
176
|
-
/**
|
|
177
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
178
|
-
* belongs.
|
|
179
|
-
* @param options The optional parameters
|
|
180
|
-
* @param callback The callback
|
|
181
|
-
*/
|
|
182
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
183
|
-
/**
|
|
184
|
-
* Lists all the available machine learning workspaces under the specified subscription.
|
|
185
|
-
* @param [options] The optional parameters
|
|
186
|
-
* @returns Promise<Models.WorkspacesListResponse>
|
|
187
|
-
*/
|
|
188
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListResponse>;
|
|
189
|
-
/**
|
|
190
|
-
* @param callback The callback
|
|
191
|
-
*/
|
|
192
|
-
list(callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
193
|
-
/**
|
|
194
|
-
* @param options The optional parameters
|
|
195
|
-
* @param callback The callback
|
|
196
|
-
*/
|
|
197
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
198
|
-
/**
|
|
199
|
-
* Lists all the available machine learning workspaces under the specified resource group.
|
|
200
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
201
|
-
* @param [options] The optional parameters
|
|
202
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupNextResponse>
|
|
203
|
-
*/
|
|
204
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupNextResponse>;
|
|
205
|
-
/**
|
|
206
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
207
|
-
* @param callback The callback
|
|
208
|
-
*/
|
|
209
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
210
|
-
/**
|
|
211
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
212
|
-
* @param options The optional parameters
|
|
213
|
-
* @param callback The callback
|
|
214
|
-
*/
|
|
215
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
216
|
-
/**
|
|
217
|
-
* Lists all the available machine learning workspaces under the specified subscription.
|
|
218
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
219
|
-
* @param [options] The optional parameters
|
|
220
|
-
* @returns Promise<Models.WorkspacesListNextResponse>
|
|
221
|
-
*/
|
|
222
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListNextResponse>;
|
|
223
|
-
/**
|
|
224
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
225
|
-
* @param callback The callback
|
|
226
|
-
*/
|
|
227
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
228
|
-
/**
|
|
229
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
230
|
-
* @param options The optional parameters
|
|
231
|
-
* @param callback The callback
|
|
232
|
-
*/
|
|
233
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
234
|
-
}
|
|
235
|
-
//# sourceMappingURL=workspaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/operations/workspaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,gDAAgD,EAAE,MAAM,qDAAqD,CAAC;AAEvH,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmD;IAE1E;;;OAGG;gBACS,MAAM,EAAE,gDAAgD;IAIpE;;;;;;;OAOG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,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CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,329 +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 { __assign } 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 {MachineLearningWorkspacesManagementClientContext} 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
|
-
Workspaces.prototype.createOrUpdate = function (resourceGroupName, workspaceName, parameters, options, callback) {
|
|
31
|
-
return this.client.sendOperationRequest({
|
|
32
|
-
resourceGroupName: resourceGroupName,
|
|
33
|
-
workspaceName: workspaceName,
|
|
34
|
-
parameters: parameters,
|
|
35
|
-
options: options
|
|
36
|
-
}, createOrUpdateOperationSpec, callback);
|
|
37
|
-
};
|
|
38
|
-
Workspaces.prototype.deleteMethod = function (resourceGroupName, workspaceName, options, callback) {
|
|
39
|
-
return this.client.sendOperationRequest({
|
|
40
|
-
resourceGroupName: resourceGroupName,
|
|
41
|
-
workspaceName: workspaceName,
|
|
42
|
-
options: options
|
|
43
|
-
}, deleteMethodOperationSpec, callback);
|
|
44
|
-
};
|
|
45
|
-
Workspaces.prototype.update = function (resourceGroupName, workspaceName, parameters, options, callback) {
|
|
46
|
-
return this.client.sendOperationRequest({
|
|
47
|
-
resourceGroupName: resourceGroupName,
|
|
48
|
-
workspaceName: workspaceName,
|
|
49
|
-
parameters: parameters,
|
|
50
|
-
options: options
|
|
51
|
-
}, updateOperationSpec, callback);
|
|
52
|
-
};
|
|
53
|
-
Workspaces.prototype.resyncStorageKeys = function (workspaceName, resourceGroupName, options, callback) {
|
|
54
|
-
return this.client.sendOperationRequest({
|
|
55
|
-
workspaceName: workspaceName,
|
|
56
|
-
resourceGroupName: resourceGroupName,
|
|
57
|
-
options: options
|
|
58
|
-
}, resyncStorageKeysOperationSpec, callback);
|
|
59
|
-
};
|
|
60
|
-
Workspaces.prototype.listWorkspaceKeys = function (workspaceName, resourceGroupName, options, callback) {
|
|
61
|
-
return this.client.sendOperationRequest({
|
|
62
|
-
workspaceName: workspaceName,
|
|
63
|
-
resourceGroupName: resourceGroupName,
|
|
64
|
-
options: options
|
|
65
|
-
}, listWorkspaceKeysOperationSpec, callback);
|
|
66
|
-
};
|
|
67
|
-
Workspaces.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
68
|
-
return this.client.sendOperationRequest({
|
|
69
|
-
resourceGroupName: resourceGroupName,
|
|
70
|
-
options: options
|
|
71
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
72
|
-
};
|
|
73
|
-
Workspaces.prototype.list = function (options, callback) {
|
|
74
|
-
return this.client.sendOperationRequest({
|
|
75
|
-
options: options
|
|
76
|
-
}, listOperationSpec, callback);
|
|
77
|
-
};
|
|
78
|
-
Workspaces.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
79
|
-
return this.client.sendOperationRequest({
|
|
80
|
-
nextPageLink: nextPageLink,
|
|
81
|
-
options: options
|
|
82
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
83
|
-
};
|
|
84
|
-
Workspaces.prototype.listNext = function (nextPageLink, options, callback) {
|
|
85
|
-
return this.client.sendOperationRequest({
|
|
86
|
-
nextPageLink: nextPageLink,
|
|
87
|
-
options: options
|
|
88
|
-
}, listNextOperationSpec, callback);
|
|
89
|
-
};
|
|
90
|
-
return Workspaces;
|
|
91
|
-
}());
|
|
92
|
-
export { Workspaces };
|
|
93
|
-
// Operation Specifications
|
|
94
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
95
|
-
var getOperationSpec = {
|
|
96
|
-
httpMethod: "GET",
|
|
97
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
98
|
-
urlParameters: [
|
|
99
|
-
Parameters.subscriptionId,
|
|
100
|
-
Parameters.resourceGroupName,
|
|
101
|
-
Parameters.workspaceName
|
|
102
|
-
],
|
|
103
|
-
queryParameters: [
|
|
104
|
-
Parameters.apiVersion
|
|
105
|
-
],
|
|
106
|
-
headerParameters: [
|
|
107
|
-
Parameters.acceptLanguage
|
|
108
|
-
],
|
|
109
|
-
responses: {
|
|
110
|
-
200: {
|
|
111
|
-
bodyMapper: Mappers.Workspace
|
|
112
|
-
},
|
|
113
|
-
default: {
|
|
114
|
-
bodyMapper: Mappers.ErrorResponse
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
serializer: serializer
|
|
118
|
-
};
|
|
119
|
-
var createOrUpdateOperationSpec = {
|
|
120
|
-
httpMethod: "PUT",
|
|
121
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
122
|
-
urlParameters: [
|
|
123
|
-
Parameters.subscriptionId,
|
|
124
|
-
Parameters.resourceGroupName,
|
|
125
|
-
Parameters.workspaceName
|
|
126
|
-
],
|
|
127
|
-
queryParameters: [
|
|
128
|
-
Parameters.apiVersion
|
|
129
|
-
],
|
|
130
|
-
headerParameters: [
|
|
131
|
-
Parameters.acceptLanguage
|
|
132
|
-
],
|
|
133
|
-
requestBody: {
|
|
134
|
-
parameterPath: "parameters",
|
|
135
|
-
mapper: __assign(__assign({}, Mappers.Workspace), { required: true })
|
|
136
|
-
},
|
|
137
|
-
responses: {
|
|
138
|
-
200: {
|
|
139
|
-
bodyMapper: Mappers.Workspace
|
|
140
|
-
},
|
|
141
|
-
default: {
|
|
142
|
-
bodyMapper: Mappers.ErrorResponse
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
serializer: serializer
|
|
146
|
-
};
|
|
147
|
-
var deleteMethodOperationSpec = {
|
|
148
|
-
httpMethod: "DELETE",
|
|
149
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
150
|
-
urlParameters: [
|
|
151
|
-
Parameters.subscriptionId,
|
|
152
|
-
Parameters.resourceGroupName,
|
|
153
|
-
Parameters.workspaceName
|
|
154
|
-
],
|
|
155
|
-
queryParameters: [
|
|
156
|
-
Parameters.apiVersion
|
|
157
|
-
],
|
|
158
|
-
headerParameters: [
|
|
159
|
-
Parameters.acceptLanguage
|
|
160
|
-
],
|
|
161
|
-
responses: {
|
|
162
|
-
200: {},
|
|
163
|
-
204: {},
|
|
164
|
-
default: {
|
|
165
|
-
bodyMapper: Mappers.ErrorResponse
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
serializer: serializer
|
|
169
|
-
};
|
|
170
|
-
var updateOperationSpec = {
|
|
171
|
-
httpMethod: "PATCH",
|
|
172
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
173
|
-
urlParameters: [
|
|
174
|
-
Parameters.subscriptionId,
|
|
175
|
-
Parameters.resourceGroupName,
|
|
176
|
-
Parameters.workspaceName
|
|
177
|
-
],
|
|
178
|
-
queryParameters: [
|
|
179
|
-
Parameters.apiVersion
|
|
180
|
-
],
|
|
181
|
-
headerParameters: [
|
|
182
|
-
Parameters.acceptLanguage
|
|
183
|
-
],
|
|
184
|
-
requestBody: {
|
|
185
|
-
parameterPath: "parameters",
|
|
186
|
-
mapper: __assign(__assign({}, Mappers.WorkspaceUpdateParameters), { required: true })
|
|
187
|
-
},
|
|
188
|
-
responses: {
|
|
189
|
-
200: {
|
|
190
|
-
bodyMapper: Mappers.Workspace
|
|
191
|
-
},
|
|
192
|
-
default: {
|
|
193
|
-
bodyMapper: Mappers.ErrorResponse
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
serializer: serializer
|
|
197
|
-
};
|
|
198
|
-
var resyncStorageKeysOperationSpec = {
|
|
199
|
-
httpMethod: "POST",
|
|
200
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys",
|
|
201
|
-
urlParameters: [
|
|
202
|
-
Parameters.subscriptionId,
|
|
203
|
-
Parameters.workspaceName,
|
|
204
|
-
Parameters.resourceGroupName
|
|
205
|
-
],
|
|
206
|
-
queryParameters: [
|
|
207
|
-
Parameters.apiVersion
|
|
208
|
-
],
|
|
209
|
-
headerParameters: [
|
|
210
|
-
Parameters.acceptLanguage
|
|
211
|
-
],
|
|
212
|
-
responses: {
|
|
213
|
-
200: {},
|
|
214
|
-
default: {
|
|
215
|
-
bodyMapper: Mappers.ErrorResponse
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
serializer: serializer
|
|
219
|
-
};
|
|
220
|
-
var listWorkspaceKeysOperationSpec = {
|
|
221
|
-
httpMethod: "POST",
|
|
222
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys",
|
|
223
|
-
urlParameters: [
|
|
224
|
-
Parameters.subscriptionId,
|
|
225
|
-
Parameters.workspaceName,
|
|
226
|
-
Parameters.resourceGroupName
|
|
227
|
-
],
|
|
228
|
-
queryParameters: [
|
|
229
|
-
Parameters.apiVersion
|
|
230
|
-
],
|
|
231
|
-
headerParameters: [
|
|
232
|
-
Parameters.acceptLanguage
|
|
233
|
-
],
|
|
234
|
-
responses: {
|
|
235
|
-
200: {
|
|
236
|
-
bodyMapper: Mappers.WorkspaceKeysResponse
|
|
237
|
-
},
|
|
238
|
-
default: {
|
|
239
|
-
bodyMapper: Mappers.ErrorResponse
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
serializer: serializer
|
|
243
|
-
};
|
|
244
|
-
var listByResourceGroupOperationSpec = {
|
|
245
|
-
httpMethod: "GET",
|
|
246
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces",
|
|
247
|
-
urlParameters: [
|
|
248
|
-
Parameters.subscriptionId,
|
|
249
|
-
Parameters.resourceGroupName
|
|
250
|
-
],
|
|
251
|
-
queryParameters: [
|
|
252
|
-
Parameters.apiVersion
|
|
253
|
-
],
|
|
254
|
-
headerParameters: [
|
|
255
|
-
Parameters.acceptLanguage
|
|
256
|
-
],
|
|
257
|
-
responses: {
|
|
258
|
-
200: {
|
|
259
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
260
|
-
},
|
|
261
|
-
default: {
|
|
262
|
-
bodyMapper: Mappers.ErrorResponse
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
serializer: serializer
|
|
266
|
-
};
|
|
267
|
-
var listOperationSpec = {
|
|
268
|
-
httpMethod: "GET",
|
|
269
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces",
|
|
270
|
-
urlParameters: [
|
|
271
|
-
Parameters.subscriptionId
|
|
272
|
-
],
|
|
273
|
-
queryParameters: [
|
|
274
|
-
Parameters.apiVersion
|
|
275
|
-
],
|
|
276
|
-
headerParameters: [
|
|
277
|
-
Parameters.acceptLanguage
|
|
278
|
-
],
|
|
279
|
-
responses: {
|
|
280
|
-
200: {
|
|
281
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
282
|
-
},
|
|
283
|
-
default: {
|
|
284
|
-
bodyMapper: Mappers.ErrorResponse
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
serializer: serializer
|
|
288
|
-
};
|
|
289
|
-
var listByResourceGroupNextOperationSpec = {
|
|
290
|
-
httpMethod: "GET",
|
|
291
|
-
baseUrl: "https://management.azure.com",
|
|
292
|
-
path: "{nextLink}",
|
|
293
|
-
urlParameters: [
|
|
294
|
-
Parameters.nextPageLink
|
|
295
|
-
],
|
|
296
|
-
headerParameters: [
|
|
297
|
-
Parameters.acceptLanguage
|
|
298
|
-
],
|
|
299
|
-
responses: {
|
|
300
|
-
200: {
|
|
301
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
302
|
-
},
|
|
303
|
-
default: {
|
|
304
|
-
bodyMapper: Mappers.ErrorResponse
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
serializer: serializer
|
|
308
|
-
};
|
|
309
|
-
var listNextOperationSpec = {
|
|
310
|
-
httpMethod: "GET",
|
|
311
|
-
baseUrl: "https://management.azure.com",
|
|
312
|
-
path: "{nextLink}",
|
|
313
|
-
urlParameters: [
|
|
314
|
-
Parameters.nextPageLink
|
|
315
|
-
],
|
|
316
|
-
headerParameters: [
|
|
317
|
-
Parameters.acceptLanguage
|
|
318
|
-
],
|
|
319
|
-
responses: {
|
|
320
|
-
200: {
|
|
321
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
322
|
-
},
|
|
323
|
-
default: {
|
|
324
|
-
bodyMapper: Mappers.ErrorResponse
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
serializer: serializer
|
|
328
|
-
};
|
|
329
|
-
//# sourceMappingURL=workspaces.js.map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