@azure/arm-machinelearningexperimentation 1.2.1 → 2.0.0-beta.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.
Files changed (202) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +1780 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/accountCreate.d.ts +2 -0
  9. package/dist-esm/samples-dev/accountCreate.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accountCreate.js +33 -0
  11. package/dist-esm/samples-dev/accountCreate.js.map +1 -0
  12. package/dist-esm/samples-dev/accountGet.d.ts +2 -0
  13. package/dist-esm/samples-dev/accountGet.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/accountGet.js +31 -0
  15. package/dist-esm/samples-dev/accountGet.js.map +1 -0
  16. package/dist-esm/samples-dev/accountUpdate.d.ts +2 -0
  17. package/dist-esm/samples-dev/accountUpdate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/accountUpdate.js +35 -0
  19. package/dist-esm/samples-dev/accountUpdate.js.map +1 -0
  20. package/dist-esm/samples-dev/createProject.d.ts +2 -0
  21. package/dist-esm/samples-dev/createProject.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createProject.js +39 -0
  23. package/dist-esm/samples-dev/createProject.js.map +1 -0
  24. package/dist-esm/samples-dev/getProject.d.ts +2 -0
  25. package/dist-esm/samples-dev/getProject.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/getProject.js +33 -0
  27. package/dist-esm/samples-dev/getProject.js.map +1 -0
  28. package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts +2 -0
  29. package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/listWorkspacesByAccounts.js +45 -0
  31. package/dist-esm/samples-dev/listWorkspacesByAccounts.js.map +1 -0
  32. package/dist-esm/samples-dev/projectListByWorkspaces.d.ts +2 -0
  33. package/dist-esm/samples-dev/projectListByWorkspaces.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/projectListByWorkspaces.js +46 -0
  35. package/dist-esm/samples-dev/projectListByWorkspaces.js.map +1 -0
  36. package/dist-esm/samples-dev/updateProject.d.ts +2 -0
  37. package/dist-esm/samples-dev/updateProject.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/updateProject.js +37 -0
  39. package/dist-esm/samples-dev/updateProject.js.map +1 -0
  40. package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
  41. package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/workspaceCreate.js +37 -0
  43. package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
  44. package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
  45. package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/workspaceDelete.js +32 -0
  47. package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
  48. package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
  49. package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/workspaceGet.js +32 -0
  51. package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
  52. package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
  53. package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/workspaceUpdate.js +33 -0
  55. package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -0
  56. package/dist-esm/src/index.d.ts +5 -0
  57. package/dist-esm/src/index.d.ts.map +1 -0
  58. package/dist-esm/src/index.js +12 -0
  59. package/dist-esm/src/index.js.map +1 -0
  60. package/dist-esm/src/mLTeamAccountManagementClient.d.ts +21 -0
  61. package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +1 -0
  62. package/dist-esm/src/mLTeamAccountManagementClient.js +54 -0
  63. package/dist-esm/src/mLTeamAccountManagementClient.js.map +1 -0
  64. package/dist-esm/src/models/index.d.ts +329 -0
  65. package/dist-esm/src/models/index.d.ts.map +1 -0
  66. package/dist-esm/src/models/index.js +9 -0
  67. package/dist-esm/src/models/index.js.map +1 -0
  68. package/dist-esm/src/models/mappers.d.ts +17 -0
  69. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  70. package/{esm → dist-esm/src}/models/mappers.js +273 -315
  71. package/dist-esm/src/models/mappers.js.map +1 -0
  72. package/dist-esm/src/models/parameters.d.ts +18 -0
  73. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  74. package/dist-esm/src/models/parameters.js +153 -0
  75. package/dist-esm/src/models/parameters.js.map +1 -0
  76. package/dist-esm/src/operations/accounts.d.ts +90 -0
  77. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  78. package/dist-esm/src/operations/accounts.js +366 -0
  79. package/dist-esm/src/operations/accounts.js.map +1 -0
  80. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  81. package/dist-esm/src/operations/index.d.ts.map +1 -0
  82. package/{esm → dist-esm/src}/operations/index.js +3 -5
  83. package/dist-esm/src/operations/index.js.map +1 -0
  84. package/dist-esm/src/operations/operations.d.ts +26 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +90 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operations/projects.d.ts +86 -0
  89. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  90. package/dist-esm/src/operations/projects.js +307 -0
  91. package/dist-esm/src/operations/projects.js.map +1 -0
  92. package/dist-esm/src/operations/workspaces.d.ts +79 -0
  93. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  94. package/dist-esm/src/operations/workspaces.js +280 -0
  95. package/dist-esm/src/operations/workspaces.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/accounts.d.ts +52 -0
  97. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  101. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  103. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/projects.d.ts +57 -0
  109. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +52 -0
  113. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +2 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +40 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +81 -34
  121. package/review/arm-machinelearningexperimentation.api.md +339 -0
  122. package/rollup.config.js +184 -27
  123. package/src/index.ts +12 -0
  124. package/src/mLTeamAccountManagementClient.ts +78 -41
  125. package/src/models/index.ts +287 -707
  126. package/src/models/mappers.ts +263 -305
  127. package/src/models/parameters.ts +116 -43
  128. package/src/operations/accounts.ts +290 -330
  129. package/src/operations/index.ts +3 -5
  130. package/src/operations/operations.ts +66 -42
  131. package/src/operations/projects.ts +256 -281
  132. package/src/operations/workspaces.ts +242 -283
  133. package/src/operationsInterfaces/accounts.ts +96 -0
  134. package/src/operationsInterfaces/index.ts +12 -0
  135. package/src/operationsInterfaces/operations.ts +22 -0
  136. package/src/operationsInterfaces/projects.ts +108 -0
  137. package/src/operationsInterfaces/workspaces.ts +98 -0
  138. package/tsconfig.json +6 -5
  139. package/types/arm-machinelearningexperimentation.d.ts +569 -0
  140. package/types/tsdoc-metadata.json +11 -0
  141. package/dist/arm-machinelearningexperimentation.js +0 -1725
  142. package/dist/arm-machinelearningexperimentation.js.map +0 -1
  143. package/dist/arm-machinelearningexperimentation.min.js +0 -1
  144. package/dist/arm-machinelearningexperimentation.min.js.map +0 -1
  145. package/esm/mLTeamAccountManagementClient.d.ts +0 -27
  146. package/esm/mLTeamAccountManagementClient.d.ts.map +0 -1
  147. package/esm/mLTeamAccountManagementClient.js +0 -41
  148. package/esm/mLTeamAccountManagementClient.js.map +0 -1
  149. package/esm/mLTeamAccountManagementClientContext.d.ts +0 -22
  150. package/esm/mLTeamAccountManagementClientContext.d.ts.map +0 -1
  151. package/esm/mLTeamAccountManagementClientContext.js +0 -61
  152. package/esm/mLTeamAccountManagementClientContext.js.map +0 -1
  153. package/esm/models/accountsMappers.d.ts +0 -2
  154. package/esm/models/accountsMappers.d.ts.map +0 -1
  155. package/esm/models/accountsMappers.js +0 -11
  156. package/esm/models/accountsMappers.js.map +0 -1
  157. package/esm/models/index.d.ts +0 -770
  158. package/esm/models/index.d.ts.map +0 -1
  159. package/esm/models/index.js +0 -10
  160. package/esm/models/index.js.map +0 -1
  161. package/esm/models/mappers.d.ts +0 -19
  162. package/esm/models/mappers.d.ts.map +0 -1
  163. package/esm/models/mappers.js.map +0 -1
  164. package/esm/models/operationsMappers.d.ts +0 -2
  165. package/esm/models/operationsMappers.d.ts.map +0 -1
  166. package/esm/models/operationsMappers.js +0 -11
  167. package/esm/models/operationsMappers.js.map +0 -1
  168. package/esm/models/parameters.d.ts +0 -10
  169. package/esm/models/parameters.d.ts.map +0 -1
  170. package/esm/models/parameters.js +0 -106
  171. package/esm/models/parameters.js.map +0 -1
  172. package/esm/models/projectsMappers.d.ts +0 -2
  173. package/esm/models/projectsMappers.d.ts.map +0 -1
  174. package/esm/models/projectsMappers.js +0 -11
  175. package/esm/models/projectsMappers.js.map +0 -1
  176. package/esm/models/workspacesMappers.d.ts +0 -2
  177. package/esm/models/workspacesMappers.d.ts.map +0 -1
  178. package/esm/models/workspacesMappers.js +0 -11
  179. package/esm/models/workspacesMappers.js.map +0 -1
  180. package/esm/operations/accounts.d.ts +0 -187
  181. package/esm/operations/accounts.d.ts.map +0 -1
  182. package/esm/operations/accounts.js +0 -272
  183. package/esm/operations/accounts.js.map +0 -1
  184. package/esm/operations/index.d.ts.map +0 -1
  185. package/esm/operations/index.js.map +0 -1
  186. package/esm/operations/operations.d.ts +0 -28
  187. package/esm/operations/operations.d.ts.map +0 -1
  188. package/esm/operations/operations.js +0 -51
  189. package/esm/operations/operations.js.map +0 -1
  190. package/esm/operations/projects.d.ts +0 -184
  191. package/esm/operations/projects.d.ts.map +0 -1
  192. package/esm/operations/projects.js +0 -239
  193. package/esm/operations/projects.js.map +0 -1
  194. package/esm/operations/workspaces.d.ts +0 -169
  195. package/esm/operations/workspaces.d.ts.map +0 -1
  196. package/esm/operations/workspaces.js +0 -229
  197. package/esm/operations/workspaces.js.map +0 -1
  198. package/src/mLTeamAccountManagementClientContext.ts +0 -68
  199. package/src/models/accountsMappers.ts +0 -22
  200. package/src/models/operationsMappers.ts +0 -17
  201. package/src/models/projectsMappers.ts +0 -22
  202. package/src/models/workspacesMappers.ts +0 -22
