@azure/arm-workspaces 1.1.1-alpha.20250123.1 → 1.1.1-alpha.20250127.1
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/dist-esm/samples-dev/listWorkspaceKeys.js +1 -3
- package/dist-esm/samples-dev/listWorkspaceKeys.js.map +1 -1
- package/dist-esm/samples-dev/resyncStorageKeys.js +1 -3
- package/dist-esm/samples-dev/resyncStorageKeys.js.map +1 -1
- package/dist-esm/samples-dev/workspaceCreate.js +1 -16
- package/dist-esm/samples-dev/workspaceCreate.js.map +1 -1
- package/dist-esm/samples-dev/workspaceDelete.js +1 -3
- package/dist-esm/samples-dev/workspaceDelete.js.map +1 -1
- package/dist-esm/samples-dev/workspaceGet.js +1 -3
- package/dist-esm/samples-dev/workspaceGet.js.map +1 -1
- package/dist-esm/samples-dev/workspaceGetBySubscription.js +2 -4
- package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +1 -1
- package/dist-esm/samples-dev/workspaceListResourceGroup.js +2 -4
- package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +1 -1
- package/dist-esm/samples-dev/workspaceUpdate.js +1 -16
- package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +1 -10
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -3
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +1 -3
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +2 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListSample.js +2 -4
- package/dist-esm/samples-dev/workspacesListSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js +1 -3
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.js +1 -3
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +1 -10
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to List the authorization keys associated with this workspace.
|
|
13
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listWorkspaceKeys.js","sourceRoot":"","sources":["../../samples-dev/listWorkspaceKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"listWorkspaceKeys.js","sourceRoot":"","sources":["../../samples-dev/listWorkspaceKeys.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;QAC3F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to Resync storage keys associated with this workspace.
|
|
13
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resyncStorageKeys.js","sourceRoot":"","sources":["../../samples-dev/resyncStorageKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"resyncStorageKeys.js","sourceRoot":"","sources":["../../samples-dev/resyncStorageKeys.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;QAC3F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,19 +1,4 @@
|
|
|
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
1
|
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Creates or updates a workspace with the specified parameters.
|
|
13
|
-
*
|
|
14
|
-
* @summary Creates or updates a workspace with the specified parameters.
|
|
15
|
-
* x-ms-original-file: specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
|
|
16
|
-
*/
|
|
17
2
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
4
|
function workspaceCreate() {
|
|
@@ -26,7 +11,7 @@ function workspaceCreate() {
|
|
|
26
11
|
ownerEmail: "abc@microsoft.com",
|
|
27
12
|
sku: { name: "Enterprise", tier: "Enterprise" },
|
|
28
13
|
tags: { tagKey1: "TagValue1" },
|
|
29
|
-
userStorageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage"
|
|
14
|
+
userStorageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
|
|
30
15
|
};
|
|
31
16
|
const credential = new DefaultAzureCredential();
|
|
32
17
|
const client = new MachineLearningWorkspacesManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceCreate.js","sourceRoot":"","sources":["../../samples-dev/workspaceCreate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspaceCreate.js","sourceRoot":"","sources":["../../samples-dev/workspaceCreate.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAc;YAC5B,QAAQ,EAAE,aAAa;YACvB,UAAU,EAAE,mBAAmB;YAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;YAC9B,oBAAoB,EAClB,4IAA4I;SAC/I,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,cAAc,CACnD,iBAAiB,EACjB,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to Deletes a machine learning workspace.
|
|
13
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceDelete.js","sourceRoot":"","sources":["../../samples-dev/workspaceDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspaceDelete.js","sourceRoot":"","sources":["../../samples-dev/workspaceDelete.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAChF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to Gets the properties of the specified machine learning workspace.
|
|
13
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceGet.js","sourceRoot":"","sources":["../../samples-dev/workspaceGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspaceGet.js","sourceRoot":"","sources":["../../samples-dev/workspaceGet.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC7E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to Lists all the available machine learning workspaces under the specified subscription.
|
|
13
11
|
*
|
|
@@ -27,7 +25,7 @@ function workspaceGetBySubscription() {
|
|
|
27
25
|
for (var _d = true, _e = __asyncValues(client.workspaces.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
28
26
|
_c = _f.value;
|
|
29
27
|
_d = false;
|
|
30
|
-
|
|
28
|
+
const item = _c;
|
|
31
29
|
resArray.push(item);
|
|
32
30
|
}
|
|
33
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceGetBySubscription.js","sourceRoot":"","sources":["../../samples-dev/workspaceGetBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspaceGetBySubscription.js","sourceRoot":"","sources":["../../samples-dev/workspaceGetBySubscription.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAA3B,cAAwB;gBAAxB,WAAwB;gBAAtC,MAAM,IAAI,KAAA,CAAA;gBACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
/**
|
|
12
10
|
* This sample demonstrates how to Lists all the available machine learning workspaces under the specified resource group.
|
|
13
11
|
*
|
|
@@ -28,7 +26,7 @@ function workspaceListResourceGroup() {
|
|
|
28
26
|
for (var _d = true, _e = __asyncValues(client.workspaces.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
29
27
|
_c = _f.value;
|
|
30
28
|
_d = false;
|
|
31
|
-
|
|
29
|
+
const item = _c;
|
|
32
30
|
resArray.push(item);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceListResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/workspaceListResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspaceListResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/workspaceListResourceGroup.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAA3D,cAAwD;gBAAxD,WAAwD;gBAAtE,MAAM,IAAI,KAAA,CAAA;gBACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,19 +1,4 @@
|
|
|
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
1
|
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Updates a machine learning workspace with the specified parameters.
|
|
13
|
-
*
|
|
14
|
-
* @summary Updates a machine learning workspace with the specified parameters.
|
|
15
|
-
* x-ms-original-file: specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
|
|
16
|
-
*/
|
|
17
2
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
4
|
function workspaceUpdate() {
|
|
@@ -24,7 +9,7 @@ function workspaceUpdate() {
|
|
|
24
9
|
const parameters = {
|
|
25
10
|
keyVaultIdentifierId: "kvidnew",
|
|
26
11
|
sku: { name: "Enterprise", tier: "Enterprise" },
|
|
27
|
-
tags: { tagKey1: "TagValue1" }
|
|
12
|
+
tags: { tagKey1: "TagValue1" },
|
|
28
13
|
};
|
|
29
14
|
const credential = new DefaultAzureCredential();
|
|
30
15
|
const client = new MachineLearningWorkspacesManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceUpdate.js","sourceRoot":"","sources":["../../samples-dev/workspaceUpdate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspaceUpdate.js","sourceRoot":"","sources":["../../samples-dev/workspaceUpdate.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAA8B;YAC5C,oBAAoB,EAAE,SAAS;YAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;QAC5F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,13 +1,4 @@
|
|
|
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
1
|
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
2
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
4
|
/**
|
|
@@ -26,7 +17,7 @@ function workspaceCreate() {
|
|
|
26
17
|
ownerEmail: "abc@microsoft.com",
|
|
27
18
|
sku: { name: "Enterprise", tier: "Enterprise" },
|
|
28
19
|
tags: { tagKey1: "TagValue1" },
|
|
29
|
-
userStorageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage"
|
|
20
|
+
userStorageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
|
|
30
21
|
};
|
|
31
22
|
const credential = new DefaultAzureCredential();
|
|
32
23
|
const client = new MachineLearningWorkspacesManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesCreateOrUpdateSample.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspacesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesCreateOrUpdateSample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAc;YAC5B,QAAQ,EAAE,aAAa;YACvB,UAAU,EAAE,mBAAmB;YAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;YAC9B,oBAAoB,EAClB,4IAA4I;SAC/I,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,cAAc,CACnD,iBAAiB,EACjB,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesDeleteSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAChF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesGetSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC7E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -28,7 +26,7 @@ function workspaceListResourceGroup() {
|
|
|
28
26
|
for (var _d = true, _e = __asyncValues(client.workspaces.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
29
27
|
_c = _f.value;
|
|
30
28
|
_d = false;
|
|
31
|
-
|
|
29
|
+
const item = _c;
|
|
32
30
|
resArray.push(item);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAA3D,cAAwD;gBAAxD,WAAwD;gBAAtE,MAAM,IAAI,KAAA,CAAA;gBACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -27,7 +25,7 @@ function workspaceGetBySubscription() {
|
|
|
27
25
|
for (var _d = true, _e = __asyncValues(client.workspaces.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
28
26
|
_c = _f.value;
|
|
29
27
|
_d = false;
|
|
30
|
-
|
|
28
|
+
const item = _c;
|
|
31
29
|
resArray.push(item);
|
|
32
30
|
}
|
|
33
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesListSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesListSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAA3B,cAAwB;gBAAxB,WAAwB;gBAAtC,MAAM,IAAI,KAAA,CAAA;gBACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesListWorkspaceKeysSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListWorkspaceKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesListWorkspaceKeysSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListWorkspaceKeysSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;QAC3F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,9 +6,6 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
9
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesResyncStorageKeysSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesResyncStorageKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"workspacesResyncStorageKeysSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesResyncStorageKeysSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;QAC3F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,13 +1,4 @@
|
|
|
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
1
|
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
2
|
import { MachineLearningWorkspacesManagementClient } from "@azure/arm-workspaces";
|
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
4
|
/**
|
|
@@ -24,7 +15,7 @@ function workspaceUpdate() {
|
|
|
24
15
|
const parameters = {
|
|
25
16
|
keyVaultIdentifierId: "kvidnew",
|
|
26
17
|
sku: { name: "Enterprise", tier: "Enterprise" },
|
|
27
|
-
tags: { tagKey1: "TagValue1" }
|
|
18
|
+
tags: { tagKey1: "TagValue1" },
|
|
28
19
|
};
|
|
29
20
|
const credential = new DefaultAzureCredential();
|
|
30
21
|
const client = new MachineLearningWorkspacesManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAA8B;YAC5C,oBAAoB,EAAE,SAAS;YAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yCAAyC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;QAC5F,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/package.json
CHANGED