@azure/arm-machinelearningexperimentation 0.1.0 → 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 (209) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +75 -73
  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 +83 -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 +91 -0
  125. package/src/models/index.ts +389 -0
  126. package/{lib → src}/models/mappers.ts +263 -305
  127. package/src/models/parameters.ts +181 -0
  128. package/src/operations/accounts.ts +454 -0
  129. package/{lib → src}/operations/index.ts +3 -5
  130. package/src/operations/operations.ts +98 -0
  131. package/src/operations/projects.ts +423 -0
  132. package/src/operations/workspaces.ts +382 -0
  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 -1715
  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 -21
  146. package/esm/mLTeamAccountManagementClient.d.ts.map +0 -1
  147. package/esm/mLTeamAccountManagementClient.js +0 -36
  148. package/esm/mLTeamAccountManagementClient.js.map +0 -1
  149. package/esm/mLTeamAccountManagementClientContext.d.ts +0 -16
  150. package/esm/mLTeamAccountManagementClientContext.d.ts.map +0 -1
  151. package/esm/mLTeamAccountManagementClientContext.js +0 -56
  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/lib/mLTeamAccountManagementClient.ts +0 -48
  199. package/lib/mLTeamAccountManagementClientContext.ts +0 -62
  200. package/lib/models/accountsMappers.ts +0 -22
  201. package/lib/models/index.ts +0 -809
  202. package/lib/models/operationsMappers.ts +0 -17
  203. package/lib/models/parameters.ts +0 -108
  204. package/lib/models/projectsMappers.ts +0 -22
  205. package/lib/models/workspacesMappers.ts +0 -22
  206. package/lib/operations/accounts.ts +0 -494
  207. package/lib/operations/operations.ts +0 -74
  208. package/lib/operations/projects.ts +0 -448
  209. package/lib/operations/workspaces.ts +0 -423