@@ -0,0 +1,96 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Account,
12
+ AccountsListByResourceGroupOptionalParams,
13
+ AccountsListOptionalParams,
14
+ AccountsGetOptionalParams,
15
+ AccountsGetResponse,
16
+ AccountsCreateOrUpdateOptionalParams,
17
+ AccountsCreateOrUpdateResponse,
18
+ AccountsDeleteOptionalParams,
19
+ AccountUpdateParameters,
20
+ AccountsUpdateOptionalParams,
21
+ AccountsUpdateResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a Accounts. */
26
+ export interface Accounts {
27
+ /**
28
+ * Lists all the available machine learning team accounts under the specified resource group.
29
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
30
+ * belongs.
31
+ * @param options The options parameters.
32
+ */
33
+ listByResourceGroup(
34
+ resourceGroupName: string,
35
+ options?: AccountsListByResourceGroupOptionalParams
36
+ ): PagedAsyncIterableIterator<Account>;
37
+ /**
38
+ * Lists all the available machine learning team accounts under the specified subscription.
39
+ * @param options The options parameters.
40
+ */
41
+ list(
42
+ options?: AccountsListOptionalParams
43
+ ): PagedAsyncIterableIterator<Account>;
44
+ /**
45
+ * Gets the properties of the specified machine learning team account.
46
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
47
+ * belongs.
48
+ * @param accountName The name of the machine learning team account.
49
+ * @param options The options parameters.
50
+ */
51
+ get(
52
+ resourceGroupName: string,
53
+ accountName: string,
54
+ options?: AccountsGetOptionalParams
55
+ ): Promise<AccountsGetResponse>;
56
+ /**
57
+ * Creates or updates a team account with the specified parameters.
58
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
59
+ * belongs.
60
+ * @param accountName The name of the machine learning team account.
61
+ * @param parameters The parameters for creating or updating a machine learning team account.
62
+ * @param options The options parameters.
63
+ */
64
+ createOrUpdate(
65
+ resourceGroupName: string,
66
+ accountName: string,
67
+ parameters: Account,
68
+ options?: AccountsCreateOrUpdateOptionalParams
69
+ ): Promise<AccountsCreateOrUpdateResponse>;
70
+ /**
71
+ * Deletes a machine learning team account.
72
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
73
+ * belongs.
74
+ * @param accountName The name of the machine learning team account.
75
+ * @param options The options parameters.
76
+ */
77
+ delete(
78
+ resourceGroupName: string,
79
+ accountName: string,
80
+ options?: AccountsDeleteOptionalParams
81
+ ): Promise<void>;
82
+ /**
83
+ * Updates a machine learning team account with the specified parameters.
84
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
85
+ * belongs.
86
+ * @param accountName The name of the machine learning team account.
87
+ * @param parameters The parameters for updating a machine learning team account.
88
+ * @param options The options parameters.
89
+ */
90
+ update(
91
+ resourceGroupName: string,
92
+ accountName: string,
93
+ parameters: AccountUpdateParameters,
94
+ options?: AccountsUpdateOptionalParams
95
+ ): Promise<AccountsUpdateResponse>;
96
+ }
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./operations";
10
+ export * from "./accounts";
11
+ export * from "./workspaces";
12
+ export * from "./projects";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,108 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Project,
12
+ ProjectsListByWorkspaceOptionalParams,
13
+ ProjectsGetOptionalParams,
14
+ ProjectsGetResponse,
15
+ ProjectsCreateOrUpdateOptionalParams,
16
+ ProjectsCreateOrUpdateResponse,
17
+ ProjectsDeleteOptionalParams,
18
+ ProjectUpdateParameters,
19
+ ProjectsUpdateOptionalParams,
20
+ ProjectsUpdateResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a Projects. */
25
+ export interface Projects {
26
+ /**
27
+ * Lists all the available machine learning projects under the specified workspace.
28
+ * @param accountName The name of the machine learning team account.
29
+ * @param workspaceName The name of the machine learning team account workspace.
30
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
31
+ * belongs.
32
+ * @param options The options parameters.
33
+ */
34
+ listByWorkspace(
35
+ accountName: string,
36
+ workspaceName: string,
37
+ resourceGroupName: string,
38
+ options?: ProjectsListByWorkspaceOptionalParams
39
+ ): PagedAsyncIterableIterator<Project>;
40
+ /**
41
+ * Gets the properties of the specified machine learning project.
42
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
43
+ * belongs.
44
+ * @param accountName The name of the machine learning team account.
45
+ * @param workspaceName The name of the machine learning team account workspace.
46
+ * @param projectName The name of the machine learning project under a team account workspace.
47
+ * @param options The options parameters.
48
+ */
49
+ get(
50
+ resourceGroupName: string,
51
+ accountName: string,
52
+ workspaceName: string,
53
+ projectName: string,
54
+ options?: ProjectsGetOptionalParams
55
+ ): Promise<ProjectsGetResponse>;
56
+ /**
57
+ * Creates or updates a project with the specified parameters.
58
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
59
+ * belongs.
60
+ * @param accountName The name of the machine learning team account.
61
+ * @param workspaceName The name of the machine learning team account workspace.
62
+ * @param projectName The name of the machine learning project under a team account workspace.
63
+ * @param parameters The parameters for creating or updating a project.
64
+ * @param options The options parameters.
65
+ */
66
+ createOrUpdate(
67
+ resourceGroupName: string,
68
+ accountName: string,
69
+ workspaceName: string,
70
+ projectName: string,
71
+ parameters: Project,
72
+ options?: ProjectsCreateOrUpdateOptionalParams
73
+ ): Promise<ProjectsCreateOrUpdateResponse>;
74
+ /**
75
+ * Deletes a project.
76
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
77
+ * belongs.
78
+ * @param accountName The name of the machine learning team account.
79
+ * @param workspaceName The name of the machine learning team account workspace.
80
+ * @param projectName The name of the machine learning project under a team account workspace.
81
+ * @param options The options parameters.
82
+ */
83
+ delete(
84
+ resourceGroupName: string,
85
+ accountName: string,
86
+ workspaceName: string,
87
+ projectName: string,
88
+ options?: ProjectsDeleteOptionalParams
89
+ ): Promise<void>;
90
+ /**
91
+ * Updates a project with the specified parameters.
92
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
93
+ * belongs.
94
+ * @param accountName The name of the machine learning team account.
95
+ * @param workspaceName The name of the machine learning team account workspace.
96
+ * @param projectName The name of the machine learning project under a team account workspace.
97
+ * @param parameters The parameters for updating a machine learning team account.
98
+ * @param options The options parameters.
99
+ */
100
+ update(
101
+ resourceGroupName: string,
102
+ accountName: string,
103
+ workspaceName: string,
104
+ projectName: string,
105
+ parameters: ProjectUpdateParameters,
106
+ options?: ProjectsUpdateOptionalParams
107
+ ): Promise<ProjectsUpdateResponse>;
108
+ }
@@ -0,0 +1,98 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Workspace,
12
+ WorkspacesListByAccountsOptionalParams,
13
+ WorkspacesGetOptionalParams,
14
+ WorkspacesGetResponse,
15
+ WorkspacesCreateOrUpdateOptionalParams,
16
+ WorkspacesCreateOrUpdateResponse,
17
+ WorkspacesDeleteOptionalParams,
18
+ WorkspaceUpdateParameters,
19
+ WorkspacesUpdateOptionalParams,
20
+ WorkspacesUpdateResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a Workspaces. */
25
+ export interface Workspaces {
26
+ /**
27
+ * Lists all the available machine learning workspaces under the specified team account.
28
+ * @param accountName The name of the machine learning team account.
29
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
30
+ * belongs.
31
+ * @param options The options parameters.
32
+ */
33
+ listByAccounts(
34
+ accountName: string,
35
+ resourceGroupName: string,
36
+ options?: WorkspacesListByAccountsOptionalParams
37
+ ): PagedAsyncIterableIterator<Workspace>;
38
+ /**
39
+ * Gets the properties of the specified machine learning workspace.
40
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
41
+ * belongs.
42
+ * @param accountName The name of the machine learning team account.
43
+ * @param workspaceName The name of the machine learning team account workspace.
44
+ * @param options The options parameters.
45
+ */
46
+ get(
47
+ resourceGroupName: string,
48
+ accountName: string,
49
+ workspaceName: string,
50
+ options?: WorkspacesGetOptionalParams
51
+ ): Promise<WorkspacesGetResponse>;
52
+ /**
53
+ * Creates or updates a machine learning workspace with the specified parameters.
54
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
55
+ * belongs.
56
+ * @param accountName The name of the machine learning team account.
57
+ * @param workspaceName The name of the machine learning team account workspace.
58
+ * @param parameters The parameters for creating or updating a machine learning workspace.
59
+ * @param options The options parameters.
60
+ */
61
+ createOrUpdate(
62
+ resourceGroupName: string,
63
+ accountName: string,
64
+ workspaceName: string,
65
+ parameters: Workspace,
66
+ options?: WorkspacesCreateOrUpdateOptionalParams
67
+ ): Promise<WorkspacesCreateOrUpdateResponse>;
68
+ /**
69
+ * Deletes a machine learning workspace.
70
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
71
+ * belongs.
72
+ * @param accountName The name of the machine learning team account.
73
+ * @param workspaceName The name of the machine learning team account workspace.
74
+ * @param options The options parameters.
75
+ */
76
+ delete(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ workspaceName: string,
80
+ options?: WorkspacesDeleteOptionalParams
81
+ ): Promise<void>;
82
+ /**
83
+ * Updates a machine learning workspace with the specified parameters.
84
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
85
+ * belongs.
86
+ * @param accountName The name of the machine learning team account.
87
+ * @param workspaceName The name of the machine learning team account workspace.
88
+ * @param parameters The parameters for updating a machine learning workspace.
89
+ * @param options The options parameters.
90
+ */
91
+ update(
92
+ resourceGroupName: string,
93
+ accountName: string,
94
+ workspaceName: string,
95
+ parameters: WorkspaceUpdateParameters,
96
+ options?: WorkspacesUpdateOptionalParams
97
+ ): Promise<WorkspacesUpdateResponse>;
98
+ }
package/tsconfig.json CHANGED
@@ -3,17 +3,18 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-machinelearningexperimentation": ["./src/index"] }
16
17
  },
17
- "include": ["./src/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }