@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,74 +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/operationsMappers";
14
- import * as Parameters from "../models/parameters";
15
- import { MLTeamAccountManagementClientContext } from "../mLTeamAccountManagementClientContext";
16
-
17
- /** Class representing a Operations. */
18
- export class Operations {
19
- private readonly client: MLTeamAccountManagementClientContext;
20
-
21
- /**
22
- * Create a Operations.
23
- * @param {MLTeamAccountManagementClientContext} client Reference to the service client.
24
- */
25
- constructor(client: MLTeamAccountManagementClientContext) {
26
- this.client = client;
27
- }
28
-
29
- /**
30
- * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
31
- * @param [options] The optional parameters
32
- * @returns Promise<Models.OperationsListResponse>
33
- */
34
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
35
- /**
36
- * @param callback The callback
37
- */
38
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
39
- /**
40
- * @param options The optional parameters
41
- * @param callback The callback
42
- */
43
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
44
- list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationListResult>, callback?: msRest.ServiceCallback<Models.OperationListResult>): Promise<Models.OperationsListResponse> {
45
- return this.client.sendOperationRequest(
46
- {
47
- options
48
- },
49
- listOperationSpec,
50
- callback) as Promise<Models.OperationsListResponse>;
51
- }
52
- }
53
-
54
- // Operation Specifications
55
- const serializer = new msRest.Serializer(Mappers);
56
- const listOperationSpec: msRest.OperationSpec = {
57
- httpMethod: "GET",
58
- path: "providers/Microsoft.MachineLearningExperimentation/operations",
59
- queryParameters: [
60
- Parameters.apiVersion
61
- ],
62
- headerParameters: [
63
- Parameters.acceptLanguage
64
- ],
65
- responses: {
66
- 200: {
67
- bodyMapper: Mappers.OperationListResult
68
- },
69
- default: {
70
- bodyMapper: Mappers.ErrorResponse
71
- }
72
- },
73
- serializer
74
- };
@@ -1,448 +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/projectsMappers";
14
- import * as Parameters from "../models/parameters";
15
- import { MLTeamAccountManagementClientContext } from "../mLTeamAccountManagementClientContext";
16
-
17
- /** Class representing a Projects. */
18
- export class Projects {
19
- private readonly client: MLTeamAccountManagementClientContext;
20
-
21
- /**
22
- * Create a Projects.
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 project.
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 projectName The name of the machine learning project under a team account workspace.
36
- * @param [options] The optional parameters
37
- * @returns Promise<Models.ProjectsGetResponse>
38
- */
39
- get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsGetResponse>;
40
- /**
41
- * @param resourceGroupName The name of the resource group to which the machine learning team
42
- * account belongs.
43
- * @param accountName The name of the machine learning team account.
44
- * @param workspaceName The name of the machine learning team account workspace.
45
- * @param projectName The name of the machine learning project under a team account workspace.
46
- * @param callback The callback
47
- */
48
- get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
49
- /**
50
- * @param resourceGroupName The name of the resource group to which the machine learning team
51
- * account belongs.
52
- * @param accountName The name of the machine learning team account.
53
- * @param workspaceName The name of the machine learning team account workspace.
54
- * @param projectName The name of the machine learning project under a team account workspace.
55
- * @param options The optional parameters
56
- * @param callback The callback
57
- */
58
- get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
59
- get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsGetResponse> {
60
- return this.client.sendOperationRequest(
61
- {
62
- resourceGroupName,
63
- accountName,
64
- workspaceName,
65
- projectName,
66
- options
67
- },
68
- getOperationSpec,
69
- callback) as Promise<Models.ProjectsGetResponse>;
70
- }
71
-
72
- /**
73
- * Creates or updates a project with the specified parameters.
74
- * @param resourceGroupName The name of the resource group to which the machine learning team
75
- * account belongs.
76
- * @param accountName The name of the machine learning team account.
77
- * @param workspaceName The name of the machine learning team account workspace.
78
- * @param projectName The name of the machine learning project under a team account workspace.
79
- * @param parameters The parameters for creating or updating a project.
80
- * @param [options] The optional parameters
81
- * @returns Promise<Models.ProjectsCreateOrUpdateResponse>
82
- */
83
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsCreateOrUpdateResponse>;
84
- /**
85
- * @param resourceGroupName The name of the resource group to which the machine learning team
86
- * account belongs.
87
- * @param accountName The name of the machine learning team account.
88
- * @param workspaceName The name of the machine learning team account workspace.
89
- * @param projectName The name of the machine learning project under a team account workspace.
90
- * @param parameters The parameters for creating or updating a project.
91
- * @param callback The callback
92
- */
93
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, callback: msRest.ServiceCallback<Models.Project>): void;
94
- /**
95
- * @param resourceGroupName The name of the resource group to which the machine learning team
96
- * account belongs.
97
- * @param accountName The name of the machine learning team account.
98
- * @param workspaceName The name of the machine learning team account workspace.
99
- * @param projectName The name of the machine learning project under a team account workspace.
100
- * @param parameters The parameters for creating or updating a project.
101
- * @param options The optional parameters
102
- * @param callback The callback
103
- */
104
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
105
- createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsCreateOrUpdateResponse> {
106
- return this.client.sendOperationRequest(
107
- {
108
- resourceGroupName,
109
- accountName,
110
- workspaceName,
111
- projectName,
112
- parameters,
113
- options
114
- },
115
- createOrUpdateOperationSpec,
116
- callback) as Promise<Models.ProjectsCreateOrUpdateResponse>;
117
- }
118
-
119
- /**
120
- * Deletes a project.
121
- * @param resourceGroupName The name of the resource group to which the machine learning team
122
- * account belongs.
123
- * @param accountName The name of the machine learning team account.
124
- * @param workspaceName The name of the machine learning team account workspace.
125
- * @param projectName The name of the machine learning project under a team account workspace.
126
- * @param [options] The optional parameters
127
- * @returns Promise<msRest.RestResponse>
128
- */
129
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
130
- /**
131
- * @param resourceGroupName The name of the resource group to which the machine learning team
132
- * account belongs.
133
- * @param accountName The name of the machine learning team account.
134
- * @param workspaceName The name of the machine learning team account workspace.
135
- * @param projectName The name of the machine learning project under a team account workspace.
136
- * @param callback The callback
137
- */
138
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, callback: msRest.ServiceCallback<void>): void;
139
- /**
140
- * @param resourceGroupName The name of the resource group to which the machine learning team
141
- * account belongs.
142
- * @param accountName The name of the machine learning team account.
143
- * @param workspaceName The name of the machine learning team account workspace.
144
- * @param projectName The name of the machine learning project under a team account workspace.
145
- * @param options The optional parameters
146
- * @param callback The callback
147
- */
148
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
149
- deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
150
- return this.client.sendOperationRequest(
151
- {
152
- resourceGroupName,
153
- accountName,
154
- workspaceName,
155
- projectName,
156
- options
157
- },
158
- deleteMethodOperationSpec,
159
- callback);
160
- }
161
-
162
- /**
163
- * Updates a project with the specified parameters.
164
- * @param resourceGroupName The name of the resource group to which the machine learning team
165
- * account belongs.
166
- * @param accountName The name of the machine learning team account.
167
- * @param workspaceName The name of the machine learning team account workspace.
168
- * @param projectName The name of the machine learning project under a team account workspace.
169
- * @param parameters The parameters for updating a machine learning team account.
170
- * @param [options] The optional parameters
171
- * @returns Promise<Models.ProjectsUpdateResponse>
172
- */
173
- update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsUpdateResponse>;
174
- /**
175
- * @param resourceGroupName The name of the resource group to which the machine learning team
176
- * account belongs.
177
- * @param accountName The name of the machine learning team account.
178
- * @param workspaceName The name of the machine learning team account workspace.
179
- * @param projectName The name of the machine learning project under a team account workspace.
180
- * @param parameters The parameters for updating a machine learning team account.
181
- * @param callback The callback
182
- */
183
- update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, callback: msRest.ServiceCallback<Models.Project>): void;
184
- /**
185
- * @param resourceGroupName The name of the resource group to which the machine learning team
186
- * account belongs.
187
- * @param accountName The name of the machine learning team account.
188
- * @param workspaceName The name of the machine learning team account workspace.
189
- * @param projectName The name of the machine learning project under a team account workspace.
190
- * @param parameters The parameters for updating a machine learning team account.
191
- * @param options The optional parameters
192
- * @param callback The callback
193
- */
194
- update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
195
- update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsUpdateResponse> {
196
- return this.client.sendOperationRequest(
197
- {
198
- resourceGroupName,
199
- accountName,
200
- workspaceName,
201
- projectName,
202
- parameters,
203
- options
204
- },
205
- updateOperationSpec,
206
- callback) as Promise<Models.ProjectsUpdateResponse>;
207
- }
208
-
209
- /**
210
- * Lists all the available machine learning projects under the specified workspace.
211
- * @param accountName The name of the machine learning team account.
212
- * @param workspaceName The name of the machine learning team account workspace.
213
- * @param resourceGroupName The name of the resource group to which the machine learning team
214
- * account belongs.
215
- * @param [options] The optional parameters
216
- * @returns Promise<Models.ProjectsListByWorkspaceResponse>
217
- */
218
- listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListByWorkspaceResponse>;
219
- /**
220
- * @param accountName The name of the machine learning team account.
221
- * @param workspaceName The name of the machine learning team account workspace.
222
- * @param resourceGroupName The name of the resource group to which the machine learning team
223
- * account belongs.
224
- * @param callback The callback
225
- */
226
- listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
227
- /**
228
- * @param accountName The name of the machine learning team account.
229
- * @param workspaceName The name of the machine learning team account workspace.
230
- * @param resourceGroupName The name of the resource group to which the machine learning team
231
- * account belongs.
232
- * @param options The optional parameters
233
- * @param callback The callback
234
- */
235
- listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
236
- listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectListResult>, callback?: msRest.ServiceCallback<Models.ProjectListResult>): Promise<Models.ProjectsListByWorkspaceResponse> {
237
- return this.client.sendOperationRequest(
238
- {
239
- accountName,
240
- workspaceName,
241
- resourceGroupName,
242
- options
243
- },
244
- listByWorkspaceOperationSpec,
245
- callback) as Promise<Models.ProjectsListByWorkspaceResponse>;
246
- }
247
-
248
- /**
249
- * Lists all the available machine learning projects under the specified workspace.
250
- * @param nextPageLink The NextLink from the previous successful call to List operation.
251
- * @param [options] The optional parameters
252
- * @returns Promise<Models.ProjectsListByWorkspaceNextResponse>
253
- */
254
- listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListByWorkspaceNextResponse>;
255
- /**
256
- * @param nextPageLink The NextLink from the previous successful call to List operation.
257
- * @param callback The callback
258
- */
259
- listByWorkspaceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
260
- /**
261
- * @param nextPageLink The NextLink from the previous successful call to List operation.
262
- * @param options The optional parameters
263
- * @param callback The callback
264
- */
265
- listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
266
- listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectListResult>, callback?: msRest.ServiceCallback<Models.ProjectListResult>): Promise<Models.ProjectsListByWorkspaceNextResponse> {
267
- return this.client.sendOperationRequest(
268
- {
269
- nextPageLink,
270
- options
271
- },
272
- listByWorkspaceNextOperationSpec,
273
- callback) as Promise<Models.ProjectsListByWorkspaceNextResponse>;
274
- }
275
- }
276
-
277
- // Operation Specifications
278
- const serializer = new msRest.Serializer(Mappers);
279
- const getOperationSpec: msRest.OperationSpec = {
280
- httpMethod: "GET",
281
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
282
- urlParameters: [
283
- Parameters.subscriptionId,
284
- Parameters.resourceGroupName,
285
- Parameters.accountName,
286
- Parameters.workspaceName,
287
- Parameters.projectName
288
- ],
289
- queryParameters: [
290
- Parameters.apiVersion
291
- ],
292
- headerParameters: [
293
- Parameters.acceptLanguage
294
- ],
295
- responses: {
296
- 200: {
297
- bodyMapper: Mappers.Project
298
- },
299
- default: {
300
- bodyMapper: Mappers.ErrorResponse
301
- }
302
- },
303
- serializer
304
- };
305
-
306
- const createOrUpdateOperationSpec: msRest.OperationSpec = {
307
- httpMethod: "PUT",
308
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
309
- urlParameters: [
310
- Parameters.subscriptionId,
311
- Parameters.resourceGroupName,
312
- Parameters.accountName,
313
- Parameters.workspaceName,
314
- Parameters.projectName
315
- ],
316
- queryParameters: [
317
- Parameters.apiVersion
318
- ],
319
- headerParameters: [
320
- Parameters.acceptLanguage
321
- ],
322
- requestBody: {
323
- parameterPath: "parameters",
324
- mapper: {
325
- ...Mappers.Project,
326
- required: true
327
- }
328
- },
329
- responses: {
330
- 200: {
331
- bodyMapper: Mappers.Project
332
- },
333
- 201: {
334
- bodyMapper: Mappers.Project
335
- },
336
- default: {
337
- bodyMapper: Mappers.ErrorResponse
338
- }
339
- },
340
- serializer
341
- };
342
-
343
- const deleteMethodOperationSpec: msRest.OperationSpec = {
344
- httpMethod: "DELETE",
345
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
346
- urlParameters: [
347
- Parameters.subscriptionId,
348
- Parameters.resourceGroupName,
349
- Parameters.accountName,
350
- Parameters.workspaceName,
351
- Parameters.projectName
352
- ],
353
- queryParameters: [
354
- Parameters.apiVersion
355
- ],
356
- headerParameters: [
357
- Parameters.acceptLanguage
358
- ],
359
- responses: {
360
- 200: {},
361
- 204: {},
362
- default: {
363
- bodyMapper: Mappers.ErrorResponse
364
- }
365
- },
366
- serializer
367
- };
368
-
369
- const updateOperationSpec: msRest.OperationSpec = {
370
- httpMethod: "PATCH",
371
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
372
- urlParameters: [
373
- Parameters.subscriptionId,
374
- Parameters.resourceGroupName,
375
- Parameters.accountName,
376
- Parameters.workspaceName,
377
- Parameters.projectName
378
- ],
379
- queryParameters: [
380
- Parameters.apiVersion
381
- ],
382
- headerParameters: [
383
- Parameters.acceptLanguage
384
- ],
385
- requestBody: {
386
- parameterPath: "parameters",
387
- mapper: {
388
- ...Mappers.ProjectUpdateParameters,
389
- required: true
390
- }
391
- },
392
- responses: {
393
- 200: {
394
- bodyMapper: Mappers.Project
395
- },
396
- default: {
397
- bodyMapper: Mappers.ErrorResponse
398
- }
399
- },
400
- serializer
401
- };
402
-
403
- const listByWorkspaceOperationSpec: msRest.OperationSpec = {
404
- httpMethod: "GET",
405
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces{workspaceName}/projects",
406
- urlParameters: [
407
- Parameters.subscriptionId,
408
- Parameters.accountName,
409
- Parameters.workspaceName,
410
- Parameters.resourceGroupName
411
- ],
412
- queryParameters: [
413
- Parameters.apiVersion
414
- ],
415
- headerParameters: [
416
- Parameters.acceptLanguage
417
- ],
418
- responses: {
419
- 200: {
420
- bodyMapper: Mappers.ProjectListResult
421
- },
422
- default: {
423
- bodyMapper: Mappers.ErrorResponse
424
- }
425
- },
426
- serializer
427
- };
428
-
429
- const listByWorkspaceNextOperationSpec: msRest.OperationSpec = {
430
- httpMethod: "GET",
431
- baseUrl: "https://management.azure.com",
432
- path: "{nextLink}",
433
- urlParameters: [
434
- Parameters.nextPageLink
435
- ],
436
- headerParameters: [
437
- Parameters.acceptLanguage
438
- ],
439
- responses: {
440
- 200: {
441
- bodyMapper: Mappers.ProjectListResult
442
- },
443
- default: {
444
- bodyMapper: Mappers.ErrorResponse
445
- }
446
- },
447
- serializer
448
- };