@@ -1,423 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/workspacesMappers";
14
- import * as Parameters from "../models/parameters";
15
- import { MLTeamAccountManagementClientContext } from "../mLTeamAccountManagementClientContext";
16
-
17
- /** Class representing a Workspaces. */
18
- export class Workspaces {
19
- private readonly client: MLTeamAccountManagementClientContext;
20
-
21
- /**
22
- * Create a Workspaces.
23
- * @param {MLTeamAccountManagementClientContext} client Reference to the service client.
24
- */
25
- constructor(client: MLTeamAccountManagementClientContext) {
26
- this.client = client;
27
- }
28
-
29
- /**
30
- * Gets the properties of the specified machine learning workspace.
31
- * @param resourceGroupName The name of the resource group to which the machine learning team
32
- * account belongs.
33
- * @param accountName The name of the machine learning team account.
34
- * @param workspaceName The name of the machine learning team account workspace.
35
- * @param [options] The optional parameters
36
- * @returns Promise<Models.WorkspacesGetResponse>
37
- */
38
- get(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesGetResponse>;
39
- /**
40
- * @param resourceGroupName The name of the resource group to which the machine learning team
41
- * account 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 callback The callback
45
- */
46
- get(resourceGroupName: string, accountName: string, workspaceName: string, callback: msRest.ServiceCallback<Models.Workspace>): void;
47
- /**
48
- * @param resourceGroupName The name of the resource group to which the machine learning team
49
- * account belongs.
50
- * @param accountName The name of the machine learning team account.
51
- * @param workspaceName The name of the machine learning team account workspace.
52
- * @param options The optional parameters
53
- * @param callback The callback
54
- */
55
- get(resourceGroupName: string, accountName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
56
- get(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Workspace>, callback?: msRest.ServiceCallback<Models.Workspace>): Promise<Models.WorkspacesGetResponse> {
57
- return this.client.sendOperationRequest(
58
- {
59
- resourceGroupName,
60
- accountName,
61
- workspaceName,
62
- options
63
- },
64
- getOperationSpec,
65
- callback) as Promise<Models.WorkspacesGetResponse>;
66
- }
67
-
68
- /**
69
- * Creates or updates a machine learning workspace with the specified parameters.
70
- * @param resourceGroupName The name of the resource group to which the machine learning team
71
- * account 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 parameters The parameters for creating or updating a machine learning workspace.
75
- * @param [options] The optional parameters
76
- * @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
77
- */
78
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesCreateOrUpdateResponse>;
79
- /**
80
- * @param resourceGroupName The name of the resource group to which the machine learning team
81
- * account belongs.
82
- * @param accountName The name of the machine learning team account.
83
- * @param workspaceName The name of the machine learning team account workspace.
84
- * @param parameters The parameters for creating or updating a machine learning workspace.
85
- * @param callback The callback
86
- */
87
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, callback: msRest.ServiceCallback<Models.Workspace>): void;
88
- /**
89
- * @param resourceGroupName The name of the resource group to which the machine learning team
90
- * account belongs.
91
- * @param accountName The name of the machine learning team account.
92
- * @param workspaceName The name of the machine learning team account workspace.
93
- * @param parameters The parameters for creating or updating a machine learning workspace.
94
- * @param options The optional parameters
95
- * @param callback The callback
96
- */
97
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
98
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Workspace>, callback?: msRest.ServiceCallback<Models.Workspace>): Promise<Models.WorkspacesCreateOrUpdateResponse> {
99
- return this.client.sendOperationRequest(
100
- {
101
- resourceGroupName,
102
- accountName,
103
- workspaceName,
104
- parameters,
105
- options
106
- },
107
- createOrUpdateOperationSpec,
108
- callback) as Promise<Models.WorkspacesCreateOrUpdateResponse>;
109
- }
110
-
111
- /**
112
- * Deletes a machine learning workspace.
113
- * @param resourceGroupName The name of the resource group to which the machine learning team
114
- * account belongs.
115
- * @param accountName The name of the machine learning team account.
116
- * @param workspaceName The name of the machine learning team account workspace.
117
- * @param [options] The optional parameters
118
- * @returns Promise<msRest.RestResponse>
119
- */
120
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
121
- /**
122
- * @param resourceGroupName The name of the resource group to which the machine learning team
123
- * account belongs.
124
- * @param accountName The name of the machine learning team account.
125
- * @param workspaceName The name of the machine learning team account workspace.
126
- * @param callback The callback
127
- */
128
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, callback: msRest.ServiceCallback<void>): void;
129
- /**
130
- * @param resourceGroupName The name of the resource group to which the machine learning team
131
- * account belongs.
132
- * @param accountName The name of the machine learning team account.
133
- * @param workspaceName The name of the machine learning team account workspace.
134
- * @param options The optional parameters
135
- * @param callback The callback
136
- */
137
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
138
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
139
- return this.client.sendOperationRequest(
140
- {
141
- resourceGroupName,
142
- accountName,
143
- workspaceName,
144
- options
145
- },
146
- deleteMethodOperationSpec,
147
- callback);
148
- }
149
-
150
- /**
151
- * Updates a machine learning workspace with the specified parameters.
152
- * @param resourceGroupName The name of the resource group to which the machine learning team
153
- * account belongs.
154
- * @param accountName The name of the machine learning team account.
155
- * @param workspaceName The name of the machine learning team account workspace.
156
- * @param parameters The parameters for updating a machine learning workspace.
157
- * @param [options] The optional parameters
158
- * @returns Promise<Models.WorkspacesUpdateResponse>
159
- */
160
- update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesUpdateResponse>;
161
- /**
162
- * @param resourceGroupName The name of the resource group to which the machine learning team
163
- * account belongs.
164
- * @param accountName The name of the machine learning team account.
165
- * @param workspaceName The name of the machine learning team account workspace.
166
- * @param parameters The parameters for updating a machine learning workspace.
167
- * @param callback The callback
168
- */
169
- update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, callback: msRest.ServiceCallback<Models.Workspace>): void;
170
- /**
171
- * @param resourceGroupName The name of the resource group to which the machine learning team
172
- * account belongs.
173
- * @param accountName The name of the machine learning team account.
174
- * @param workspaceName The name of the machine learning team account workspace.
175
- * @param parameters The parameters for updating a machine learning workspace.
176
- * @param options The optional parameters
177
- * @param callback The callback
178
- */
179
- update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
180
- update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Workspace>, callback?: msRest.ServiceCallback<Models.Workspace>): Promise<Models.WorkspacesUpdateResponse> {
181
- return this.client.sendOperationRequest(
182
- {
183
- resourceGroupName,
184
- accountName,
185
- workspaceName,
186
- parameters,
187
- options
188
- },
189
- updateOperationSpec,
190
- callback) as Promise<Models.WorkspacesUpdateResponse>;
191
- }
192
-
193
- /**
194
- * Lists all the available machine learning workspaces under the specified team account.
195
- * @param accountName The name of the machine learning team account.
196
- * @param resourceGroupName The name of the resource group to which the machine learning team
197
- * account belongs.
198
- * @param [options] The optional parameters
199
- * @returns Promise<Models.WorkspacesListByAccountsResponse>
200
- */
201
- listByAccounts(accountName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByAccountsResponse>;
202
- /**
203
- * @param accountName The name of the machine learning team account.
204
- * @param resourceGroupName The name of the resource group to which the machine learning team
205
- * account belongs.
206
- * @param callback The callback
207
- */
208
- listByAccounts(accountName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
209
- /**
210
- * @param accountName The name of the machine learning team account.
211
- * @param resourceGroupName The name of the resource group to which the machine learning team
212
- * account belongs.
213
- * @param options The optional parameters
214
- * @param callback The callback
215
- */
216
- listByAccounts(accountName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
217
- listByAccounts(accountName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListByAccountsResponse> {
218
- return this.client.sendOperationRequest(
219
- {
220
- accountName,
221
- resourceGroupName,
222
- options
223
- },
224
- listByAccountsOperationSpec,
225
- callback) as Promise<Models.WorkspacesListByAccountsResponse>;
226
- }
227
-
228
- /**
229
- * Lists all the available machine learning workspaces under the specified team account.
230
- * @param nextPageLink The NextLink from the previous successful call to List operation.
231
- * @param [options] The optional parameters
232
- * @returns Promise<Models.WorkspacesListByAccountsNextResponse>
233
- */
234
- listByAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByAccountsNextResponse>;
235
- /**
236
- * @param nextPageLink The NextLink from the previous successful call to List operation.
237
- * @param callback The callback
238
- */
239
- listByAccountsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
240
- /**
241
- * @param nextPageLink The NextLink from the previous successful call to List operation.
242
- * @param options The optional parameters
243
- * @param callback The callback
244
- */
245
- listByAccountsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
246
- listByAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListByAccountsNextResponse> {
247
- return this.client.sendOperationRequest(
248
- {
249
- nextPageLink,
250
- options
251
- },
252
- listByAccountsNextOperationSpec,
253
- callback) as Promise<Models.WorkspacesListByAccountsNextResponse>;
254
- }
255
- }
256
-
257
- // Operation Specifications
258
- const serializer = new msRest.Serializer(Mappers);
259
- const getOperationSpec: msRest.OperationSpec = {
260
- httpMethod: "GET",
261
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
262
- urlParameters: [
263
- Parameters.subscriptionId,
264
- Parameters.resourceGroupName,
265
- Parameters.accountName,
266
- Parameters.workspaceName
267
- ],
268
- queryParameters: [
269
- Parameters.apiVersion
270
- ],
271
- headerParameters: [
272
- Parameters.acceptLanguage
273
- ],
274
- responses: {
275
- 200: {
276
- bodyMapper: Mappers.Workspace
277
- },
278
- default: {
279
- bodyMapper: Mappers.ErrorResponse
280
- }
281
- },
282
- serializer
283
- };
284
-
285
- const createOrUpdateOperationSpec: msRest.OperationSpec = {
286
- httpMethod: "PUT",
287
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
288
- urlParameters: [
289
- Parameters.subscriptionId,
290
- Parameters.resourceGroupName,
291
- Parameters.accountName,
292
- Parameters.workspaceName
293
- ],
294
- queryParameters: [
295
- Parameters.apiVersion
296
- ],
297
- headerParameters: [
298
- Parameters.acceptLanguage
299
- ],
300
- requestBody: {
301
- parameterPath: "parameters",
302
- mapper: {
303
- ...Mappers.Workspace,
304
- required: true
305
- }
306
- },
307
- responses: {
308
- 200: {
309
- bodyMapper: Mappers.Workspace
310
- },
311
- 201: {
312
- bodyMapper: Mappers.Workspace
313
- },
314
- default: {
315
- bodyMapper: Mappers.ErrorResponse
316
- }
317
- },
318
- serializer
319
- };
320
-
321
- const deleteMethodOperationSpec: msRest.OperationSpec = {
322
- httpMethod: "DELETE",
323
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
324
- urlParameters: [
325
- Parameters.subscriptionId,
326
- Parameters.resourceGroupName,
327
- Parameters.accountName,
328
- Parameters.workspaceName
329
- ],
330
- queryParameters: [
331
- Parameters.apiVersion
332
- ],
333
- headerParameters: [
334
- Parameters.acceptLanguage
335
- ],
336
- responses: {
337
- 200: {},
338
- 204: {},
339
- default: {
340
- bodyMapper: Mappers.ErrorResponse
341
- }
342
- },
343
- serializer
344
- };
345
-
346
- const updateOperationSpec: msRest.OperationSpec = {
347
- httpMethod: "PATCH",
348
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
349
- urlParameters: [
350
- Parameters.subscriptionId,
351
- Parameters.resourceGroupName,
352
- Parameters.accountName,
353
- Parameters.workspaceName
354
- ],
355
- queryParameters: [
356
- Parameters.apiVersion
357
- ],
358
- headerParameters: [
359
- Parameters.acceptLanguage
360
- ],
361
- requestBody: {
362
- parameterPath: "parameters",
363
- mapper: {
364
- ...Mappers.WorkspaceUpdateParameters,
365
- required: true
366
- }
367
- },
368
- responses: {
369
- 200: {
370
- bodyMapper: Mappers.Workspace
371
- },
372
- default: {
373
- bodyMapper: Mappers.ErrorResponse
374
- }
375
- },
376
- serializer
377
- };
378
-
379
- const listByAccountsOperationSpec: msRest.OperationSpec = {
380
- httpMethod: "GET",
381
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces",
382
- urlParameters: [
383
- Parameters.subscriptionId,
384
- Parameters.accountName,
385
- Parameters.resourceGroupName
386
- ],
387
- queryParameters: [
388
- Parameters.apiVersion
389
- ],
390
- headerParameters: [
391
- Parameters.acceptLanguage
392
- ],
393
- responses: {
394
- 200: {
395
- bodyMapper: Mappers.WorkspaceListResult
396
- },
397
- default: {
398
- bodyMapper: Mappers.ErrorResponse
399
- }
400
- },
401
- serializer
402
- };
403
-
404
- const listByAccountsNextOperationSpec: msRest.OperationSpec = {
405
- httpMethod: "GET",
406
- baseUrl: "https://management.azure.com",
407
- path: "{nextLink}",
408
- urlParameters: [
409
- Parameters.nextPageLink
410
- ],
411
- headerParameters: [
412
- Parameters.acceptLanguage
413
- ],
414
- responses: {
415
- 200: {
416
- bodyMapper: Mappers.WorkspaceListResult
417
- },
418
- default: {
419
- bodyMapper: Mappers.ErrorResponse
420
- }
421
- },
422
- serializer
423
- };