@azure/arm-machinelearningexperimentation 1.2.1 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- 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 +81 -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 +78 -41
- package/src/models/index.ts +287 -707
- package/src/models/mappers.ts +263 -305
- package/src/models/parameters.ts +116 -43
- package/src/operations/accounts.ts +290 -330
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +66 -42
- package/src/operations/projects.ts +256 -281
- package/src/operations/workspaces.ts +242 -283
- 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 -1725
- 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 -27
- package/esm/mLTeamAccountManagementClient.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClient.js +0 -41
- package/esm/mLTeamAccountManagementClient.js.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.d.ts +0 -22
- package/esm/mLTeamAccountManagementClientContext.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.js +0 -61
- 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/src/mLTeamAccountManagementClientContext.ts +0 -68
- package/src/models/accountsMappers.ts +0 -22
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/projectsMappers.ts +0 -22
- package/src/models/workspacesMappers.ts +0 -22
|
@@ -1,307 +1,288 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Accounts } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
Account,
|
|
17
|
+
AccountsListByResourceGroupNextOptionalParams,
|
|
18
|
+
AccountsListByResourceGroupOptionalParams,
|
|
19
|
+
AccountsListNextOptionalParams,
|
|
20
|
+
AccountsListOptionalParams,
|
|
21
|
+
AccountsGetOptionalParams,
|
|
22
|
+
AccountsGetResponse,
|
|
23
|
+
AccountsCreateOrUpdateOptionalParams,
|
|
24
|
+
AccountsCreateOrUpdateResponse,
|
|
25
|
+
AccountsDeleteOptionalParams,
|
|
26
|
+
AccountUpdateParameters,
|
|
27
|
+
AccountsUpdateOptionalParams,
|
|
28
|
+
AccountsUpdateResponse,
|
|
29
|
+
AccountsListByResourceGroupResponse,
|
|
30
|
+
AccountsListResponse,
|
|
31
|
+
AccountsListByResourceGroupNextResponse,
|
|
32
|
+
AccountsListNextResponse
|
|
33
|
+
} from "../models";
|
|
16
34
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
35
|
+
/// <reference lib="esnext.asynciterable" />
|
|
36
|
+
/** Class containing Accounts operations. */
|
|
37
|
+
export class AccountsImpl implements Accounts {
|
|
38
|
+
private readonly client: MLTeamAccountManagementClient;
|
|
20
39
|
|
|
21
40
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
41
|
+
* Initialize a new instance of the class Accounts class.
|
|
42
|
+
* @param client Reference to the service client
|
|
24
43
|
*/
|
|
25
|
-
constructor(client:
|
|
44
|
+
constructor(client: MLTeamAccountManagementClient) {
|
|
26
45
|
this.client = client;
|
|
27
46
|
}
|
|
28
47
|
|
|
29
48
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
32
|
-
*
|
|
33
|
-
* @param
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.AccountsGetResponse>
|
|
36
|
-
*/
|
|
37
|
-
get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsGetResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
40
|
-
* account belongs.
|
|
41
|
-
* @param accountName The name of the machine learning team account.
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
get(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.Account>): void;
|
|
45
|
-
/**
|
|
46
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
47
|
-
* account belongs.
|
|
48
|
-
* @param accountName The name of the machine learning team account.
|
|
49
|
-
* @param options The optional parameters
|
|
50
|
-
* @param callback The callback
|
|
49
|
+
* Lists all the available machine learning team accounts under the specified resource group.
|
|
50
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
51
|
+
* belongs.
|
|
52
|
+
* @param options The options parameters.
|
|
51
53
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
public listByResourceGroup(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
options?: AccountsListByResourceGroupOptionalParams
|
|
57
|
+
): PagedAsyncIterableIterator<Account> {
|
|
58
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
59
|
+
return {
|
|
60
|
+
next() {
|
|
61
|
+
return iter.next();
|
|
62
|
+
},
|
|
63
|
+
[Symbol.asyncIterator]() {
|
|
64
|
+
return this;
|
|
65
|
+
},
|
|
66
|
+
byPage: () => {
|
|
67
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
private async *listByResourceGroupPagingPage(
|
|
73
|
+
resourceGroupName: string,
|
|
74
|
+
options?: AccountsListByResourceGroupOptionalParams
|
|
75
|
+
): AsyncIterableIterator<Account[]> {
|
|
76
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
77
|
+
yield result.value || [];
|
|
78
|
+
let continuationToken = result.nextLink;
|
|
79
|
+
while (continuationToken) {
|
|
80
|
+
result = await this._listByResourceGroupNext(
|
|
56
81
|
resourceGroupName,
|
|
57
|
-
|
|
82
|
+
continuationToken,
|
|
58
83
|
options
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
84
|
+
);
|
|
85
|
+
continuationToken = result.nextLink;
|
|
86
|
+
yield result.value || [];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private async *listByResourceGroupPagingAll(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
options?: AccountsListByResourceGroupOptionalParams
|
|
93
|
+
): AsyncIterableIterator<Account> {
|
|
94
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
95
|
+
resourceGroupName,
|
|
96
|
+
options
|
|
97
|
+
)) {
|
|
98
|
+
yield* page;
|
|
99
|
+
}
|
|
62
100
|
}
|
|
63
101
|
|
|
64
102
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
* account belongs.
|
|
68
|
-
* @param accountName The name of the machine learning team account.
|
|
69
|
-
* @param parameters The parameters for creating or updating a machine learning team account.
|
|
70
|
-
* @param [options] The optional parameters
|
|
71
|
-
* @returns Promise<Models.AccountsCreateOrUpdateResponse>
|
|
103
|
+
* Lists all the available machine learning team accounts under the specified subscription.
|
|
104
|
+
* @param options The options parameters.
|
|
72
105
|
*/
|
|
73
|
-
|
|
106
|
+
public list(
|
|
107
|
+
options?: AccountsListOptionalParams
|
|
108
|
+
): PagedAsyncIterableIterator<Account> {
|
|
109
|
+
const iter = this.listPagingAll(options);
|
|
110
|
+
return {
|
|
111
|
+
next() {
|
|
112
|
+
return iter.next();
|
|
113
|
+
},
|
|
114
|
+
[Symbol.asyncIterator]() {
|
|
115
|
+
return this;
|
|
116
|
+
},
|
|
117
|
+
byPage: () => {
|
|
118
|
+
return this.listPagingPage(options);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
private async *listPagingPage(
|
|
124
|
+
options?: AccountsListOptionalParams
|
|
125
|
+
): AsyncIterableIterator<Account[]> {
|
|
126
|
+
let result = await this._list(options);
|
|
127
|
+
yield result.value || [];
|
|
128
|
+
let continuationToken = result.nextLink;
|
|
129
|
+
while (continuationToken) {
|
|
130
|
+
result = await this._listNext(continuationToken, options);
|
|
131
|
+
continuationToken = result.nextLink;
|
|
132
|
+
yield result.value || [];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private async *listPagingAll(
|
|
137
|
+
options?: AccountsListOptionalParams
|
|
138
|
+
): AsyncIterableIterator<Account> {
|
|
139
|
+
for await (const page of this.listPagingPage(options)) {
|
|
140
|
+
yield* page;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
74
144
|
/**
|
|
75
|
-
*
|
|
76
|
-
* account
|
|
145
|
+
* Gets the properties of the specified machine learning team account.
|
|
146
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
147
|
+
* belongs.
|
|
77
148
|
* @param accountName The name of the machine learning team account.
|
|
78
|
-
* @param
|
|
79
|
-
* @param callback The callback
|
|
149
|
+
* @param options The options parameters.
|
|
80
150
|
*/
|
|
81
|
-
|
|
151
|
+
get(
|
|
152
|
+
resourceGroupName: string,
|
|
153
|
+
accountName: string,
|
|
154
|
+
options?: AccountsGetOptionalParams
|
|
155
|
+
): Promise<AccountsGetResponse> {
|
|
156
|
+
return this.client.sendOperationRequest(
|
|
157
|
+
{ resourceGroupName, accountName, options },
|
|
158
|
+
getOperationSpec
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
|
|
82
162
|
/**
|
|
83
|
-
*
|
|
84
|
-
* account
|
|
163
|
+
* Creates or updates a team account with the specified parameters.
|
|
164
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
165
|
+
* belongs.
|
|
85
166
|
* @param accountName The name of the machine learning team account.
|
|
86
167
|
* @param parameters The parameters for creating or updating a machine learning team account.
|
|
87
|
-
* @param options The
|
|
88
|
-
* @param callback The callback
|
|
168
|
+
* @param options The options parameters.
|
|
89
169
|
*/
|
|
90
|
-
createOrUpdate(
|
|
91
|
-
|
|
170
|
+
createOrUpdate(
|
|
171
|
+
resourceGroupName: string,
|
|
172
|
+
accountName: string,
|
|
173
|
+
parameters: Account,
|
|
174
|
+
options?: AccountsCreateOrUpdateOptionalParams
|
|
175
|
+
): Promise<AccountsCreateOrUpdateResponse> {
|
|
92
176
|
return this.client.sendOperationRequest(
|
|
93
|
-
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
parameters,
|
|
97
|
-
options
|
|
98
|
-
},
|
|
99
|
-
createOrUpdateOperationSpec,
|
|
100
|
-
callback) as Promise<Models.AccountsCreateOrUpdateResponse>;
|
|
177
|
+
{ resourceGroupName, accountName, parameters, options },
|
|
178
|
+
createOrUpdateOperationSpec
|
|
179
|
+
);
|
|
101
180
|
}
|
|
102
181
|
|
|
103
182
|
/**
|
|
104
183
|
* Deletes a machine learning team account.
|
|
105
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
106
|
-
*
|
|
184
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
185
|
+
* belongs.
|
|
107
186
|
* @param accountName The name of the machine learning team account.
|
|
108
|
-
* @param
|
|
109
|
-
* @returns Promise<msRest.RestResponse>
|
|
187
|
+
* @param options The options parameters.
|
|
110
188
|
*/
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* @param callback The callback
|
|
117
|
-
*/
|
|
118
|
-
deleteMethod(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
|
|
119
|
-
/**
|
|
120
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
121
|
-
* account belongs.
|
|
122
|
-
* @param accountName The name of the machine learning team account.
|
|
123
|
-
* @param options The optional parameters
|
|
124
|
-
* @param callback The callback
|
|
125
|
-
*/
|
|
126
|
-
deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
127
|
-
deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
189
|
+
delete(
|
|
190
|
+
resourceGroupName: string,
|
|
191
|
+
accountName: string,
|
|
192
|
+
options?: AccountsDeleteOptionalParams
|
|
193
|
+
): Promise<void> {
|
|
128
194
|
return this.client.sendOperationRequest(
|
|
129
|
-
{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
options
|
|
133
|
-
},
|
|
134
|
-
deleteMethodOperationSpec,
|
|
135
|
-
callback);
|
|
195
|
+
{ resourceGroupName, accountName, options },
|
|
196
|
+
deleteOperationSpec
|
|
197
|
+
);
|
|
136
198
|
}
|
|
137
199
|
|
|
138
200
|
/**
|
|
139
201
|
* Updates a machine learning team account with the specified parameters.
|
|
140
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
141
|
-
*
|
|
202
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
203
|
+
* belongs.
|
|
142
204
|
* @param accountName The name of the machine learning team account.
|
|
143
205
|
* @param parameters The parameters for updating a machine learning team account.
|
|
144
|
-
* @param
|
|
145
|
-
* @returns Promise<Models.AccountsUpdateResponse>
|
|
206
|
+
* @param options The options parameters.
|
|
146
207
|
*/
|
|
147
|
-
update(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, callback: msRest.ServiceCallback<Models.Account>): void;
|
|
156
|
-
/**
|
|
157
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
158
|
-
* account belongs.
|
|
159
|
-
* @param accountName The name of the machine learning team account.
|
|
160
|
-
* @param parameters The parameters for updating a machine learning team account.
|
|
161
|
-
* @param options The optional parameters
|
|
162
|
-
* @param callback The callback
|
|
163
|
-
*/
|
|
164
|
-
update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Account>): void;
|
|
165
|
-
update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Account>, callback?: msRest.ServiceCallback<Models.Account>): Promise<Models.AccountsUpdateResponse> {
|
|
208
|
+
update(
|
|
209
|
+
resourceGroupName: string,
|
|
210
|
+
accountName: string,
|
|
211
|
+
parameters: AccountUpdateParameters,
|
|
212
|
+
options?: AccountsUpdateOptionalParams
|
|
213
|
+
): Promise<AccountsUpdateResponse> {
|
|
166
214
|
return this.client.sendOperationRequest(
|
|
167
|
-
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
parameters,
|
|
171
|
-
options
|
|
172
|
-
},
|
|
173
|
-
updateOperationSpec,
|
|
174
|
-
callback) as Promise<Models.AccountsUpdateResponse>;
|
|
215
|
+
{ resourceGroupName, accountName, parameters, options },
|
|
216
|
+
updateOperationSpec
|
|
217
|
+
);
|
|
175
218
|
}
|
|
176
219
|
|
|
177
220
|
/**
|
|
178
221
|
* Lists all the available machine learning team accounts under the specified resource group.
|
|
179
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
180
|
-
*
|
|
181
|
-
* @param
|
|
182
|
-
* @returns Promise<Models.AccountsListByResourceGroupResponse>
|
|
183
|
-
*/
|
|
184
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListByResourceGroupResponse>;
|
|
185
|
-
/**
|
|
186
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
187
|
-
* account belongs.
|
|
188
|
-
* @param callback The callback
|
|
222
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
223
|
+
* belongs.
|
|
224
|
+
* @param options The options parameters.
|
|
189
225
|
*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
* @param options The optional parameters
|
|
195
|
-
* @param callback The callback
|
|
196
|
-
*/
|
|
197
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
|
|
198
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccountListResult>, callback?: msRest.ServiceCallback<Models.AccountListResult>): Promise<Models.AccountsListByResourceGroupResponse> {
|
|
226
|
+
private _listByResourceGroup(
|
|
227
|
+
resourceGroupName: string,
|
|
228
|
+
options?: AccountsListByResourceGroupOptionalParams
|
|
229
|
+
): Promise<AccountsListByResourceGroupResponse> {
|
|
199
230
|
return this.client.sendOperationRequest(
|
|
200
|
-
{
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
},
|
|
204
|
-
listByResourceGroupOperationSpec,
|
|
205
|
-
callback) as Promise<Models.AccountsListByResourceGroupResponse>;
|
|
231
|
+
{ resourceGroupName, options },
|
|
232
|
+
listByResourceGroupOperationSpec
|
|
233
|
+
);
|
|
206
234
|
}
|
|
207
235
|
|
|
208
236
|
/**
|
|
209
237
|
* Lists all the available machine learning team accounts under the specified subscription.
|
|
210
|
-
* @param
|
|
211
|
-
* @returns Promise<Models.AccountsListResponse>
|
|
238
|
+
* @param options The options parameters.
|
|
212
239
|
*/
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
list(callback: msRest.ServiceCallback<Models.AccountListResult>): void;
|
|
218
|
-
/**
|
|
219
|
-
* @param options The optional parameters
|
|
220
|
-
* @param callback The callback
|
|
221
|
-
*/
|
|
222
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
|
|
223
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccountListResult>, callback?: msRest.ServiceCallback<Models.AccountListResult>): Promise<Models.AccountsListResponse> {
|
|
224
|
-
return this.client.sendOperationRequest(
|
|
225
|
-
{
|
|
226
|
-
options
|
|
227
|
-
},
|
|
228
|
-
listOperationSpec,
|
|
229
|
-
callback) as Promise<Models.AccountsListResponse>;
|
|
240
|
+
private _list(
|
|
241
|
+
options?: AccountsListOptionalParams
|
|
242
|
+
): Promise<AccountsListResponse> {
|
|
243
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
230
244
|
}
|
|
231
245
|
|
|
232
246
|
/**
|
|
233
|
-
*
|
|
234
|
-
* @param
|
|
235
|
-
*
|
|
236
|
-
* @
|
|
237
|
-
|
|
238
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListByResourceGroupNextResponse>;
|
|
239
|
-
/**
|
|
240
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
241
|
-
* @param callback The callback
|
|
242
|
-
*/
|
|
243
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
|
|
244
|
-
/**
|
|
245
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
246
|
-
* @param options The optional parameters
|
|
247
|
-
* @param callback The callback
|
|
247
|
+
* ListByResourceGroupNext
|
|
248
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
249
|
+
* belongs.
|
|
250
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
251
|
+
* @param options The options parameters.
|
|
248
252
|
*/
|
|
249
|
-
|
|
250
|
-
|
|
253
|
+
private _listByResourceGroupNext(
|
|
254
|
+
resourceGroupName: string,
|
|
255
|
+
nextLink: string,
|
|
256
|
+
options?: AccountsListByResourceGroupNextOptionalParams
|
|
257
|
+
): Promise<AccountsListByResourceGroupNextResponse> {
|
|
251
258
|
return this.client.sendOperationRequest(
|
|
252
|
-
{
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
},
|
|
256
|
-
listByResourceGroupNextOperationSpec,
|
|
257
|
-
callback) as Promise<Models.AccountsListByResourceGroupNextResponse>;
|
|
259
|
+
{ resourceGroupName, nextLink, options },
|
|
260
|
+
listByResourceGroupNextOperationSpec
|
|
261
|
+
);
|
|
258
262
|
}
|
|
259
263
|
|
|
260
264
|
/**
|
|
261
|
-
*
|
|
262
|
-
* @param
|
|
263
|
-
* @param
|
|
264
|
-
* @returns Promise<Models.AccountsListNextResponse>
|
|
265
|
-
*/
|
|
266
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListNextResponse>;
|
|
267
|
-
/**
|
|
268
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
269
|
-
* @param callback The callback
|
|
270
|
-
*/
|
|
271
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
|
|
272
|
-
/**
|
|
273
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
274
|
-
* @param options The optional parameters
|
|
275
|
-
* @param callback The callback
|
|
265
|
+
* ListNext
|
|
266
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
267
|
+
* @param options The options parameters.
|
|
276
268
|
*/
|
|
277
|
-
|
|
278
|
-
|
|
269
|
+
private _listNext(
|
|
270
|
+
nextLink: string,
|
|
271
|
+
options?: AccountsListNextOptionalParams
|
|
272
|
+
): Promise<AccountsListNextResponse> {
|
|
279
273
|
return this.client.sendOperationRequest(
|
|
280
|
-
{
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
},
|
|
284
|
-
listNextOperationSpec,
|
|
285
|
-
callback) as Promise<Models.AccountsListNextResponse>;
|
|
274
|
+
{ nextLink, options },
|
|
275
|
+
listNextOperationSpec
|
|
276
|
+
);
|
|
286
277
|
}
|
|
287
278
|
}
|
|
288
|
-
|
|
289
279
|
// Operation Specifications
|
|
290
|
-
const serializer =
|
|
291
|
-
|
|
280
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
281
|
+
|
|
282
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
283
|
+
path:
|
|
284
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
292
285
|
httpMethod: "GET",
|
|
293
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
294
|
-
urlParameters: [
|
|
295
|
-
Parameters.subscriptionId,
|
|
296
|
-
Parameters.resourceGroupName,
|
|
297
|
-
Parameters.accountName
|
|
298
|
-
],
|
|
299
|
-
queryParameters: [
|
|
300
|
-
Parameters.apiVersion
|
|
301
|
-
],
|
|
302
|
-
headerParameters: [
|
|
303
|
-
Parameters.acceptLanguage
|
|
304
|
-
],
|
|
305
286
|
responses: {
|
|
306
287
|
200: {
|
|
307
288
|
bodyMapper: Mappers.Account
|
|
@@ -310,30 +291,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
310
291
|
bodyMapper: Mappers.ErrorResponse
|
|
311
292
|
}
|
|
312
293
|
},
|
|
313
|
-
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
317
|
-
httpMethod: "PUT",
|
|
318
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
294
|
+
queryParameters: [Parameters.apiVersion],
|
|
319
295
|
urlParameters: [
|
|
296
|
+
Parameters.$host,
|
|
320
297
|
Parameters.subscriptionId,
|
|
321
298
|
Parameters.resourceGroupName,
|
|
322
299
|
Parameters.accountName
|
|
323
300
|
],
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
parameterPath: "parameters",
|
|
332
|
-
mapper: {
|
|
333
|
-
...Mappers.Account,
|
|
334
|
-
required: true
|
|
335
|
-
}
|
|
336
|
-
},
|
|
301
|
+
headerParameters: [Parameters.accept],
|
|
302
|
+
serializer
|
|
303
|
+
};
|
|
304
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
305
|
+
path:
|
|
306
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
307
|
+
httpMethod: "PUT",
|
|
337
308
|
responses: {
|
|
338
309
|
200: {
|
|
339
310
|
bodyMapper: Mappers.Account
|
|
@@ -345,23 +316,22 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
345
316
|
bodyMapper: Mappers.ErrorResponse
|
|
346
317
|
}
|
|
347
318
|
},
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
352
|
-
httpMethod: "DELETE",
|
|
353
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
319
|
+
requestBody: Parameters.parameters,
|
|
320
|
+
queryParameters: [Parameters.apiVersion],
|
|
354
321
|
urlParameters: [
|
|
322
|
+
Parameters.$host,
|
|
355
323
|
Parameters.subscriptionId,
|
|
356
324
|
Parameters.resourceGroupName,
|
|
357
325
|
Parameters.accountName
|
|
358
326
|
],
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
327
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
328
|
+
mediaType: "json",
|
|
329
|
+
serializer
|
|
330
|
+
};
|
|
331
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
332
|
+
path:
|
|
333
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
334
|
+
httpMethod: "DELETE",
|
|
365
335
|
responses: {
|
|
366
336
|
200: {},
|
|
367
337
|
204: {},
|
|
@@ -369,30 +339,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
|
369
339
|
bodyMapper: Mappers.ErrorResponse
|
|
370
340
|
}
|
|
371
341
|
},
|
|
372
|
-
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
376
|
-
httpMethod: "PATCH",
|
|
377
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
342
|
+
queryParameters: [Parameters.apiVersion],
|
|
378
343
|
urlParameters: [
|
|
344
|
+
Parameters.$host,
|
|
379
345
|
Parameters.subscriptionId,
|
|
380
346
|
Parameters.resourceGroupName,
|
|
381
347
|
Parameters.accountName
|
|
382
348
|
],
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
parameterPath: "parameters",
|
|
391
|
-
mapper: {
|
|
392
|
-
...Mappers.AccountUpdateParameters,
|
|
393
|
-
required: true
|
|
394
|
-
}
|
|
395
|
-
},
|
|
349
|
+
headerParameters: [Parameters.accept],
|
|
350
|
+
serializer
|
|
351
|
+
};
|
|
352
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
353
|
+
path:
|
|
354
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
355
|
+
httpMethod: "PATCH",
|
|
396
356
|
responses: {
|
|
397
357
|
200: {
|
|
398
358
|
bodyMapper: Mappers.Account
|
|
@@ -401,22 +361,22 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
|
401
361
|
bodyMapper: Mappers.ErrorResponse
|
|
402
362
|
}
|
|
403
363
|
},
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
408
|
-
httpMethod: "GET",
|
|
409
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
364
|
+
requestBody: Parameters.parameters1,
|
|
365
|
+
queryParameters: [Parameters.apiVersion],
|
|
410
366
|
urlParameters: [
|
|
367
|
+
Parameters.$host,
|
|
411
368
|
Parameters.subscriptionId,
|
|
412
|
-
Parameters.resourceGroupName
|
|
413
|
-
|
|
414
|
-
queryParameters: [
|
|
415
|
-
Parameters.apiVersion
|
|
416
|
-
],
|
|
417
|
-
headerParameters: [
|
|
418
|
-
Parameters.acceptLanguage
|
|
369
|
+
Parameters.resourceGroupName,
|
|
370
|
+
Parameters.accountName
|
|
419
371
|
],
|
|
372
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
373
|
+
mediaType: "json",
|
|
374
|
+
serializer
|
|
375
|
+
};
|
|
376
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
377
|
+
path:
|
|
378
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
379
|
+
httpMethod: "GET",
|
|
420
380
|
responses: {
|
|
421
381
|
200: {
|
|
422
382
|
bodyMapper: Mappers.AccountListResult
|
|
@@ -425,21 +385,19 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
|
425
385
|
bodyMapper: Mappers.ErrorResponse
|
|
426
386
|
}
|
|
427
387
|
},
|
|
388
|
+
queryParameters: [Parameters.apiVersion],
|
|
389
|
+
urlParameters: [
|
|
390
|
+
Parameters.$host,
|
|
391
|
+
Parameters.subscriptionId,
|
|
392
|
+
Parameters.resourceGroupName
|
|
393
|
+
],
|
|
394
|
+
headerParameters: [Parameters.accept],
|
|
428
395
|
serializer
|
|
429
396
|
};
|
|
430
|
-
|
|
431
|
-
|
|
397
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
398
|
+
path:
|
|
399
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
432
400
|
httpMethod: "GET",
|
|
433
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
434
|
-
urlParameters: [
|
|
435
|
-
Parameters.subscriptionId
|
|
436
|
-
],
|
|
437
|
-
queryParameters: [
|
|
438
|
-
Parameters.apiVersion
|
|
439
|
-
],
|
|
440
|
-
headerParameters: [
|
|
441
|
-
Parameters.acceptLanguage
|
|
442
|
-
],
|
|
443
401
|
responses: {
|
|
444
402
|
200: {
|
|
445
403
|
bodyMapper: Mappers.AccountListResult
|
|
@@ -448,19 +406,14 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
448
406
|
bodyMapper: Mappers.ErrorResponse
|
|
449
407
|
}
|
|
450
408
|
},
|
|
409
|
+
queryParameters: [Parameters.apiVersion],
|
|
410
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
411
|
+
headerParameters: [Parameters.accept],
|
|
451
412
|
serializer
|
|
452
413
|
};
|
|
453
|
-
|
|
454
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
455
|
-
httpMethod: "GET",
|
|
456
|
-
baseUrl: "https://management.azure.com",
|
|
414
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
457
415
|
path: "{nextLink}",
|
|
458
|
-
|
|
459
|
-
Parameters.nextPageLink
|
|
460
|
-
],
|
|
461
|
-
headerParameters: [
|
|
462
|
-
Parameters.acceptLanguage
|
|
463
|
-
],
|
|
416
|
+
httpMethod: "GET",
|
|
464
417
|
responses: {
|
|
465
418
|
200: {
|
|
466
419
|
bodyMapper: Mappers.AccountListResult
|
|
@@ -469,19 +422,19 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
|
469
422
|
bodyMapper: Mappers.ErrorResponse
|
|
470
423
|
}
|
|
471
424
|
},
|
|
425
|
+
queryParameters: [Parameters.apiVersion],
|
|
426
|
+
urlParameters: [
|
|
427
|
+
Parameters.$host,
|
|
428
|
+
Parameters.subscriptionId,
|
|
429
|
+
Parameters.resourceGroupName,
|
|
430
|
+
Parameters.nextLink
|
|
431
|
+
],
|
|
432
|
+
headerParameters: [Parameters.accept],
|
|
472
433
|
serializer
|
|
473
434
|
};
|
|
474
|
-
|
|
475
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
476
|
-
httpMethod: "GET",
|
|
477
|
-
baseUrl: "https://management.azure.com",
|
|
435
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
478
436
|
path: "{nextLink}",
|
|
479
|
-
|
|
480
|
-
Parameters.nextPageLink
|
|
481
|
-
],
|
|
482
|
-
headerParameters: [
|
|
483
|
-
Parameters.acceptLanguage
|
|
484
|
-
],
|
|
437
|
+
httpMethod: "GET",
|
|
485
438
|
responses: {
|
|
486
439
|
200: {
|
|
487
440
|
bodyMapper: Mappers.AccountListResult
|
|
@@ -490,5 +443,12 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
490
443
|
bodyMapper: Mappers.ErrorResponse
|
|
491
444
|
}
|
|
492
445
|
},
|
|
446
|
+
queryParameters: [Parameters.apiVersion],
|
|
447
|
+
urlParameters: [
|
|
448
|
+
Parameters.$host,
|
|
449
|
+
Parameters.subscriptionId,
|
|
450
|
+
Parameters.nextLink
|
|
451
|
+
],
|
|
452
|
+
headerParameters: [Parameters.accept],
|
|
493
453
|
serializer
|
|
494
454
|
};
|