@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +1780 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/accountCreate.d.ts +2 -0
- package/dist-esm/samples-dev/accountCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountCreate.js +33 -0
- package/dist-esm/samples-dev/accountCreate.js.map +1 -0
- package/dist-esm/samples-dev/accountGet.d.ts +2 -0
- package/dist-esm/samples-dev/accountGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountGet.js +31 -0
- package/dist-esm/samples-dev/accountGet.js.map +1 -0
- package/dist-esm/samples-dev/accountUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/accountUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountUpdate.js +35 -0
- package/dist-esm/samples-dev/accountUpdate.js.map +1 -0
- package/dist-esm/samples-dev/createProject.d.ts +2 -0
- package/dist-esm/samples-dev/createProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/createProject.js +39 -0
- package/dist-esm/samples-dev/createProject.js.map +1 -0
- package/dist-esm/samples-dev/getProject.d.ts +2 -0
- package/dist-esm/samples-dev/getProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/getProject.js +33 -0
- package/dist-esm/samples-dev/getProject.js.map +1 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts +2 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts.map +1 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.js +45 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.js.map +1 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.d.ts +2 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.js +46 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.js.map +1 -0
- package/dist-esm/samples-dev/updateProject.d.ts +2 -0
- package/dist-esm/samples-dev/updateProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateProject.js +37 -0
- package/dist-esm/samples-dev/updateProject.js.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.js +37 -0
- package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.js +32 -0
- package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.js +32 -0
- package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.js +33 -0
- package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/mLTeamAccountManagementClient.d.ts +21 -0
- package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/dist-esm/src/mLTeamAccountManagementClient.js +54 -0
- package/dist-esm/src/mLTeamAccountManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +329 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +17 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +273 -315
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +153 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +90 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +366 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +86 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +307 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +79 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +280 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +83 -34
- package/review/arm-machinelearningexperimentation.api.md +339 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/mLTeamAccountManagementClient.ts +91 -0
- package/src/models/index.ts +389 -0
- package/{lib → src}/models/mappers.ts +263 -305
- package/src/models/parameters.ts +181 -0
- package/src/operations/accounts.ts +454 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/operations.ts +98 -0
- package/src/operations/projects.ts +423 -0
- package/src/operations/workspaces.ts +382 -0
- package/src/operationsInterfaces/accounts.ts +96 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +108 -0
- package/src/operationsInterfaces/workspaces.ts +98 -0
- package/tsconfig.json +6 -5
- package/types/arm-machinelearningexperimentation.d.ts +569 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-machinelearningexperimentation.js +0 -1715
- package/dist/arm-machinelearningexperimentation.js.map +0 -1
- package/dist/arm-machinelearningexperimentation.min.js +0 -1
- package/dist/arm-machinelearningexperimentation.min.js.map +0 -1
- package/esm/mLTeamAccountManagementClient.d.ts +0 -21
- package/esm/mLTeamAccountManagementClient.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClient.js +0 -36
- package/esm/mLTeamAccountManagementClient.js.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.d.ts +0 -16
- package/esm/mLTeamAccountManagementClientContext.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.js +0 -56
- package/esm/mLTeamAccountManagementClientContext.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -11
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -770
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -106
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -11
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -187
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -272
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -184
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -239
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -169
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -229
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/mLTeamAccountManagementClient.ts +0 -48
- package/lib/mLTeamAccountManagementClientContext.ts +0 -62
- package/lib/models/accountsMappers.ts +0 -22
- package/lib/models/index.ts +0 -809
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -108
- package/lib/models/projectsMappers.ts +0 -22
- package/lib/models/workspacesMappers.ts +0 -22
- package/lib/operations/accounts.ts +0 -494
- package/lib/operations/operations.ts +0 -74
- package/lib/operations/projects.ts +0 -448
- 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
|
-
};
|