@azure/arm-machinelearningexperimentation 2.0.0-alpha.20220428.2 → 2.0.0-beta.3

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +3 -13
  2. package/dist/index.js +29 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/accountsDeleteSample.js +2 -2
  7. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +2 -2
  8. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -1
  9. package/dist-esm/samples-dev/accountsListSample.js +2 -2
  10. package/dist-esm/samples-dev/accountsListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/projectsDeleteSample.js +2 -2
  12. package/dist-esm/src/mLTeamAccountManagementClient.d.ts +2 -0
  13. package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +1 -1
  14. package/dist-esm/src/mLTeamAccountManagementClient.js +29 -0
  15. package/dist-esm/src/mLTeamAccountManagementClient.js.map +1 -1
  16. package/dist-esm/test/sampleTest.js +11 -13
  17. package/dist-esm/test/sampleTest.js.map +1 -1
  18. package/package.json +9 -5
  19. package/src/mLTeamAccountManagementClient.ts +34 -0
  20. package/types/arm-machinelearningexperimentation.d.ts +2 -0
  21. package/dist-esm/samples-dev/accountCreate.d.ts +0 -2
  22. package/dist-esm/samples-dev/accountCreate.d.ts.map +0 -1
  23. package/dist-esm/samples-dev/accountCreate.js +0 -33
  24. package/dist-esm/samples-dev/accountCreate.js.map +0 -1
  25. package/dist-esm/samples-dev/accountGet.d.ts +0 -2
  26. package/dist-esm/samples-dev/accountGet.d.ts.map +0 -1
  27. package/dist-esm/samples-dev/accountGet.js +0 -31
  28. package/dist-esm/samples-dev/accountGet.js.map +0 -1
  29. package/dist-esm/samples-dev/accountUpdate.d.ts +0 -2
  30. package/dist-esm/samples-dev/accountUpdate.d.ts.map +0 -1
  31. package/dist-esm/samples-dev/accountUpdate.js +0 -35
  32. package/dist-esm/samples-dev/accountUpdate.js.map +0 -1
  33. package/dist-esm/samples-dev/createProject.d.ts +0 -2
  34. package/dist-esm/samples-dev/createProject.d.ts.map +0 -1
  35. package/dist-esm/samples-dev/createProject.js +0 -39
  36. package/dist-esm/samples-dev/createProject.js.map +0 -1
  37. package/dist-esm/samples-dev/getProject.d.ts +0 -2
  38. package/dist-esm/samples-dev/getProject.d.ts.map +0 -1
  39. package/dist-esm/samples-dev/getProject.js +0 -33
  40. package/dist-esm/samples-dev/getProject.js.map +0 -1
  41. package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts +0 -2
  42. package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts.map +0 -1
  43. package/dist-esm/samples-dev/listWorkspacesByAccounts.js +0 -45
  44. package/dist-esm/samples-dev/listWorkspacesByAccounts.js.map +0 -1
  45. package/dist-esm/samples-dev/projectListByWorkspaces.d.ts +0 -2
  46. package/dist-esm/samples-dev/projectListByWorkspaces.d.ts.map +0 -1
  47. package/dist-esm/samples-dev/projectListByWorkspaces.js +0 -46
  48. package/dist-esm/samples-dev/projectListByWorkspaces.js.map +0 -1
  49. package/dist-esm/samples-dev/updateProject.d.ts +0 -2
  50. package/dist-esm/samples-dev/updateProject.d.ts.map +0 -1
  51. package/dist-esm/samples-dev/updateProject.js +0 -37
  52. package/dist-esm/samples-dev/updateProject.js.map +0 -1
  53. package/dist-esm/samples-dev/workspaceCreate.d.ts +0 -2
  54. package/dist-esm/samples-dev/workspaceCreate.d.ts.map +0 -1
  55. package/dist-esm/samples-dev/workspaceCreate.js +0 -37
  56. package/dist-esm/samples-dev/workspaceCreate.js.map +0 -1
  57. package/dist-esm/samples-dev/workspaceDelete.d.ts +0 -2
  58. package/dist-esm/samples-dev/workspaceDelete.d.ts.map +0 -1
  59. package/dist-esm/samples-dev/workspaceDelete.js +0 -32
  60. package/dist-esm/samples-dev/workspaceDelete.js.map +0 -1
  61. package/dist-esm/samples-dev/workspaceGet.d.ts +0 -2
  62. package/dist-esm/samples-dev/workspaceGet.d.ts.map +0 -1
  63. package/dist-esm/samples-dev/workspaceGet.js +0 -32
  64. package/dist-esm/samples-dev/workspaceGet.js.map +0 -1
  65. package/dist-esm/samples-dev/workspaceUpdate.d.ts +0 -2
  66. package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +0 -1
  67. package/dist-esm/samples-dev/workspaceUpdate.js +0 -33
  68. package/dist-esm/samples-dev/workspaceUpdate.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountGet.d.ts","sourceRoot":"","sources":["../../samples-dev/accountGet.ts"],"names":[],"mappings":""}
