@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
package/esm/models/index.d.ts
CHANGED
|
@@ -2,1628 +2,1553 @@ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-r
|
|
|
2
2
|
import * as msRest from "@azure/ms-rest-js";
|
|
3
3
|
export { BaseResource, CloudError };
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Base tracked resource type for all PATCH updates.
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface TrackedResourceUpdate {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Resource tags.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
tags?: string[];
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Profile for how to handle shutting down virtual machines.
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface AutoShutdownProfile {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Whether shutdown on disconnect is enabled. Possible values include: 'Enabled', 'Disabled'
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
shutdownOnDisconnect?: EnableState;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Whether a VM will get shutdown when it hasn't been connected to after a period of time.
|
|
23
|
+
* Possible values include: 'Enabled', 'Disabled'
|
|
23
24
|
*/
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Represents resource specific settings
|
|
28
|
-
*/
|
|
29
|
-
export interface ResourceSettingCreationParameters {
|
|
30
|
-
/**
|
|
31
|
-
* The location where the virtual machine will live
|
|
32
|
-
*/
|
|
33
|
-
location?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The name of the resource setting
|
|
36
|
-
*/
|
|
37
|
-
name?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The resource id of the gallery image used for creating the virtual machine
|
|
40
|
-
*/
|
|
41
|
-
galleryImageResourceId: string;
|
|
25
|
+
shutdownWhenNotConnected?: EnableState;
|
|
42
26
|
/**
|
|
43
|
-
*
|
|
27
|
+
* Whether a VM will get shutdown when it has idled for a period of time. Possible values
|
|
28
|
+
* include: 'None', 'UserAbsence', 'LowUsage'
|
|
44
29
|
*/
|
|
45
|
-
|
|
30
|
+
shutdownOnIdle?: ShutdownOnIdleMode;
|
|
46
31
|
/**
|
|
47
|
-
*
|
|
32
|
+
* The amount of time a VM will stay running after a user disconnects if this behavior is
|
|
33
|
+
* enabled.
|
|
48
34
|
*/
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Settings related to creating an environment setting
|
|
53
|
-
*/
|
|
54
|
-
export interface EnvironmentSettingCreationParameters {
|
|
35
|
+
disconnectDelay?: string;
|
|
55
36
|
/**
|
|
56
|
-
* The
|
|
37
|
+
* The amount of time a VM will stay running before it is shutdown if no connection is made and
|
|
38
|
+
* this behavior is enabled.
|
|
57
39
|
*/
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Settings related to creating a lab
|
|
62
|
-
*/
|
|
63
|
-
export interface LabCreationParameters {
|
|
40
|
+
noConnectDelay?: string;
|
|
64
41
|
/**
|
|
65
|
-
*
|
|
42
|
+
* The amount of time a VM will idle before it is shutdown if this behavior is enabled.
|
|
66
43
|
*/
|
|
67
|
-
|
|
44
|
+
idleDelay?: string;
|
|
68
45
|
}
|
|
69
46
|
/**
|
|
70
|
-
*
|
|
47
|
+
* Connection profile for how users connect to lab virtual machines.
|
|
71
48
|
*/
|
|
72
|
-
export interface
|
|
49
|
+
export interface ConnectionProfile {
|
|
73
50
|
/**
|
|
74
|
-
*
|
|
51
|
+
* The enabled access level for Web Access over SSH. Possible values include: 'Public',
|
|
52
|
+
* 'Private', 'None'
|
|
75
53
|
*/
|
|
76
|
-
|
|
54
|
+
webSshAccess?: ConnectionType;
|
|
77
55
|
/**
|
|
78
|
-
*
|
|
56
|
+
* The enabled access level for Web Access over RDP. Possible values include: 'Public',
|
|
57
|
+
* 'Private', 'None'
|
|
79
58
|
*/
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* The name of the resource
|
|
83
|
-
*/
|
|
84
|
-
name: string;
|
|
59
|
+
webRdpAccess?: ConnectionType;
|
|
85
60
|
/**
|
|
86
|
-
* The
|
|
61
|
+
* The enabled access level for Client Access over SSH. Possible values include: 'Public',
|
|
62
|
+
* 'Private', 'None'
|
|
87
63
|
*/
|
|
88
|
-
|
|
64
|
+
clientSshAccess?: ConnectionType;
|
|
89
65
|
/**
|
|
90
|
-
* The
|
|
66
|
+
* The enabled access level for Client Access over RDP. Possible values include: 'Public',
|
|
67
|
+
* 'Private', 'None'
|
|
91
68
|
*/
|
|
92
|
-
|
|
93
|
-
[propertyName: string]: string;
|
|
94
|
-
};
|
|
69
|
+
clientRdpAccess?: ConnectionType;
|
|
95
70
|
}
|
|
96
71
|
/**
|
|
97
|
-
*
|
|
72
|
+
* The resource management error additional info.
|
|
98
73
|
*/
|
|
99
|
-
export interface
|
|
74
|
+
export interface ErrorAdditionalInfo {
|
|
100
75
|
/**
|
|
101
|
-
*
|
|
76
|
+
* The additional info type.
|
|
77
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
102
78
|
*/
|
|
103
|
-
|
|
79
|
+
readonly type?: string;
|
|
104
80
|
/**
|
|
105
|
-
*
|
|
81
|
+
* The additional info.
|
|
82
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
106
83
|
*/
|
|
107
|
-
|
|
84
|
+
readonly info?: any;
|
|
108
85
|
}
|
|
109
86
|
/**
|
|
110
|
-
*
|
|
87
|
+
* The error detail.
|
|
111
88
|
*/
|
|
112
|
-
export interface
|
|
89
|
+
export interface ErrorDetail {
|
|
113
90
|
/**
|
|
114
|
-
*
|
|
91
|
+
* The error code.
|
|
115
92
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
116
93
|
*/
|
|
117
|
-
readonly
|
|
94
|
+
readonly code?: string;
|
|
118
95
|
/**
|
|
119
|
-
*
|
|
96
|
+
* The error message.
|
|
120
97
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
121
98
|
*/
|
|
122
|
-
readonly
|
|
99
|
+
readonly message?: string;
|
|
123
100
|
/**
|
|
124
|
-
*
|
|
101
|
+
* The error target.
|
|
125
102
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
126
103
|
*/
|
|
127
|
-
readonly
|
|
104
|
+
readonly target?: string;
|
|
128
105
|
/**
|
|
129
|
-
*
|
|
106
|
+
* The error details.
|
|
130
107
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
131
108
|
*/
|
|
132
|
-
readonly
|
|
109
|
+
readonly details?: ErrorDetail[];
|
|
110
|
+
/**
|
|
111
|
+
* The error additional info.
|
|
112
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
113
|
+
*/
|
|
114
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
133
115
|
}
|
|
134
116
|
/**
|
|
135
|
-
*
|
|
117
|
+
* Common error response for all Azure Resource Manager APIs to return error details for failed
|
|
118
|
+
* operations. (This also follows the OData error response format.).
|
|
119
|
+
* @summary Error response
|
|
136
120
|
*/
|
|
137
|
-
export interface
|
|
121
|
+
export interface ErrorResponse {
|
|
138
122
|
/**
|
|
139
|
-
* The
|
|
140
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
123
|
+
* The error object.
|
|
141
124
|
*/
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
125
|
+
error?: ErrorDetail;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Localized display information for this particular operation.
|
|
129
|
+
*/
|
|
130
|
+
export interface OperationDisplay {
|
|
148
131
|
/**
|
|
149
|
-
* The
|
|
132
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring
|
|
133
|
+
* Insights" or "Microsoft Compute".
|
|
150
134
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
151
135
|
*/
|
|
152
|
-
readonly
|
|
136
|
+
readonly provider?: string;
|
|
153
137
|
/**
|
|
154
|
-
*
|
|
138
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual
|
|
139
|
+
* Machines" or "Job Schedule Collections".
|
|
155
140
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
156
141
|
*/
|
|
157
|
-
readonly
|
|
142
|
+
readonly resource?: string;
|
|
158
143
|
/**
|
|
159
|
-
* The
|
|
144
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create
|
|
145
|
+
* or Update Virtual Machine", "Restart Virtual Machine".
|
|
160
146
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
161
147
|
*/
|
|
162
|
-
readonly
|
|
148
|
+
readonly operation?: string;
|
|
163
149
|
/**
|
|
164
|
-
* The
|
|
150
|
+
* The short, localized friendly description of the operation; suitable for tool tips and
|
|
151
|
+
* detailed views.
|
|
165
152
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
166
153
|
*/
|
|
167
|
-
readonly
|
|
154
|
+
readonly description?: string;
|
|
168
155
|
}
|
|
169
156
|
/**
|
|
170
|
-
*
|
|
157
|
+
* Details of a REST API operation, returned from the Resource Provider Operations API
|
|
158
|
+
* @summary REST API Operation
|
|
171
159
|
*/
|
|
172
|
-
export interface
|
|
160
|
+
export interface Operation {
|
|
173
161
|
/**
|
|
174
|
-
* The
|
|
162
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
|
|
163
|
+
* "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
175
164
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
176
165
|
*/
|
|
177
|
-
readonly
|
|
166
|
+
readonly name?: string;
|
|
178
167
|
/**
|
|
179
|
-
*
|
|
168
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and
|
|
169
|
+
* "false" for ARM/control-plane operations.
|
|
180
170
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
181
171
|
*/
|
|
182
|
-
readonly
|
|
172
|
+
readonly isDataAction?: boolean;
|
|
183
173
|
/**
|
|
184
|
-
*
|
|
185
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
174
|
+
* Localized display information for this particular operation.
|
|
186
175
|
*/
|
|
187
|
-
|
|
176
|
+
display?: OperationDisplay;
|
|
188
177
|
/**
|
|
189
|
-
* The
|
|
178
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
|
|
179
|
+
* logs UX. Default value is "user,system". Possible values include: 'user', 'system',
|
|
180
|
+
* 'user,system'
|
|
181
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
190
182
|
*/
|
|
191
|
-
|
|
183
|
+
readonly origin?: Origin;
|
|
192
184
|
/**
|
|
193
|
-
*
|
|
185
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
186
|
+
* Possible values include: 'Internal'
|
|
187
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
194
188
|
*/
|
|
195
|
-
|
|
196
|
-
[propertyName: string]: string;
|
|
197
|
-
};
|
|
189
|
+
readonly actionType?: ActionType;
|
|
198
190
|
}
|
|
199
191
|
/**
|
|
200
|
-
*
|
|
192
|
+
* A long running operation result
|
|
201
193
|
*/
|
|
202
|
-
export interface
|
|
194
|
+
export interface OperationResult {
|
|
203
195
|
/**
|
|
204
|
-
*
|
|
196
|
+
* Fully qualified resource ID for the resource. Ex -
|
|
197
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
198
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
205
199
|
*/
|
|
206
|
-
|
|
200
|
+
readonly id?: string;
|
|
207
201
|
/**
|
|
208
|
-
* The
|
|
202
|
+
* The name of the resource
|
|
209
203
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
210
204
|
*/
|
|
211
|
-
readonly
|
|
205
|
+
readonly name?: string;
|
|
212
206
|
/**
|
|
213
|
-
* The
|
|
214
|
-
*
|
|
207
|
+
* The operation status. Possible values include: 'NotStarted', 'InProgress', 'Succeeded',
|
|
208
|
+
* 'Failed', 'Canceled'
|
|
215
209
|
*/
|
|
216
|
-
|
|
210
|
+
status: OperationStatus;
|
|
217
211
|
/**
|
|
218
|
-
*
|
|
219
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
212
|
+
* Start time
|
|
220
213
|
*/
|
|
221
|
-
|
|
214
|
+
startTime?: Date;
|
|
222
215
|
/**
|
|
223
|
-
*
|
|
224
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
216
|
+
* End time
|
|
225
217
|
*/
|
|
226
|
-
|
|
218
|
+
endTime?: Date;
|
|
227
219
|
/**
|
|
228
|
-
*
|
|
229
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
220
|
+
* Percent completion
|
|
230
221
|
*/
|
|
231
|
-
|
|
222
|
+
percentComplete?: number;
|
|
232
223
|
/**
|
|
233
|
-
*
|
|
234
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
224
|
+
* The error for a failure if the operation failed.
|
|
235
225
|
*/
|
|
236
|
-
|
|
226
|
+
error?: ErrorDetail;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
230
|
+
*/
|
|
231
|
+
export interface SystemData {
|
|
237
232
|
/**
|
|
238
|
-
*
|
|
239
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
233
|
+
* The identity that created the resource.
|
|
240
234
|
*/
|
|
241
|
-
|
|
235
|
+
createdBy?: string;
|
|
242
236
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
237
|
+
* The type of identity that created the resource. Possible values include: 'User',
|
|
238
|
+
* 'Application', 'ManagedIdentity', 'Key'
|
|
245
239
|
*/
|
|
246
|
-
|
|
240
|
+
createdByType?: CreatedByType;
|
|
247
241
|
/**
|
|
248
|
-
* The
|
|
242
|
+
* The timestamp of resource creation (UTC).
|
|
249
243
|
*/
|
|
250
|
-
|
|
244
|
+
createdAt?: Date;
|
|
251
245
|
/**
|
|
252
|
-
* The
|
|
246
|
+
* The identity that last modified the resource.
|
|
253
247
|
*/
|
|
254
|
-
|
|
248
|
+
lastModifiedBy?: string;
|
|
255
249
|
/**
|
|
256
|
-
* The
|
|
257
|
-
*
|
|
250
|
+
* The type of identity that last modified the resource. Possible values include: 'User',
|
|
251
|
+
* 'Application', 'ManagedIdentity', 'Key'
|
|
258
252
|
*/
|
|
259
|
-
|
|
253
|
+
lastModifiedByType?: CreatedByType;
|
|
254
|
+
/**
|
|
255
|
+
* The timestamp of resource last modification (UTC)
|
|
256
|
+
*/
|
|
257
|
+
lastModifiedAt?: Date;
|
|
260
258
|
}
|
|
261
259
|
/**
|
|
262
|
-
*
|
|
260
|
+
* Common fields that are returned in the response for all Azure Resource Manager resources
|
|
261
|
+
* @summary Resource
|
|
263
262
|
*/
|
|
264
|
-
export interface
|
|
265
|
-
/**
|
|
266
|
-
* Provisioning state of the Dtl VM
|
|
267
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
268
|
-
*/
|
|
269
|
-
readonly provisioningState?: string;
|
|
263
|
+
export interface Resource extends BaseResource {
|
|
270
264
|
/**
|
|
271
|
-
*
|
|
265
|
+
* Fully qualified resource ID for the resource. Ex -
|
|
266
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
272
267
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
273
268
|
*/
|
|
274
|
-
readonly
|
|
269
|
+
readonly id?: string;
|
|
275
270
|
/**
|
|
276
|
-
*
|
|
271
|
+
* The name of the resource
|
|
277
272
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
278
273
|
*/
|
|
279
|
-
readonly
|
|
274
|
+
readonly name?: string;
|
|
280
275
|
/**
|
|
281
|
-
*
|
|
276
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
|
|
277
|
+
* "Microsoft.Storage/storageAccounts"
|
|
282
278
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
283
279
|
*/
|
|
284
|
-
readonly
|
|
280
|
+
readonly type?: string;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* The resource model definition for an Azure Resource Manager tracked top level resource which has
|
|
284
|
+
* 'tags' and a 'location'
|
|
285
|
+
* @summary Tracked Resource
|
|
286
|
+
*/
|
|
287
|
+
export interface TrackedResource extends Resource {
|
|
285
288
|
/**
|
|
286
|
-
*
|
|
287
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
289
|
+
* Resource tags.
|
|
288
290
|
*/
|
|
289
|
-
|
|
291
|
+
tags?: {
|
|
292
|
+
[propertyName: string]: string;
|
|
293
|
+
};
|
|
290
294
|
/**
|
|
291
|
-
*
|
|
292
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
295
|
+
* The geo-location where the resource lives
|
|
293
296
|
*/
|
|
294
|
-
|
|
297
|
+
location: string;
|
|
295
298
|
}
|
|
296
299
|
/**
|
|
297
|
-
*
|
|
300
|
+
* Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they
|
|
301
|
+
* can provide a set of default configurations that will apply at the time of creating a lab, but
|
|
302
|
+
* these defaults can still be overwritten.
|
|
298
303
|
*/
|
|
299
|
-
export interface
|
|
304
|
+
export interface LabPlan extends TrackedResource {
|
|
300
305
|
/**
|
|
301
|
-
*
|
|
306
|
+
* Metadata pertaining to creation and last modification of the lab plan.
|
|
302
307
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
303
308
|
*/
|
|
304
|
-
readonly
|
|
309
|
+
readonly systemData?: SystemData;
|
|
305
310
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
311
|
+
* The default lab connection profile. This can be changed on a lab resource and only provides a
|
|
312
|
+
* default profile.
|
|
308
313
|
*/
|
|
309
|
-
|
|
314
|
+
defaultConnectionProfile?: ConnectionProfile;
|
|
310
315
|
/**
|
|
311
|
-
*
|
|
312
|
-
*
|
|
316
|
+
* The default lab shutdown profile. This can be changed on a lab resource and only provides a
|
|
317
|
+
* default profile.
|
|
313
318
|
*/
|
|
314
|
-
|
|
319
|
+
defaultAutoShutdownProfile?: AutoShutdownProfile;
|
|
315
320
|
/**
|
|
316
|
-
* The
|
|
317
|
-
*
|
|
318
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
321
|
+
* The lab plan network profile. To enforce lab network policies they must be defined here and
|
|
322
|
+
* cannot be changed when there are existing labs associated with this lab plan.
|
|
319
323
|
*/
|
|
320
|
-
|
|
324
|
+
defaultNetworkProfile?: LabPlanNetworkProfile;
|
|
321
325
|
/**
|
|
322
|
-
*
|
|
323
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
326
|
+
* The allowed regions for the lab creator to use when creating labs using this lab plan.
|
|
324
327
|
*/
|
|
325
|
-
|
|
328
|
+
allowedRegions?: string[];
|
|
326
329
|
/**
|
|
327
|
-
*
|
|
328
|
-
*
|
|
330
|
+
* Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template
|
|
331
|
+
* virtual machine image it will be persisted in this gallery. Shared images from the gallery can
|
|
332
|
+
* be made available to use when creating new labs.
|
|
329
333
|
*/
|
|
330
|
-
|
|
334
|
+
sharedGalleryId?: string;
|
|
331
335
|
/**
|
|
332
|
-
*
|
|
333
|
-
*
|
|
336
|
+
* Support contact information and instructions for users of the lab plan. This information is
|
|
337
|
+
* displayed to lab owners and virtual machine users for all labs in the lab plan.
|
|
334
338
|
*/
|
|
335
|
-
|
|
339
|
+
supportInfo?: SupportInfo;
|
|
336
340
|
/**
|
|
337
|
-
*
|
|
338
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
341
|
+
* Base Url of the lms instance this lab plan can link lab rosters against.
|
|
339
342
|
*/
|
|
340
|
-
|
|
343
|
+
linkedLmsInstance?: string;
|
|
341
344
|
/**
|
|
342
|
-
*
|
|
345
|
+
* Current provisioning state of the lab plan. Possible values include: 'Creating', 'Updating',
|
|
346
|
+
* 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
343
347
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
344
348
|
*/
|
|
345
|
-
readonly
|
|
349
|
+
readonly provisioningState?: ProvisioningState;
|
|
346
350
|
}
|
|
347
351
|
/**
|
|
348
|
-
*
|
|
352
|
+
* Profile for how to handle networking for Lab Plans.
|
|
349
353
|
*/
|
|
350
|
-
export interface
|
|
354
|
+
export interface LabPlanNetworkProfile {
|
|
351
355
|
/**
|
|
352
|
-
*
|
|
356
|
+
* The external subnet resource id
|
|
353
357
|
*/
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* resourceSettingId for the environment
|
|
357
|
-
*/
|
|
358
|
-
resourceSettingId?: string;
|
|
358
|
+
subnetId?: string;
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* Support contact information and instructions.
|
|
362
362
|
*/
|
|
363
|
-
export interface
|
|
363
|
+
export interface SupportInfo {
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* Support web address.
|
|
366
366
|
*/
|
|
367
|
-
|
|
367
|
+
url?: string;
|
|
368
368
|
/**
|
|
369
|
-
*
|
|
369
|
+
* Support contact email address.
|
|
370
370
|
*/
|
|
371
|
-
|
|
371
|
+
email?: string;
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* Support contact phone number.
|
|
374
374
|
*/
|
|
375
|
-
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
* Represents payload for any Environment operations like get, start, stop, connect
|
|
379
|
-
*/
|
|
380
|
-
export interface EnvironmentOperationsPayload {
|
|
375
|
+
phone?: string;
|
|
381
376
|
/**
|
|
382
|
-
*
|
|
377
|
+
* Support instructions.
|
|
383
378
|
*/
|
|
384
|
-
|
|
379
|
+
instructions?: string;
|
|
385
380
|
}
|
|
386
381
|
/**
|
|
387
|
-
*
|
|
382
|
+
* Contains lab configuration and default settings. This variant is used for PATCH.
|
|
388
383
|
*/
|
|
389
|
-
export interface
|
|
384
|
+
export interface LabPlanUpdate extends TrackedResourceUpdate {
|
|
390
385
|
/**
|
|
391
|
-
* The
|
|
392
|
-
*
|
|
393
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
386
|
+
* The default lab connection profile. This can be changed on a lab resource and only provides a
|
|
387
|
+
* default profile.
|
|
394
388
|
*/
|
|
395
|
-
|
|
389
|
+
defaultConnectionProfile?: ConnectionProfile;
|
|
396
390
|
/**
|
|
397
|
-
* The
|
|
398
|
-
*
|
|
399
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
391
|
+
* The default lab shutdown profile. This can be changed on a lab resource and only provides a
|
|
392
|
+
* default profile.
|
|
400
393
|
*/
|
|
401
|
-
|
|
394
|
+
defaultAutoShutdownProfile?: AutoShutdownProfile;
|
|
402
395
|
/**
|
|
403
|
-
* The
|
|
404
|
-
*
|
|
396
|
+
* The lab plan network profile. To enforce lab network policies they must be defined here and
|
|
397
|
+
* cannot be changed when there are existing labs associated with this lab plan.
|
|
405
398
|
*/
|
|
406
|
-
|
|
399
|
+
defaultNetworkProfile?: LabPlanNetworkProfile;
|
|
407
400
|
/**
|
|
408
|
-
*
|
|
409
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
401
|
+
* The allowed regions for the lab creator to use when creating labs using this lab plan.
|
|
410
402
|
*/
|
|
411
|
-
|
|
403
|
+
allowedRegions?: string[];
|
|
404
|
+
/**
|
|
405
|
+
* Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template
|
|
406
|
+
* virtual machine image it will be persisted in this gallery. Shared images from the gallery can
|
|
407
|
+
* be made available to use when creating new labs.
|
|
408
|
+
*/
|
|
409
|
+
sharedGalleryId?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Support contact information and instructions for users of the lab plan. This information is
|
|
412
|
+
* displayed to lab owners and virtual machine users for all labs in the lab plan.
|
|
413
|
+
*/
|
|
414
|
+
supportInfo?: SupportInfo;
|
|
415
|
+
/**
|
|
416
|
+
* Base Url of the lms instance this lab plan can link lab rosters against.
|
|
417
|
+
*/
|
|
418
|
+
linkedLmsInstance?: string;
|
|
412
419
|
}
|
|
413
420
|
/**
|
|
414
|
-
*
|
|
421
|
+
* Body for the save image POST
|
|
415
422
|
*/
|
|
416
|
-
export interface
|
|
417
|
-
/**
|
|
418
|
-
* The username of the virtual machine
|
|
419
|
-
*/
|
|
420
|
-
userName: string;
|
|
423
|
+
export interface SaveImageBody {
|
|
421
424
|
/**
|
|
422
|
-
* The
|
|
425
|
+
* The name for the image we create.
|
|
423
426
|
*/
|
|
424
|
-
|
|
427
|
+
name?: string;
|
|
425
428
|
/**
|
|
426
|
-
* The
|
|
427
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
429
|
+
* The ID of the lab virtual machine you want to save an image from.
|
|
428
430
|
*/
|
|
429
|
-
|
|
431
|
+
labVirtualMachineId?: string;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
|
|
435
|
+
* and a location
|
|
436
|
+
* @summary Proxy Resource
|
|
437
|
+
*/
|
|
438
|
+
export interface ProxyResource extends Resource {
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* The resource model definition for an Azure Resource Manager resource with an etag.
|
|
442
|
+
* @summary Entity Resource
|
|
443
|
+
*/
|
|
444
|
+
export interface AzureEntityResource extends Resource {
|
|
430
445
|
/**
|
|
431
|
-
*
|
|
446
|
+
* Resource Etag.
|
|
432
447
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
433
448
|
*/
|
|
434
|
-
readonly
|
|
449
|
+
readonly etag?: string;
|
|
435
450
|
}
|
|
436
451
|
/**
|
|
437
|
-
*
|
|
452
|
+
* Lab services virtual machine image
|
|
438
453
|
*/
|
|
439
|
-
export interface
|
|
454
|
+
export interface Image extends ProxyResource {
|
|
440
455
|
/**
|
|
441
|
-
*
|
|
456
|
+
* Metadata pertaining to creation and last modification of the image.
|
|
442
457
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
443
458
|
*/
|
|
444
|
-
readonly
|
|
459
|
+
readonly systemData?: SystemData;
|
|
445
460
|
/**
|
|
446
|
-
*
|
|
461
|
+
* Is the image enabled. Possible values include: 'Enabled', 'Disabled'
|
|
447
462
|
*/
|
|
448
|
-
|
|
463
|
+
enabledState?: EnableState;
|
|
449
464
|
/**
|
|
450
|
-
*
|
|
465
|
+
* Current provisioning state of the image. Possible values include: 'Creating', 'Updating',
|
|
466
|
+
* 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
451
467
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
452
468
|
*/
|
|
453
|
-
readonly
|
|
469
|
+
readonly provisioningState?: ProvisioningState;
|
|
454
470
|
/**
|
|
455
|
-
* The
|
|
471
|
+
* The image display name.
|
|
472
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
456
473
|
*/
|
|
457
|
-
|
|
474
|
+
readonly displayName?: string;
|
|
458
475
|
/**
|
|
459
|
-
*
|
|
476
|
+
* A description of the image.
|
|
460
477
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
461
478
|
*/
|
|
462
|
-
readonly
|
|
479
|
+
readonly description?: string;
|
|
463
480
|
/**
|
|
464
|
-
*
|
|
481
|
+
* URL of the image icon.
|
|
482
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
465
483
|
*/
|
|
466
|
-
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* Represents settings of an environment, from which environment instances would be created
|
|
470
|
-
*/
|
|
471
|
-
export interface EnvironmentSetting extends Resource {
|
|
484
|
+
readonly iconUrl?: string;
|
|
472
485
|
/**
|
|
473
|
-
*
|
|
474
|
-
* 'Publishing', 'Published', 'PublishFailed', 'Scaling'
|
|
486
|
+
* The image author.
|
|
475
487
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
476
488
|
*/
|
|
477
|
-
readonly
|
|
489
|
+
readonly author?: string;
|
|
478
490
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
491
|
+
* The OS Type of the image. Possible values include: 'Windows', 'Linux'
|
|
492
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
481
493
|
*/
|
|
482
|
-
|
|
494
|
+
readonly osType?: OsType;
|
|
483
495
|
/**
|
|
484
|
-
*
|
|
496
|
+
* The ID of marketplace plan associated with the image (optional).
|
|
497
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
485
498
|
*/
|
|
486
|
-
|
|
499
|
+
readonly plan?: string;
|
|
487
500
|
/**
|
|
488
|
-
*
|
|
501
|
+
* The status of image terms of use (enabled = accepted, disabled = not accepted). Possible
|
|
502
|
+
* values include: 'Enabled', 'Disabled'
|
|
503
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
489
504
|
*/
|
|
490
|
-
|
|
505
|
+
readonly termsStatus?: EnableState;
|
|
491
506
|
/**
|
|
492
|
-
* The
|
|
507
|
+
* The ID of an offer associated with the image.
|
|
508
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
493
509
|
*/
|
|
494
|
-
|
|
510
|
+
readonly offer?: string;
|
|
495
511
|
/**
|
|
496
|
-
*
|
|
512
|
+
* The ID of the publisher of the image.
|
|
497
513
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
498
514
|
*/
|
|
499
|
-
readonly
|
|
515
|
+
readonly publisher?: string;
|
|
500
516
|
/**
|
|
501
|
-
*
|
|
517
|
+
* The image SKU.
|
|
502
518
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
503
519
|
*/
|
|
504
|
-
readonly
|
|
520
|
+
readonly sku?: string;
|
|
505
521
|
/**
|
|
506
|
-
* The
|
|
522
|
+
* The image version.
|
|
523
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
524
|
+
*/
|
|
525
|
+
readonly version?: string;
|
|
526
|
+
/**
|
|
527
|
+
* The ID for the image in the shared gallery.
|
|
528
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
507
529
|
*/
|
|
508
|
-
|
|
530
|
+
readonly sharedGalleryId?: string;
|
|
509
531
|
/**
|
|
510
|
-
* The
|
|
532
|
+
* The available regions of the image in the shared gallery.
|
|
511
533
|
*/
|
|
512
|
-
|
|
534
|
+
availableRegions?: string[];
|
|
513
535
|
/**
|
|
514
|
-
* The
|
|
536
|
+
* The OS State of the image. Possible values include: 'Generalized', 'Specialized'
|
|
515
537
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
516
538
|
*/
|
|
517
|
-
readonly
|
|
539
|
+
readonly osState?: OsState;
|
|
518
540
|
}
|
|
519
541
|
/**
|
|
520
|
-
*
|
|
542
|
+
* Lab services virtual machine image for updates.
|
|
521
543
|
*/
|
|
522
|
-
export interface
|
|
544
|
+
export interface ImageUpdate {
|
|
523
545
|
/**
|
|
524
|
-
*
|
|
546
|
+
* Is the image enabled. Possible values include: 'Enabled', 'Disabled'
|
|
525
547
|
*/
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* The password of the virtual machine. This will be set to null in GET resource API
|
|
529
|
-
*/
|
|
530
|
-
password?: string;
|
|
548
|
+
enabledState?: EnableState;
|
|
531
549
|
}
|
|
532
550
|
/**
|
|
533
|
-
*
|
|
551
|
+
* Profile for how to handle networking for Labs.
|
|
534
552
|
*/
|
|
535
|
-
export interface
|
|
553
|
+
export interface LabNetworkProfile {
|
|
536
554
|
/**
|
|
537
|
-
* The resource id
|
|
555
|
+
* The external subnet resource id
|
|
538
556
|
*/
|
|
539
|
-
|
|
557
|
+
subnetId?: string;
|
|
540
558
|
/**
|
|
541
|
-
* The
|
|
559
|
+
* The external load balancer resource id
|
|
542
560
|
*/
|
|
543
|
-
|
|
561
|
+
loadBalancerId?: string;
|
|
544
562
|
/**
|
|
545
|
-
*
|
|
563
|
+
* The external public IP resource id
|
|
546
564
|
*/
|
|
547
|
-
|
|
565
|
+
publicIpId?: string;
|
|
548
566
|
}
|
|
549
567
|
/**
|
|
550
|
-
*
|
|
568
|
+
* The lab resource.
|
|
551
569
|
*/
|
|
552
|
-
export interface
|
|
553
|
-
/**
|
|
554
|
-
* Describes the user's progress in configuring their environment setting. Possible values
|
|
555
|
-
* include: 'NotApplicable', 'Completed'
|
|
556
|
-
*/
|
|
557
|
-
configurationState?: ConfigurationState;
|
|
558
|
-
/**
|
|
559
|
-
* Describes the environment and its resource settings
|
|
560
|
-
*/
|
|
561
|
-
description?: string;
|
|
562
|
-
/**
|
|
563
|
-
* Brief title describing the environment and its resource settings
|
|
564
|
-
*/
|
|
565
|
-
title?: string;
|
|
570
|
+
export interface Lab extends TrackedResource {
|
|
566
571
|
/**
|
|
567
|
-
*
|
|
572
|
+
* Metadata pertaining to creation and last modification of the lab.
|
|
573
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
568
574
|
*/
|
|
569
|
-
|
|
575
|
+
readonly systemData?: SystemData;
|
|
570
576
|
/**
|
|
571
|
-
* The
|
|
577
|
+
* The resource auto shutdown configuration for the lab. This controls whether actions are taken
|
|
578
|
+
* on resources that are sitting idle.
|
|
572
579
|
*/
|
|
573
|
-
|
|
580
|
+
autoShutdownProfile?: AutoShutdownProfile;
|
|
574
581
|
/**
|
|
575
|
-
* The
|
|
582
|
+
* The connection profile for the lab. This controls settings such as web access to lab resources
|
|
583
|
+
* or whether RDP or SSH ports are open.
|
|
576
584
|
*/
|
|
577
|
-
|
|
578
|
-
}
|
|
579
|
-
/**
|
|
580
|
-
* Contains detailed information about a size
|
|
581
|
-
*/
|
|
582
|
-
export interface SizeInfo {
|
|
585
|
+
connectionProfile?: ConnectionProfile;
|
|
583
586
|
/**
|
|
584
|
-
*
|
|
587
|
+
* The profile used for creating lab virtual machines.
|
|
585
588
|
*/
|
|
586
|
-
|
|
589
|
+
virtualMachineProfile?: VirtualMachineProfile;
|
|
587
590
|
/**
|
|
588
|
-
* The
|
|
589
|
-
* not reflect the actual price the size will cost.
|
|
591
|
+
* The lab security profile.
|
|
590
592
|
*/
|
|
591
|
-
|
|
593
|
+
securityProfile?: SecurityProfile;
|
|
592
594
|
/**
|
|
593
|
-
* The
|
|
595
|
+
* The lab user list management profile.
|
|
594
596
|
*/
|
|
595
|
-
|
|
597
|
+
rosterProfile?: RosterProfile;
|
|
596
598
|
/**
|
|
597
|
-
* The
|
|
599
|
+
* The ID of the lab plan. Used during resource creation to provide defaults and acts as a
|
|
600
|
+
* permission container when creating a lab via labs.azure.com. Setting a labPlanId on an
|
|
601
|
+
* existing lab provides organization..
|
|
598
602
|
*/
|
|
599
|
-
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Represents a size category supported by this Lab Account (small, medium or large)
|
|
603
|
-
*/
|
|
604
|
-
export interface EnvironmentSize {
|
|
603
|
+
labPlanId?: string;
|
|
605
604
|
/**
|
|
606
|
-
* The
|
|
605
|
+
* The title of the lab.
|
|
607
606
|
*/
|
|
608
|
-
|
|
607
|
+
title?: string;
|
|
609
608
|
/**
|
|
610
|
-
*
|
|
609
|
+
* The description of the lab.
|
|
611
610
|
*/
|
|
612
|
-
|
|
611
|
+
description?: string;
|
|
613
612
|
/**
|
|
614
|
-
*
|
|
615
|
-
*
|
|
616
|
-
* within this tier.
|
|
613
|
+
* Current provisioning state of the lab. Possible values include: 'Creating', 'Updating',
|
|
614
|
+
* 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
617
615
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
618
616
|
*/
|
|
619
|
-
readonly
|
|
617
|
+
readonly provisioningState?: ProvisioningState;
|
|
620
618
|
/**
|
|
621
|
-
* The
|
|
622
|
-
*
|
|
623
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
619
|
+
* The network profile for the lab, typically applied via a lab plan. This profile cannot be
|
|
620
|
+
* modified once a lab has been created.
|
|
624
621
|
*/
|
|
625
|
-
|
|
622
|
+
networkProfile?: LabNetworkProfile;
|
|
626
623
|
/**
|
|
627
|
-
* The
|
|
624
|
+
* The lab state. Possible values include: 'Draft', 'Publishing', 'Scaling', 'Syncing',
|
|
625
|
+
* 'Published'
|
|
628
626
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
629
627
|
*/
|
|
630
|
-
readonly
|
|
628
|
+
readonly state?: LabState;
|
|
631
629
|
}
|
|
632
630
|
/**
|
|
633
|
-
*
|
|
631
|
+
* Image reference information. Used in the virtual machine profile.
|
|
634
632
|
*/
|
|
635
|
-
export interface
|
|
633
|
+
export interface ImageReference {
|
|
636
634
|
/**
|
|
637
|
-
*
|
|
635
|
+
* Image resource ID
|
|
638
636
|
*/
|
|
639
|
-
|
|
637
|
+
id?: string;
|
|
640
638
|
/**
|
|
641
|
-
* The
|
|
642
|
-
* not reflect the actual price the size will cost.
|
|
639
|
+
* The image offer if applicable.
|
|
643
640
|
*/
|
|
644
|
-
|
|
641
|
+
offer?: string;
|
|
645
642
|
/**
|
|
646
|
-
* The
|
|
643
|
+
* The image publisher
|
|
647
644
|
*/
|
|
648
|
-
|
|
645
|
+
publisher?: string;
|
|
649
646
|
/**
|
|
650
|
-
* The
|
|
647
|
+
* The image SKU
|
|
651
648
|
*/
|
|
652
|
-
|
|
653
|
-
}
|
|
654
|
-
/**
|
|
655
|
-
* Represents a size category supported by this Lab Account (small, medium or large)
|
|
656
|
-
*/
|
|
657
|
-
export interface EnvironmentSizeFragment {
|
|
649
|
+
sku?: string;
|
|
658
650
|
/**
|
|
659
|
-
* The
|
|
651
|
+
* The image version specified on creation.
|
|
660
652
|
*/
|
|
661
|
-
|
|
653
|
+
version?: string;
|
|
662
654
|
/**
|
|
663
|
-
*
|
|
655
|
+
* The actual version of the image after use.
|
|
656
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
664
657
|
*/
|
|
665
|
-
|
|
658
|
+
readonly exactVersion?: string;
|
|
666
659
|
}
|
|
667
660
|
/**
|
|
668
|
-
* The
|
|
661
|
+
* The resource model definition representing SKU
|
|
669
662
|
*/
|
|
670
|
-
export interface
|
|
663
|
+
export interface Sku {
|
|
671
664
|
/**
|
|
672
|
-
* The
|
|
665
|
+
* The name of the SKU. Ex - P3. It is typically a letter+number code
|
|
673
666
|
*/
|
|
674
|
-
|
|
667
|
+
name: string;
|
|
675
668
|
/**
|
|
676
|
-
*
|
|
669
|
+
* This field is required to be implemented by the Resource Provider if the service has more than
|
|
670
|
+
* one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard',
|
|
671
|
+
* 'Premium'
|
|
677
672
|
*/
|
|
678
|
-
|
|
673
|
+
tier?: SkuTier;
|
|
679
674
|
/**
|
|
680
|
-
* The SKU
|
|
675
|
+
* The SKU size. When the name field is the combination of tier and some other value, this would
|
|
676
|
+
* be the standalone code.
|
|
681
677
|
*/
|
|
682
|
-
|
|
678
|
+
size?: string;
|
|
683
679
|
/**
|
|
684
|
-
*
|
|
680
|
+
* If the service has different generations of hardware, for the same SKU, then that can be
|
|
681
|
+
* captured here.
|
|
685
682
|
*/
|
|
686
|
-
|
|
683
|
+
family?: string;
|
|
687
684
|
/**
|
|
688
|
-
*
|
|
685
|
+
* If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
|
|
686
|
+
* is not possible for the resource this may be omitted.
|
|
689
687
|
*/
|
|
690
|
-
|
|
688
|
+
capacity?: number;
|
|
691
689
|
}
|
|
692
690
|
/**
|
|
693
|
-
*
|
|
691
|
+
* The additional capabilities for a lab VM.
|
|
694
692
|
*/
|
|
695
|
-
export interface
|
|
693
|
+
export interface VirtualMachineAdditionalCapabilities {
|
|
696
694
|
/**
|
|
697
|
-
*
|
|
698
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
695
|
+
* Flag to pre-install dedicated GPU drivers. Possible values include: 'Enabled', 'Disabled'
|
|
699
696
|
*/
|
|
700
|
-
|
|
697
|
+
installGpuDrivers?: EnableState;
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Credentials for a user on a lab VM.
|
|
701
|
+
*/
|
|
702
|
+
export interface Credentials {
|
|
701
703
|
/**
|
|
702
|
-
* The
|
|
703
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
704
|
+
* The username to use when signing in to lab VMs.
|
|
704
705
|
*/
|
|
705
|
-
|
|
706
|
+
username: string;
|
|
706
707
|
/**
|
|
707
|
-
* The
|
|
708
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
708
|
+
* The password for the user. This is required for the TemplateVM createOption.
|
|
709
709
|
*/
|
|
710
|
-
|
|
710
|
+
password?: string;
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* The base virtual machine configuration for a lab.
|
|
714
|
+
*/
|
|
715
|
+
export interface VirtualMachineProfile {
|
|
711
716
|
/**
|
|
712
|
-
*
|
|
713
|
-
*
|
|
717
|
+
* Indicates what lab virtual machines are created from. Possible values include: 'Image',
|
|
718
|
+
* 'TemplateVM'
|
|
714
719
|
*/
|
|
715
|
-
|
|
720
|
+
createOption: CreateOption;
|
|
716
721
|
/**
|
|
717
|
-
* The
|
|
718
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
722
|
+
* The image configuration for lab virtual machines.
|
|
719
723
|
*/
|
|
720
|
-
|
|
724
|
+
imageReference: ImageReference;
|
|
721
725
|
/**
|
|
722
|
-
*
|
|
726
|
+
* The OS type of the image. Possible values include: 'Windows', 'Linux'
|
|
727
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
723
728
|
*/
|
|
724
|
-
|
|
729
|
+
readonly osType?: OsType;
|
|
725
730
|
/**
|
|
726
|
-
*
|
|
731
|
+
* The SKU for the lab. Defines the type of virtual machines used in the lab.
|
|
727
732
|
*/
|
|
728
|
-
|
|
733
|
+
sku: Sku;
|
|
729
734
|
/**
|
|
730
|
-
*
|
|
731
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
735
|
+
* Additional VM capabilities.
|
|
732
736
|
*/
|
|
733
|
-
|
|
737
|
+
additionalCapabilities?: VirtualMachineAdditionalCapabilities;
|
|
734
738
|
/**
|
|
735
|
-
*
|
|
739
|
+
* The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours.
|
|
736
740
|
*/
|
|
737
|
-
|
|
741
|
+
usageQuota: string;
|
|
738
742
|
/**
|
|
739
|
-
*
|
|
743
|
+
* Enabling this option will use the same password for all user VMs. Possible values include:
|
|
744
|
+
* 'Enabled', 'Disabled'
|
|
740
745
|
*/
|
|
741
|
-
|
|
746
|
+
useSharedPassword?: EnableState;
|
|
742
747
|
/**
|
|
743
|
-
*
|
|
748
|
+
* Credentials for the admin user on the VM.
|
|
744
749
|
*/
|
|
745
|
-
|
|
750
|
+
adminUser: Credentials;
|
|
746
751
|
/**
|
|
747
|
-
*
|
|
748
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
752
|
+
* Credentials for the non-admin user on the VM, if one exists.
|
|
749
753
|
*/
|
|
750
|
-
|
|
754
|
+
nonAdminUser?: Credentials;
|
|
751
755
|
}
|
|
752
756
|
/**
|
|
753
|
-
*
|
|
757
|
+
* The lab security profile.
|
|
754
758
|
*/
|
|
755
|
-
export interface
|
|
756
|
-
/**
|
|
757
|
-
* Indicates whether this gallery image is enabled.
|
|
758
|
-
*/
|
|
759
|
-
isEnabled?: boolean;
|
|
759
|
+
export interface SecurityProfile {
|
|
760
760
|
/**
|
|
761
|
-
*
|
|
762
|
-
|
|
763
|
-
isOverride?: boolean;
|
|
764
|
-
/**
|
|
765
|
-
* Indicates if the plan has been authorized for programmatic deployment.
|
|
766
|
-
*/
|
|
767
|
-
isPlanAuthorized?: boolean;
|
|
768
|
-
/**
|
|
769
|
-
* The provisioning status of the resource.
|
|
761
|
+
* The registration code for the lab.
|
|
762
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
770
763
|
*/
|
|
771
|
-
|
|
764
|
+
readonly registrationCode?: string;
|
|
772
765
|
/**
|
|
773
|
-
*
|
|
766
|
+
* Whether any user or only specified users can register to a lab. Possible values include:
|
|
767
|
+
* 'Enabled', 'Disabled'
|
|
774
768
|
*/
|
|
775
|
-
|
|
769
|
+
openAccess?: EnableState;
|
|
776
770
|
}
|
|
777
771
|
/**
|
|
778
|
-
* The
|
|
772
|
+
* The lab user list management profile.
|
|
779
773
|
*/
|
|
780
|
-
export interface
|
|
774
|
+
export interface RosterProfile {
|
|
781
775
|
/**
|
|
782
|
-
* The
|
|
776
|
+
* The AAD group ID which this lab roster is populated from. Having this set enables AAD sync
|
|
777
|
+
* mode.
|
|
783
778
|
*/
|
|
784
|
-
|
|
779
|
+
activeDirectoryGroupId?: string;
|
|
785
780
|
/**
|
|
786
|
-
* The
|
|
781
|
+
* The unique context identifier for the lab in the lms.
|
|
787
782
|
*/
|
|
788
|
-
|
|
783
|
+
ltiContextId?: string;
|
|
789
784
|
/**
|
|
790
|
-
* The
|
|
785
|
+
* The base URI identifying the lms instance.
|
|
791
786
|
*/
|
|
792
|
-
|
|
787
|
+
lmsInstance?: string;
|
|
793
788
|
/**
|
|
794
|
-
* The
|
|
789
|
+
* The unique id of the azure lab services tool in the lms.
|
|
795
790
|
*/
|
|
796
|
-
|
|
791
|
+
ltiClientId?: string;
|
|
797
792
|
/**
|
|
798
|
-
* The
|
|
793
|
+
* The uri of the names and roles service endpoint on the lms for the class attached to this lab.
|
|
799
794
|
*/
|
|
800
|
-
|
|
795
|
+
ltiRosterEndpoint?: string;
|
|
801
796
|
}
|
|
802
797
|
/**
|
|
803
|
-
*
|
|
798
|
+
* The lab resource for updates.
|
|
804
799
|
*/
|
|
805
|
-
export interface
|
|
800
|
+
export interface LabUpdate extends TrackedResourceUpdate {
|
|
806
801
|
/**
|
|
807
|
-
*
|
|
808
|
-
*
|
|
802
|
+
* The resource auto shutdown configuration for the lab. This controls whether actions are taken
|
|
803
|
+
* on resources that are sitting idle.
|
|
809
804
|
*/
|
|
810
|
-
|
|
811
|
-
}
|
|
812
|
-
/**
|
|
813
|
-
* Represents the PersonalPreferences for the user
|
|
814
|
-
*/
|
|
815
|
-
export interface GetPersonalPreferencesResponse {
|
|
805
|
+
autoShutdownProfile?: AutoShutdownProfile;
|
|
816
806
|
/**
|
|
817
|
-
*
|
|
807
|
+
* The connection profile for the lab. This controls settings such as web access to lab resources
|
|
808
|
+
* or whether RDP or SSH ports are open.
|
|
818
809
|
*/
|
|
819
|
-
|
|
810
|
+
connectionProfile?: ConnectionProfile;
|
|
820
811
|
/**
|
|
821
|
-
*
|
|
812
|
+
* The profile used for creating lab virtual machines.
|
|
822
813
|
*/
|
|
823
|
-
|
|
824
|
-
}
|
|
825
|
-
/**
|
|
826
|
-
* Represents the size information
|
|
827
|
-
*/
|
|
828
|
-
export interface SizeAvailability {
|
|
814
|
+
virtualMachineProfile?: VirtualMachineProfile;
|
|
829
815
|
/**
|
|
830
|
-
* The
|
|
831
|
-
* 'Standard', 'Performance'
|
|
816
|
+
* The lab security profile.
|
|
832
817
|
*/
|
|
833
|
-
|
|
818
|
+
securityProfile?: SecurityProfile;
|
|
834
819
|
/**
|
|
835
|
-
*
|
|
820
|
+
* The lab user list management profile.
|
|
836
821
|
*/
|
|
837
|
-
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* The availability information of sizes across regions
|
|
841
|
-
*/
|
|
842
|
-
export interface RegionalAvailability {
|
|
822
|
+
rosterProfile?: RosterProfile;
|
|
843
823
|
/**
|
|
844
|
-
*
|
|
824
|
+
* The ID of the lab plan. Used during resource creation to provide defaults and acts as a
|
|
825
|
+
* permission container when creating a lab via labs.azure.com. Setting a labPlanId on an
|
|
826
|
+
* existing lab provides organization..
|
|
845
827
|
*/
|
|
846
|
-
|
|
828
|
+
labPlanId?: string;
|
|
847
829
|
/**
|
|
848
|
-
*
|
|
830
|
+
* The title of the lab.
|
|
849
831
|
*/
|
|
850
|
-
|
|
851
|
-
}
|
|
852
|
-
/**
|
|
853
|
-
* The response model from the GetRegionalAvailability action
|
|
854
|
-
*/
|
|
855
|
-
export interface GetRegionalAvailabilityResponse {
|
|
832
|
+
title?: string;
|
|
856
833
|
/**
|
|
857
|
-
*
|
|
834
|
+
* The description of the lab.
|
|
858
835
|
*/
|
|
859
|
-
|
|
836
|
+
description?: string;
|
|
860
837
|
}
|
|
861
838
|
/**
|
|
862
|
-
*
|
|
839
|
+
* Identity for the resource.
|
|
863
840
|
*/
|
|
864
|
-
export interface
|
|
841
|
+
export interface Identity {
|
|
865
842
|
/**
|
|
866
|
-
*
|
|
867
|
-
*/
|
|
868
|
-
maxUsersInLab?: number;
|
|
869
|
-
/**
|
|
870
|
-
* Maximum value MaxUsersInLab can be set to, as specified by the service
|
|
843
|
+
* The principal ID of resource identity.
|
|
871
844
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
872
845
|
*/
|
|
873
|
-
readonly
|
|
846
|
+
readonly principalId?: string;
|
|
874
847
|
/**
|
|
875
|
-
*
|
|
848
|
+
* The tenant ID of resource.
|
|
876
849
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
877
850
|
*/
|
|
878
|
-
readonly
|
|
879
|
-
/**
|
|
880
|
-
* Object id of the user that created the lab.
|
|
881
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
882
|
-
*/
|
|
883
|
-
readonly createdByObjectId?: string;
|
|
884
|
-
/**
|
|
885
|
-
* Maximum duration a user can use an environment for in the lab.
|
|
886
|
-
*/
|
|
887
|
-
usageQuota?: string;
|
|
888
|
-
/**
|
|
889
|
-
* Lab user access mode (open to all vs. restricted to those listed on the lab). Possible values
|
|
890
|
-
* include: 'Restricted', 'Open'
|
|
891
|
-
*/
|
|
892
|
-
userAccessMode?: LabUserAccessMode;
|
|
893
|
-
/**
|
|
894
|
-
* Lab creator name
|
|
895
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
896
|
-
*/
|
|
897
|
-
readonly createdByUserPrincipalName?: string;
|
|
898
|
-
/**
|
|
899
|
-
* Creation date for the lab
|
|
900
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
901
|
-
*/
|
|
902
|
-
readonly createdDate?: Date;
|
|
903
|
-
/**
|
|
904
|
-
* The provisioning status of the resource.
|
|
905
|
-
*/
|
|
906
|
-
provisioningState?: string;
|
|
907
|
-
/**
|
|
908
|
-
* The unique immutable identifier of a resource (Guid).
|
|
909
|
-
*/
|
|
910
|
-
uniqueIdentifier?: string;
|
|
851
|
+
readonly tenantId?: string;
|
|
911
852
|
/**
|
|
912
|
-
* The
|
|
913
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
853
|
+
* The identity type. Possible values include: 'SystemAssigned'
|
|
914
854
|
*/
|
|
915
|
-
|
|
855
|
+
type?: ResourceIdentityType;
|
|
916
856
|
}
|
|
917
857
|
/**
|
|
918
|
-
*
|
|
858
|
+
* An interface representing ResourceModelWithAllowedPropertySetIdentity.
|
|
919
859
|
*/
|
|
920
|
-
export interface
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
860
|
+
export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* An interface representing ResourceModelWithAllowedPropertySetSku.
|
|
864
|
+
*/
|
|
865
|
+
export interface ResourceModelWithAllowedPropertySetSku extends Sku {
|
|
925
866
|
}
|
|
926
867
|
/**
|
|
927
|
-
*
|
|
868
|
+
* Plan for the resource.
|
|
928
869
|
*/
|
|
929
|
-
export interface
|
|
870
|
+
export interface Plan {
|
|
930
871
|
/**
|
|
931
|
-
*
|
|
932
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
872
|
+
* A user defined name of the 3rd Party Artifact that is being procured.
|
|
933
873
|
*/
|
|
934
|
-
|
|
874
|
+
name: string;
|
|
935
875
|
/**
|
|
936
|
-
*
|
|
876
|
+
* The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
|
|
937
877
|
*/
|
|
938
|
-
|
|
878
|
+
publisher: string;
|
|
939
879
|
/**
|
|
940
|
-
* The
|
|
880
|
+
* The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID
|
|
881
|
+
* specified for the artifact at the time of Data Market onboarding.
|
|
941
882
|
*/
|
|
942
|
-
|
|
883
|
+
product: string;
|
|
943
884
|
/**
|
|
944
|
-
*
|
|
885
|
+
* A publisher provided promotion code as provisioned in Data Market for the said
|
|
886
|
+
* product/artifact.
|
|
945
887
|
*/
|
|
946
|
-
|
|
888
|
+
promotionCode?: string;
|
|
947
889
|
/**
|
|
948
|
-
* The
|
|
949
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
890
|
+
* The version of the desired product/artifact.
|
|
950
891
|
*/
|
|
951
|
-
|
|
892
|
+
version?: string;
|
|
952
893
|
}
|
|
953
894
|
/**
|
|
954
|
-
*
|
|
895
|
+
* An interface representing ResourceModelWithAllowedPropertySetPlan.
|
|
955
896
|
*/
|
|
956
|
-
export interface
|
|
957
|
-
/**
|
|
958
|
-
* Represents if region selection is enabled
|
|
959
|
-
*/
|
|
960
|
-
enabledRegionSelection?: boolean;
|
|
961
|
-
/**
|
|
962
|
-
* The provisioning status of the resource.
|
|
963
|
-
*/
|
|
964
|
-
provisioningState?: string;
|
|
965
|
-
/**
|
|
966
|
-
* The unique immutable identifier of a resource (Guid).
|
|
967
|
-
*/
|
|
968
|
-
uniqueIdentifier?: string;
|
|
897
|
+
export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
|
|
969
898
|
}
|
|
970
899
|
/**
|
|
971
|
-
*
|
|
900
|
+
* The resource model definition containing the full set of allowed properties for a resource.
|
|
901
|
+
* Except properties bag, there cannot be a top level property outside of this set.
|
|
972
902
|
*/
|
|
973
|
-
export interface
|
|
903
|
+
export interface ResourceModelWithAllowedPropertySet extends BaseResource {
|
|
974
904
|
/**
|
|
975
|
-
*
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* The provisioning state of the lab.
|
|
905
|
+
* Fully qualified resource ID for the resource. Ex -
|
|
906
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
907
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
980
908
|
*/
|
|
981
|
-
|
|
909
|
+
readonly id?: string;
|
|
982
910
|
/**
|
|
983
|
-
* The
|
|
911
|
+
* The name of the resource
|
|
912
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
984
913
|
*/
|
|
985
|
-
|
|
914
|
+
readonly name?: string;
|
|
986
915
|
/**
|
|
987
|
-
* The
|
|
916
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
|
|
917
|
+
* "Microsoft.Storage/storageAccounts"
|
|
988
918
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
989
919
|
*/
|
|
990
|
-
readonly
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* Represents a lab.
|
|
994
|
-
*/
|
|
995
|
-
export interface LabFragment extends Resource {
|
|
920
|
+
readonly type?: string;
|
|
996
921
|
/**
|
|
997
|
-
*
|
|
922
|
+
* The geo-location where the resource lives
|
|
998
923
|
*/
|
|
999
|
-
|
|
924
|
+
location?: string;
|
|
1000
925
|
/**
|
|
1001
|
-
*
|
|
926
|
+
* The fully qualified resource ID of the resource that manages this resource. Indicates if this
|
|
927
|
+
* resource is managed by another Azure resource. If this is present, complete mode deployment
|
|
928
|
+
* will not delete the resource if it is removed from the template since it is managed by another
|
|
929
|
+
* resource.
|
|
1002
930
|
*/
|
|
1003
|
-
|
|
931
|
+
managedBy?: string;
|
|
1004
932
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
933
|
+
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the
|
|
934
|
+
* same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource
|
|
935
|
+
* provider must validate and persist this value.
|
|
1007
936
|
*/
|
|
1008
|
-
|
|
937
|
+
kind?: string;
|
|
1009
938
|
/**
|
|
1010
|
-
* The
|
|
939
|
+
* The etag field is *not* required. If it is provided in the response body, it must also be
|
|
940
|
+
* provided as a header per the normal etag convention. Entity tags are used for comparing two
|
|
941
|
+
* or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
|
|
942
|
+
* (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
|
|
943
|
+
* (section 14.27) header fields.
|
|
944
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1011
945
|
*/
|
|
1012
|
-
|
|
946
|
+
readonly etag?: string;
|
|
1013
947
|
/**
|
|
1014
|
-
*
|
|
948
|
+
* Resource tags.
|
|
1015
949
|
*/
|
|
1016
|
-
|
|
950
|
+
tags?: {
|
|
951
|
+
[propertyName: string]: string;
|
|
952
|
+
};
|
|
953
|
+
identity?: ResourceModelWithAllowedPropertySetIdentity;
|
|
954
|
+
sku?: ResourceModelWithAllowedPropertySetSku;
|
|
955
|
+
plan?: ResourceModelWithAllowedPropertySetPlan;
|
|
1017
956
|
}
|
|
1018
957
|
/**
|
|
1019
|
-
*
|
|
958
|
+
* User of a lab that can register for and use virtual machines within the lab.
|
|
1020
959
|
*/
|
|
1021
|
-
export interface
|
|
960
|
+
export interface User extends ProxyResource {
|
|
1022
961
|
/**
|
|
1023
|
-
*
|
|
962
|
+
* Metadata pertaining to creation and last modification of the user resource.
|
|
963
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1024
964
|
*/
|
|
1025
|
-
|
|
1026
|
-
}
|
|
1027
|
-
/**
|
|
1028
|
-
* Represents the list of environments owned by a user
|
|
1029
|
-
*/
|
|
1030
|
-
export interface ListEnvironmentsResponse {
|
|
965
|
+
readonly systemData?: SystemData;
|
|
1031
966
|
/**
|
|
1032
|
-
*
|
|
967
|
+
* The amount of usage quota time the user gets in addition to the lab usage quota.
|
|
1033
968
|
*/
|
|
1034
|
-
|
|
1035
|
-
}
|
|
1036
|
-
/**
|
|
1037
|
-
* Lists the labs owned by a user
|
|
1038
|
-
*/
|
|
1039
|
-
export interface ListLabsResponse {
|
|
969
|
+
additionalUsageQuota?: string;
|
|
1040
970
|
/**
|
|
1041
|
-
*
|
|
971
|
+
* Current provisioning state of the user resource. Possible values include: 'Creating',
|
|
972
|
+
* 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
973
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1042
974
|
*/
|
|
1043
|
-
|
|
1044
|
-
}
|
|
1045
|
-
/**
|
|
1046
|
-
* Payload to get the status of an operation
|
|
1047
|
-
*/
|
|
1048
|
-
export interface OperationBatchStatusPayload {
|
|
975
|
+
readonly provisioningState?: ProvisioningState;
|
|
1049
976
|
/**
|
|
1050
|
-
*
|
|
977
|
+
* Display name of the user, for example user's full name.
|
|
978
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1051
979
|
*/
|
|
1052
|
-
|
|
1053
|
-
}
|
|
1054
|
-
/**
|
|
1055
|
-
* Represents the status of an operation that used the batch API.
|
|
1056
|
-
*/
|
|
1057
|
-
export interface OperationBatchStatusResponseItem {
|
|
980
|
+
readonly displayName?: string;
|
|
1058
981
|
/**
|
|
1059
|
-
*
|
|
1060
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
982
|
+
* Email address of the user.
|
|
1061
983
|
*/
|
|
1062
|
-
|
|
984
|
+
email: string;
|
|
1063
985
|
/**
|
|
1064
|
-
*
|
|
986
|
+
* State of the user's registration within the lab. Possible values include: 'Registered',
|
|
987
|
+
* 'NotRegistered'
|
|
1065
988
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1066
989
|
*/
|
|
1067
|
-
readonly
|
|
1068
|
-
}
|
|
1069
|
-
/**
|
|
1070
|
-
* Status Details of the long running operation for an environment
|
|
1071
|
-
*/
|
|
1072
|
-
export interface OperationBatchStatusResponse {
|
|
990
|
+
readonly registrationState?: RegistrationState;
|
|
1073
991
|
/**
|
|
1074
|
-
*
|
|
992
|
+
* State of the invitation message for the user. Possible values include: 'NotSent', 'Sending',
|
|
993
|
+
* 'Sent', 'Failed'
|
|
1075
994
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1076
995
|
*/
|
|
1077
|
-
readonly
|
|
1078
|
-
}
|
|
1079
|
-
/**
|
|
1080
|
-
* Error details for the operation in case of a failure.
|
|
1081
|
-
*/
|
|
1082
|
-
export interface OperationError {
|
|
996
|
+
readonly invitationState?: InvitationState;
|
|
1083
997
|
/**
|
|
1084
|
-
*
|
|
998
|
+
* Date and time when the invitation message was sent to the user.
|
|
999
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1085
1000
|
*/
|
|
1086
|
-
|
|
1001
|
+
readonly invitationSent?: Date;
|
|
1087
1002
|
/**
|
|
1088
|
-
*
|
|
1003
|
+
* How long the user has used their virtual machines in this lab.
|
|
1004
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1089
1005
|
*/
|
|
1090
|
-
|
|
1006
|
+
readonly totalUsage?: string;
|
|
1091
1007
|
}
|
|
1092
1008
|
/**
|
|
1093
|
-
*
|
|
1009
|
+
* User of a lab that can register for and use virtual machines within the lab. Used for updates.
|
|
1094
1010
|
*/
|
|
1095
|
-
export interface
|
|
1096
|
-
/**
|
|
1097
|
-
* Friendly name of the resource provider
|
|
1098
|
-
*/
|
|
1099
|
-
provider?: string;
|
|
1100
|
-
/**
|
|
1101
|
-
* Resource type on which the operation is performed.
|
|
1102
|
-
*/
|
|
1103
|
-
resource?: string;
|
|
1011
|
+
export interface UserUpdate {
|
|
1104
1012
|
/**
|
|
1105
|
-
*
|
|
1013
|
+
* The amount of usage quota time the user gets in addition to the lab usage quota.
|
|
1106
1014
|
*/
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* Friendly name of the operation
|
|
1110
|
-
*/
|
|
1111
|
-
description?: string;
|
|
1015
|
+
additionalUsageQuota?: string;
|
|
1112
1016
|
}
|
|
1113
1017
|
/**
|
|
1114
|
-
*
|
|
1018
|
+
* Body for a user invite request
|
|
1115
1019
|
*/
|
|
1116
|
-
export interface
|
|
1117
|
-
/**
|
|
1118
|
-
* Operation name: {provider}/{resource}/{operation}
|
|
1119
|
-
*/
|
|
1120
|
-
name?: string;
|
|
1020
|
+
export interface InviteBody {
|
|
1121
1021
|
/**
|
|
1122
|
-
*
|
|
1022
|
+
* Custom text for the invite email.
|
|
1123
1023
|
*/
|
|
1124
|
-
|
|
1024
|
+
text?: string;
|
|
1125
1025
|
}
|
|
1126
1026
|
/**
|
|
1127
|
-
*
|
|
1027
|
+
* The connection information for the virtual machine
|
|
1128
1028
|
*/
|
|
1129
|
-
export interface
|
|
1029
|
+
export interface VirtualMachineConnectionProfile {
|
|
1130
1030
|
/**
|
|
1131
|
-
* The
|
|
1031
|
+
* The private IP address of the virtual machine.
|
|
1032
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1132
1033
|
*/
|
|
1133
|
-
|
|
1034
|
+
readonly privateIpAddress?: string;
|
|
1134
1035
|
/**
|
|
1135
|
-
*
|
|
1036
|
+
* Port and host name separated by semicolon for connecting via SSH protocol to the virtual
|
|
1037
|
+
* machine.
|
|
1038
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1136
1039
|
*/
|
|
1137
|
-
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* Payload to get the status of an operation
|
|
1141
|
-
*/
|
|
1142
|
-
export interface OperationStatusPayload {
|
|
1040
|
+
readonly sshAuthority?: string;
|
|
1143
1041
|
/**
|
|
1144
|
-
*
|
|
1042
|
+
* URL for connecting via SSH protocol to the virtual machine in browser.
|
|
1043
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1145
1044
|
*/
|
|
1146
|
-
|
|
1147
|
-
}
|
|
1148
|
-
/**
|
|
1149
|
-
* Status Details of the long running operation for an environment
|
|
1150
|
-
*/
|
|
1151
|
-
export interface OperationStatusResponse {
|
|
1045
|
+
readonly sshInBrowserUrl?: string;
|
|
1152
1046
|
/**
|
|
1153
|
-
*
|
|
1047
|
+
* Port and host name separated by semicolon for connecting via RDP protocol to the virtual
|
|
1048
|
+
* machine.
|
|
1154
1049
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1155
1050
|
*/
|
|
1156
|
-
readonly
|
|
1157
|
-
}
|
|
1158
|
-
/**
|
|
1159
|
-
* Represents payload for any Environment operations like get, start, stop, connect
|
|
1160
|
-
*/
|
|
1161
|
-
export interface PersonalPreferencesOperationsPayload {
|
|
1051
|
+
readonly rdpAuthority?: string;
|
|
1162
1052
|
/**
|
|
1163
|
-
*
|
|
1053
|
+
* URL for connecting via RDP protocol to the virtual machine in browser.
|
|
1054
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1164
1055
|
*/
|
|
1165
|
-
|
|
1056
|
+
readonly rdpInBrowserUrl?: string;
|
|
1166
1057
|
/**
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
1058
|
+
* The username used to log on to the virtual machine as admin.
|
|
1059
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1169
1060
|
*/
|
|
1170
|
-
|
|
1061
|
+
readonly adminUsername?: string;
|
|
1171
1062
|
/**
|
|
1172
|
-
*
|
|
1063
|
+
* The username used to log on to the virtual machine as non-admin, if one exists.
|
|
1064
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1173
1065
|
*/
|
|
1174
|
-
|
|
1066
|
+
readonly nonAdminUsername?: string;
|
|
1175
1067
|
}
|
|
1176
1068
|
/**
|
|
1177
|
-
*
|
|
1069
|
+
* A lab virtual machine resource.
|
|
1178
1070
|
*/
|
|
1179
|
-
export interface
|
|
1071
|
+
export interface VirtualMachine extends ProxyResource {
|
|
1180
1072
|
/**
|
|
1181
|
-
*
|
|
1073
|
+
* System data of the Lab virtual machine.
|
|
1074
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1182
1075
|
*/
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1076
|
+
readonly systemData?: SystemData;
|
|
1077
|
+
/**
|
|
1078
|
+
* Current provisioning state of the virtual machine. Possible values include: 'Creating',
|
|
1079
|
+
* 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
1080
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1081
|
+
*/
|
|
1082
|
+
readonly provisioningState?: ProvisioningState;
|
|
1189
1083
|
/**
|
|
1190
|
-
* The
|
|
1084
|
+
* The current state of the virtual machine. Possible values include: 'Stopped', 'Starting',
|
|
1085
|
+
* 'Running', 'Stopping', 'ResettingPassword', 'Reimaging', 'Redeploying'
|
|
1086
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1191
1087
|
*/
|
|
1192
|
-
|
|
1193
|
-
}
|
|
1194
|
-
/**
|
|
1195
|
-
* Represents the payload for resetting passwords.
|
|
1196
|
-
*/
|
|
1197
|
-
export interface ResetPasswordPayload {
|
|
1088
|
+
readonly state?: VirtualMachineState;
|
|
1198
1089
|
/**
|
|
1199
|
-
*
|
|
1090
|
+
* Profile for information about connecting to the virtual machine.
|
|
1091
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1200
1092
|
*/
|
|
1201
|
-
|
|
1093
|
+
readonly connectionProfile?: VirtualMachineConnectionProfile;
|
|
1202
1094
|
/**
|
|
1203
|
-
* The
|
|
1095
|
+
* The lab user ID (not the PUID!) of who claimed the virtual machine.
|
|
1096
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1204
1097
|
*/
|
|
1205
|
-
|
|
1098
|
+
readonly claimedByUserId?: string;
|
|
1206
1099
|
/**
|
|
1207
|
-
* The
|
|
1100
|
+
* The type of this VM resource. Possible values include: 'User', 'Template'
|
|
1101
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1208
1102
|
*/
|
|
1209
|
-
|
|
1103
|
+
readonly vmType?: VirtualMachineType;
|
|
1210
1104
|
}
|
|
1211
1105
|
/**
|
|
1212
|
-
*
|
|
1106
|
+
* Body of a reset password request.
|
|
1213
1107
|
*/
|
|
1214
|
-
export interface
|
|
1108
|
+
export interface ResetPasswordBody {
|
|
1215
1109
|
/**
|
|
1216
|
-
*
|
|
1110
|
+
* The user whose password is being reset
|
|
1217
1111
|
*/
|
|
1218
|
-
|
|
1112
|
+
username: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* The password
|
|
1115
|
+
*/
|
|
1116
|
+
password: string;
|
|
1219
1117
|
}
|
|
1220
1118
|
/**
|
|
1221
|
-
*
|
|
1119
|
+
* Schedule for automatically turning virtual machines in a lab on and off at specified times.
|
|
1222
1120
|
*/
|
|
1223
|
-
export interface
|
|
1224
|
-
/**
|
|
1225
|
-
* The user email address, as it was specified during registration.
|
|
1226
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1227
|
-
*/
|
|
1228
|
-
readonly email?: string;
|
|
1121
|
+
export interface Schedule extends ProxyResource {
|
|
1229
1122
|
/**
|
|
1230
|
-
*
|
|
1123
|
+
* Metadata pertaining to creation and last modification of the schedule.
|
|
1231
1124
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1232
1125
|
*/
|
|
1233
|
-
readonly
|
|
1126
|
+
readonly systemData?: SystemData;
|
|
1234
1127
|
/**
|
|
1235
|
-
*
|
|
1236
|
-
*
|
|
1128
|
+
* When lab user virtual machines will be started. Timestamp offsets will be ignored and
|
|
1129
|
+
* timeZoneId is used instead.
|
|
1237
1130
|
*/
|
|
1238
|
-
|
|
1131
|
+
startAt?: Date;
|
|
1239
1132
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
1133
|
+
* When lab user virtual machines will be stopped. Timestamp offsets will be ignored and
|
|
1134
|
+
* timeZoneId is used instead.
|
|
1242
1135
|
*/
|
|
1243
|
-
|
|
1136
|
+
stopAt?: Date;
|
|
1244
1137
|
/**
|
|
1245
|
-
*
|
|
1246
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1138
|
+
* The recurrence pattern of the scheduled actions.
|
|
1247
1139
|
*/
|
|
1248
|
-
|
|
1140
|
+
recurrencePattern?: RecurrencePattern;
|
|
1249
1141
|
/**
|
|
1250
|
-
* The
|
|
1142
|
+
* The IANA timezone id for the schedule.
|
|
1251
1143
|
*/
|
|
1252
|
-
|
|
1144
|
+
timeZoneId?: string;
|
|
1253
1145
|
/**
|
|
1254
|
-
*
|
|
1146
|
+
* Notes for this schedule.
|
|
1255
1147
|
*/
|
|
1256
|
-
|
|
1148
|
+
notes?: string;
|
|
1257
1149
|
/**
|
|
1258
|
-
*
|
|
1150
|
+
* Current provisioning state of the schedule. Possible values include: 'Creating', 'Updating',
|
|
1151
|
+
* 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
1259
1152
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1260
1153
|
*/
|
|
1261
|
-
readonly
|
|
1154
|
+
readonly provisioningState?: ProvisioningState;
|
|
1262
1155
|
}
|
|
1263
1156
|
/**
|
|
1264
|
-
*
|
|
1157
|
+
* Recurrence pattern of a lab schedule.
|
|
1265
1158
|
*/
|
|
1266
|
-
export interface
|
|
1159
|
+
export interface RecurrencePattern {
|
|
1267
1160
|
/**
|
|
1268
|
-
* The
|
|
1161
|
+
* The frequency of the recurrence. Possible values include: 'Daily', 'Weekly'
|
|
1269
1162
|
*/
|
|
1270
|
-
|
|
1163
|
+
frequency: RecurrenceFrequency;
|
|
1271
1164
|
/**
|
|
1272
|
-
* The
|
|
1165
|
+
* The week days the schedule runs. Used for when the Frequency is set to Weekly.
|
|
1273
1166
|
*/
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1167
|
+
weekDays?: WeekDay[];
|
|
1168
|
+
/**
|
|
1169
|
+
* The interval to invoke the schedule on. For example, interval = 2 and
|
|
1170
|
+
* RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of
|
|
1171
|
+
* 1 is used.
|
|
1172
|
+
*/
|
|
1173
|
+
interval?: number;
|
|
1280
1174
|
/**
|
|
1281
|
-
*
|
|
1175
|
+
* When the recurrence will expire. This date is inclusive.
|
|
1282
1176
|
*/
|
|
1283
|
-
|
|
1177
|
+
expirationDate: Date;
|
|
1284
1178
|
}
|
|
1285
1179
|
/**
|
|
1286
|
-
*
|
|
1180
|
+
* Schedule for automatically turning virtual machines in a lab on and off at specified times. Used
|
|
1181
|
+
* for updates.
|
|
1287
1182
|
*/
|
|
1288
|
-
export interface
|
|
1183
|
+
export interface ScheduleUpdate {
|
|
1289
1184
|
/**
|
|
1290
|
-
*
|
|
1185
|
+
* When lab user virtual machines will be started. Timestamp offsets will be ignored and
|
|
1186
|
+
* timeZoneId is used instead.
|
|
1291
1187
|
*/
|
|
1292
|
-
|
|
1188
|
+
startAt?: Date;
|
|
1293
1189
|
/**
|
|
1294
|
-
*
|
|
1190
|
+
* When lab user virtual machines will be stopped. Timestamp offsets will be ignored and
|
|
1191
|
+
* timeZoneId is used instead.
|
|
1295
1192
|
*/
|
|
1296
|
-
|
|
1193
|
+
stopAt?: Date;
|
|
1297
1194
|
/**
|
|
1298
|
-
* The
|
|
1195
|
+
* The recurrence pattern of the scheduled actions.
|
|
1299
1196
|
*/
|
|
1300
|
-
|
|
1197
|
+
recurrencePattern?: RecurrencePattern;
|
|
1301
1198
|
/**
|
|
1302
|
-
* The
|
|
1199
|
+
* The IANA timezone id for the schedule.
|
|
1303
1200
|
*/
|
|
1304
|
-
|
|
1201
|
+
timeZoneId?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Notes for this schedule.
|
|
1204
|
+
*/
|
|
1205
|
+
notes?: string;
|
|
1305
1206
|
}
|
|
1306
1207
|
/**
|
|
1307
1208
|
* Optional Parameters.
|
|
1308
1209
|
*/
|
|
1309
|
-
export interface
|
|
1310
|
-
/**
|
|
1311
|
-
* Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
|
|
1312
|
-
*/
|
|
1313
|
-
expand?: string;
|
|
1210
|
+
export interface LabPlansListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1314
1211
|
/**
|
|
1315
1212
|
* The filter to apply to the operation.
|
|
1316
1213
|
*/
|
|
1317
1214
|
filter?: string;
|
|
1318
|
-
/**
|
|
1319
|
-
* The maximum number of resources to return from the operation.
|
|
1320
|
-
*/
|
|
1321
|
-
top?: number;
|
|
1322
|
-
/**
|
|
1323
|
-
* The ordering expression for the results, using OData notation.
|
|
1324
|
-
*/
|
|
1325
|
-
orderby?: string;
|
|
1326
1215
|
}
|
|
1327
1216
|
/**
|
|
1328
1217
|
* Optional Parameters.
|
|
1329
1218
|
*/
|
|
1330
|
-
export interface
|
|
1219
|
+
export interface LabPlansListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1331
1220
|
/**
|
|
1332
|
-
*
|
|
1221
|
+
* The filter to apply to the operation.
|
|
1333
1222
|
*/
|
|
1334
|
-
|
|
1223
|
+
filter?: string;
|
|
1335
1224
|
}
|
|
1336
1225
|
/**
|
|
1337
1226
|
* Optional Parameters.
|
|
1338
1227
|
*/
|
|
1339
|
-
export interface
|
|
1340
|
-
/**
|
|
1341
|
-
* Specify the $expand query. Example: 'properties($select=author)'
|
|
1342
|
-
*/
|
|
1343
|
-
expand?: string;
|
|
1228
|
+
export interface ImagesListByLabPlanOptionalParams extends msRest.RequestOptionsBase {
|
|
1344
1229
|
/**
|
|
1345
1230
|
* The filter to apply to the operation.
|
|
1346
1231
|
*/
|
|
1347
1232
|
filter?: string;
|
|
1348
|
-
/**
|
|
1349
|
-
* The maximum number of resources to return from the operation.
|
|
1350
|
-
*/
|
|
1351
|
-
top?: number;
|
|
1352
|
-
/**
|
|
1353
|
-
* The ordering expression for the results, using OData notation.
|
|
1354
|
-
*/
|
|
1355
|
-
orderby?: string;
|
|
1356
1233
|
}
|
|
1357
1234
|
/**
|
|
1358
1235
|
* Optional Parameters.
|
|
1359
1236
|
*/
|
|
1360
|
-
export interface
|
|
1237
|
+
export interface ImagesListByLabPlanNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1361
1238
|
/**
|
|
1362
|
-
*
|
|
1239
|
+
* The filter to apply to the operation.
|
|
1363
1240
|
*/
|
|
1364
|
-
|
|
1241
|
+
filter?: string;
|
|
1365
1242
|
}
|
|
1366
1243
|
/**
|
|
1367
1244
|
* Optional Parameters.
|
|
1368
1245
|
*/
|
|
1369
|
-
export interface
|
|
1370
|
-
/**
|
|
1371
|
-
* Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
|
|
1372
|
-
*/
|
|
1373
|
-
expand?: string;
|
|
1246
|
+
export interface LabsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1374
1247
|
/**
|
|
1375
1248
|
* The filter to apply to the operation.
|
|
1376
1249
|
*/
|
|
1377
1250
|
filter?: string;
|
|
1378
|
-
/**
|
|
1379
|
-
* The maximum number of resources to return from the operation.
|
|
1380
|
-
*/
|
|
1381
|
-
top?: number;
|
|
1382
|
-
/**
|
|
1383
|
-
* The ordering expression for the results, using OData notation.
|
|
1384
|
-
*/
|
|
1385
|
-
orderby?: string;
|
|
1386
1251
|
}
|
|
1387
1252
|
/**
|
|
1388
1253
|
* Optional Parameters.
|
|
1389
1254
|
*/
|
|
1390
|
-
export interface
|
|
1255
|
+
export interface LabsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1391
1256
|
/**
|
|
1392
|
-
*
|
|
1257
|
+
* The filter to apply to the operation.
|
|
1393
1258
|
*/
|
|
1394
|
-
|
|
1259
|
+
filter?: string;
|
|
1395
1260
|
}
|
|
1396
1261
|
/**
|
|
1397
1262
|
* Optional Parameters.
|
|
1398
1263
|
*/
|
|
1399
|
-
export interface
|
|
1400
|
-
/**
|
|
1401
|
-
* Specify the $expand query. Example: 'properties($select=publishingState)'
|
|
1402
|
-
*/
|
|
1403
|
-
expand?: string;
|
|
1264
|
+
export interface UsersListByLabOptionalParams extends msRest.RequestOptionsBase {
|
|
1404
1265
|
/**
|
|
1405
1266
|
* The filter to apply to the operation.
|
|
1406
1267
|
*/
|
|
1407
1268
|
filter?: string;
|
|
1408
|
-
/**
|
|
1409
|
-
* The maximum number of resources to return from the operation.
|
|
1410
|
-
*/
|
|
1411
|
-
top?: number;
|
|
1412
|
-
/**
|
|
1413
|
-
* The ordering expression for the results, using OData notation.
|
|
1414
|
-
*/
|
|
1415
|
-
orderby?: string;
|
|
1416
1269
|
}
|
|
1417
1270
|
/**
|
|
1418
1271
|
* Optional Parameters.
|
|
1419
1272
|
*/
|
|
1420
|
-
export interface
|
|
1273
|
+
export interface UsersListByLabNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1421
1274
|
/**
|
|
1422
|
-
*
|
|
1275
|
+
* The filter to apply to the operation.
|
|
1423
1276
|
*/
|
|
1424
|
-
|
|
1277
|
+
filter?: string;
|
|
1425
1278
|
}
|
|
1426
1279
|
/**
|
|
1427
1280
|
* Optional Parameters.
|
|
1428
1281
|
*/
|
|
1429
|
-
export interface
|
|
1430
|
-
/**
|
|
1431
|
-
* Specify the $expand query. Example: 'properties($expand=networkInterface)'
|
|
1432
|
-
*/
|
|
1433
|
-
expand?: string;
|
|
1282
|
+
export interface VirtualMachinesListByLabOptionalParams extends msRest.RequestOptionsBase {
|
|
1434
1283
|
/**
|
|
1435
1284
|
* The filter to apply to the operation.
|
|
1436
1285
|
*/
|
|
1437
1286
|
filter?: string;
|
|
1438
|
-
/**
|
|
1439
|
-
* The maximum number of resources to return from the operation.
|
|
1440
|
-
*/
|
|
1441
|
-
top?: number;
|
|
1442
|
-
/**
|
|
1443
|
-
* The ordering expression for the results, using OData notation.
|
|
1444
|
-
*/
|
|
1445
|
-
orderby?: string;
|
|
1446
1287
|
}
|
|
1447
1288
|
/**
|
|
1448
1289
|
* Optional Parameters.
|
|
1449
1290
|
*/
|
|
1450
|
-
export interface
|
|
1291
|
+
export interface VirtualMachinesListByLabNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1451
1292
|
/**
|
|
1452
|
-
*
|
|
1293
|
+
* The filter to apply to the operation.
|
|
1453
1294
|
*/
|
|
1454
|
-
|
|
1295
|
+
filter?: string;
|
|
1455
1296
|
}
|
|
1456
1297
|
/**
|
|
1457
1298
|
* Optional Parameters.
|
|
1458
1299
|
*/
|
|
1459
|
-
export interface
|
|
1460
|
-
/**
|
|
1461
|
-
* Specify the $expand query. Example: 'properties($select=email)'
|
|
1462
|
-
*/
|
|
1463
|
-
expand?: string;
|
|
1300
|
+
export interface SchedulesListByLabOptionalParams extends msRest.RequestOptionsBase {
|
|
1464
1301
|
/**
|
|
1465
1302
|
* The filter to apply to the operation.
|
|
1466
1303
|
*/
|
|
1467
1304
|
filter?: string;
|
|
1468
|
-
/**
|
|
1469
|
-
* The maximum number of resources to return from the operation.
|
|
1470
|
-
*/
|
|
1471
|
-
top?: number;
|
|
1472
|
-
/**
|
|
1473
|
-
* The ordering expression for the results, using OData notation.
|
|
1474
|
-
*/
|
|
1475
|
-
orderby?: string;
|
|
1476
1305
|
}
|
|
1477
1306
|
/**
|
|
1478
1307
|
* Optional Parameters.
|
|
1479
1308
|
*/
|
|
1480
|
-
export interface
|
|
1309
|
+
export interface SchedulesListByLabNextOptionalParams extends msRest.RequestOptionsBase {
|
|
1481
1310
|
/**
|
|
1482
|
-
*
|
|
1311
|
+
* The filter to apply to the operation.
|
|
1483
1312
|
*/
|
|
1484
|
-
|
|
1313
|
+
filter?: string;
|
|
1485
1314
|
}
|
|
1486
1315
|
/**
|
|
1487
|
-
* An interface representing
|
|
1316
|
+
* An interface representing LabServicesClientOptions.
|
|
1488
1317
|
*/
|
|
1489
|
-
export interface
|
|
1318
|
+
export interface LabServicesClientOptions extends AzureServiceClientOptions {
|
|
1490
1319
|
baseUri?: string;
|
|
1491
1320
|
}
|
|
1492
1321
|
/**
|
|
1493
1322
|
* @interface
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1323
|
+
* A list of REST API operations supported by an Azure Resource Provider. It contains an URL link
|
|
1324
|
+
* to get the next set of results.
|
|
1325
|
+
* @extends Array<Operation>
|
|
1496
1326
|
*/
|
|
1497
|
-
export interface
|
|
1327
|
+
export interface OperationListResult extends Array<Operation> {
|
|
1498
1328
|
/**
|
|
1499
|
-
* URL to get the next set of operation list results if there are any.
|
|
1329
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1500
1330
|
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1501
1331
|
*/
|
|
1502
1332
|
readonly nextLink?: string;
|
|
1503
1333
|
}
|
|
1504
1334
|
/**
|
|
1505
1335
|
* @interface
|
|
1506
|
-
*
|
|
1507
|
-
* @extends Array<
|
|
1336
|
+
* Paged list of lab plans.
|
|
1337
|
+
* @extends Array<LabPlan>
|
|
1508
1338
|
*/
|
|
1509
|
-
export interface
|
|
1339
|
+
export interface PagedLabPlans extends Array<LabPlan> {
|
|
1510
1340
|
/**
|
|
1511
|
-
*
|
|
1341
|
+
* The link to get the next page of lab plan results.
|
|
1342
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1512
1343
|
*/
|
|
1513
|
-
nextLink?: string;
|
|
1344
|
+
readonly nextLink?: string;
|
|
1514
1345
|
}
|
|
1515
1346
|
/**
|
|
1516
1347
|
* @interface
|
|
1517
|
-
*
|
|
1518
|
-
* @extends Array<
|
|
1348
|
+
* Paged list of Lab services virtual machine images.
|
|
1349
|
+
* @extends Array<Image>
|
|
1519
1350
|
*/
|
|
1520
|
-
export interface
|
|
1351
|
+
export interface PagedImages extends Array<Image> {
|
|
1521
1352
|
/**
|
|
1522
|
-
*
|
|
1353
|
+
* The link to get the next page of image results.
|
|
1354
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1523
1355
|
*/
|
|
1524
|
-
nextLink?: string;
|
|
1356
|
+
readonly nextLink?: string;
|
|
1525
1357
|
}
|
|
1526
1358
|
/**
|
|
1527
1359
|
* @interface
|
|
1528
|
-
*
|
|
1360
|
+
* Paged list of labs.
|
|
1529
1361
|
* @extends Array<Lab>
|
|
1530
1362
|
*/
|
|
1531
|
-
export interface
|
|
1363
|
+
export interface PagedLabs extends Array<Lab> {
|
|
1532
1364
|
/**
|
|
1533
|
-
*
|
|
1365
|
+
* The link to get the next page of image results.
|
|
1366
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1534
1367
|
*/
|
|
1535
|
-
nextLink?: string;
|
|
1368
|
+
readonly nextLink?: string;
|
|
1536
1369
|
}
|
|
1537
1370
|
/**
|
|
1538
1371
|
* @interface
|
|
1539
|
-
*
|
|
1540
|
-
* @extends Array<
|
|
1372
|
+
* Paged list of users.
|
|
1373
|
+
* @extends Array<User>
|
|
1541
1374
|
*/
|
|
1542
|
-
export interface
|
|
1375
|
+
export interface PagedUsers extends Array<User> {
|
|
1543
1376
|
/**
|
|
1544
|
-
*
|
|
1377
|
+
* The link to get the next page of image results.
|
|
1378
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1545
1379
|
*/
|
|
1546
|
-
nextLink?: string;
|
|
1380
|
+
readonly nextLink?: string;
|
|
1547
1381
|
}
|
|
1548
1382
|
/**
|
|
1549
1383
|
* @interface
|
|
1550
|
-
*
|
|
1551
|
-
* @extends Array<
|
|
1384
|
+
* Paged list of lab services virtual machines.
|
|
1385
|
+
* @extends Array<VirtualMachine>
|
|
1552
1386
|
*/
|
|
1553
|
-
export interface
|
|
1387
|
+
export interface PagedVirtualMachines extends Array<VirtualMachine> {
|
|
1554
1388
|
/**
|
|
1555
|
-
*
|
|
1389
|
+
* The link to get the next page of virtual machine results.
|
|
1390
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1556
1391
|
*/
|
|
1557
|
-
nextLink?: string;
|
|
1392
|
+
readonly nextLink?: string;
|
|
1558
1393
|
}
|
|
1559
1394
|
/**
|
|
1560
1395
|
* @interface
|
|
1561
|
-
*
|
|
1562
|
-
* @extends Array<
|
|
1396
|
+
* Paged list of schedules.
|
|
1397
|
+
* @extends Array<Schedule>
|
|
1563
1398
|
*/
|
|
1564
|
-
export interface
|
|
1399
|
+
export interface PagedSchedules extends Array<Schedule> {
|
|
1565
1400
|
/**
|
|
1566
|
-
*
|
|
1401
|
+
* The link to get the next page of schedule results.
|
|
1402
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1567
1403
|
*/
|
|
1568
|
-
nextLink?: string;
|
|
1404
|
+
readonly nextLink?: string;
|
|
1569
1405
|
}
|
|
1570
1406
|
/**
|
|
1571
|
-
* Defines values for
|
|
1572
|
-
* Possible values include: '
|
|
1407
|
+
* Defines values for ProvisioningState.
|
|
1408
|
+
* Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'
|
|
1573
1409
|
* @readonly
|
|
1574
1410
|
* @enum {string}
|
|
1575
1411
|
*/
|
|
1576
|
-
export declare type
|
|
1412
|
+
export declare type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Locked';
|
|
1577
1413
|
/**
|
|
1578
|
-
* Defines values for
|
|
1579
|
-
* Possible values include: '
|
|
1414
|
+
* Defines values for EnableState.
|
|
1415
|
+
* Possible values include: 'Enabled', 'Disabled'
|
|
1580
1416
|
* @readonly
|
|
1581
1417
|
* @enum {string}
|
|
1582
1418
|
*/
|
|
1583
|
-
export declare type
|
|
1419
|
+
export declare type EnableState = 'Enabled' | 'Disabled';
|
|
1584
1420
|
/**
|
|
1585
|
-
* Defines values for
|
|
1586
|
-
* Possible values include: '
|
|
1421
|
+
* Defines values for ConnectionType.
|
|
1422
|
+
* Possible values include: 'Public', 'Private', 'None'
|
|
1587
1423
|
* @readonly
|
|
1588
1424
|
* @enum {string}
|
|
1589
1425
|
*/
|
|
1590
|
-
export declare type
|
|
1426
|
+
export declare type ConnectionType = 'Public' | 'Private' | 'None';
|
|
1591
1427
|
/**
|
|
1592
|
-
* Defines values for
|
|
1593
|
-
* Possible values include: '
|
|
1428
|
+
* Defines values for OsType.
|
|
1429
|
+
* Possible values include: 'Windows', 'Linux'
|
|
1594
1430
|
* @readonly
|
|
1595
1431
|
* @enum {string}
|
|
1596
1432
|
*/
|
|
1597
|
-
export declare type
|
|
1433
|
+
export declare type OsType = 'Windows' | 'Linux';
|
|
1598
1434
|
/**
|
|
1599
|
-
* Defines values for
|
|
1600
|
-
* Possible values include: '
|
|
1435
|
+
* Defines values for OsState.
|
|
1436
|
+
* Possible values include: 'Generalized', 'Specialized'
|
|
1601
1437
|
* @readonly
|
|
1602
1438
|
* @enum {string}
|
|
1603
1439
|
*/
|
|
1604
|
-
export declare type
|
|
1440
|
+
export declare type OsState = 'Generalized' | 'Specialized';
|
|
1605
1441
|
/**
|
|
1606
|
-
*
|
|
1442
|
+
* Defines values for ShutdownOnIdleMode.
|
|
1443
|
+
* Possible values include: 'None', 'UserAbsence', 'LowUsage'
|
|
1444
|
+
* @readonly
|
|
1445
|
+
* @enum {string}
|
|
1607
1446
|
*/
|
|
1608
|
-
export declare type
|
|
1609
|
-
/**
|
|
1610
|
-
* The underlying HTTP response.
|
|
1611
|
-
*/
|
|
1612
|
-
_response: msRest.HttpResponse & {
|
|
1613
|
-
/**
|
|
1614
|
-
* The response body as text (string format)
|
|
1615
|
-
*/
|
|
1616
|
-
bodyAsText: string;
|
|
1617
|
-
/**
|
|
1618
|
-
* The response body as parsed JSON or XML
|
|
1619
|
-
*/
|
|
1620
|
-
parsedBody: ProviderOperationResult;
|
|
1621
|
-
};
|
|
1622
|
-
};
|
|
1447
|
+
export declare type ShutdownOnIdleMode = 'None' | 'UserAbsence' | 'LowUsage';
|
|
1623
1448
|
/**
|
|
1624
|
-
*
|
|
1449
|
+
* Defines values for Origin.
|
|
1450
|
+
* Possible values include: 'user', 'system', 'user,system'
|
|
1451
|
+
* @readonly
|
|
1452
|
+
* @enum {string}
|
|
1453
|
+
*/
|
|
1454
|
+
export declare type Origin = 'user' | 'system' | 'user,system';
|
|
1455
|
+
/**
|
|
1456
|
+
* Defines values for ActionType.
|
|
1457
|
+
* Possible values include: 'Internal'
|
|
1458
|
+
* @readonly
|
|
1459
|
+
* @enum {string}
|
|
1460
|
+
*/
|
|
1461
|
+
export declare type ActionType = 'Internal';
|
|
1462
|
+
/**
|
|
1463
|
+
* Defines values for OperationStatus.
|
|
1464
|
+
* Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
|
|
1465
|
+
* @readonly
|
|
1466
|
+
* @enum {string}
|
|
1467
|
+
*/
|
|
1468
|
+
export declare type OperationStatus = 'NotStarted' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled';
|
|
1469
|
+
/**
|
|
1470
|
+
* Defines values for CreatedByType.
|
|
1471
|
+
* Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
|
|
1472
|
+
* @readonly
|
|
1473
|
+
* @enum {string}
|
|
1474
|
+
*/
|
|
1475
|
+
export declare type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
|
|
1476
|
+
/**
|
|
1477
|
+
* Defines values for LabState.
|
|
1478
|
+
* Possible values include: 'Draft', 'Publishing', 'Scaling', 'Syncing', 'Published'
|
|
1479
|
+
* @readonly
|
|
1480
|
+
* @enum {string}
|
|
1481
|
+
*/
|
|
1482
|
+
export declare type LabState = 'Draft' | 'Publishing' | 'Scaling' | 'Syncing' | 'Published';
|
|
1483
|
+
/**
|
|
1484
|
+
* Defines values for CreateOption.
|
|
1485
|
+
* Possible values include: 'Image', 'TemplateVM'
|
|
1486
|
+
* @readonly
|
|
1487
|
+
* @enum {string}
|
|
1488
|
+
*/
|
|
1489
|
+
export declare type CreateOption = 'Image' | 'TemplateVM';
|
|
1490
|
+
/**
|
|
1491
|
+
* Defines values for SkuTier.
|
|
1492
|
+
* Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
|
|
1493
|
+
* @readonly
|
|
1494
|
+
* @enum {string}
|
|
1495
|
+
*/
|
|
1496
|
+
export declare type SkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium';
|
|
1497
|
+
/**
|
|
1498
|
+
* Defines values for ResourceIdentityType.
|
|
1499
|
+
* Possible values include: 'SystemAssigned'
|
|
1500
|
+
* @readonly
|
|
1501
|
+
* @enum {string}
|
|
1502
|
+
*/
|
|
1503
|
+
export declare type ResourceIdentityType = 'SystemAssigned';
|
|
1504
|
+
/**
|
|
1505
|
+
* Defines values for RegistrationState.
|
|
1506
|
+
* Possible values include: 'Registered', 'NotRegistered'
|
|
1507
|
+
* @readonly
|
|
1508
|
+
* @enum {string}
|
|
1509
|
+
*/
|
|
1510
|
+
export declare type RegistrationState = 'Registered' | 'NotRegistered';
|
|
1511
|
+
/**
|
|
1512
|
+
* Defines values for InvitationState.
|
|
1513
|
+
* Possible values include: 'NotSent', 'Sending', 'Sent', 'Failed'
|
|
1514
|
+
* @readonly
|
|
1515
|
+
* @enum {string}
|
|
1516
|
+
*/
|
|
1517
|
+
export declare type InvitationState = 'NotSent' | 'Sending' | 'Sent' | 'Failed';
|
|
1518
|
+
/**
|
|
1519
|
+
* Defines values for VirtualMachineState.
|
|
1520
|
+
* Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', 'ResettingPassword',
|
|
1521
|
+
* 'Reimaging', 'Redeploying'
|
|
1522
|
+
* @readonly
|
|
1523
|
+
* @enum {string}
|
|
1524
|
+
*/
|
|
1525
|
+
export declare type VirtualMachineState = 'Stopped' | 'Starting' | 'Running' | 'Stopping' | 'ResettingPassword' | 'Reimaging' | 'Redeploying';
|
|
1526
|
+
/**
|
|
1527
|
+
* Defines values for VirtualMachineType.
|
|
1528
|
+
* Possible values include: 'User', 'Template'
|
|
1529
|
+
* @readonly
|
|
1530
|
+
* @enum {string}
|
|
1531
|
+
*/
|
|
1532
|
+
export declare type VirtualMachineType = 'User' | 'Template';
|
|
1533
|
+
/**
|
|
1534
|
+
* Defines values for RecurrenceFrequency.
|
|
1535
|
+
* Possible values include: 'Daily', 'Weekly'
|
|
1536
|
+
* @readonly
|
|
1537
|
+
* @enum {string}
|
|
1538
|
+
*/
|
|
1539
|
+
export declare type RecurrenceFrequency = 'Daily' | 'Weekly';
|
|
1540
|
+
/**
|
|
1541
|
+
* Defines values for WeekDay.
|
|
1542
|
+
* Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
|
|
1543
|
+
* 'Saturday'
|
|
1544
|
+
* @readonly
|
|
1545
|
+
* @enum {string}
|
|
1546
|
+
*/
|
|
1547
|
+
export declare type WeekDay = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
|
|
1548
|
+
/**
|
|
1549
|
+
* Contains response data for the list operation.
|
|
1625
1550
|
*/
|
|
1626
|
-
export declare type
|
|
1551
|
+
export declare type OperationsListResponse = OperationListResult & {
|
|
1627
1552
|
/**
|
|
1628
1553
|
* The underlying HTTP response.
|
|
1629
1554
|
*/
|
|
@@ -1635,13 +1560,13 @@ export declare type ProviderOperationsListNextResponse = ProviderOperationResult
|
|
|
1635
1560
|
/**
|
|
1636
1561
|
* The response body as parsed JSON or XML
|
|
1637
1562
|
*/
|
|
1638
|
-
parsedBody:
|
|
1563
|
+
parsedBody: OperationListResult;
|
|
1639
1564
|
};
|
|
1640
1565
|
};
|
|
1641
1566
|
/**
|
|
1642
|
-
* Contains response data for the
|
|
1567
|
+
* Contains response data for the listNext operation.
|
|
1643
1568
|
*/
|
|
1644
|
-
export declare type
|
|
1569
|
+
export declare type OperationsListNextResponse = OperationListResult & {
|
|
1645
1570
|
/**
|
|
1646
1571
|
* The underlying HTTP response.
|
|
1647
1572
|
*/
|
|
@@ -1653,13 +1578,13 @@ export declare type GlobalUsersGetEnvironmentResponse = GetEnvironmentResponse &
|
|
|
1653
1578
|
/**
|
|
1654
1579
|
* The response body as parsed JSON or XML
|
|
1655
1580
|
*/
|
|
1656
|
-
parsedBody:
|
|
1581
|
+
parsedBody: OperationListResult;
|
|
1657
1582
|
};
|
|
1658
1583
|
};
|
|
1659
1584
|
/**
|
|
1660
|
-
* Contains response data for the
|
|
1585
|
+
* Contains response data for the get operation.
|
|
1661
1586
|
*/
|
|
1662
|
-
export declare type
|
|
1587
|
+
export declare type OperationResultsGetResponse = OperationResult & {
|
|
1663
1588
|
/**
|
|
1664
1589
|
* The underlying HTTP response.
|
|
1665
1590
|
*/
|
|
@@ -1671,13 +1596,13 @@ export declare type GlobalUsersGetOperationBatchStatusResponse = OperationBatchS
|
|
|
1671
1596
|
/**
|
|
1672
1597
|
* The response body as parsed JSON or XML
|
|
1673
1598
|
*/
|
|
1674
|
-
parsedBody:
|
|
1599
|
+
parsedBody: OperationResult;
|
|
1675
1600
|
};
|
|
1676
1601
|
};
|
|
1677
1602
|
/**
|
|
1678
|
-
* Contains response data for the
|
|
1603
|
+
* Contains response data for the listBySubscription operation.
|
|
1679
1604
|
*/
|
|
1680
|
-
export declare type
|
|
1605
|
+
export declare type LabPlansListBySubscriptionResponse = PagedLabPlans & {
|
|
1681
1606
|
/**
|
|
1682
1607
|
* The underlying HTTP response.
|
|
1683
1608
|
*/
|
|
@@ -1689,13 +1614,13 @@ export declare type GlobalUsersGetOperationStatusResponse = OperationStatusRespo
|
|
|
1689
1614
|
/**
|
|
1690
1615
|
* The response body as parsed JSON or XML
|
|
1691
1616
|
*/
|
|
1692
|
-
parsedBody:
|
|
1617
|
+
parsedBody: PagedLabPlans;
|
|
1693
1618
|
};
|
|
1694
1619
|
};
|
|
1695
1620
|
/**
|
|
1696
|
-
* Contains response data for the
|
|
1621
|
+
* Contains response data for the listByResourceGroup operation.
|
|
1697
1622
|
*/
|
|
1698
|
-
export declare type
|
|
1623
|
+
export declare type LabPlansListByResourceGroupResponse = PagedLabPlans & {
|
|
1699
1624
|
/**
|
|
1700
1625
|
* The underlying HTTP response.
|
|
1701
1626
|
*/
|
|
@@ -1707,13 +1632,13 @@ export declare type GlobalUsersGetPersonalPreferencesResponse = GetPersonalPrefe
|
|
|
1707
1632
|
/**
|
|
1708
1633
|
* The response body as parsed JSON or XML
|
|
1709
1634
|
*/
|
|
1710
|
-
parsedBody:
|
|
1635
|
+
parsedBody: PagedLabPlans;
|
|
1711
1636
|
};
|
|
1712
1637
|
};
|
|
1713
1638
|
/**
|
|
1714
|
-
* Contains response data for the
|
|
1639
|
+
* Contains response data for the get operation.
|
|
1715
1640
|
*/
|
|
1716
|
-
export declare type
|
|
1641
|
+
export declare type LabPlansGetResponse = LabPlan & {
|
|
1717
1642
|
/**
|
|
1718
1643
|
* The underlying HTTP response.
|
|
1719
1644
|
*/
|
|
@@ -1725,13 +1650,13 @@ export declare type GlobalUsersListEnvironmentsResponse = ListEnvironmentsRespon
|
|
|
1725
1650
|
/**
|
|
1726
1651
|
* The response body as parsed JSON or XML
|
|
1727
1652
|
*/
|
|
1728
|
-
parsedBody:
|
|
1653
|
+
parsedBody: LabPlan;
|
|
1729
1654
|
};
|
|
1730
1655
|
};
|
|
1731
1656
|
/**
|
|
1732
|
-
* Contains response data for the
|
|
1657
|
+
* Contains response data for the createOrUpdate operation.
|
|
1733
1658
|
*/
|
|
1734
|
-
export declare type
|
|
1659
|
+
export declare type LabPlansCreateOrUpdateResponse = LabPlan & {
|
|
1735
1660
|
/**
|
|
1736
1661
|
* The underlying HTTP response.
|
|
1737
1662
|
*/
|
|
@@ -1743,13 +1668,13 @@ export declare type GlobalUsersListLabsResponse = ListLabsResponse & {
|
|
|
1743
1668
|
/**
|
|
1744
1669
|
* The response body as parsed JSON or XML
|
|
1745
1670
|
*/
|
|
1746
|
-
parsedBody:
|
|
1671
|
+
parsedBody: LabPlan;
|
|
1747
1672
|
};
|
|
1748
1673
|
};
|
|
1749
1674
|
/**
|
|
1750
|
-
* Contains response data for the
|
|
1675
|
+
* Contains response data for the update operation.
|
|
1751
1676
|
*/
|
|
1752
|
-
export declare type
|
|
1677
|
+
export declare type LabPlansUpdateResponse = LabPlan & {
|
|
1753
1678
|
/**
|
|
1754
1679
|
* The underlying HTTP response.
|
|
1755
1680
|
*/
|
|
@@ -1761,13 +1686,13 @@ export declare type LabAccountsListBySubscriptionResponse = ResponseWithContinua
|
|
|
1761
1686
|
/**
|
|
1762
1687
|
* The response body as parsed JSON or XML
|
|
1763
1688
|
*/
|
|
1764
|
-
parsedBody:
|
|
1689
|
+
parsedBody: LabPlan;
|
|
1765
1690
|
};
|
|
1766
1691
|
};
|
|
1767
1692
|
/**
|
|
1768
|
-
* Contains response data for the
|
|
1693
|
+
* Contains response data for the beginCreateOrUpdate operation.
|
|
1769
1694
|
*/
|
|
1770
|
-
export declare type
|
|
1695
|
+
export declare type LabPlansBeginCreateOrUpdateResponse = LabPlan & {
|
|
1771
1696
|
/**
|
|
1772
1697
|
* The underlying HTTP response.
|
|
1773
1698
|
*/
|
|
@@ -1779,13 +1704,13 @@ export declare type LabAccountsListByResourceGroupResponse = ResponseWithContinu
|
|
|
1779
1704
|
/**
|
|
1780
1705
|
* The response body as parsed JSON or XML
|
|
1781
1706
|
*/
|
|
1782
|
-
parsedBody:
|
|
1707
|
+
parsedBody: LabPlan;
|
|
1783
1708
|
};
|
|
1784
1709
|
};
|
|
1785
1710
|
/**
|
|
1786
|
-
* Contains response data for the
|
|
1711
|
+
* Contains response data for the beginUpdate operation.
|
|
1787
1712
|
*/
|
|
1788
|
-
export declare type
|
|
1713
|
+
export declare type LabPlansBeginUpdateResponse = LabPlan & {
|
|
1789
1714
|
/**
|
|
1790
1715
|
* The underlying HTTP response.
|
|
1791
1716
|
*/
|
|
@@ -1797,13 +1722,13 @@ export declare type LabAccountsGetResponse = LabAccount & {
|
|
|
1797
1722
|
/**
|
|
1798
1723
|
* The response body as parsed JSON or XML
|
|
1799
1724
|
*/
|
|
1800
|
-
parsedBody:
|
|
1725
|
+
parsedBody: LabPlan;
|
|
1801
1726
|
};
|
|
1802
1727
|
};
|
|
1803
1728
|
/**
|
|
1804
|
-
* Contains response data for the
|
|
1729
|
+
* Contains response data for the listBySubscriptionNext operation.
|
|
1805
1730
|
*/
|
|
1806
|
-
export declare type
|
|
1731
|
+
export declare type LabPlansListBySubscriptionNextResponse = PagedLabPlans & {
|
|
1807
1732
|
/**
|
|
1808
1733
|
* The underlying HTTP response.
|
|
1809
1734
|
*/
|
|
@@ -1815,13 +1740,13 @@ export declare type LabAccountsCreateOrUpdateResponse = LabAccount & {
|
|
|
1815
1740
|
/**
|
|
1816
1741
|
* The response body as parsed JSON or XML
|
|
1817
1742
|
*/
|
|
1818
|
-
parsedBody:
|
|
1743
|
+
parsedBody: PagedLabPlans;
|
|
1819
1744
|
};
|
|
1820
1745
|
};
|
|
1821
1746
|
/**
|
|
1822
|
-
* Contains response data for the
|
|
1747
|
+
* Contains response data for the listByResourceGroupNext operation.
|
|
1823
1748
|
*/
|
|
1824
|
-
export declare type
|
|
1749
|
+
export declare type LabPlansListByResourceGroupNextResponse = PagedLabPlans & {
|
|
1825
1750
|
/**
|
|
1826
1751
|
* The underlying HTTP response.
|
|
1827
1752
|
*/
|
|
@@ -1833,13 +1758,13 @@ export declare type LabAccountsUpdateResponse = LabAccount & {
|
|
|
1833
1758
|
/**
|
|
1834
1759
|
* The response body as parsed JSON or XML
|
|
1835
1760
|
*/
|
|
1836
|
-
parsedBody:
|
|
1761
|
+
parsedBody: PagedLabPlans;
|
|
1837
1762
|
};
|
|
1838
1763
|
};
|
|
1839
1764
|
/**
|
|
1840
|
-
* Contains response data for the
|
|
1765
|
+
* Contains response data for the listByLabPlan operation.
|
|
1841
1766
|
*/
|
|
1842
|
-
export declare type
|
|
1767
|
+
export declare type ImagesListByLabPlanResponse = PagedImages & {
|
|
1843
1768
|
/**
|
|
1844
1769
|
* The underlying HTTP response.
|
|
1845
1770
|
*/
|
|
@@ -1851,13 +1776,13 @@ export declare type LabAccountsGetRegionalAvailabilityResponse = GetRegionalAvai
|
|
|
1851
1776
|
/**
|
|
1852
1777
|
* The response body as parsed JSON or XML
|
|
1853
1778
|
*/
|
|
1854
|
-
parsedBody:
|
|
1779
|
+
parsedBody: PagedImages;
|
|
1855
1780
|
};
|
|
1856
1781
|
};
|
|
1857
1782
|
/**
|
|
1858
|
-
* Contains response data for the
|
|
1783
|
+
* Contains response data for the get operation.
|
|
1859
1784
|
*/
|
|
1860
|
-
export declare type
|
|
1785
|
+
export declare type ImagesGetResponse = Image & {
|
|
1861
1786
|
/**
|
|
1862
1787
|
* The underlying HTTP response.
|
|
1863
1788
|
*/
|
|
@@ -1869,13 +1794,13 @@ export declare type LabAccountsListBySubscriptionNextResponse = ResponseWithCont
|
|
|
1869
1794
|
/**
|
|
1870
1795
|
* The response body as parsed JSON or XML
|
|
1871
1796
|
*/
|
|
1872
|
-
parsedBody:
|
|
1797
|
+
parsedBody: Image;
|
|
1873
1798
|
};
|
|
1874
1799
|
};
|
|
1875
1800
|
/**
|
|
1876
|
-
* Contains response data for the
|
|
1801
|
+
* Contains response data for the createOrUpdate operation.
|
|
1877
1802
|
*/
|
|
1878
|
-
export declare type
|
|
1803
|
+
export declare type ImagesCreateOrUpdateResponse = Image & {
|
|
1879
1804
|
/**
|
|
1880
1805
|
* The underlying HTTP response.
|
|
1881
1806
|
*/
|
|
@@ -1887,13 +1812,13 @@ export declare type LabAccountsListByResourceGroupNextResponse = ResponseWithCon
|
|
|
1887
1812
|
/**
|
|
1888
1813
|
* The response body as parsed JSON or XML
|
|
1889
1814
|
*/
|
|
1890
|
-
parsedBody:
|
|
1815
|
+
parsedBody: Image;
|
|
1891
1816
|
};
|
|
1892
1817
|
};
|
|
1893
1818
|
/**
|
|
1894
|
-
* Contains response data for the
|
|
1819
|
+
* Contains response data for the update operation.
|
|
1895
1820
|
*/
|
|
1896
|
-
export declare type
|
|
1821
|
+
export declare type ImagesUpdateResponse = Image & {
|
|
1897
1822
|
/**
|
|
1898
1823
|
* The underlying HTTP response.
|
|
1899
1824
|
*/
|
|
@@ -1905,13 +1830,13 @@ export declare type OperationsGetResponse = OperationResult & {
|
|
|
1905
1830
|
/**
|
|
1906
1831
|
* The response body as parsed JSON or XML
|
|
1907
1832
|
*/
|
|
1908
|
-
parsedBody:
|
|
1833
|
+
parsedBody: Image;
|
|
1909
1834
|
};
|
|
1910
1835
|
};
|
|
1911
1836
|
/**
|
|
1912
|
-
* Contains response data for the
|
|
1837
|
+
* Contains response data for the listByLabPlanNext operation.
|
|
1913
1838
|
*/
|
|
1914
|
-
export declare type
|
|
1839
|
+
export declare type ImagesListByLabPlanNextResponse = PagedImages & {
|
|
1915
1840
|
/**
|
|
1916
1841
|
* The underlying HTTP response.
|
|
1917
1842
|
*/
|
|
@@ -1923,13 +1848,13 @@ export declare type GalleryImagesListResponse = ResponseWithContinuationGalleryI
|
|
|
1923
1848
|
/**
|
|
1924
1849
|
* The response body as parsed JSON or XML
|
|
1925
1850
|
*/
|
|
1926
|
-
parsedBody:
|
|
1851
|
+
parsedBody: PagedImages;
|
|
1927
1852
|
};
|
|
1928
1853
|
};
|
|
1929
1854
|
/**
|
|
1930
|
-
* Contains response data for the
|
|
1855
|
+
* Contains response data for the listBySubscription operation.
|
|
1931
1856
|
*/
|
|
1932
|
-
export declare type
|
|
1857
|
+
export declare type LabsListBySubscriptionResponse = PagedLabs & {
|
|
1933
1858
|
/**
|
|
1934
1859
|
* The underlying HTTP response.
|
|
1935
1860
|
*/
|
|
@@ -1941,13 +1866,13 @@ export declare type GalleryImagesGetResponse = GalleryImage & {
|
|
|
1941
1866
|
/**
|
|
1942
1867
|
* The response body as parsed JSON or XML
|
|
1943
1868
|
*/
|
|
1944
|
-
parsedBody:
|
|
1869
|
+
parsedBody: PagedLabs;
|
|
1945
1870
|
};
|
|
1946
1871
|
};
|
|
1947
1872
|
/**
|
|
1948
|
-
* Contains response data for the
|
|
1873
|
+
* Contains response data for the listByResourceGroup operation.
|
|
1949
1874
|
*/
|
|
1950
|
-
export declare type
|
|
1875
|
+
export declare type LabsListByResourceGroupResponse = PagedLabs & {
|
|
1951
1876
|
/**
|
|
1952
1877
|
* The underlying HTTP response.
|
|
1953
1878
|
*/
|
|
@@ -1959,13 +1884,13 @@ export declare type GalleryImagesCreateOrUpdateResponse = GalleryImage & {
|
|
|
1959
1884
|
/**
|
|
1960
1885
|
* The response body as parsed JSON or XML
|
|
1961
1886
|
*/
|
|
1962
|
-
parsedBody:
|
|
1887
|
+
parsedBody: PagedLabs;
|
|
1963
1888
|
};
|
|
1964
1889
|
};
|
|
1965
1890
|
/**
|
|
1966
|
-
* Contains response data for the
|
|
1891
|
+
* Contains response data for the get operation.
|
|
1967
1892
|
*/
|
|
1968
|
-
export declare type
|
|
1893
|
+
export declare type LabsGetResponse = Lab & {
|
|
1969
1894
|
/**
|
|
1970
1895
|
* The underlying HTTP response.
|
|
1971
1896
|
*/
|
|
@@ -1977,13 +1902,13 @@ export declare type GalleryImagesUpdateResponse = GalleryImage & {
|
|
|
1977
1902
|
/**
|
|
1978
1903
|
* The response body as parsed JSON or XML
|
|
1979
1904
|
*/
|
|
1980
|
-
parsedBody:
|
|
1905
|
+
parsedBody: Lab;
|
|
1981
1906
|
};
|
|
1982
1907
|
};
|
|
1983
1908
|
/**
|
|
1984
|
-
* Contains response data for the
|
|
1909
|
+
* Contains response data for the createOrUpdate operation.
|
|
1985
1910
|
*/
|
|
1986
|
-
export declare type
|
|
1911
|
+
export declare type LabsCreateOrUpdateResponse = Lab & {
|
|
1987
1912
|
/**
|
|
1988
1913
|
* The underlying HTTP response.
|
|
1989
1914
|
*/
|
|
@@ -1995,13 +1920,13 @@ export declare type GalleryImagesListNextResponse = ResponseWithContinuationGall
|
|
|
1995
1920
|
/**
|
|
1996
1921
|
* The response body as parsed JSON or XML
|
|
1997
1922
|
*/
|
|
1998
|
-
parsedBody:
|
|
1923
|
+
parsedBody: Lab;
|
|
1999
1924
|
};
|
|
2000
1925
|
};
|
|
2001
1926
|
/**
|
|
2002
|
-
* Contains response data for the
|
|
1927
|
+
* Contains response data for the update operation.
|
|
2003
1928
|
*/
|
|
2004
|
-
export declare type
|
|
1929
|
+
export declare type LabsUpdateResponse = Lab & {
|
|
2005
1930
|
/**
|
|
2006
1931
|
* The underlying HTTP response.
|
|
2007
1932
|
*/
|
|
@@ -2013,13 +1938,13 @@ export declare type LabsListResponse = ResponseWithContinuationLab & {
|
|
|
2013
1938
|
/**
|
|
2014
1939
|
* The response body as parsed JSON or XML
|
|
2015
1940
|
*/
|
|
2016
|
-
parsedBody:
|
|
1941
|
+
parsedBody: Lab;
|
|
2017
1942
|
};
|
|
2018
1943
|
};
|
|
2019
1944
|
/**
|
|
2020
|
-
* Contains response data for the
|
|
1945
|
+
* Contains response data for the beginCreateOrUpdate operation.
|
|
2021
1946
|
*/
|
|
2022
|
-
export declare type
|
|
1947
|
+
export declare type LabsBeginCreateOrUpdateResponse = Lab & {
|
|
2023
1948
|
/**
|
|
2024
1949
|
* The underlying HTTP response.
|
|
2025
1950
|
*/
|
|
@@ -2035,9 +1960,9 @@ export declare type LabsGetResponse = Lab & {
|
|
|
2035
1960
|
};
|
|
2036
1961
|
};
|
|
2037
1962
|
/**
|
|
2038
|
-
* Contains response data for the
|
|
1963
|
+
* Contains response data for the beginUpdate operation.
|
|
2039
1964
|
*/
|
|
2040
|
-
export declare type
|
|
1965
|
+
export declare type LabsBeginUpdateResponse = Lab & {
|
|
2041
1966
|
/**
|
|
2042
1967
|
* The underlying HTTP response.
|
|
2043
1968
|
*/
|
|
@@ -2053,9 +1978,9 @@ export declare type LabsCreateOrUpdateResponse = Lab & {
|
|
|
2053
1978
|
};
|
|
2054
1979
|
};
|
|
2055
1980
|
/**
|
|
2056
|
-
* Contains response data for the
|
|
1981
|
+
* Contains response data for the listBySubscriptionNext operation.
|
|
2057
1982
|
*/
|
|
2058
|
-
export declare type
|
|
1983
|
+
export declare type LabsListBySubscriptionNextResponse = PagedLabs & {
|
|
2059
1984
|
/**
|
|
2060
1985
|
* The underlying HTTP response.
|
|
2061
1986
|
*/
|
|
@@ -2067,13 +1992,13 @@ export declare type LabsUpdateResponse = Lab & {
|
|
|
2067
1992
|
/**
|
|
2068
1993
|
* The response body as parsed JSON or XML
|
|
2069
1994
|
*/
|
|
2070
|
-
parsedBody:
|
|
1995
|
+
parsedBody: PagedLabs;
|
|
2071
1996
|
};
|
|
2072
1997
|
};
|
|
2073
1998
|
/**
|
|
2074
|
-
* Contains response data for the
|
|
1999
|
+
* Contains response data for the listByResourceGroupNext operation.
|
|
2075
2000
|
*/
|
|
2076
|
-
export declare type
|
|
2001
|
+
export declare type LabsListByResourceGroupNextResponse = PagedLabs & {
|
|
2077
2002
|
/**
|
|
2078
2003
|
* The underlying HTTP response.
|
|
2079
2004
|
*/
|
|
@@ -2085,13 +2010,13 @@ export declare type LabsListNextResponse = ResponseWithContinuationLab & {
|
|
|
2085
2010
|
/**
|
|
2086
2011
|
* The response body as parsed JSON or XML
|
|
2087
2012
|
*/
|
|
2088
|
-
parsedBody:
|
|
2013
|
+
parsedBody: PagedLabs;
|
|
2089
2014
|
};
|
|
2090
2015
|
};
|
|
2091
2016
|
/**
|
|
2092
|
-
* Contains response data for the
|
|
2017
|
+
* Contains response data for the listByLab operation.
|
|
2093
2018
|
*/
|
|
2094
|
-
export declare type
|
|
2019
|
+
export declare type UsersListByLabResponse = PagedUsers & {
|
|
2095
2020
|
/**
|
|
2096
2021
|
* The underlying HTTP response.
|
|
2097
2022
|
*/
|
|
@@ -2103,13 +2028,13 @@ export declare type EnvironmentSettingsListResponse = ResponseWithContinuationEn
|
|
|
2103
2028
|
/**
|
|
2104
2029
|
* The response body as parsed JSON or XML
|
|
2105
2030
|
*/
|
|
2106
|
-
parsedBody:
|
|
2031
|
+
parsedBody: PagedUsers;
|
|
2107
2032
|
};
|
|
2108
2033
|
};
|
|
2109
2034
|
/**
|
|
2110
2035
|
* Contains response data for the get operation.
|
|
2111
2036
|
*/
|
|
2112
|
-
export declare type
|
|
2037
|
+
export declare type UsersGetResponse = User & {
|
|
2113
2038
|
/**
|
|
2114
2039
|
* The underlying HTTP response.
|
|
2115
2040
|
*/
|
|
@@ -2121,13 +2046,13 @@ export declare type EnvironmentSettingsGetResponse = EnvironmentSetting & {
|
|
|
2121
2046
|
/**
|
|
2122
2047
|
* The response body as parsed JSON or XML
|
|
2123
2048
|
*/
|
|
2124
|
-
parsedBody:
|
|
2049
|
+
parsedBody: User;
|
|
2125
2050
|
};
|
|
2126
2051
|
};
|
|
2127
2052
|
/**
|
|
2128
2053
|
* Contains response data for the createOrUpdate operation.
|
|
2129
2054
|
*/
|
|
2130
|
-
export declare type
|
|
2055
|
+
export declare type UsersCreateOrUpdateResponse = User & {
|
|
2131
2056
|
/**
|
|
2132
2057
|
* The underlying HTTP response.
|
|
2133
2058
|
*/
|
|
@@ -2139,13 +2064,13 @@ export declare type EnvironmentSettingsCreateOrUpdateResponse = EnvironmentSetti
|
|
|
2139
2064
|
/**
|
|
2140
2065
|
* The response body as parsed JSON or XML
|
|
2141
2066
|
*/
|
|
2142
|
-
parsedBody:
|
|
2067
|
+
parsedBody: User;
|
|
2143
2068
|
};
|
|
2144
2069
|
};
|
|
2145
2070
|
/**
|
|
2146
2071
|
* Contains response data for the update operation.
|
|
2147
2072
|
*/
|
|
2148
|
-
export declare type
|
|
2073
|
+
export declare type UsersUpdateResponse = User & {
|
|
2149
2074
|
/**
|
|
2150
2075
|
* The underlying HTTP response.
|
|
2151
2076
|
*/
|
|
@@ -2157,13 +2082,13 @@ export declare type EnvironmentSettingsUpdateResponse = EnvironmentSetting & {
|
|
|
2157
2082
|
/**
|
|
2158
2083
|
* The response body as parsed JSON or XML
|
|
2159
2084
|
*/
|
|
2160
|
-
parsedBody:
|
|
2085
|
+
parsedBody: User;
|
|
2161
2086
|
};
|
|
2162
2087
|
};
|
|
2163
2088
|
/**
|
|
2164
2089
|
* Contains response data for the beginCreateOrUpdate operation.
|
|
2165
2090
|
*/
|
|
2166
|
-
export declare type
|
|
2091
|
+
export declare type UsersBeginCreateOrUpdateResponse = User & {
|
|
2167
2092
|
/**
|
|
2168
2093
|
* The underlying HTTP response.
|
|
2169
2094
|
*/
|
|
@@ -2175,31 +2100,13 @@ export declare type EnvironmentSettingsBeginCreateOrUpdateResponse = Environment
|
|
|
2175
2100
|
/**
|
|
2176
2101
|
* The response body as parsed JSON or XML
|
|
2177
2102
|
*/
|
|
2178
|
-
parsedBody:
|
|
2179
|
-
};
|
|
2180
|
-
};
|
|
2181
|
-
/**
|
|
2182
|
-
* Contains response data for the listNext operation.
|
|
2183
|
-
*/
|
|
2184
|
-
export declare type EnvironmentSettingsListNextResponse = ResponseWithContinuationEnvironmentSetting & {
|
|
2185
|
-
/**
|
|
2186
|
-
* The underlying HTTP response.
|
|
2187
|
-
*/
|
|
2188
|
-
_response: msRest.HttpResponse & {
|
|
2189
|
-
/**
|
|
2190
|
-
* The response body as text (string format)
|
|
2191
|
-
*/
|
|
2192
|
-
bodyAsText: string;
|
|
2193
|
-
/**
|
|
2194
|
-
* The response body as parsed JSON or XML
|
|
2195
|
-
*/
|
|
2196
|
-
parsedBody: ResponseWithContinuationEnvironmentSetting;
|
|
2103
|
+
parsedBody: User;
|
|
2197
2104
|
};
|
|
2198
2105
|
};
|
|
2199
2106
|
/**
|
|
2200
|
-
* Contains response data for the
|
|
2107
|
+
* Contains response data for the beginUpdate operation.
|
|
2201
2108
|
*/
|
|
2202
|
-
export declare type
|
|
2109
|
+
export declare type UsersBeginUpdateResponse = User & {
|
|
2203
2110
|
/**
|
|
2204
2111
|
* The underlying HTTP response.
|
|
2205
2112
|
*/
|
|
@@ -2211,13 +2118,13 @@ export declare type EnvironmentsListResponse = ResponseWithContinuationEnvironme
|
|
|
2211
2118
|
/**
|
|
2212
2119
|
* The response body as parsed JSON or XML
|
|
2213
2120
|
*/
|
|
2214
|
-
parsedBody:
|
|
2121
|
+
parsedBody: User;
|
|
2215
2122
|
};
|
|
2216
2123
|
};
|
|
2217
2124
|
/**
|
|
2218
|
-
* Contains response data for the
|
|
2125
|
+
* Contains response data for the listByLabNext operation.
|
|
2219
2126
|
*/
|
|
2220
|
-
export declare type
|
|
2127
|
+
export declare type UsersListByLabNextResponse = PagedUsers & {
|
|
2221
2128
|
/**
|
|
2222
2129
|
* The underlying HTTP response.
|
|
2223
2130
|
*/
|
|
@@ -2229,13 +2136,13 @@ export declare type EnvironmentsGetResponse = Environment & {
|
|
|
2229
2136
|
/**
|
|
2230
2137
|
* The response body as parsed JSON or XML
|
|
2231
2138
|
*/
|
|
2232
|
-
parsedBody:
|
|
2139
|
+
parsedBody: PagedUsers;
|
|
2233
2140
|
};
|
|
2234
2141
|
};
|
|
2235
2142
|
/**
|
|
2236
|
-
* Contains response data for the
|
|
2143
|
+
* Contains response data for the listByLab operation.
|
|
2237
2144
|
*/
|
|
2238
|
-
export declare type
|
|
2145
|
+
export declare type VirtualMachinesListByLabResponse = PagedVirtualMachines & {
|
|
2239
2146
|
/**
|
|
2240
2147
|
* The underlying HTTP response.
|
|
2241
2148
|
*/
|
|
@@ -2247,13 +2154,13 @@ export declare type EnvironmentsCreateOrUpdateResponse = Environment & {
|
|
|
2247
2154
|
/**
|
|
2248
2155
|
* The response body as parsed JSON or XML
|
|
2249
2156
|
*/
|
|
2250
|
-
parsedBody:
|
|
2157
|
+
parsedBody: PagedVirtualMachines;
|
|
2251
2158
|
};
|
|
2252
2159
|
};
|
|
2253
2160
|
/**
|
|
2254
|
-
* Contains response data for the
|
|
2161
|
+
* Contains response data for the get operation.
|
|
2255
2162
|
*/
|
|
2256
|
-
export declare type
|
|
2163
|
+
export declare type VirtualMachinesGetResponse = VirtualMachine & {
|
|
2257
2164
|
/**
|
|
2258
2165
|
* The underlying HTTP response.
|
|
2259
2166
|
*/
|
|
@@ -2265,13 +2172,13 @@ export declare type EnvironmentsUpdateResponse = Environment & {
|
|
|
2265
2172
|
/**
|
|
2266
2173
|
* The response body as parsed JSON or XML
|
|
2267
2174
|
*/
|
|
2268
|
-
parsedBody:
|
|
2175
|
+
parsedBody: VirtualMachine;
|
|
2269
2176
|
};
|
|
2270
2177
|
};
|
|
2271
2178
|
/**
|
|
2272
|
-
* Contains response data for the
|
|
2179
|
+
* Contains response data for the listByLabNext operation.
|
|
2273
2180
|
*/
|
|
2274
|
-
export declare type
|
|
2181
|
+
export declare type VirtualMachinesListByLabNextResponse = PagedVirtualMachines & {
|
|
2275
2182
|
/**
|
|
2276
2183
|
* The underlying HTTP response.
|
|
2277
2184
|
*/
|
|
@@ -2283,13 +2190,13 @@ export declare type EnvironmentsListNextResponse = ResponseWithContinuationEnvir
|
|
|
2283
2190
|
/**
|
|
2284
2191
|
* The response body as parsed JSON or XML
|
|
2285
2192
|
*/
|
|
2286
|
-
parsedBody:
|
|
2193
|
+
parsedBody: PagedVirtualMachines;
|
|
2287
2194
|
};
|
|
2288
2195
|
};
|
|
2289
2196
|
/**
|
|
2290
|
-
* Contains response data for the
|
|
2197
|
+
* Contains response data for the listByLab operation.
|
|
2291
2198
|
*/
|
|
2292
|
-
export declare type
|
|
2199
|
+
export declare type SchedulesListByLabResponse = PagedSchedules & {
|
|
2293
2200
|
/**
|
|
2294
2201
|
* The underlying HTTP response.
|
|
2295
2202
|
*/
|
|
@@ -2301,13 +2208,13 @@ export declare type UsersListResponse = ResponseWithContinuationUser & {
|
|
|
2301
2208
|
/**
|
|
2302
2209
|
* The response body as parsed JSON or XML
|
|
2303
2210
|
*/
|
|
2304
|
-
parsedBody:
|
|
2211
|
+
parsedBody: PagedSchedules;
|
|
2305
2212
|
};
|
|
2306
2213
|
};
|
|
2307
2214
|
/**
|
|
2308
2215
|
* Contains response data for the get operation.
|
|
2309
2216
|
*/
|
|
2310
|
-
export declare type
|
|
2217
|
+
export declare type SchedulesGetResponse = Schedule & {
|
|
2311
2218
|
/**
|
|
2312
2219
|
* The underlying HTTP response.
|
|
2313
2220
|
*/
|
|
@@ -2319,13 +2226,13 @@ export declare type UsersGetResponse = User & {
|
|
|
2319
2226
|
/**
|
|
2320
2227
|
* The response body as parsed JSON or XML
|
|
2321
2228
|
*/
|
|
2322
|
-
parsedBody:
|
|
2229
|
+
parsedBody: Schedule;
|
|
2323
2230
|
};
|
|
2324
2231
|
};
|
|
2325
2232
|
/**
|
|
2326
2233
|
* Contains response data for the createOrUpdate operation.
|
|
2327
2234
|
*/
|
|
2328
|
-
export declare type
|
|
2235
|
+
export declare type SchedulesCreateOrUpdateResponse = Schedule & {
|
|
2329
2236
|
/**
|
|
2330
2237
|
* The underlying HTTP response.
|
|
2331
2238
|
*/
|
|
@@ -2337,13 +2244,13 @@ export declare type UsersCreateOrUpdateResponse = User & {
|
|
|
2337
2244
|
/**
|
|
2338
2245
|
* The response body as parsed JSON or XML
|
|
2339
2246
|
*/
|
|
2340
|
-
parsedBody:
|
|
2247
|
+
parsedBody: Schedule;
|
|
2341
2248
|
};
|
|
2342
2249
|
};
|
|
2343
2250
|
/**
|
|
2344
2251
|
* Contains response data for the update operation.
|
|
2345
2252
|
*/
|
|
2346
|
-
export declare type
|
|
2253
|
+
export declare type SchedulesUpdateResponse = Schedule & {
|
|
2347
2254
|
/**
|
|
2348
2255
|
* The underlying HTTP response.
|
|
2349
2256
|
*/
|
|
@@ -2355,13 +2262,13 @@ export declare type UsersUpdateResponse = User & {
|
|
|
2355
2262
|
/**
|
|
2356
2263
|
* The response body as parsed JSON or XML
|
|
2357
2264
|
*/
|
|
2358
|
-
parsedBody:
|
|
2265
|
+
parsedBody: Schedule;
|
|
2359
2266
|
};
|
|
2360
2267
|
};
|
|
2361
2268
|
/**
|
|
2362
|
-
* Contains response data for the
|
|
2269
|
+
* Contains response data for the listByLabNext operation.
|
|
2363
2270
|
*/
|
|
2364
|
-
export declare type
|
|
2271
|
+
export declare type SchedulesListByLabNextResponse = PagedSchedules & {
|
|
2365
2272
|
/**
|
|
2366
2273
|
* The underlying HTTP response.
|
|
2367
2274
|
*/
|
|
@@ -2373,7 +2280,7 @@ export declare type UsersListNextResponse = ResponseWithContinuationUser & {
|
|
|
2373
2280
|
/**
|
|
2374
2281
|
* The response body as parsed JSON or XML
|
|
2375
2282
|
*/
|
|
2376
|
-
parsedBody:
|
|
2283
|
+
parsedBody: PagedSchedules;
|
|
2377
2284
|
};
|
|
2378
2285
|
};
|
|
2379
2286
|
//# sourceMappingURL=index.d.ts.map
|