@azure/arm-labservices 1.1.1 → 2.0.0
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/LICENSE.txt +1 -1
- package/README.md +11 -14
- package/dist/arm-labservices.js +2913 -3372
- package/dist/arm-labservices.js.map +1 -1
- package/dist/arm-labservices.min.js +1 -1
- package/dist/arm-labservices.min.js.map +1 -1
- package/esm/{managedLabsClient.d.ts → labServicesClient.d.ts} +12 -13
- package/esm/labServicesClient.d.ts.map +1 -0
- package/esm/{managedLabsClient.js → labServicesClient.js} +17 -19
- package/esm/labServicesClient.js.map +1 -0
- package/esm/{managedLabsClientContext.d.ts → labServicesClientContext.d.ts} +6 -6
- package/esm/labServicesClientContext.d.ts.map +1 -0
- package/esm/{managedLabsClientContext.js → labServicesClientContext.js} +12 -13
- package/esm/labServicesClientContext.js.map +1 -0
- package/esm/models/imagesMappers.d.ts +2 -0
- package/esm/models/imagesMappers.d.ts.map +1 -0
- package/esm/models/imagesMappers.js +9 -0
- package/esm/models/imagesMappers.js.map +1 -0
- package/esm/models/index.d.ts +977 -1070
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +2 -2
- package/esm/models/labPlansMappers.d.ts +2 -0
- package/esm/models/labPlansMappers.d.ts.map +1 -0
- package/esm/models/labPlansMappers.js +9 -0
- package/esm/models/labPlansMappers.js.map +1 -0
- package/esm/models/labsMappers.d.ts +1 -1
- package/esm/models/labsMappers.d.ts.map +1 -1
- package/esm/models/labsMappers.js +3 -3
- package/esm/models/labsMappers.js.map +1 -1
- package/esm/models/mappers.d.ts +50 -65
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +1182 -1209
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/operationResultsMappers.d.ts +2 -0
- package/esm/models/operationResultsMappers.d.ts.map +1 -0
- package/esm/models/operationResultsMappers.js +9 -0
- package/esm/models/operationResultsMappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +1 -1
- package/esm/models/operationsMappers.d.ts.map +1 -1
- package/esm/models/operationsMappers.js +3 -3
- package/esm/models/operationsMappers.js.map +1 -1
- package/esm/models/parameters.d.ts +5 -9
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +69 -74
- package/esm/models/parameters.js.map +1 -1
- package/esm/models/schedulesMappers.d.ts +2 -0
- package/esm/models/schedulesMappers.d.ts.map +1 -0
- package/esm/models/schedulesMappers.js +9 -0
- package/esm/models/schedulesMappers.js.map +1 -0
- package/esm/models/usersMappers.d.ts +1 -1
- package/esm/models/usersMappers.d.ts.map +1 -1
- package/esm/models/usersMappers.js +3 -3
- package/esm/models/usersMappers.js.map +1 -1
- package/esm/models/virtualMachinesMappers.d.ts +2 -0
- package/esm/models/virtualMachinesMappers.d.ts.map +1 -0
- package/esm/models/virtualMachinesMappers.js +9 -0
- package/esm/models/virtualMachinesMappers.js.map +1 -0
- package/esm/operations/images.d.ts +147 -0
- package/esm/operations/images.d.ts.map +1 -0
- package/esm/operations/images.js +198 -0
- package/esm/operations/images.js.map +1 -0
- package/esm/operations/index.d.ts +5 -6
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +7 -9
- package/esm/operations/index.js.map +1 -1
- package/esm/operations/labPlans.d.ts +202 -0
- package/esm/operations/labPlans.d.ts.map +1 -0
- package/esm/operations/labPlans.js +419 -0
- package/esm/operations/labPlans.js.map +1 -0
- package/esm/operations/labs.d.ts +135 -117
- package/esm/operations/labs.d.ts.map +1 -1
- package/esm/operations/labs.js +233 -92
- package/esm/operations/labs.js.map +1 -1
- package/esm/operations/operationResults.d.ts +32 -0
- package/esm/operations/operationResults.d.ts.map +1 -0
- package/esm/operations/operationResults.js +56 -0
- package/esm/operations/operationResults.js.map +1 -0
- package/esm/operations/operations.d.ts +28 -14
- package/esm/operations/operations.d.ts.map +1 -1
- package/esm/operations/operations.js +36 -15
- package/esm/operations/operations.js.map +1 -1
- package/esm/operations/schedules.d.ts +181 -0
- package/esm/operations/schedules.d.ts.map +1 -0
- package/esm/operations/schedules.js +260 -0
- package/esm/operations/schedules.js.map +1 -0
- package/esm/operations/users.d.ts +123 -95
- package/esm/operations/users.d.ts.map +1 -1
- package/esm/operations/users.js +190 -69
- package/esm/operations/users.js.map +1 -1
- package/esm/operations/virtualMachines.d.ts +217 -0
- package/esm/operations/virtualMachines.d.ts.map +1 -0
- package/esm/operations/virtualMachines.js +425 -0
- package/esm/operations/virtualMachines.js.map +1 -0
- package/package.json +13 -13
- package/rollup.config.js +4 -4
- package/src/{managedLabsClient.ts → labServicesClient.ts} +21 -24
- package/src/{managedLabsClientContext.ts → labServicesClientContext.ts} +9 -10
- package/src/models/imagesMappers.ts +47 -0
- package/src/models/index.ts +992 -1091
- package/src/models/labPlansMappers.ts +50 -0
- package/src/models/labsMappers.ts +37 -28
- package/src/models/mappers.ts +1192 -1234
- package/src/models/operationResultsMappers.ts +14 -0
- package/src/models/operationsMappers.ts +8 -5
- package/src/models/parameters.ts +69 -74
- package/src/models/schedulesMappers.ts +47 -0
- package/src/models/usersMappers.ts +36 -27
- package/src/models/virtualMachinesMappers.ts +47 -0
- package/src/operations/images.ts +365 -0
- package/src/operations/index.ts +7 -9
- package/src/operations/labPlans.ts +578 -0
- package/src/operations/labs.ts +297 -215
- package/src/operations/operationResults.ts +83 -0
- package/src/operations/operations.ts +70 -30
- package/src/operations/schedules.ts +443 -0
- package/src/operations/users.ts +238 -160
- package/src/operations/virtualMachines.ts +551 -0
- package/tsconfig.json +1 -1
- package/esm/managedLabsClient.d.ts.map +0 -1
- package/esm/managedLabsClient.js.map +0 -1
- package/esm/managedLabsClientContext.d.ts.map +0 -1
- package/esm/managedLabsClientContext.js.map +0 -1
- package/esm/models/environmentSettingsMappers.d.ts +0 -2
- package/esm/models/environmentSettingsMappers.d.ts.map +0 -1
- package/esm/models/environmentSettingsMappers.js +0 -9
- package/esm/models/environmentSettingsMappers.js.map +0 -1
- package/esm/models/environmentsMappers.d.ts +0 -2
- package/esm/models/environmentsMappers.d.ts.map +0 -1
- package/esm/models/environmentsMappers.js +0 -9
- package/esm/models/environmentsMappers.js.map +0 -1
- package/esm/models/galleryImagesMappers.d.ts +0 -2
- package/esm/models/galleryImagesMappers.d.ts.map +0 -1
- package/esm/models/galleryImagesMappers.js +0 -9
- package/esm/models/galleryImagesMappers.js.map +0 -1
- package/esm/models/globalUsersMappers.d.ts +0 -2
- package/esm/models/globalUsersMappers.d.ts.map +0 -1
- package/esm/models/globalUsersMappers.js +0 -9
- package/esm/models/globalUsersMappers.js.map +0 -1
- package/esm/models/labAccountsMappers.d.ts +0 -2
- package/esm/models/labAccountsMappers.d.ts.map +0 -1
- package/esm/models/labAccountsMappers.js +0 -9
- package/esm/models/labAccountsMappers.js.map +0 -1
- package/esm/models/providerOperationsMappers.d.ts +0 -2
- package/esm/models/providerOperationsMappers.d.ts.map +0 -1
- package/esm/models/providerOperationsMappers.js +0 -9
- package/esm/models/providerOperationsMappers.js.map +0 -1
- package/esm/operations/environmentSettings.d.ts +0 -262
- package/esm/operations/environmentSettings.d.ts.map +0 -1
- package/esm/operations/environmentSettings.js +0 -479
- package/esm/operations/environmentSettings.js.map +0 -1
- package/esm/operations/environments.d.ts +0 -279
- package/esm/operations/environments.d.ts.map +0 -1
- package/esm/operations/environments.js +0 -504
- package/esm/operations/environments.js.map +0 -1
- package/esm/operations/galleryImages.d.ts +0 -154
- package/esm/operations/galleryImages.d.ts.map +0 -1
- package/esm/operations/galleryImages.js +0 -234
- package/esm/operations/galleryImages.js.map +0 -1
- package/esm/operations/globalUsers.d.ts +0 -220
- package/esm/operations/globalUsers.d.ts.map +0 -1
- package/esm/operations/globalUsers.js +0 -411
- package/esm/operations/globalUsers.js.map +0 -1
- package/esm/operations/labAccounts.d.ts +0 -216
- package/esm/operations/labAccounts.d.ts.map +0 -1
- package/esm/operations/labAccounts.js +0 -364
- package/esm/operations/labAccounts.js.map +0 -1
- package/esm/operations/providerOperations.d.ts +0 -46
- package/esm/operations/providerOperations.d.ts.map +0 -1
- package/esm/operations/providerOperations.js +0 -77
- package/esm/operations/providerOperations.js.map +0 -1
- package/src/models/environmentSettingsMappers.ts +0 -40
- package/src/models/environmentsMappers.ts +0 -40
- package/src/models/galleryImagesMappers.ts +0 -39
- package/src/models/globalUsersMappers.ts +0 -29
- package/src/models/labAccountsMappers.ts +0 -47
- package/src/models/providerOperationsMappers.ts +0 -14
- package/src/operations/environmentSettings.ts +0 -705
- package/src/operations/environments.ts +0 -741
- package/src/operations/galleryImages.ts +0 -413
- package/src/operations/globalUsers.ts +0 -644
- package/src/operations/labAccounts.ts +0 -613
- package/src/operations/providerOperations.ts +0 -123
|
@@ -1,741 +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 msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/environmentsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { ManagedLabsClientContext } from "../managedLabsClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a Environments. */
|
|
19
|
-
export class Environments {
|
|
20
|
-
private readonly client: ManagedLabsClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a Environments.
|
|
24
|
-
* @param {ManagedLabsClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: ManagedLabsClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* List environments in a given environment setting.
|
|
32
|
-
* @param resourceGroupName The name of the resource group.
|
|
33
|
-
* @param labAccountName The name of the lab Account.
|
|
34
|
-
* @param labName The name of the lab.
|
|
35
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.EnvironmentsListResponse>
|
|
38
|
-
*/
|
|
39
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: Models.EnvironmentsListOptionalParams): Promise<Models.EnvironmentsListResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* @param resourceGroupName The name of the resource group.
|
|
42
|
-
* @param labAccountName The name of the lab Account.
|
|
43
|
-
* @param labName The name of the lab.
|
|
44
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
45
|
-
* @param callback The callback
|
|
46
|
-
*/
|
|
47
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): void;
|
|
48
|
-
/**
|
|
49
|
-
* @param resourceGroupName The name of the resource group.
|
|
50
|
-
* @param labAccountName The name of the lab Account.
|
|
51
|
-
* @param labName The name of the lab.
|
|
52
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
53
|
-
* @param options The optional parameters
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options: Models.EnvironmentsListOptionalParams, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): void;
|
|
57
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: Models.EnvironmentsListOptionalParams | msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>, callback?: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): Promise<Models.EnvironmentsListResponse> {
|
|
58
|
-
return this.client.sendOperationRequest(
|
|
59
|
-
{
|
|
60
|
-
resourceGroupName,
|
|
61
|
-
labAccountName,
|
|
62
|
-
labName,
|
|
63
|
-
environmentSettingName,
|
|
64
|
-
options
|
|
65
|
-
},
|
|
66
|
-
listOperationSpec,
|
|
67
|
-
callback) as Promise<Models.EnvironmentsListResponse>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Get environment
|
|
72
|
-
* @param resourceGroupName The name of the resource group.
|
|
73
|
-
* @param labAccountName The name of the lab Account.
|
|
74
|
-
* @param labName The name of the lab.
|
|
75
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
76
|
-
* @param environmentName The name of the environment.
|
|
77
|
-
* @param [options] The optional parameters
|
|
78
|
-
* @returns Promise<Models.EnvironmentsGetResponse>
|
|
79
|
-
*/
|
|
80
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: Models.EnvironmentsGetOptionalParams): Promise<Models.EnvironmentsGetResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* @param resourceGroupName The name of the resource group.
|
|
83
|
-
* @param labAccountName The name of the lab Account.
|
|
84
|
-
* @param labName The name of the lab.
|
|
85
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
86
|
-
* @param environmentName The name of the environment.
|
|
87
|
-
* @param callback The callback
|
|
88
|
-
*/
|
|
89
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
90
|
-
/**
|
|
91
|
-
* @param resourceGroupName The name of the resource group.
|
|
92
|
-
* @param labAccountName The name of the lab Account.
|
|
93
|
-
* @param labName The name of the lab.
|
|
94
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
95
|
-
* @param environmentName The name of the environment.
|
|
96
|
-
* @param options The optional parameters
|
|
97
|
-
* @param callback The callback
|
|
98
|
-
*/
|
|
99
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options: Models.EnvironmentsGetOptionalParams, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
100
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: Models.EnvironmentsGetOptionalParams | msRest.ServiceCallback<Models.Environment>, callback?: msRest.ServiceCallback<Models.Environment>): Promise<Models.EnvironmentsGetResponse> {
|
|
101
|
-
return this.client.sendOperationRequest(
|
|
102
|
-
{
|
|
103
|
-
resourceGroupName,
|
|
104
|
-
labAccountName,
|
|
105
|
-
labName,
|
|
106
|
-
environmentSettingName,
|
|
107
|
-
environmentName,
|
|
108
|
-
options
|
|
109
|
-
},
|
|
110
|
-
getOperationSpec,
|
|
111
|
-
callback) as Promise<Models.EnvironmentsGetResponse>;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Create or replace an existing Environment.
|
|
116
|
-
* @param resourceGroupName The name of the resource group.
|
|
117
|
-
* @param labAccountName The name of the lab Account.
|
|
118
|
-
* @param labName The name of the lab.
|
|
119
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
120
|
-
* @param environmentName The name of the environment.
|
|
121
|
-
* @param environment Represents an environment instance
|
|
122
|
-
* @param [options] The optional parameters
|
|
123
|
-
* @returns Promise<Models.EnvironmentsCreateOrUpdateResponse>
|
|
124
|
-
*/
|
|
125
|
-
createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.Environment, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsCreateOrUpdateResponse>;
|
|
126
|
-
/**
|
|
127
|
-
* @param resourceGroupName The name of the resource group.
|
|
128
|
-
* @param labAccountName The name of the lab Account.
|
|
129
|
-
* @param labName The name of the lab.
|
|
130
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
131
|
-
* @param environmentName The name of the environment.
|
|
132
|
-
* @param environment Represents an environment instance
|
|
133
|
-
* @param callback The callback
|
|
134
|
-
*/
|
|
135
|
-
createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.Environment, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
136
|
-
/**
|
|
137
|
-
* @param resourceGroupName The name of the resource group.
|
|
138
|
-
* @param labAccountName The name of the lab Account.
|
|
139
|
-
* @param labName The name of the lab.
|
|
140
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
141
|
-
* @param environmentName The name of the environment.
|
|
142
|
-
* @param environment Represents an environment instance
|
|
143
|
-
* @param options The optional parameters
|
|
144
|
-
* @param callback The callback
|
|
145
|
-
*/
|
|
146
|
-
createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.Environment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
147
|
-
createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.Environment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Environment>, callback?: msRest.ServiceCallback<Models.Environment>): Promise<Models.EnvironmentsCreateOrUpdateResponse> {
|
|
148
|
-
return this.client.sendOperationRequest(
|
|
149
|
-
{
|
|
150
|
-
resourceGroupName,
|
|
151
|
-
labAccountName,
|
|
152
|
-
labName,
|
|
153
|
-
environmentSettingName,
|
|
154
|
-
environmentName,
|
|
155
|
-
environment,
|
|
156
|
-
options
|
|
157
|
-
},
|
|
158
|
-
createOrUpdateOperationSpec,
|
|
159
|
-
callback) as Promise<Models.EnvironmentsCreateOrUpdateResponse>;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Delete environment. This operation can take a while to complete
|
|
164
|
-
* @param resourceGroupName The name of the resource group.
|
|
165
|
-
* @param labAccountName The name of the lab Account.
|
|
166
|
-
* @param labName The name of the lab.
|
|
167
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
168
|
-
* @param environmentName The name of the environment.
|
|
169
|
-
* @param [options] The optional parameters
|
|
170
|
-
* @returns Promise<msRest.RestResponse>
|
|
171
|
-
*/
|
|
172
|
-
deleteMethod(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
173
|
-
return this.beginDeleteMethod(resourceGroupName,labAccountName,labName,environmentSettingName,environmentName,options)
|
|
174
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Modify properties of environments.
|
|
179
|
-
* @param resourceGroupName The name of the resource group.
|
|
180
|
-
* @param labAccountName The name of the lab Account.
|
|
181
|
-
* @param labName The name of the lab.
|
|
182
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
183
|
-
* @param environmentName The name of the environment.
|
|
184
|
-
* @param environment Represents an environment instance
|
|
185
|
-
* @param [options] The optional parameters
|
|
186
|
-
* @returns Promise<Models.EnvironmentsUpdateResponse>
|
|
187
|
-
*/
|
|
188
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.EnvironmentFragment, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsUpdateResponse>;
|
|
189
|
-
/**
|
|
190
|
-
* @param resourceGroupName The name of the resource group.
|
|
191
|
-
* @param labAccountName The name of the lab Account.
|
|
192
|
-
* @param labName The name of the lab.
|
|
193
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
194
|
-
* @param environmentName The name of the environment.
|
|
195
|
-
* @param environment Represents an environment instance
|
|
196
|
-
* @param callback The callback
|
|
197
|
-
*/
|
|
198
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.EnvironmentFragment, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
199
|
-
/**
|
|
200
|
-
* @param resourceGroupName The name of the resource group.
|
|
201
|
-
* @param labAccountName The name of the lab Account.
|
|
202
|
-
* @param labName The name of the lab.
|
|
203
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
204
|
-
* @param environmentName The name of the environment.
|
|
205
|
-
* @param environment Represents an environment instance
|
|
206
|
-
* @param options The optional parameters
|
|
207
|
-
* @param callback The callback
|
|
208
|
-
*/
|
|
209
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.EnvironmentFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Environment>): void;
|
|
210
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, environment: Models.EnvironmentFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Environment>, callback?: msRest.ServiceCallback<Models.Environment>): Promise<Models.EnvironmentsUpdateResponse> {
|
|
211
|
-
return this.client.sendOperationRequest(
|
|
212
|
-
{
|
|
213
|
-
resourceGroupName,
|
|
214
|
-
labAccountName,
|
|
215
|
-
labName,
|
|
216
|
-
environmentSettingName,
|
|
217
|
-
environmentName,
|
|
218
|
-
environment,
|
|
219
|
-
options
|
|
220
|
-
},
|
|
221
|
-
updateOperationSpec,
|
|
222
|
-
callback) as Promise<Models.EnvironmentsUpdateResponse>;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Claims the environment and assigns it to the user
|
|
227
|
-
* @param resourceGroupName The name of the resource group.
|
|
228
|
-
* @param labAccountName The name of the lab Account.
|
|
229
|
-
* @param labName The name of the lab.
|
|
230
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
231
|
-
* @param environmentName The name of the environment.
|
|
232
|
-
* @param [options] The optional parameters
|
|
233
|
-
* @returns Promise<msRest.RestResponse>
|
|
234
|
-
*/
|
|
235
|
-
claim(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
236
|
-
/**
|
|
237
|
-
* @param resourceGroupName The name of the resource group.
|
|
238
|
-
* @param labAccountName The name of the lab Account.
|
|
239
|
-
* @param labName The name of the lab.
|
|
240
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
241
|
-
* @param environmentName The name of the environment.
|
|
242
|
-
* @param callback The callback
|
|
243
|
-
*/
|
|
244
|
-
claim(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, callback: msRest.ServiceCallback<void>): void;
|
|
245
|
-
/**
|
|
246
|
-
* @param resourceGroupName The name of the resource group.
|
|
247
|
-
* @param labAccountName The name of the lab Account.
|
|
248
|
-
* @param labName The name of the lab.
|
|
249
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
250
|
-
* @param environmentName The name of the environment.
|
|
251
|
-
* @param options The optional parameters
|
|
252
|
-
* @param callback The callback
|
|
253
|
-
*/
|
|
254
|
-
claim(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
255
|
-
claim(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
256
|
-
return this.client.sendOperationRequest(
|
|
257
|
-
{
|
|
258
|
-
resourceGroupName,
|
|
259
|
-
labAccountName,
|
|
260
|
-
labName,
|
|
261
|
-
environmentSettingName,
|
|
262
|
-
environmentName,
|
|
263
|
-
options
|
|
264
|
-
},
|
|
265
|
-
claimOperationSpec,
|
|
266
|
-
callback);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Resets the user password on an environment This operation can take a while to complete
|
|
271
|
-
* @param resourceGroupName The name of the resource group.
|
|
272
|
-
* @param labAccountName The name of the lab Account.
|
|
273
|
-
* @param labName The name of the lab.
|
|
274
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
275
|
-
* @param environmentName The name of the environment.
|
|
276
|
-
* @param resetPasswordPayload Represents the payload for resetting passwords.
|
|
277
|
-
* @param [options] The optional parameters
|
|
278
|
-
* @returns Promise<msRest.RestResponse>
|
|
279
|
-
*/
|
|
280
|
-
resetPassword(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, resetPasswordPayload: Models.ResetPasswordPayload, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
281
|
-
return this.beginResetPassword(resourceGroupName,labAccountName,labName,environmentSettingName,environmentName,resetPasswordPayload,options)
|
|
282
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Starts an environment by starting all resources inside the environment. This operation can take
|
|
287
|
-
* a while to complete
|
|
288
|
-
* @param resourceGroupName The name of the resource group.
|
|
289
|
-
* @param labAccountName The name of the lab Account.
|
|
290
|
-
* @param labName The name of the lab.
|
|
291
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
292
|
-
* @param environmentName The name of the environment.
|
|
293
|
-
* @param [options] The optional parameters
|
|
294
|
-
* @returns Promise<msRest.RestResponse>
|
|
295
|
-
*/
|
|
296
|
-
start(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
297
|
-
return this.beginStart(resourceGroupName,labAccountName,labName,environmentSettingName,environmentName,options)
|
|
298
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Stops an environment by stopping all resources inside the environment This operation can take a
|
|
303
|
-
* while to complete
|
|
304
|
-
* @param resourceGroupName The name of the resource group.
|
|
305
|
-
* @param labAccountName The name of the lab Account.
|
|
306
|
-
* @param labName The name of the lab.
|
|
307
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
308
|
-
* @param environmentName The name of the environment.
|
|
309
|
-
* @param [options] The optional parameters
|
|
310
|
-
* @returns Promise<msRest.RestResponse>
|
|
311
|
-
*/
|
|
312
|
-
stop(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
313
|
-
return this.beginStop(resourceGroupName,labAccountName,labName,environmentSettingName,environmentName,options)
|
|
314
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Delete environment. This operation can take a while to complete
|
|
319
|
-
* @param resourceGroupName The name of the resource group.
|
|
320
|
-
* @param labAccountName The name of the lab Account.
|
|
321
|
-
* @param labName The name of the lab.
|
|
322
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
323
|
-
* @param environmentName The name of the environment.
|
|
324
|
-
* @param [options] The optional parameters
|
|
325
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
326
|
-
*/
|
|
327
|
-
beginDeleteMethod(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
328
|
-
return this.client.sendLRORequest(
|
|
329
|
-
{
|
|
330
|
-
resourceGroupName,
|
|
331
|
-
labAccountName,
|
|
332
|
-
labName,
|
|
333
|
-
environmentSettingName,
|
|
334
|
-
environmentName,
|
|
335
|
-
options
|
|
336
|
-
},
|
|
337
|
-
beginDeleteMethodOperationSpec,
|
|
338
|
-
options);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Resets the user password on an environment This operation can take a while to complete
|
|
343
|
-
* @param resourceGroupName The name of the resource group.
|
|
344
|
-
* @param labAccountName The name of the lab Account.
|
|
345
|
-
* @param labName The name of the lab.
|
|
346
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
347
|
-
* @param environmentName The name of the environment.
|
|
348
|
-
* @param resetPasswordPayload Represents the payload for resetting passwords.
|
|
349
|
-
* @param [options] The optional parameters
|
|
350
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
351
|
-
*/
|
|
352
|
-
beginResetPassword(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, resetPasswordPayload: Models.ResetPasswordPayload, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
353
|
-
return this.client.sendLRORequest(
|
|
354
|
-
{
|
|
355
|
-
resourceGroupName,
|
|
356
|
-
labAccountName,
|
|
357
|
-
labName,
|
|
358
|
-
environmentSettingName,
|
|
359
|
-
environmentName,
|
|
360
|
-
resetPasswordPayload,
|
|
361
|
-
options
|
|
362
|
-
},
|
|
363
|
-
beginResetPasswordOperationSpec,
|
|
364
|
-
options);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Starts an environment by starting all resources inside the environment. This operation can take
|
|
369
|
-
* a while to complete
|
|
370
|
-
* @param resourceGroupName The name of the resource group.
|
|
371
|
-
* @param labAccountName The name of the lab Account.
|
|
372
|
-
* @param labName The name of the lab.
|
|
373
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
374
|
-
* @param environmentName The name of the environment.
|
|
375
|
-
* @param [options] The optional parameters
|
|
376
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
377
|
-
*/
|
|
378
|
-
beginStart(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
379
|
-
return this.client.sendLRORequest(
|
|
380
|
-
{
|
|
381
|
-
resourceGroupName,
|
|
382
|
-
labAccountName,
|
|
383
|
-
labName,
|
|
384
|
-
environmentSettingName,
|
|
385
|
-
environmentName,
|
|
386
|
-
options
|
|
387
|
-
},
|
|
388
|
-
beginStartOperationSpec,
|
|
389
|
-
options);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Stops an environment by stopping all resources inside the environment This operation can take a
|
|
394
|
-
* while to complete
|
|
395
|
-
* @param resourceGroupName The name of the resource group.
|
|
396
|
-
* @param labAccountName The name of the lab Account.
|
|
397
|
-
* @param labName The name of the lab.
|
|
398
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
399
|
-
* @param environmentName The name of the environment.
|
|
400
|
-
* @param [options] The optional parameters
|
|
401
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
402
|
-
*/
|
|
403
|
-
beginStop(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
404
|
-
return this.client.sendLRORequest(
|
|
405
|
-
{
|
|
406
|
-
resourceGroupName,
|
|
407
|
-
labAccountName,
|
|
408
|
-
labName,
|
|
409
|
-
environmentSettingName,
|
|
410
|
-
environmentName,
|
|
411
|
-
options
|
|
412
|
-
},
|
|
413
|
-
beginStopOperationSpec,
|
|
414
|
-
options);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* List environments in a given environment setting.
|
|
419
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
420
|
-
* @param [options] The optional parameters
|
|
421
|
-
* @returns Promise<Models.EnvironmentsListNextResponse>
|
|
422
|
-
*/
|
|
423
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsListNextResponse>;
|
|
424
|
-
/**
|
|
425
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
426
|
-
* @param callback The callback
|
|
427
|
-
*/
|
|
428
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): void;
|
|
429
|
-
/**
|
|
430
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
431
|
-
* @param options The optional parameters
|
|
432
|
-
* @param callback The callback
|
|
433
|
-
*/
|
|
434
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): void;
|
|
435
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>, callback?: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironment>): Promise<Models.EnvironmentsListNextResponse> {
|
|
436
|
-
return this.client.sendOperationRequest(
|
|
437
|
-
{
|
|
438
|
-
nextPageLink,
|
|
439
|
-
options
|
|
440
|
-
},
|
|
441
|
-
listNextOperationSpec,
|
|
442
|
-
callback) as Promise<Models.EnvironmentsListNextResponse>;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
// Operation Specifications
|
|
447
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
448
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
449
|
-
httpMethod: "GET",
|
|
450
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments",
|
|
451
|
-
urlParameters: [
|
|
452
|
-
Parameters.subscriptionId,
|
|
453
|
-
Parameters.resourceGroupName,
|
|
454
|
-
Parameters.labAccountName,
|
|
455
|
-
Parameters.labName,
|
|
456
|
-
Parameters.environmentSettingName
|
|
457
|
-
],
|
|
458
|
-
queryParameters: [
|
|
459
|
-
Parameters.expand,
|
|
460
|
-
Parameters.filter,
|
|
461
|
-
Parameters.top,
|
|
462
|
-
Parameters.orderby,
|
|
463
|
-
Parameters.apiVersion
|
|
464
|
-
],
|
|
465
|
-
headerParameters: [
|
|
466
|
-
Parameters.acceptLanguage
|
|
467
|
-
],
|
|
468
|
-
responses: {
|
|
469
|
-
200: {
|
|
470
|
-
bodyMapper: Mappers.ResponseWithContinuationEnvironment
|
|
471
|
-
},
|
|
472
|
-
default: {
|
|
473
|
-
bodyMapper: Mappers.CloudError
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
serializer
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
480
|
-
httpMethod: "GET",
|
|
481
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}",
|
|
482
|
-
urlParameters: [
|
|
483
|
-
Parameters.subscriptionId,
|
|
484
|
-
Parameters.resourceGroupName,
|
|
485
|
-
Parameters.labAccountName,
|
|
486
|
-
Parameters.labName,
|
|
487
|
-
Parameters.environmentSettingName,
|
|
488
|
-
Parameters.environmentName
|
|
489
|
-
],
|
|
490
|
-
queryParameters: [
|
|
491
|
-
Parameters.expand,
|
|
492
|
-
Parameters.apiVersion
|
|
493
|
-
],
|
|
494
|
-
headerParameters: [
|
|
495
|
-
Parameters.acceptLanguage
|
|
496
|
-
],
|
|
497
|
-
responses: {
|
|
498
|
-
200: {
|
|
499
|
-
bodyMapper: Mappers.Environment
|
|
500
|
-
},
|
|
501
|
-
default: {
|
|
502
|
-
bodyMapper: Mappers.CloudError
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
serializer
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
509
|
-
httpMethod: "PUT",
|
|
510
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}",
|
|
511
|
-
urlParameters: [
|
|
512
|
-
Parameters.subscriptionId,
|
|
513
|
-
Parameters.resourceGroupName,
|
|
514
|
-
Parameters.labAccountName,
|
|
515
|
-
Parameters.labName,
|
|
516
|
-
Parameters.environmentSettingName,
|
|
517
|
-
Parameters.environmentName
|
|
518
|
-
],
|
|
519
|
-
queryParameters: [
|
|
520
|
-
Parameters.apiVersion
|
|
521
|
-
],
|
|
522
|
-
headerParameters: [
|
|
523
|
-
Parameters.acceptLanguage
|
|
524
|
-
],
|
|
525
|
-
requestBody: {
|
|
526
|
-
parameterPath: "environment",
|
|
527
|
-
mapper: {
|
|
528
|
-
...Mappers.Environment,
|
|
529
|
-
required: true
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
responses: {
|
|
533
|
-
200: {
|
|
534
|
-
bodyMapper: Mappers.Environment
|
|
535
|
-
},
|
|
536
|
-
201: {
|
|
537
|
-
bodyMapper: Mappers.Environment
|
|
538
|
-
},
|
|
539
|
-
default: {
|
|
540
|
-
bodyMapper: Mappers.CloudError
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
|
-
serializer
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
547
|
-
httpMethod: "PATCH",
|
|
548
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}",
|
|
549
|
-
urlParameters: [
|
|
550
|
-
Parameters.subscriptionId,
|
|
551
|
-
Parameters.resourceGroupName,
|
|
552
|
-
Parameters.labAccountName,
|
|
553
|
-
Parameters.labName,
|
|
554
|
-
Parameters.environmentSettingName,
|
|
555
|
-
Parameters.environmentName
|
|
556
|
-
],
|
|
557
|
-
queryParameters: [
|
|
558
|
-
Parameters.apiVersion
|
|
559
|
-
],
|
|
560
|
-
headerParameters: [
|
|
561
|
-
Parameters.acceptLanguage
|
|
562
|
-
],
|
|
563
|
-
requestBody: {
|
|
564
|
-
parameterPath: "environment",
|
|
565
|
-
mapper: {
|
|
566
|
-
...Mappers.EnvironmentFragment,
|
|
567
|
-
required: true
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
responses: {
|
|
571
|
-
200: {
|
|
572
|
-
bodyMapper: Mappers.Environment
|
|
573
|
-
},
|
|
574
|
-
default: {
|
|
575
|
-
bodyMapper: Mappers.CloudError
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
serializer
|
|
579
|
-
};
|
|
580
|
-
|
|
581
|
-
const claimOperationSpec: msRest.OperationSpec = {
|
|
582
|
-
httpMethod: "POST",
|
|
583
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}/claim",
|
|
584
|
-
urlParameters: [
|
|
585
|
-
Parameters.subscriptionId,
|
|
586
|
-
Parameters.resourceGroupName,
|
|
587
|
-
Parameters.labAccountName,
|
|
588
|
-
Parameters.labName,
|
|
589
|
-
Parameters.environmentSettingName,
|
|
590
|
-
Parameters.environmentName
|
|
591
|
-
],
|
|
592
|
-
queryParameters: [
|
|
593
|
-
Parameters.apiVersion
|
|
594
|
-
],
|
|
595
|
-
headerParameters: [
|
|
596
|
-
Parameters.acceptLanguage
|
|
597
|
-
],
|
|
598
|
-
responses: {
|
|
599
|
-
200: {},
|
|
600
|
-
default: {
|
|
601
|
-
bodyMapper: Mappers.CloudError
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
serializer
|
|
605
|
-
};
|
|
606
|
-
|
|
607
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
608
|
-
httpMethod: "DELETE",
|
|
609
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}",
|
|
610
|
-
urlParameters: [
|
|
611
|
-
Parameters.subscriptionId,
|
|
612
|
-
Parameters.resourceGroupName,
|
|
613
|
-
Parameters.labAccountName,
|
|
614
|
-
Parameters.labName,
|
|
615
|
-
Parameters.environmentSettingName,
|
|
616
|
-
Parameters.environmentName
|
|
617
|
-
],
|
|
618
|
-
queryParameters: [
|
|
619
|
-
Parameters.apiVersion
|
|
620
|
-
],
|
|
621
|
-
headerParameters: [
|
|
622
|
-
Parameters.acceptLanguage
|
|
623
|
-
],
|
|
624
|
-
responses: {
|
|
625
|
-
202: {},
|
|
626
|
-
204: {},
|
|
627
|
-
default: {
|
|
628
|
-
bodyMapper: Mappers.CloudError
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
serializer
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
const beginResetPasswordOperationSpec: msRest.OperationSpec = {
|
|
635
|
-
httpMethod: "POST",
|
|
636
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}/resetPassword",
|
|
637
|
-
urlParameters: [
|
|
638
|
-
Parameters.subscriptionId,
|
|
639
|
-
Parameters.resourceGroupName,
|
|
640
|
-
Parameters.labAccountName,
|
|
641
|
-
Parameters.labName,
|
|
642
|
-
Parameters.environmentSettingName,
|
|
643
|
-
Parameters.environmentName
|
|
644
|
-
],
|
|
645
|
-
queryParameters: [
|
|
646
|
-
Parameters.apiVersion
|
|
647
|
-
],
|
|
648
|
-
headerParameters: [
|
|
649
|
-
Parameters.acceptLanguage
|
|
650
|
-
],
|
|
651
|
-
requestBody: {
|
|
652
|
-
parameterPath: "resetPasswordPayload",
|
|
653
|
-
mapper: {
|
|
654
|
-
...Mappers.ResetPasswordPayload,
|
|
655
|
-
required: true
|
|
656
|
-
}
|
|
657
|
-
},
|
|
658
|
-
responses: {
|
|
659
|
-
200: {},
|
|
660
|
-
202: {},
|
|
661
|
-
default: {
|
|
662
|
-
bodyMapper: Mappers.CloudError
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
serializer
|
|
666
|
-
};
|
|
667
|
-
|
|
668
|
-
const beginStartOperationSpec: msRest.OperationSpec = {
|
|
669
|
-
httpMethod: "POST",
|
|
670
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}/start",
|
|
671
|
-
urlParameters: [
|
|
672
|
-
Parameters.subscriptionId,
|
|
673
|
-
Parameters.resourceGroupName,
|
|
674
|
-
Parameters.labAccountName,
|
|
675
|
-
Parameters.labName,
|
|
676
|
-
Parameters.environmentSettingName,
|
|
677
|
-
Parameters.environmentName
|
|
678
|
-
],
|
|
679
|
-
queryParameters: [
|
|
680
|
-
Parameters.apiVersion
|
|
681
|
-
],
|
|
682
|
-
headerParameters: [
|
|
683
|
-
Parameters.acceptLanguage
|
|
684
|
-
],
|
|
685
|
-
responses: {
|
|
686
|
-
200: {},
|
|
687
|
-
202: {},
|
|
688
|
-
default: {
|
|
689
|
-
bodyMapper: Mappers.CloudError
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
serializer
|
|
693
|
-
};
|
|
694
|
-
|
|
695
|
-
const beginStopOperationSpec: msRest.OperationSpec = {
|
|
696
|
-
httpMethod: "POST",
|
|
697
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/environments/{environmentName}/stop",
|
|
698
|
-
urlParameters: [
|
|
699
|
-
Parameters.subscriptionId,
|
|
700
|
-
Parameters.resourceGroupName,
|
|
701
|
-
Parameters.labAccountName,
|
|
702
|
-
Parameters.labName,
|
|
703
|
-
Parameters.environmentSettingName,
|
|
704
|
-
Parameters.environmentName
|
|
705
|
-
],
|
|
706
|
-
queryParameters: [
|
|
707
|
-
Parameters.apiVersion
|
|
708
|
-
],
|
|
709
|
-
headerParameters: [
|
|
710
|
-
Parameters.acceptLanguage
|
|
711
|
-
],
|
|
712
|
-
responses: {
|
|
713
|
-
200: {},
|
|
714
|
-
202: {},
|
|
715
|
-
default: {
|
|
716
|
-
bodyMapper: Mappers.CloudError
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
serializer
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
723
|
-
httpMethod: "GET",
|
|
724
|
-
baseUrl: "https://management.azure.com",
|
|
725
|
-
path: "{nextLink}",
|
|
726
|
-
urlParameters: [
|
|
727
|
-
Parameters.nextPageLink
|
|
728
|
-
],
|
|
729
|
-
headerParameters: [
|
|
730
|
-
Parameters.acceptLanguage
|
|
731
|
-
],
|
|
732
|
-
responses: {
|
|
733
|
-
200: {
|
|
734
|
-
bodyMapper: Mappers.ResponseWithContinuationEnvironment
|
|
735
|
-
},
|
|
736
|
-
default: {
|
|
737
|
-
bodyMapper: Mappers.CloudError
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
serializer
|
|
741
|
-
};
|