@@ -1,31 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Gets the properties of the specified machine learning team account.
13
- *
14
- * @summary Gets the properties of the specified machine learning team account.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/GetAccount.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function accountGet() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const credential = new DefaultAzureCredential();
25
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
26
- const result = yield client.accounts.get(resourceGroupName, accountName);
27
- console.log(result);
28
- });
29
- }
30
- accountGet().catch(console.error);
31
- //# sourceMappingURL=accountGet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountGet.js","sourceRoot":"","sources":["../../samples-dev/accountGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,UAAU;;QACvB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;QACzE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,UAAU,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=accountUpdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/accountUpdate.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- 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 team account with the specified parameters.
13
- *
14
- * @summary Updates a machine learning team account with the specified parameters.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/UpdateAccount.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function accountUpdate() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const parameters = {
25
- description: "new description",
26
- tags: { tagKey1: "TagValue1" }
27
- };
28
- const credential = new DefaultAzureCredential();
29
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
30
- const result = yield client.accounts.update(resourceGroupName, accountName, parameters);
31
- console.log(result);
32
- });
33
- }
34
- accountUpdate().catch(console.error);
35
- //# sourceMappingURL=accountUpdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountUpdate.js","sourceRoot":"","sources":["../../samples-dev/accountUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,UAAU,GAA4B;YAC1C,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CACzC,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createProject.d.ts","sourceRoot":"","sources":["../../samples-dev/createProject.ts"],"names":[],"mappings":""}
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- 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 project with the specified parameters.
13
- *
14
- * @summary Creates or updates a project with the specified parameters.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/CreateProject.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createProject() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
- const resourceGroupName = "myResourceGroup";
23
- const accountName = "testaccount";
24
- const workspaceName = "testworkspace";
25
- const projectName = "testProject";
26
- const parameters = {
27
- friendlyName: "testName",
28
- gitrepo: "https://github/abc",
29
- location: "East US",
30
- tags: { tagKey1: "TagValue1" }
31
- };
32
- const credential = new DefaultAzureCredential();
33
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
34
- const result = yield client.projects.createOrUpdate(resourceGroupName, accountName, workspaceName, projectName, parameters);
35
- console.log(result);
36
- });
37
- }
38
- createProject().catch(console.error);
39
- //# sourceMappingURL=createProject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createProject.js","sourceRoot":"","sources":["../../samples-dev/createProject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAY;YAC1B,YAAY,EAAE,UAAU;YACxB,OAAO,EAAE,oBAAoB;YAC7B,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,cAAc,CACjD,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=getProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProject.d.ts","sourceRoot":"","sources":["../../samples-dev/getProject.ts"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Gets the properties of the specified machine learning project.
13
- *
14
- * @summary Gets the properties of the specified machine learning project.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/GetProject.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function getProject() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const workspaceName = "testworkspace";
25
- const projectName = "testProject";
26
- const credential = new DefaultAzureCredential();
27
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
28
- const result = yield client.projects.get(resourceGroupName, accountName, workspaceName, projectName);
29
- console.log(result);
30
- });
31
- }
32
- getProject().catch(console.error);
33
- //# sourceMappingURL=getProject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProject.js","sourceRoot":"","sources":["../../samples-dev/getProject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,UAAU;;QACvB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CACtC,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,UAAU,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=listWorkspacesByAccounts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listWorkspacesByAccounts.d.ts","sourceRoot":"","sources":["../../samples-dev/listWorkspacesByAccounts.ts"],"names":[],"mappings":""}
@@ -1,45 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncValues, __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Lists all the available machine learning workspaces under the specified team account.
13
- *
14
- * @summary Lists all the available machine learning workspaces under the specified team account.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/ListWorkspacesByAccounts.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function listWorkspacesByAccounts() {
20
- var e_1, _a;
21
- return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
23
- const accountName = "testaccount";
24
- const resourceGroupName = "accountcrud-1234";
25
- const credential = new DefaultAzureCredential();
26
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
27
- const resArray = new Array();
28
- try {
29
- for (var _b = __asyncValues(client.workspaces.listByAccounts(accountName, resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
30
- let item = _c.value;
31
- resArray.push(item);
32
- }
33
- }
34
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
- finally {
36
- try {
37
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
- }
39
- finally { if (e_1) throw e_1.error; }
40
- }
41
- console.log(resArray);
42
- });
43
- }
44
- listWorkspacesByAccounts().catch(console.error);
45
- //# sourceMappingURL=listWorkspacesByAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listWorkspacesByAccounts.js","sourceRoot":"","sources":["../../samples-dev/listWorkspacesByAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,wBAAwB;;;QACrC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,cAAc,CACrD,WAAW,EACX,iBAAiB,CAClB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=projectListByWorkspaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectListByWorkspaces.d.ts","sourceRoot":"","sources":["../../samples-dev/projectListByWorkspaces.ts"],"names":[],"mappings":""}
@@ -1,46 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncValues, __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Lists all the available machine learning projects under the specified workspace.
13
- *
14
- * @summary Lists all the available machine learning projects under the specified workspace.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/ProjectListByWorkspaces.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function projectListByWorkspaces() {
20
- var e_1, _a;
21
- return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
23
- const accountName = "testaccount";
24
- const workspaceName = "testworkspace";
25
- const resourceGroupName = "testrg";
26
- const credential = new DefaultAzureCredential();
27
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
28
- const resArray = new Array();
29
- try {
30
- for (var _b = __asyncValues(client.projects.listByWorkspace(accountName, workspaceName, resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
31
- let item = _c.value;
32
- resArray.push(item);
33
- }
34
- }
35
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
36
- finally {
37
- try {
38
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
39
- }
40
- finally { if (e_1) throw e_1.error; }
41
- }
42
- console.log(resArray);
43
- });
44
- }
45
- projectListByWorkspaces().catch(console.error);
46
- //# sourceMappingURL=projectListByWorkspaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectListByWorkspaces.js","sourceRoot":"","sources":["../../samples-dev/projectListByWorkspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uBAAuB;;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,eAAe,CACpD,WAAW,EACX,aAAa,EACb,iBAAiB,CAClB,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=updateProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateProject.d.ts","sourceRoot":"","sources":["../../samples-dev/updateProject.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Updates a project with the specified parameters.
13
- *
14
- * @summary Updates a project with the specified parameters.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/UpdateProject.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function updateProject() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const workspaceName = "testworkspace";
25
- const projectName = "testProject";
26
- const parameters = {
27
- friendlyName: "testName",
28
- tags: { tagKey1: "TagValue1" }
29
- };
30
- const credential = new DefaultAzureCredential();
31
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
32
- const result = yield client.projects.update(resourceGroupName, accountName, workspaceName, projectName, parameters);
33
- console.log(result);
34
- });
35
- }
36
- updateProject().catch(console.error);
37
- //# sourceMappingURL=updateProject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateProject.js","sourceRoot":"","sources":["../../samples-dev/updateProject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAA4B;YAC1C,YAAY,EAAE,UAAU;YACxB,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CACzC,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workspaceCreate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/workspaceCreate.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- 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 machine learning workspace with the specified parameters.
13
- *
14
- * @summary Creates or updates a machine learning workspace with the specified parameters.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/WorkspaceCreate.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function workspaceCreate() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
- const resourceGroupName = "myResourceGroup";
23
- const accountName = "testaccount";
24
- const workspaceName = "testworkspace";
25
- const parameters = {
26
- friendlyName: "testName",
27
- location: "East US",
28
- tags: { tagKey1: "TagValue1" }
29
- };
30
- const credential = new DefaultAzureCredential();
31
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
32
- const result = yield client.workspaces.createOrUpdate(resourceGroupName, accountName, workspaceName, parameters);
33
- console.log(result);
34
- });
35
- }
36
- workspaceCreate().catch(console.error);
37
- //# sourceMappingURL=workspaceCreate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceCreate.js","sourceRoot":"","sources":["../../samples-dev/workspaceCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAc;YAC5B,YAAY,EAAE,UAAU;YACxB,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,cAAc,CACnD,iBAAiB,EACjB,WAAW,EACX,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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workspaceDelete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/workspaceDelete.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Deletes a machine learning workspace.
13
- *
14
- * @summary Deletes a machine learning workspace.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/WorkspaceDelete.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function workspaceDelete() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
- const resourceGroupName = "myResourceGroup";
23
- const accountName = "myAccount";
24
- const workspaceName = "testworkspace";
25
- const credential = new DefaultAzureCredential();
26
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
27
- const result = yield client.workspaces.delete(resourceGroupName, accountName, workspaceName);
28
- console.log(result);
29
- });
30
- }
31
- workspaceDelete().catch(console.error);
32
- //# sourceMappingURL=workspaceDelete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceDelete.js","sourceRoot":"","sources":["../../samples-dev/workspaceDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,WAAW,EACX,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workspaceGet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceGet.d.ts","sourceRoot":"","sources":["../../samples-dev/workspaceGet.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Gets the properties of the specified machine learning workspace.
13
- *
14
- * @summary Gets the properties of the specified machine learning workspace.
15
- * x-ms-original-file: specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/WorkspaceGet.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function workspaceGet() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const workspaceName = "testworkspace";
25
- const credential = new DefaultAzureCredential();
26
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
27
- const result = yield client.workspaces.get(resourceGroupName, accountName, workspaceName);
28
- console.log(result);
29
- });
30
- }
31
- workspaceGet().catch(console.error);
32
- //# sourceMappingURL=workspaceGet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceGet.js","sourceRoot":"","sources":["../../samples-dev/workspaceGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CACxC,iBAAiB,EACjB,WAAW,EACX,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workspaceUpdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/workspaceUpdate.ts"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- 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/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/examples/WorkspaceUpdate.json
16
- */
17
- import { MLTeamAccountManagementClient } from "@azure/arm-machinelearningexperimentation";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function workspaceUpdate() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "accountcrud-1234";
23
- const accountName = "accountcrud5678";
24
- const workspaceName = "testworkspace";
25
- const parameters = { friendlyName: "testNameNew" };
26
- const credential = new DefaultAzureCredential();
27
- const client = new MLTeamAccountManagementClient(credential, subscriptionId);
28
- const result = yield client.workspaces.update(resourceGroupName, accountName, workspaceName, parameters);
29
- console.log(result);
30
- });
31
- }
32
- workspaceUpdate().catch(console.error);
33
- //# sourceMappingURL=workspaceUpdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceUpdate.js","sourceRoot":"","sources":["../../samples-dev/workspaceUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAA8B,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;QAC9E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,WAAW,EACX,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"}