@azure/arm-labservices 3.1.1-alpha.20250619.1 → 3.1.1-alpha.20250718.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1198 +1,1198 @@
1
- ## API Report File for "@azure/arm-labservices"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
12
-
13
- // @public
14
- export type ActionType = string;
15
-
16
- // @public
17
- export interface AutoShutdownProfile {
18
- disconnectDelay?: string;
19
- idleDelay?: string;
20
- noConnectDelay?: string;
21
- shutdownOnDisconnect?: EnableState;
22
- shutdownOnIdle?: ShutdownOnIdleMode;
23
- shutdownWhenNotConnected?: EnableState;
24
- }
25
-
26
- // @public
27
- export interface ConnectionProfile {
28
- clientRdpAccess?: ConnectionType;
29
- clientSshAccess?: ConnectionType;
30
- webRdpAccess?: ConnectionType;
31
- webSshAccess?: ConnectionType;
32
- }
33
-
34
- // @public
35
- export type ConnectionType = "Public" | "Private" | "None";
36
-
37
- // @public
38
- export type CreatedByType = string;
39
-
40
- // @public
41
- export type CreateOption = "Image" | "TemplateVM";
42
-
43
- // @public
44
- export interface Credentials {
45
- password?: string;
46
- username: string;
47
- }
48
-
49
- // @public
50
- export type EnableState = "Enabled" | "Disabled";
51
-
52
- // @public
53
- export interface ErrorAdditionalInfo {
54
- readonly info?: Record<string, unknown>;
55
- readonly type?: string;
56
- }
57
-
58
- // @public
59
- export interface ErrorDetail {
60
- readonly additionalInfo?: ErrorAdditionalInfo[];
61
- readonly code?: string;
62
- readonly details?: ErrorDetail[];
63
- readonly message?: string;
64
- readonly target?: string;
65
- }
66
-
67
- // @public
68
- export interface ErrorResponse {
69
- error?: ErrorDetail;
70
- }
71
-
72
- // @public
73
- export function getContinuationToken(page: unknown): string | undefined;
74
-
75
- // @public
76
- export interface Identity {
77
- readonly principalId?: string;
78
- readonly tenantId?: string;
79
- type?: "SystemAssigned";
80
- }
81
-
82
- // @public
83
- export interface Image extends ProxyResource {
84
- readonly author?: string;
85
- availableRegions?: string[];
86
- readonly description?: string;
87
- readonly displayName?: string;
88
- enabledState?: EnableState;
89
- readonly iconUrl?: string;
90
- readonly offer?: string;
91
- readonly osState?: OsState;
92
- readonly osType?: OsType;
93
- readonly plan?: string;
94
- readonly provisioningState?: ProvisioningState;
95
- readonly publisher?: string;
96
- readonly sharedGalleryId?: string;
97
- readonly sku?: string;
98
- readonly systemData?: SystemData;
99
- readonly termsStatus?: EnableState;
100
- readonly version?: string;
101
- }
102
-
103
- // @public
104
- export interface ImageProperties extends ImageUpdateProperties {
105
- readonly author?: string;
106
- availableRegions?: string[];
107
- readonly description?: string;
108
- readonly displayName?: string;
109
- readonly iconUrl?: string;
110
- readonly offer?: string;
111
- readonly osState?: OsState;
112
- readonly osType?: OsType;
113
- readonly plan?: string;
114
- readonly provisioningState?: ProvisioningState;
115
- readonly publisher?: string;
116
- readonly sharedGalleryId?: string;
117
- readonly sku?: string;
118
- readonly termsStatus?: EnableState;
119
- readonly version?: string;
120
- }
121
-
122
- // @public
123
- export interface ImageReference {
124
- readonly exactVersion?: string;
125
- id?: string;
126
- offer?: string;
127
- publisher?: string;
128
- sku?: string;
129
- version?: string;
130
- }
131
-
132
- // @public
133
- export interface Images {
134
- createOrUpdate(resourceGroupName: string, labPlanName: string, imageName: string, body: Image, options?: ImagesCreateOrUpdateOptionalParams): Promise<ImagesCreateOrUpdateResponse>;
135
- get(resourceGroupName: string, labPlanName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<ImagesGetResponse>;
136
- listByLabPlan(resourceGroupName: string, labPlanName: string, options?: ImagesListByLabPlanOptionalParams): PagedAsyncIterableIterator<Image>;
137
- update(resourceGroupName: string, labPlanName: string, imageName: string, body: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<ImagesUpdateResponse>;
138
- }
139
-
140
- // @public
141
- export interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
142
- }
143
-
144
- // @public
145
- export type ImagesCreateOrUpdateResponse = Image;
146
-
147
- // @public
148
- export interface ImagesGetOptionalParams extends coreClient.OperationOptions {
149
- }
150
-
151
- // @public
152
- export type ImagesGetResponse = Image;
153
-
154
- // @public
155
- export interface ImagesListByLabPlanNextOptionalParams extends coreClient.OperationOptions {
156
- }
157
-
158
- // @public
159
- export type ImagesListByLabPlanNextResponse = PagedImages;
160
-
161
- // @public
162
- export interface ImagesListByLabPlanOptionalParams extends coreClient.OperationOptions {
163
- filter?: string;
164
- }
165
-
166
- // @public
167
- export type ImagesListByLabPlanResponse = PagedImages;
168
-
169
- // @public
170
- export interface ImagesUpdateOptionalParams extends coreClient.OperationOptions {
171
- }
172
-
173
- // @public
174
- export type ImagesUpdateResponse = Image;
175
-
176
- // @public
177
- export interface ImageUpdate {
178
- enabledState?: EnableState;
179
- }
180
-
181
- // @public
182
- export interface ImageUpdateProperties {
183
- enabledState?: EnableState;
184
- }
185
-
186
- // @public
187
- export type InvitationState = "NotSent" | "Sending" | "Sent" | "Failed";
188
-
189
- // @public
190
- export interface InviteBody {
191
- text?: string;
192
- }
193
-
194
- // @public
195
- export enum KnownActionType {
196
- Internal = "Internal"
197
- }
198
-
199
- // @public
200
- export enum KnownCreatedByType {
201
- Application = "Application",
202
- Key = "Key",
203
- ManagedIdentity = "ManagedIdentity",
204
- User = "User"
205
- }
206
-
207
- // @public
208
- export enum KnownLabServicesSkuTier {
209
- Premium = "Premium",
210
- Standard = "Standard"
211
- }
212
-
213
- // @public
214
- export enum KnownOrigin {
215
- System = "system",
216
- User = "user",
217
- UserSystem = "user,system"
218
- }
219
-
220
- // @public
221
- export enum KnownRestrictionReasonCode {
222
- NotAvailableForSubscription = "NotAvailableForSubscription",
223
- QuotaId = "QuotaId"
224
- }
225
-
226
- // @public
227
- export enum KnownRestrictionType {
228
- Location = "Location"
229
- }
230
-
231
- // @public
232
- export enum KnownScaleType {
233
- Automatic = "Automatic",
234
- Manual = "Manual",
235
- None = "None"
236
- }
237
-
238
- // @public
239
- export enum KnownUsageUnit {
240
- Count = "Count"
241
- }
242
-
243
- // @public
244
- export interface Lab extends TrackedResource {
245
- autoShutdownProfile?: AutoShutdownProfile;
246
- connectionProfile?: ConnectionProfile;
247
- description?: string;
248
- labPlanId?: string;
249
- networkProfile?: LabNetworkProfile;
250
- readonly provisioningState?: ProvisioningState;
251
- rosterProfile?: RosterProfile;
252
- securityProfile?: SecurityProfile;
253
- readonly state?: LabState;
254
- readonly systemData?: SystemData;
255
- title?: string;
256
- virtualMachineProfile?: VirtualMachineProfile;
257
- }
258
-
259
- // @public
260
- export interface LabNetworkProfile {
261
- loadBalancerId?: string;
262
- publicIpId?: string;
263
- subnetId?: string;
264
- }
265
-
266
- // @public
267
- export interface LabPlan extends TrackedResource {
268
- allowedRegions?: string[];
269
- defaultAutoShutdownProfile?: AutoShutdownProfile;
270
- defaultConnectionProfile?: ConnectionProfile;
271
- defaultNetworkProfile?: LabPlanNetworkProfile;
272
- identity?: Identity;
273
- linkedLmsInstance?: string;
274
- readonly provisioningState?: ProvisioningState;
275
- sharedGalleryId?: string;
276
- supportInfo?: SupportInfo;
277
- readonly systemData?: SystemData;
278
- }
279
-
280
- // @public
281
- export interface LabPlanNetworkProfile {
282
- subnetId?: string;
283
- }
284
-
285
- // @public
286
- export interface LabPlanProperties extends LabPlanUpdateProperties {
287
- readonly provisioningState?: ProvisioningState;
288
- }
289
-
290
- // @public
291
- export interface LabPlans {
292
- beginCreateOrUpdate(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansCreateOrUpdateResponse>, LabPlansCreateOrUpdateResponse>>;
293
- beginCreateOrUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<LabPlansCreateOrUpdateResponse>;
294
- beginDelete(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
295
- beginDeleteAndWait(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<void>;
296
- beginSaveImage(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
297
- beginSaveImageAndWait(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<void>;
298
- beginUpdate(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansUpdateResponse>, LabPlansUpdateResponse>>;
299
- beginUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<LabPlansUpdateResponse>;
300
- get(resourceGroupName: string, labPlanName: string, options?: LabPlansGetOptionalParams): Promise<LabPlansGetResponse>;
301
- listByResourceGroup(resourceGroupName: string, options?: LabPlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LabPlan>;
302
- listBySubscription(options?: LabPlansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LabPlan>;
303
- }
304
-
305
- // @public
306
- export interface LabPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
307
- resumeFrom?: string;
308
- updateIntervalInMs?: number;
309
- }
310
-
311
- // @public
312
- export type LabPlansCreateOrUpdateResponse = LabPlan;
313
-
314
- // @public
315
- export interface LabPlansDeleteOptionalParams extends coreClient.OperationOptions {
316
- resumeFrom?: string;
317
- updateIntervalInMs?: number;
318
- }
319
-
320
- // @public
321
- export interface LabPlansGetOptionalParams extends coreClient.OperationOptions {
322
- }
323
-
324
- // @public
325
- export type LabPlansGetResponse = LabPlan;
326
-
327
- // @public
328
- export interface LabPlansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
329
- }
330
-
331
- // @public
332
- export type LabPlansListByResourceGroupNextResponse = PagedLabPlans;
333
-
334
- // @public
335
- export interface LabPlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
336
- }
337
-
338
- // @public
339
- export type LabPlansListByResourceGroupResponse = PagedLabPlans;
340
-
341
- // @public
342
- export interface LabPlansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
343
- }
344
-
345
- // @public
346
- export type LabPlansListBySubscriptionNextResponse = PagedLabPlans;
347
-
348
- // @public
349
- export interface LabPlansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
350
- filter?: string;
351
- }
352
-
353
- // @public
354
- export type LabPlansListBySubscriptionResponse = PagedLabPlans;
355
-
356
- // @public
357
- export interface LabPlansSaveImageOptionalParams extends coreClient.OperationOptions {
358
- resumeFrom?: string;
359
- updateIntervalInMs?: number;
360
- }
361
-
362
- // @public
363
- export interface LabPlansUpdateOptionalParams extends coreClient.OperationOptions {
364
- resumeFrom?: string;
365
- updateIntervalInMs?: number;
366
- }
367
-
368
- // @public
369
- export type LabPlansUpdateResponse = LabPlan;
370
-
371
- // @public
372
- export interface LabPlanUpdate extends TrackedResourceUpdate {
373
- allowedRegions?: string[];
374
- defaultAutoShutdownProfile?: AutoShutdownProfile;
375
- defaultConnectionProfile?: ConnectionProfile;
376
- defaultNetworkProfile?: LabPlanNetworkProfile;
377
- identity?: Identity;
378
- linkedLmsInstance?: string;
379
- sharedGalleryId?: string;
380
- supportInfo?: SupportInfo;
381
- }
382
-
383
- // @public
384
- export interface LabPlanUpdateProperties {
385
- allowedRegions?: string[];
386
- defaultAutoShutdownProfile?: AutoShutdownProfile;
387
- defaultConnectionProfile?: ConnectionProfile;
388
- defaultNetworkProfile?: LabPlanNetworkProfile;
389
- linkedLmsInstance?: string;
390
- sharedGalleryId?: string;
391
- supportInfo?: SupportInfo;
392
- }
393
-
394
- // @public
395
- export interface LabProperties extends LabUpdateProperties {
396
- networkProfile?: LabNetworkProfile;
397
- readonly provisioningState?: ProvisioningState;
398
- readonly state?: LabState;
399
- }
400
-
401
- // @public
402
- export interface Labs {
403
- beginCreateOrUpdate(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsCreateOrUpdateResponse>, LabsCreateOrUpdateResponse>>;
404
- beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<LabsCreateOrUpdateResponse>;
405
- beginDelete(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
406
- beginDeleteAndWait(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<void>;
407
- beginPublish(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
408
- beginPublishAndWait(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<void>;
409
- beginSyncGroup(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
410
- beginSyncGroupAndWait(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<void>;
411
- beginUpdate(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsUpdateResponse>, LabsUpdateResponse>>;
412
- beginUpdateAndWait(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<LabsUpdateResponse>;
413
- get(resourceGroupName: string, labName: string, options?: LabsGetOptionalParams): Promise<LabsGetResponse>;
414
- listByResourceGroup(resourceGroupName: string, options?: LabsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Lab>;
415
- listBySubscription(options?: LabsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Lab>;
416
- }
417
-
418
- // @public
419
- export interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
420
- resumeFrom?: string;
421
- updateIntervalInMs?: number;
422
- }
423
-
424
- // @public
425
- export type LabsCreateOrUpdateResponse = Lab;
426
-
427
- // @public
428
- export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
429
- resumeFrom?: string;
430
- updateIntervalInMs?: number;
431
- }
432
-
433
- // @public (undocumented)
434
- export class LabServicesClient extends coreClient.ServiceClient {
435
- // (undocumented)
436
- $host: string;
437
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LabServicesClientOptionalParams);
438
- // (undocumented)
439
- apiVersion: string;
440
- // (undocumented)
441
- images: Images;
442
- // (undocumented)
443
- labPlans: LabPlans;
444
- // (undocumented)
445
- labs: Labs;
446
- // (undocumented)
447
- operationResults: OperationResults;
448
- // (undocumented)
449
- operations: Operations;
450
- // (undocumented)
451
- schedules: Schedules;
452
- // (undocumented)
453
- skus: Skus;
454
- // (undocumented)
455
- subscriptionId: string;
456
- // (undocumented)
457
- usages: Usages;
458
- // (undocumented)
459
- users: Users;
460
- // (undocumented)
461
- virtualMachines: VirtualMachines;
462
- }
463
-
464
- // @public
465
- export interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions {
466
- $host?: string;
467
- apiVersion?: string;
468
- endpoint?: string;
469
- }
470
-
471
- // @public
472
- export interface LabServicesSku {
473
- readonly capabilities?: LabServicesSkuCapabilities[];
474
- capacity?: LabServicesSkuCapacity;
475
- readonly costs?: LabServicesSkuCost[];
476
- readonly family?: string;
477
- readonly locations?: string[];
478
- readonly name?: string;
479
- readonly resourceType?: string;
480
- readonly restrictions?: LabServicesSkuRestrictions[];
481
- readonly size?: string;
482
- readonly tier?: LabServicesSkuTier;
483
- }
484
-
485
- // @public
486
- export interface LabServicesSkuCapabilities {
487
- readonly name?: string;
488
- readonly value?: string;
489
- }
490
-
491
- // @public
492
- export interface LabServicesSkuCapacity {
493
- readonly default?: number;
494
- readonly maximum?: number;
495
- readonly minimum?: number;
496
- readonly scaleType?: ScaleType;
497
- }
498
-
499
- // @public
500
- export interface LabServicesSkuCost {
501
- readonly extendedUnit?: string;
502
- readonly meterId?: string;
503
- readonly quantity?: number;
504
- }
505
-
506
- // @public
507
- export interface LabServicesSkuRestrictions {
508
- readonly reasonCode?: RestrictionReasonCode;
509
- readonly type?: RestrictionType;
510
- readonly values?: string[];
511
- }
512
-
513
- // @public
514
- export type LabServicesSkuTier = string;
515
-
516
- // @public
517
- export interface LabsGetOptionalParams extends coreClient.OperationOptions {
518
- }
519
-
520
- // @public
521
- export type LabsGetResponse = Lab;
522
-
523
- // @public
524
- export interface LabsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
525
- }
526
-
527
- // @public
528
- export type LabsListByResourceGroupNextResponse = PagedLabs;
529
-
530
- // @public
531
- export interface LabsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
532
- }
533
-
534
- // @public
535
- export type LabsListByResourceGroupResponse = PagedLabs;
536
-
537
- // @public
538
- export interface LabsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
539
- }
540
-
541
- // @public
542
- export type LabsListBySubscriptionNextResponse = PagedLabs;
543
-
544
- // @public
545
- export interface LabsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
546
- filter?: string;
547
- }
548
-
549
- // @public
550
- export type LabsListBySubscriptionResponse = PagedLabs;
551
-
552
- // @public
553
- export interface LabsPublishOptionalParams extends coreClient.OperationOptions {
554
- resumeFrom?: string;
555
- updateIntervalInMs?: number;
556
- }
557
-
558
- // @public
559
- export interface LabsSyncGroupOptionalParams extends coreClient.OperationOptions {
560
- resumeFrom?: string;
561
- updateIntervalInMs?: number;
562
- }
563
-
564
- // @public
565
- export type LabState = "Draft" | "Publishing" | "Scaling" | "Syncing" | "Published";
566
-
567
- // @public
568
- export interface LabsUpdateOptionalParams extends coreClient.OperationOptions {
569
- resumeFrom?: string;
570
- updateIntervalInMs?: number;
571
- }
572
-
573
- // @public
574
- export type LabsUpdateResponse = Lab;
575
-
576
- // @public
577
- export interface LabUpdate extends TrackedResourceUpdate {
578
- autoShutdownProfile?: AutoShutdownProfile;
579
- connectionProfile?: ConnectionProfile;
580
- description?: string;
581
- labPlanId?: string;
582
- rosterProfile?: RosterProfile;
583
- securityProfile?: SecurityProfile;
584
- title?: string;
585
- virtualMachineProfile?: VirtualMachineProfile;
586
- }
587
-
588
- // @public
589
- export interface LabUpdateProperties {
590
- autoShutdownProfile?: AutoShutdownProfile;
591
- connectionProfile?: ConnectionProfile;
592
- description?: string;
593
- labPlanId?: string;
594
- rosterProfile?: RosterProfile;
595
- securityProfile?: SecurityProfile;
596
- title?: string;
597
- virtualMachineProfile?: VirtualMachineProfile;
598
- }
599
-
600
- // @public
601
- export interface ListUsagesResult {
602
- readonly nextLink?: string;
603
- value?: Usage[];
604
- }
605
-
606
- // @public
607
- export interface Operation {
608
- readonly actionType?: ActionType;
609
- display?: OperationDisplay;
610
- readonly isDataAction?: boolean;
611
- readonly name?: string;
612
- readonly origin?: Origin;
613
- }
614
-
615
- // @public
616
- export interface OperationDisplay {
617
- readonly description?: string;
618
- readonly operation?: string;
619
- readonly provider?: string;
620
- readonly resource?: string;
621
- }
622
-
623
- // @public
624
- export interface OperationListResult {
625
- readonly nextLink?: string;
626
- readonly value?: Operation[];
627
- }
628
-
629
- // @public
630
- export interface OperationResult {
631
- endTime?: Date;
632
- error?: ErrorDetail;
633
- readonly id?: string;
634
- readonly name?: string;
635
- percentComplete?: number;
636
- startTime?: Date;
637
- status: OperationStatus;
638
- }
639
-
640
- // @public
641
- export interface OperationResults {
642
- get(operationResultId: string, options?: OperationResultsGetOptionalParams): Promise<OperationResultsGetResponse>;
643
- }
644
-
645
- // @public
646
- export interface OperationResultsGetOptionalParams extends coreClient.OperationOptions {
647
- }
648
-
649
- // @public
650
- export type OperationResultsGetResponse = OperationResult;
651
-
652
- // @public
653
- export interface Operations {
654
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
655
- }
656
-
657
- // @public
658
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
659
- }
660
-
661
- // @public
662
- export type OperationsListNextResponse = OperationListResult;
663
-
664
- // @public
665
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
666
- }
667
-
668
- // @public
669
- export type OperationsListResponse = OperationListResult;
670
-
671
- // @public
672
- export type OperationStatus = "NotStarted" | "InProgress" | "Succeeded" | "Failed" | "Canceled";
673
-
674
- // @public
675
- export type Origin = string;
676
-
677
- // @public
678
- export type OsState = "Generalized" | "Specialized";
679
-
680
- // @public
681
- export type OsType = "Windows" | "Linux";
682
-
683
- // @public
684
- export interface PagedImages {
685
- readonly nextLink?: string;
686
- readonly value?: Image[];
687
- }
688
-
689
- // @public
690
- export interface PagedLabPlans {
691
- readonly nextLink?: string;
692
- readonly value?: LabPlan[];
693
- }
694
-
695
- // @public
696
- export interface PagedLabs {
697
- readonly nextLink?: string;
698
- readonly value?: Lab[];
699
- }
700
-
701
- // @public
702
- export interface PagedLabServicesSkus {
703
- readonly nextLink?: string;
704
- readonly value?: LabServicesSku[];
705
- }
706
-
707
- // @public
708
- export interface PagedSchedules {
709
- readonly nextLink?: string;
710
- readonly value?: Schedule[];
711
- }
712
-
713
- // @public
714
- export interface PagedUsers {
715
- readonly nextLink?: string;
716
- readonly value?: User[];
717
- }
718
-
719
- // @public
720
- export interface PagedVirtualMachines {
721
- readonly nextLink?: string;
722
- readonly value?: VirtualMachine[];
723
- }
724
-
725
- // @public
726
- export type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";
727
-
728
- // @public
729
- export interface ProxyResource extends Resource {
730
- }
731
-
732
- // @public
733
- export type RecurrenceFrequency = "Daily" | "Weekly";
734
-
735
- // @public
736
- export interface RecurrencePattern {
737
- expirationDate: Date;
738
- frequency: RecurrenceFrequency;
739
- interval?: number;
740
- weekDays?: WeekDay[];
741
- }
742
-
743
- // @public
744
- export type RegistrationState = "Registered" | "NotRegistered";
745
-
746
- // @public
747
- export interface ResetPasswordBody {
748
- password: string;
749
- username: string;
750
- }
751
-
752
- // @public
753
- export interface Resource {
754
- readonly id?: string;
755
- readonly name?: string;
756
- readonly type?: string;
757
- }
758
-
759
- // @public
760
- export type RestrictionReasonCode = string;
761
-
762
- // @public
763
- export type RestrictionType = string;
764
-
765
- // @public
766
- export interface RosterProfile {
767
- activeDirectoryGroupId?: string;
768
- lmsInstance?: string;
769
- ltiClientId?: string;
770
- ltiContextId?: string;
771
- ltiRosterEndpoint?: string;
772
- }
773
-
774
- // @public
775
- export interface SaveImageBody {
776
- labVirtualMachineId?: string;
777
- name?: string;
778
- }
779
-
780
- // @public
781
- export type ScaleType = string;
782
-
783
- // @public
784
- export interface Schedule extends ProxyResource {
785
- notes?: string;
786
- readonly provisioningState?: ProvisioningState;
787
- recurrencePattern?: RecurrencePattern;
788
- startAt?: Date;
789
- stopAt?: Date;
790
- readonly systemData?: SystemData;
791
- timeZoneId?: string;
792
- }
793
-
794
- // @public
795
- export interface ScheduleProperties extends ScheduleUpdateProperties {
796
- readonly provisioningState?: ProvisioningState;
797
- }
798
-
799
- // @public
800
- export interface Schedules {
801
- beginDelete(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
802
- beginDeleteAndWait(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<void>;
803
- createOrUpdate(resourceGroupName: string, labName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<SchedulesCreateOrUpdateResponse>;
804
- get(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesGetOptionalParams): Promise<SchedulesGetResponse>;
805
- listByLab(resourceGroupName: string, labName: string, options?: SchedulesListByLabOptionalParams): PagedAsyncIterableIterator<Schedule>;
806
- update(resourceGroupName: string, labName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise<SchedulesUpdateResponse>;
807
- }
808
-
809
- // @public
810
- export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
811
- }
812
-
813
- // @public
814
- export type SchedulesCreateOrUpdateResponse = Schedule;
815
-
816
- // @public
817
- export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions {
818
- resumeFrom?: string;
819
- updateIntervalInMs?: number;
820
- }
821
-
822
- // @public
823
- export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {
824
- }
825
-
826
- // @public
827
- export type SchedulesGetResponse = Schedule;
828
-
829
- // @public
830
- export interface SchedulesListByLabNextOptionalParams extends coreClient.OperationOptions {
831
- }
832
-
833
- // @public
834
- export type SchedulesListByLabNextResponse = PagedSchedules;
835
-
836
- // @public
837
- export interface SchedulesListByLabOptionalParams extends coreClient.OperationOptions {
838
- filter?: string;
839
- }
840
-
841
- // @public
842
- export type SchedulesListByLabResponse = PagedSchedules;
843
-
844
- // @public
845
- export interface SchedulesUpdateOptionalParams extends coreClient.OperationOptions {
846
- }
847
-
848
- // @public
849
- export type SchedulesUpdateResponse = Schedule;
850
-
851
- // @public
852
- export interface ScheduleUpdate {
853
- notes?: string;
854
- recurrencePattern?: RecurrencePattern;
855
- startAt?: Date;
856
- stopAt?: Date;
857
- timeZoneId?: string;
858
- }
859
-
860
- // @public
861
- export interface ScheduleUpdateProperties {
862
- notes?: string;
863
- recurrencePattern?: RecurrencePattern;
864
- startAt?: Date;
865
- stopAt?: Date;
866
- timeZoneId?: string;
867
- }
868
-
869
- // @public
870
- export interface SecurityProfile {
871
- openAccess?: EnableState;
872
- readonly registrationCode?: string;
873
- }
874
-
875
- // @public
876
- export type ShutdownOnIdleMode = "None" | "UserAbsence" | "LowUsage";
877
-
878
- // @public
879
- export interface Sku {
880
- capacity?: number;
881
- family?: string;
882
- name: string;
883
- size?: string;
884
- tier?: SkuTier;
885
- }
886
-
887
- // @public
888
- export interface Skus {
889
- list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<LabServicesSku>;
890
- }
891
-
892
- // @public
893
- export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
894
- }
895
-
896
- // @public
897
- export type SkusListNextResponse = PagedLabServicesSkus;
898
-
899
- // @public
900
- export interface SkusListOptionalParams extends coreClient.OperationOptions {
901
- filter?: string;
902
- }
903
-
904
- // @public
905
- export type SkusListResponse = PagedLabServicesSkus;
906
-
907
- // @public
908
- export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
909
-
910
- // @public
911
- export interface SupportInfo {
912
- email?: string;
913
- instructions?: string;
914
- phone?: string;
915
- url?: string;
916
- }
917
-
918
- // @public
919
- export interface SystemData {
920
- createdAt?: Date;
921
- createdBy?: string;
922
- createdByType?: CreatedByType;
923
- lastModifiedAt?: Date;
924
- lastModifiedBy?: string;
925
- lastModifiedByType?: CreatedByType;
926
- }
927
-
928
- // @public
929
- export interface TrackedResource extends Resource {
930
- location: string;
931
- tags?: {
932
- [propertyName: string]: string;
933
- };
934
- }
935
-
936
- // @public
937
- export interface TrackedResourceUpdate {
938
- tags?: string[];
939
- }
940
-
941
- // @public
942
- export interface Usage {
943
- currentValue?: number;
944
- id?: string;
945
- limit?: number;
946
- name?: UsageName;
947
- unit?: UsageUnit;
948
- }
949
-
950
- // @public
951
- export interface UsageName {
952
- localizedValue?: string;
953
- skuInstances?: string[];
954
- value?: string;
955
- }
956
-
957
- // @public
958
- export interface Usages {
959
- listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
960
- }
961
-
962
- // @public
963
- export interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
964
- }
965
-
966
- // @public
967
- export type UsagesListByLocationNextResponse = ListUsagesResult;
968
-
969
- // @public
970
- export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
971
- filter?: string;
972
- }
973
-
974
- // @public
975
- export type UsagesListByLocationResponse = ListUsagesResult;
976
-
977
- // @public
978
- export type UsageUnit = string;
979
-
980
- // @public
981
- export interface User extends ProxyResource {
982
- additionalUsageQuota?: string;
983
- readonly displayName?: string;
984
- email: string;
985
- readonly invitationSent?: Date;
986
- readonly invitationState?: InvitationState;
987
- readonly provisioningState?: ProvisioningState;
988
- readonly registrationState?: RegistrationState;
989
- readonly systemData?: SystemData;
990
- readonly totalUsage?: string;
991
- }
992
-
993
- // @public
994
- export interface UserProperties extends UserUpdateProperties {
995
- readonly displayName?: string;
996
- email: string;
997
- readonly invitationSent?: Date;
998
- readonly invitationState?: InvitationState;
999
- readonly provisioningState?: ProvisioningState;
1000
- readonly registrationState?: RegistrationState;
1001
- readonly totalUsage?: string;
1002
- }
1003
-
1004
- // @public
1005
- export interface Users {
1006
- beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersCreateOrUpdateResponse>, UsersCreateOrUpdateResponse>>;
1007
- beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<UsersCreateOrUpdateResponse>;
1008
- beginDelete(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1009
- beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<void>;
1010
- beginInvite(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1011
- beginInviteAndWait(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<void>;
1012
- beginUpdate(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>>;
1013
- beginUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<UsersUpdateResponse>;
1014
- get(resourceGroupName: string, labName: string, userName: string, options?: UsersGetOptionalParams): Promise<UsersGetResponse>;
1015
- listByLab(resourceGroupName: string, labName: string, options?: UsersListByLabOptionalParams): PagedAsyncIterableIterator<User>;
1016
- }
1017
-
1018
- // @public
1019
- export interface UsersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1020
- resumeFrom?: string;
1021
- updateIntervalInMs?: number;
1022
- }
1023
-
1024
- // @public
1025
- export type UsersCreateOrUpdateResponse = User;
1026
-
1027
- // @public
1028
- export interface UsersDeleteOptionalParams extends coreClient.OperationOptions {
1029
- resumeFrom?: string;
1030
- updateIntervalInMs?: number;
1031
- }
1032
-
1033
- // @public
1034
- export interface UsersGetOptionalParams extends coreClient.OperationOptions {
1035
- }
1036
-
1037
- // @public
1038
- export type UsersGetResponse = User;
1039
-
1040
- // @public
1041
- export interface UsersInviteOptionalParams extends coreClient.OperationOptions {
1042
- resumeFrom?: string;
1043
- updateIntervalInMs?: number;
1044
- }
1045
-
1046
- // @public
1047
- export interface UsersListByLabNextOptionalParams extends coreClient.OperationOptions {
1048
- }
1049
-
1050
- // @public
1051
- export type UsersListByLabNextResponse = PagedUsers;
1052
-
1053
- // @public
1054
- export interface UsersListByLabOptionalParams extends coreClient.OperationOptions {
1055
- filter?: string;
1056
- }
1057
-
1058
- // @public
1059
- export type UsersListByLabResponse = PagedUsers;
1060
-
1061
- // @public
1062
- export interface UsersUpdateOptionalParams extends coreClient.OperationOptions {
1063
- resumeFrom?: string;
1064
- updateIntervalInMs?: number;
1065
- }
1066
-
1067
- // @public
1068
- export type UsersUpdateResponse = User;
1069
-
1070
- // @public
1071
- export interface UserUpdate {
1072
- additionalUsageQuota?: string;
1073
- }
1074
-
1075
- // @public
1076
- export interface UserUpdateProperties {
1077
- additionalUsageQuota?: string;
1078
- }
1079
-
1080
- // @public
1081
- export interface VirtualMachine extends ProxyResource {
1082
- readonly claimedByUserId?: string;
1083
- readonly connectionProfile?: VirtualMachineConnectionProfile;
1084
- readonly provisioningState?: ProvisioningState;
1085
- readonly state?: VirtualMachineState;
1086
- readonly systemData?: SystemData;
1087
- readonly vmType?: VirtualMachineType;
1088
- }
1089
-
1090
- // @public
1091
- export interface VirtualMachineAdditionalCapabilities {
1092
- installGpuDrivers?: EnableState;
1093
- }
1094
-
1095
- // @public
1096
- export interface VirtualMachineConnectionProfile {
1097
- readonly adminUsername?: string;
1098
- readonly nonAdminUsername?: string;
1099
- readonly privateIpAddress?: string;
1100
- readonly rdpAuthority?: string;
1101
- readonly rdpInBrowserUrl?: string;
1102
- readonly sshAuthority?: string;
1103
- readonly sshInBrowserUrl?: string;
1104
- }
1105
-
1106
- // @public
1107
- export interface VirtualMachineProfile {
1108
- additionalCapabilities?: VirtualMachineAdditionalCapabilities;
1109
- adminUser: Credentials;
1110
- createOption: CreateOption;
1111
- imageReference: ImageReference;
1112
- nonAdminUser?: Credentials;
1113
- readonly osType?: OsType;
1114
- sku: Sku;
1115
- usageQuota: string;
1116
- useSharedPassword?: EnableState;
1117
- }
1118
-
1119
- // @public
1120
- export interface VirtualMachines {
1121
- beginRedeploy(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1122
- beginRedeployAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<void>;
1123
- beginReimage(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1124
- beginReimageAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<void>;
1125
- beginResetPassword(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1126
- beginResetPasswordAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<void>;
1127
- beginStart(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1128
- beginStartAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
1129
- beginStop(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1130
- beginStopAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
1131
- get(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
1132
- listByLab(resourceGroupName: string, labName: string, options?: VirtualMachinesListByLabOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1133
- }
1134
-
1135
- // @public
1136
- export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1137
- }
1138
-
1139
- // @public
1140
- export type VirtualMachinesGetResponse = VirtualMachine;
1141
-
1142
- // @public
1143
- export interface VirtualMachinesListByLabNextOptionalParams extends coreClient.OperationOptions {
1144
- }
1145
-
1146
- // @public
1147
- export type VirtualMachinesListByLabNextResponse = PagedVirtualMachines;
1148
-
1149
- // @public
1150
- export interface VirtualMachinesListByLabOptionalParams extends coreClient.OperationOptions {
1151
- filter?: string;
1152
- }
1153
-
1154
- // @public
1155
- export type VirtualMachinesListByLabResponse = PagedVirtualMachines;
1156
-
1157
- // @public
1158
- export interface VirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
1159
- resumeFrom?: string;
1160
- updateIntervalInMs?: number;
1161
- }
1162
-
1163
- // @public
1164
- export interface VirtualMachinesReimageOptionalParams extends coreClient.OperationOptions {
1165
- resumeFrom?: string;
1166
- updateIntervalInMs?: number;
1167
- }
1168
-
1169
- // @public
1170
- export interface VirtualMachinesResetPasswordOptionalParams extends coreClient.OperationOptions {
1171
- resumeFrom?: string;
1172
- updateIntervalInMs?: number;
1173
- }
1174
-
1175
- // @public
1176
- export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
1177
- resumeFrom?: string;
1178
- updateIntervalInMs?: number;
1179
- }
1180
-
1181
- // @public
1182
- export interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
1183
- resumeFrom?: string;
1184
- updateIntervalInMs?: number;
1185
- }
1186
-
1187
- // @public
1188
- export type VirtualMachineState = "Stopped" | "Starting" | "Running" | "Stopping" | "ResettingPassword" | "Reimaging" | "Redeploying";
1189
-
1190
- // @public
1191
- export type VirtualMachineType = "User" | "Template";
1192
-
1193
- // @public
1194
- export type WeekDay = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
1195
-
1196
- // (No @packageDocumentation comment for this package)
1197
-
1198
- ```
1
+ ## API Report File for "@azure/arm-labservices"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type ActionType = string;
15
+
16
+ // @public
17
+ export interface AutoShutdownProfile {
18
+ disconnectDelay?: string;
19
+ idleDelay?: string;
20
+ noConnectDelay?: string;
21
+ shutdownOnDisconnect?: EnableState;
22
+ shutdownOnIdle?: ShutdownOnIdleMode;
23
+ shutdownWhenNotConnected?: EnableState;
24
+ }
25
+
26
+ // @public
27
+ export interface ConnectionProfile {
28
+ clientRdpAccess?: ConnectionType;
29
+ clientSshAccess?: ConnectionType;
30
+ webRdpAccess?: ConnectionType;
31
+ webSshAccess?: ConnectionType;
32
+ }
33
+
34
+ // @public
35
+ export type ConnectionType = "Public" | "Private" | "None";
36
+
37
+ // @public
38
+ export type CreatedByType = string;
39
+
40
+ // @public
41
+ export type CreateOption = "Image" | "TemplateVM";
42
+
43
+ // @public
44
+ export interface Credentials {
45
+ password?: string;
46
+ username: string;
47
+ }
48
+
49
+ // @public
50
+ export type EnableState = "Enabled" | "Disabled";
51
+
52
+ // @public
53
+ export interface ErrorAdditionalInfo {
54
+ readonly info?: Record<string, unknown>;
55
+ readonly type?: string;
56
+ }
57
+
58
+ // @public
59
+ export interface ErrorDetail {
60
+ readonly additionalInfo?: ErrorAdditionalInfo[];
61
+ readonly code?: string;
62
+ readonly details?: ErrorDetail[];
63
+ readonly message?: string;
64
+ readonly target?: string;
65
+ }
66
+
67
+ // @public
68
+ export interface ErrorResponse {
69
+ error?: ErrorDetail;
70
+ }
71
+
72
+ // @public
73
+ export function getContinuationToken(page: unknown): string | undefined;
74
+
75
+ // @public
76
+ export interface Identity {
77
+ readonly principalId?: string;
78
+ readonly tenantId?: string;
79
+ type?: "SystemAssigned";
80
+ }
81
+
82
+ // @public
83
+ export interface Image extends ProxyResource {
84
+ readonly author?: string;
85
+ availableRegions?: string[];
86
+ readonly description?: string;
87
+ readonly displayName?: string;
88
+ enabledState?: EnableState;
89
+ readonly iconUrl?: string;
90
+ readonly offer?: string;
91
+ readonly osState?: OsState;
92
+ readonly osType?: OsType;
93
+ readonly plan?: string;
94
+ readonly provisioningState?: ProvisioningState;
95
+ readonly publisher?: string;
96
+ readonly sharedGalleryId?: string;
97
+ readonly sku?: string;
98
+ readonly systemData?: SystemData;
99
+ readonly termsStatus?: EnableState;
100
+ readonly version?: string;
101
+ }
102
+
103
+ // @public
104
+ export interface ImageProperties extends ImageUpdateProperties {
105
+ readonly author?: string;
106
+ availableRegions?: string[];
107
+ readonly description?: string;
108
+ readonly displayName?: string;
109
+ readonly iconUrl?: string;
110
+ readonly offer?: string;
111
+ readonly osState?: OsState;
112
+ readonly osType?: OsType;
113
+ readonly plan?: string;
114
+ readonly provisioningState?: ProvisioningState;
115
+ readonly publisher?: string;
116
+ readonly sharedGalleryId?: string;
117
+ readonly sku?: string;
118
+ readonly termsStatus?: EnableState;
119
+ readonly version?: string;
120
+ }
121
+
122
+ // @public
123
+ export interface ImageReference {
124
+ readonly exactVersion?: string;
125
+ id?: string;
126
+ offer?: string;
127
+ publisher?: string;
128
+ sku?: string;
129
+ version?: string;
130
+ }
131
+
132
+ // @public
133
+ export interface Images {
134
+ createOrUpdate(resourceGroupName: string, labPlanName: string, imageName: string, body: Image, options?: ImagesCreateOrUpdateOptionalParams): Promise<ImagesCreateOrUpdateResponse>;
135
+ get(resourceGroupName: string, labPlanName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<ImagesGetResponse>;
136
+ listByLabPlan(resourceGroupName: string, labPlanName: string, options?: ImagesListByLabPlanOptionalParams): PagedAsyncIterableIterator<Image>;
137
+ update(resourceGroupName: string, labPlanName: string, imageName: string, body: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<ImagesUpdateResponse>;
138
+ }
139
+
140
+ // @public
141
+ export interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
142
+ }
143
+
144
+ // @public
145
+ export type ImagesCreateOrUpdateResponse = Image;
146
+
147
+ // @public
148
+ export interface ImagesGetOptionalParams extends coreClient.OperationOptions {
149
+ }
150
+
151
+ // @public
152
+ export type ImagesGetResponse = Image;
153
+
154
+ // @public
155
+ export interface ImagesListByLabPlanNextOptionalParams extends coreClient.OperationOptions {
156
+ }
157
+
158
+ // @public
159
+ export type ImagesListByLabPlanNextResponse = PagedImages;
160
+
161
+ // @public
162
+ export interface ImagesListByLabPlanOptionalParams extends coreClient.OperationOptions {
163
+ filter?: string;
164
+ }
165
+
166
+ // @public
167
+ export type ImagesListByLabPlanResponse = PagedImages;
168
+
169
+ // @public
170
+ export interface ImagesUpdateOptionalParams extends coreClient.OperationOptions {
171
+ }
172
+
173
+ // @public
174
+ export type ImagesUpdateResponse = Image;
175
+
176
+ // @public
177
+ export interface ImageUpdate {
178
+ enabledState?: EnableState;
179
+ }
180
+
181
+ // @public
182
+ export interface ImageUpdateProperties {
183
+ enabledState?: EnableState;
184
+ }
185
+
186
+ // @public
187
+ export type InvitationState = "NotSent" | "Sending" | "Sent" | "Failed";
188
+
189
+ // @public
190
+ export interface InviteBody {
191
+ text?: string;
192
+ }
193
+
194
+ // @public
195
+ export enum KnownActionType {
196
+ Internal = "Internal"
197
+ }
198
+
199
+ // @public
200
+ export enum KnownCreatedByType {
201
+ Application = "Application",
202
+ Key = "Key",
203
+ ManagedIdentity = "ManagedIdentity",
204
+ User = "User"
205
+ }
206
+
207
+ // @public
208
+ export enum KnownLabServicesSkuTier {
209
+ Premium = "Premium",
210
+ Standard = "Standard"
211
+ }
212
+
213
+ // @public
214
+ export enum KnownOrigin {
215
+ System = "system",
216
+ User = "user",
217
+ UserSystem = "user,system"
218
+ }
219
+
220
+ // @public
221
+ export enum KnownRestrictionReasonCode {
222
+ NotAvailableForSubscription = "NotAvailableForSubscription",
223
+ QuotaId = "QuotaId"
224
+ }
225
+
226
+ // @public
227
+ export enum KnownRestrictionType {
228
+ Location = "Location"
229
+ }
230
+
231
+ // @public
232
+ export enum KnownScaleType {
233
+ Automatic = "Automatic",
234
+ Manual = "Manual",
235
+ None = "None"
236
+ }
237
+
238
+ // @public
239
+ export enum KnownUsageUnit {
240
+ Count = "Count"
241
+ }
242
+
243
+ // @public
244
+ export interface Lab extends TrackedResource {
245
+ autoShutdownProfile?: AutoShutdownProfile;
246
+ connectionProfile?: ConnectionProfile;
247
+ description?: string;
248
+ labPlanId?: string;
249
+ networkProfile?: LabNetworkProfile;
250
+ readonly provisioningState?: ProvisioningState;
251
+ rosterProfile?: RosterProfile;
252
+ securityProfile?: SecurityProfile;
253
+ readonly state?: LabState;
254
+ readonly systemData?: SystemData;
255
+ title?: string;
256
+ virtualMachineProfile?: VirtualMachineProfile;
257
+ }
258
+
259
+ // @public
260
+ export interface LabNetworkProfile {
261
+ loadBalancerId?: string;
262
+ publicIpId?: string;
263
+ subnetId?: string;
264
+ }
265
+
266
+ // @public
267
+ export interface LabPlan extends TrackedResource {
268
+ allowedRegions?: string[];
269
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
270
+ defaultConnectionProfile?: ConnectionProfile;
271
+ defaultNetworkProfile?: LabPlanNetworkProfile;
272
+ identity?: Identity;
273
+ linkedLmsInstance?: string;
274
+ readonly provisioningState?: ProvisioningState;
275
+ sharedGalleryId?: string;
276
+ supportInfo?: SupportInfo;
277
+ readonly systemData?: SystemData;
278
+ }
279
+
280
+ // @public
281
+ export interface LabPlanNetworkProfile {
282
+ subnetId?: string;
283
+ }
284
+
285
+ // @public
286
+ export interface LabPlanProperties extends LabPlanUpdateProperties {
287
+ readonly provisioningState?: ProvisioningState;
288
+ }
289
+
290
+ // @public
291
+ export interface LabPlans {
292
+ beginCreateOrUpdate(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansCreateOrUpdateResponse>, LabPlansCreateOrUpdateResponse>>;
293
+ beginCreateOrUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<LabPlansCreateOrUpdateResponse>;
294
+ beginDelete(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
295
+ beginDeleteAndWait(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<void>;
296
+ beginSaveImage(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
297
+ beginSaveImageAndWait(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<void>;
298
+ beginUpdate(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansUpdateResponse>, LabPlansUpdateResponse>>;
299
+ beginUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<LabPlansUpdateResponse>;
300
+ get(resourceGroupName: string, labPlanName: string, options?: LabPlansGetOptionalParams): Promise<LabPlansGetResponse>;
301
+ listByResourceGroup(resourceGroupName: string, options?: LabPlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LabPlan>;
302
+ listBySubscription(options?: LabPlansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LabPlan>;
303
+ }
304
+
305
+ // @public
306
+ export interface LabPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
307
+ resumeFrom?: string;
308
+ updateIntervalInMs?: number;
309
+ }
310
+
311
+ // @public
312
+ export type LabPlansCreateOrUpdateResponse = LabPlan;
313
+
314
+ // @public
315
+ export interface LabPlansDeleteOptionalParams extends coreClient.OperationOptions {
316
+ resumeFrom?: string;
317
+ updateIntervalInMs?: number;
318
+ }
319
+
320
+ // @public
321
+ export interface LabPlansGetOptionalParams extends coreClient.OperationOptions {
322
+ }
323
+
324
+ // @public
325
+ export type LabPlansGetResponse = LabPlan;
326
+
327
+ // @public
328
+ export interface LabPlansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
329
+ }
330
+
331
+ // @public
332
+ export type LabPlansListByResourceGroupNextResponse = PagedLabPlans;
333
+
334
+ // @public
335
+ export interface LabPlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
336
+ }
337
+
338
+ // @public
339
+ export type LabPlansListByResourceGroupResponse = PagedLabPlans;
340
+
341
+ // @public
342
+ export interface LabPlansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
343
+ }
344
+
345
+ // @public
346
+ export type LabPlansListBySubscriptionNextResponse = PagedLabPlans;
347
+
348
+ // @public
349
+ export interface LabPlansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
350
+ filter?: string;
351
+ }
352
+
353
+ // @public
354
+ export type LabPlansListBySubscriptionResponse = PagedLabPlans;
355
+
356
+ // @public
357
+ export interface LabPlansSaveImageOptionalParams extends coreClient.OperationOptions {
358
+ resumeFrom?: string;
359
+ updateIntervalInMs?: number;
360
+ }
361
+
362
+ // @public
363
+ export interface LabPlansUpdateOptionalParams extends coreClient.OperationOptions {
364
+ resumeFrom?: string;
365
+ updateIntervalInMs?: number;
366
+ }
367
+
368
+ // @public
369
+ export type LabPlansUpdateResponse = LabPlan;
370
+
371
+ // @public
372
+ export interface LabPlanUpdate extends TrackedResourceUpdate {
373
+ allowedRegions?: string[];
374
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
375
+ defaultConnectionProfile?: ConnectionProfile;
376
+ defaultNetworkProfile?: LabPlanNetworkProfile;
377
+ identity?: Identity;
378
+ linkedLmsInstance?: string;
379
+ sharedGalleryId?: string;
380
+ supportInfo?: SupportInfo;
381
+ }
382
+
383
+ // @public
384
+ export interface LabPlanUpdateProperties {
385
+ allowedRegions?: string[];
386
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
387
+ defaultConnectionProfile?: ConnectionProfile;
388
+ defaultNetworkProfile?: LabPlanNetworkProfile;
389
+ linkedLmsInstance?: string;
390
+ sharedGalleryId?: string;
391
+ supportInfo?: SupportInfo;
392
+ }
393
+
394
+ // @public
395
+ export interface LabProperties extends LabUpdateProperties {
396
+ networkProfile?: LabNetworkProfile;
397
+ readonly provisioningState?: ProvisioningState;
398
+ readonly state?: LabState;
399
+ }
400
+
401
+ // @public
402
+ export interface Labs {
403
+ beginCreateOrUpdate(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsCreateOrUpdateResponse>, LabsCreateOrUpdateResponse>>;
404
+ beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<LabsCreateOrUpdateResponse>;
405
+ beginDelete(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
406
+ beginDeleteAndWait(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<void>;
407
+ beginPublish(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
408
+ beginPublishAndWait(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<void>;
409
+ beginSyncGroup(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
410
+ beginSyncGroupAndWait(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<void>;
411
+ beginUpdate(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsUpdateResponse>, LabsUpdateResponse>>;
412
+ beginUpdateAndWait(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<LabsUpdateResponse>;
413
+ get(resourceGroupName: string, labName: string, options?: LabsGetOptionalParams): Promise<LabsGetResponse>;
414
+ listByResourceGroup(resourceGroupName: string, options?: LabsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Lab>;
415
+ listBySubscription(options?: LabsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Lab>;
416
+ }
417
+
418
+ // @public
419
+ export interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
420
+ resumeFrom?: string;
421
+ updateIntervalInMs?: number;
422
+ }
423
+
424
+ // @public
425
+ export type LabsCreateOrUpdateResponse = Lab;
426
+
427
+ // @public
428
+ export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
429
+ resumeFrom?: string;
430
+ updateIntervalInMs?: number;
431
+ }
432
+
433
+ // @public (undocumented)
434
+ export class LabServicesClient extends coreClient.ServiceClient {
435
+ // (undocumented)
436
+ $host: string;
437
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LabServicesClientOptionalParams);
438
+ // (undocumented)
439
+ apiVersion: string;
440
+ // (undocumented)
441
+ images: Images;
442
+ // (undocumented)
443
+ labPlans: LabPlans;
444
+ // (undocumented)
445
+ labs: Labs;
446
+ // (undocumented)
447
+ operationResults: OperationResults;
448
+ // (undocumented)
449
+ operations: Operations;
450
+ // (undocumented)
451
+ schedules: Schedules;
452
+ // (undocumented)
453
+ skus: Skus;
454
+ // (undocumented)
455
+ subscriptionId: string;
456
+ // (undocumented)
457
+ usages: Usages;
458
+ // (undocumented)
459
+ users: Users;
460
+ // (undocumented)
461
+ virtualMachines: VirtualMachines;
462
+ }
463
+
464
+ // @public
465
+ export interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions {
466
+ $host?: string;
467
+ apiVersion?: string;
468
+ endpoint?: string;
469
+ }
470
+
471
+ // @public
472
+ export interface LabServicesSku {
473
+ readonly capabilities?: LabServicesSkuCapabilities[];
474
+ capacity?: LabServicesSkuCapacity;
475
+ readonly costs?: LabServicesSkuCost[];
476
+ readonly family?: string;
477
+ readonly locations?: string[];
478
+ readonly name?: string;
479
+ readonly resourceType?: string;
480
+ readonly restrictions?: LabServicesSkuRestrictions[];
481
+ readonly size?: string;
482
+ readonly tier?: LabServicesSkuTier;
483
+ }
484
+
485
+ // @public
486
+ export interface LabServicesSkuCapabilities {
487
+ readonly name?: string;
488
+ readonly value?: string;
489
+ }
490
+
491
+ // @public
492
+ export interface LabServicesSkuCapacity {
493
+ readonly default?: number;
494
+ readonly maximum?: number;
495
+ readonly minimum?: number;
496
+ readonly scaleType?: ScaleType;
497
+ }
498
+
499
+ // @public
500
+ export interface LabServicesSkuCost {
501
+ readonly extendedUnit?: string;
502
+ readonly meterId?: string;
503
+ readonly quantity?: number;
504
+ }
505
+
506
+ // @public
507
+ export interface LabServicesSkuRestrictions {
508
+ readonly reasonCode?: RestrictionReasonCode;
509
+ readonly type?: RestrictionType;
510
+ readonly values?: string[];
511
+ }
512
+
513
+ // @public
514
+ export type LabServicesSkuTier = string;
515
+
516
+ // @public
517
+ export interface LabsGetOptionalParams extends coreClient.OperationOptions {
518
+ }
519
+
520
+ // @public
521
+ export type LabsGetResponse = Lab;
522
+
523
+ // @public
524
+ export interface LabsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
525
+ }
526
+
527
+ // @public
528
+ export type LabsListByResourceGroupNextResponse = PagedLabs;
529
+
530
+ // @public
531
+ export interface LabsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
532
+ }
533
+
534
+ // @public
535
+ export type LabsListByResourceGroupResponse = PagedLabs;
536
+
537
+ // @public
538
+ export interface LabsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
539
+ }
540
+
541
+ // @public
542
+ export type LabsListBySubscriptionNextResponse = PagedLabs;
543
+
544
+ // @public
545
+ export interface LabsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
546
+ filter?: string;
547
+ }
548
+
549
+ // @public
550
+ export type LabsListBySubscriptionResponse = PagedLabs;
551
+
552
+ // @public
553
+ export interface LabsPublishOptionalParams extends coreClient.OperationOptions {
554
+ resumeFrom?: string;
555
+ updateIntervalInMs?: number;
556
+ }
557
+
558
+ // @public
559
+ export interface LabsSyncGroupOptionalParams extends coreClient.OperationOptions {
560
+ resumeFrom?: string;
561
+ updateIntervalInMs?: number;
562
+ }
563
+
564
+ // @public
565
+ export type LabState = "Draft" | "Publishing" | "Scaling" | "Syncing" | "Published";
566
+
567
+ // @public
568
+ export interface LabsUpdateOptionalParams extends coreClient.OperationOptions {
569
+ resumeFrom?: string;
570
+ updateIntervalInMs?: number;
571
+ }
572
+
573
+ // @public
574
+ export type LabsUpdateResponse = Lab;
575
+
576
+ // @public
577
+ export interface LabUpdate extends TrackedResourceUpdate {
578
+ autoShutdownProfile?: AutoShutdownProfile;
579
+ connectionProfile?: ConnectionProfile;
580
+ description?: string;
581
+ labPlanId?: string;
582
+ rosterProfile?: RosterProfile;
583
+ securityProfile?: SecurityProfile;
584
+ title?: string;
585
+ virtualMachineProfile?: VirtualMachineProfile;
586
+ }
587
+
588
+ // @public
589
+ export interface LabUpdateProperties {
590
+ autoShutdownProfile?: AutoShutdownProfile;
591
+ connectionProfile?: ConnectionProfile;
592
+ description?: string;
593
+ labPlanId?: string;
594
+ rosterProfile?: RosterProfile;
595
+ securityProfile?: SecurityProfile;
596
+ title?: string;
597
+ virtualMachineProfile?: VirtualMachineProfile;
598
+ }
599
+
600
+ // @public
601
+ export interface ListUsagesResult {
602
+ readonly nextLink?: string;
603
+ value?: Usage[];
604
+ }
605
+
606
+ // @public
607
+ export interface Operation {
608
+ readonly actionType?: ActionType;
609
+ display?: OperationDisplay;
610
+ readonly isDataAction?: boolean;
611
+ readonly name?: string;
612
+ readonly origin?: Origin;
613
+ }
614
+
615
+ // @public
616
+ export interface OperationDisplay {
617
+ readonly description?: string;
618
+ readonly operation?: string;
619
+ readonly provider?: string;
620
+ readonly resource?: string;
621
+ }
622
+
623
+ // @public
624
+ export interface OperationListResult {
625
+ readonly nextLink?: string;
626
+ readonly value?: Operation[];
627
+ }
628
+
629
+ // @public
630
+ export interface OperationResult {
631
+ endTime?: Date;
632
+ error?: ErrorDetail;
633
+ readonly id?: string;
634
+ readonly name?: string;
635
+ percentComplete?: number;
636
+ startTime?: Date;
637
+ status: OperationStatus;
638
+ }
639
+
640
+ // @public
641
+ export interface OperationResults {
642
+ get(operationResultId: string, options?: OperationResultsGetOptionalParams): Promise<OperationResultsGetResponse>;
643
+ }
644
+
645
+ // @public
646
+ export interface OperationResultsGetOptionalParams extends coreClient.OperationOptions {
647
+ }
648
+
649
+ // @public
650
+ export type OperationResultsGetResponse = OperationResult;
651
+
652
+ // @public
653
+ export interface Operations {
654
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
655
+ }
656
+
657
+ // @public
658
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
659
+ }
660
+
661
+ // @public
662
+ export type OperationsListNextResponse = OperationListResult;
663
+
664
+ // @public
665
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
666
+ }
667
+
668
+ // @public
669
+ export type OperationsListResponse = OperationListResult;
670
+
671
+ // @public
672
+ export type OperationStatus = "NotStarted" | "InProgress" | "Succeeded" | "Failed" | "Canceled";
673
+
674
+ // @public
675
+ export type Origin = string;
676
+
677
+ // @public
678
+ export type OsState = "Generalized" | "Specialized";
679
+
680
+ // @public
681
+ export type OsType = "Windows" | "Linux";
682
+
683
+ // @public
684
+ export interface PagedImages {
685
+ readonly nextLink?: string;
686
+ readonly value?: Image[];
687
+ }
688
+
689
+ // @public
690
+ export interface PagedLabPlans {
691
+ readonly nextLink?: string;
692
+ readonly value?: LabPlan[];
693
+ }
694
+
695
+ // @public
696
+ export interface PagedLabs {
697
+ readonly nextLink?: string;
698
+ readonly value?: Lab[];
699
+ }
700
+
701
+ // @public
702
+ export interface PagedLabServicesSkus {
703
+ readonly nextLink?: string;
704
+ readonly value?: LabServicesSku[];
705
+ }
706
+
707
+ // @public
708
+ export interface PagedSchedules {
709
+ readonly nextLink?: string;
710
+ readonly value?: Schedule[];
711
+ }
712
+
713
+ // @public
714
+ export interface PagedUsers {
715
+ readonly nextLink?: string;
716
+ readonly value?: User[];
717
+ }
718
+
719
+ // @public
720
+ export interface PagedVirtualMachines {
721
+ readonly nextLink?: string;
722
+ readonly value?: VirtualMachine[];
723
+ }
724
+
725
+ // @public
726
+ export type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";
727
+
728
+ // @public
729
+ export interface ProxyResource extends Resource {
730
+ }
731
+
732
+ // @public
733
+ export type RecurrenceFrequency = "Daily" | "Weekly";
734
+
735
+ // @public
736
+ export interface RecurrencePattern {
737
+ expirationDate: Date;
738
+ frequency: RecurrenceFrequency;
739
+ interval?: number;
740
+ weekDays?: WeekDay[];
741
+ }
742
+
743
+ // @public
744
+ export type RegistrationState = "Registered" | "NotRegistered";
745
+
746
+ // @public
747
+ export interface ResetPasswordBody {
748
+ password: string;
749
+ username: string;
750
+ }
751
+
752
+ // @public
753
+ export interface Resource {
754
+ readonly id?: string;
755
+ readonly name?: string;
756
+ readonly type?: string;
757
+ }
758
+
759
+ // @public
760
+ export type RestrictionReasonCode = string;
761
+
762
+ // @public
763
+ export type RestrictionType = string;
764
+
765
+ // @public
766
+ export interface RosterProfile {
767
+ activeDirectoryGroupId?: string;
768
+ lmsInstance?: string;
769
+ ltiClientId?: string;
770
+ ltiContextId?: string;
771
+ ltiRosterEndpoint?: string;
772
+ }
773
+
774
+ // @public
775
+ export interface SaveImageBody {
776
+ labVirtualMachineId?: string;
777
+ name?: string;
778
+ }
779
+
780
+ // @public
781
+ export type ScaleType = string;
782
+
783
+ // @public
784
+ export interface Schedule extends ProxyResource {
785
+ notes?: string;
786
+ readonly provisioningState?: ProvisioningState;
787
+ recurrencePattern?: RecurrencePattern;
788
+ startAt?: Date;
789
+ stopAt?: Date;
790
+ readonly systemData?: SystemData;
791
+ timeZoneId?: string;
792
+ }
793
+
794
+ // @public
795
+ export interface ScheduleProperties extends ScheduleUpdateProperties {
796
+ readonly provisioningState?: ProvisioningState;
797
+ }
798
+
799
+ // @public
800
+ export interface Schedules {
801
+ beginDelete(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
802
+ beginDeleteAndWait(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<void>;
803
+ createOrUpdate(resourceGroupName: string, labName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<SchedulesCreateOrUpdateResponse>;
804
+ get(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesGetOptionalParams): Promise<SchedulesGetResponse>;
805
+ listByLab(resourceGroupName: string, labName: string, options?: SchedulesListByLabOptionalParams): PagedAsyncIterableIterator<Schedule>;
806
+ update(resourceGroupName: string, labName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise<SchedulesUpdateResponse>;
807
+ }
808
+
809
+ // @public
810
+ export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
811
+ }
812
+
813
+ // @public
814
+ export type SchedulesCreateOrUpdateResponse = Schedule;
815
+
816
+ // @public
817
+ export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions {
818
+ resumeFrom?: string;
819
+ updateIntervalInMs?: number;
820
+ }
821
+
822
+ // @public
823
+ export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {
824
+ }
825
+
826
+ // @public
827
+ export type SchedulesGetResponse = Schedule;
828
+
829
+ // @public
830
+ export interface SchedulesListByLabNextOptionalParams extends coreClient.OperationOptions {
831
+ }
832
+
833
+ // @public
834
+ export type SchedulesListByLabNextResponse = PagedSchedules;
835
+
836
+ // @public
837
+ export interface SchedulesListByLabOptionalParams extends coreClient.OperationOptions {
838
+ filter?: string;
839
+ }
840
+
841
+ // @public
842
+ export type SchedulesListByLabResponse = PagedSchedules;
843
+
844
+ // @public
845
+ export interface SchedulesUpdateOptionalParams extends coreClient.OperationOptions {
846
+ }
847
+
848
+ // @public
849
+ export type SchedulesUpdateResponse = Schedule;
850
+
851
+ // @public
852
+ export interface ScheduleUpdate {
853
+ notes?: string;
854
+ recurrencePattern?: RecurrencePattern;
855
+ startAt?: Date;
856
+ stopAt?: Date;
857
+ timeZoneId?: string;
858
+ }
859
+
860
+ // @public
861
+ export interface ScheduleUpdateProperties {
862
+ notes?: string;
863
+ recurrencePattern?: RecurrencePattern;
864
+ startAt?: Date;
865
+ stopAt?: Date;
866
+ timeZoneId?: string;
867
+ }
868
+
869
+ // @public
870
+ export interface SecurityProfile {
871
+ openAccess?: EnableState;
872
+ readonly registrationCode?: string;
873
+ }
874
+
875
+ // @public
876
+ export type ShutdownOnIdleMode = "None" | "UserAbsence" | "LowUsage";
877
+
878
+ // @public
879
+ export interface Sku {
880
+ capacity?: number;
881
+ family?: string;
882
+ name: string;
883
+ size?: string;
884
+ tier?: SkuTier;
885
+ }
886
+
887
+ // @public
888
+ export interface Skus {
889
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<LabServicesSku>;
890
+ }
891
+
892
+ // @public
893
+ export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
894
+ }
895
+
896
+ // @public
897
+ export type SkusListNextResponse = PagedLabServicesSkus;
898
+
899
+ // @public
900
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
901
+ filter?: string;
902
+ }
903
+
904
+ // @public
905
+ export type SkusListResponse = PagedLabServicesSkus;
906
+
907
+ // @public
908
+ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
909
+
910
+ // @public
911
+ export interface SupportInfo {
912
+ email?: string;
913
+ instructions?: string;
914
+ phone?: string;
915
+ url?: string;
916
+ }
917
+
918
+ // @public
919
+ export interface SystemData {
920
+ createdAt?: Date;
921
+ createdBy?: string;
922
+ createdByType?: CreatedByType;
923
+ lastModifiedAt?: Date;
924
+ lastModifiedBy?: string;
925
+ lastModifiedByType?: CreatedByType;
926
+ }
927
+
928
+ // @public
929
+ export interface TrackedResource extends Resource {
930
+ location: string;
931
+ tags?: {
932
+ [propertyName: string]: string;
933
+ };
934
+ }
935
+
936
+ // @public
937
+ export interface TrackedResourceUpdate {
938
+ tags?: string[];
939
+ }
940
+
941
+ // @public
942
+ export interface Usage {
943
+ currentValue?: number;
944
+ id?: string;
945
+ limit?: number;
946
+ name?: UsageName;
947
+ unit?: UsageUnit;
948
+ }
949
+
950
+ // @public
951
+ export interface UsageName {
952
+ localizedValue?: string;
953
+ skuInstances?: string[];
954
+ value?: string;
955
+ }
956
+
957
+ // @public
958
+ export interface Usages {
959
+ listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
960
+ }
961
+
962
+ // @public
963
+ export interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
964
+ }
965
+
966
+ // @public
967
+ export type UsagesListByLocationNextResponse = ListUsagesResult;
968
+
969
+ // @public
970
+ export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
971
+ filter?: string;
972
+ }
973
+
974
+ // @public
975
+ export type UsagesListByLocationResponse = ListUsagesResult;
976
+
977
+ // @public
978
+ export type UsageUnit = string;
979
+
980
+ // @public
981
+ export interface User extends ProxyResource {
982
+ additionalUsageQuota?: string;
983
+ readonly displayName?: string;
984
+ email: string;
985
+ readonly invitationSent?: Date;
986
+ readonly invitationState?: InvitationState;
987
+ readonly provisioningState?: ProvisioningState;
988
+ readonly registrationState?: RegistrationState;
989
+ readonly systemData?: SystemData;
990
+ readonly totalUsage?: string;
991
+ }
992
+
993
+ // @public
994
+ export interface UserProperties extends UserUpdateProperties {
995
+ readonly displayName?: string;
996
+ email: string;
997
+ readonly invitationSent?: Date;
998
+ readonly invitationState?: InvitationState;
999
+ readonly provisioningState?: ProvisioningState;
1000
+ readonly registrationState?: RegistrationState;
1001
+ readonly totalUsage?: string;
1002
+ }
1003
+
1004
+ // @public
1005
+ export interface Users {
1006
+ beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersCreateOrUpdateResponse>, UsersCreateOrUpdateResponse>>;
1007
+ beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<UsersCreateOrUpdateResponse>;
1008
+ beginDelete(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1009
+ beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<void>;
1010
+ beginInvite(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1011
+ beginInviteAndWait(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<void>;
1012
+ beginUpdate(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>>;
1013
+ beginUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<UsersUpdateResponse>;
1014
+ get(resourceGroupName: string, labName: string, userName: string, options?: UsersGetOptionalParams): Promise<UsersGetResponse>;
1015
+ listByLab(resourceGroupName: string, labName: string, options?: UsersListByLabOptionalParams): PagedAsyncIterableIterator<User>;
1016
+ }
1017
+
1018
+ // @public
1019
+ export interface UsersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1020
+ resumeFrom?: string;
1021
+ updateIntervalInMs?: number;
1022
+ }
1023
+
1024
+ // @public
1025
+ export type UsersCreateOrUpdateResponse = User;
1026
+
1027
+ // @public
1028
+ export interface UsersDeleteOptionalParams extends coreClient.OperationOptions {
1029
+ resumeFrom?: string;
1030
+ updateIntervalInMs?: number;
1031
+ }
1032
+
1033
+ // @public
1034
+ export interface UsersGetOptionalParams extends coreClient.OperationOptions {
1035
+ }
1036
+
1037
+ // @public
1038
+ export type UsersGetResponse = User;
1039
+
1040
+ // @public
1041
+ export interface UsersInviteOptionalParams extends coreClient.OperationOptions {
1042
+ resumeFrom?: string;
1043
+ updateIntervalInMs?: number;
1044
+ }
1045
+
1046
+ // @public
1047
+ export interface UsersListByLabNextOptionalParams extends coreClient.OperationOptions {
1048
+ }
1049
+
1050
+ // @public
1051
+ export type UsersListByLabNextResponse = PagedUsers;
1052
+
1053
+ // @public
1054
+ export interface UsersListByLabOptionalParams extends coreClient.OperationOptions {
1055
+ filter?: string;
1056
+ }
1057
+
1058
+ // @public
1059
+ export type UsersListByLabResponse = PagedUsers;
1060
+
1061
+ // @public
1062
+ export interface UsersUpdateOptionalParams extends coreClient.OperationOptions {
1063
+ resumeFrom?: string;
1064
+ updateIntervalInMs?: number;
1065
+ }
1066
+
1067
+ // @public
1068
+ export type UsersUpdateResponse = User;
1069
+
1070
+ // @public
1071
+ export interface UserUpdate {
1072
+ additionalUsageQuota?: string;
1073
+ }
1074
+
1075
+ // @public
1076
+ export interface UserUpdateProperties {
1077
+ additionalUsageQuota?: string;
1078
+ }
1079
+
1080
+ // @public
1081
+ export interface VirtualMachine extends ProxyResource {
1082
+ readonly claimedByUserId?: string;
1083
+ readonly connectionProfile?: VirtualMachineConnectionProfile;
1084
+ readonly provisioningState?: ProvisioningState;
1085
+ readonly state?: VirtualMachineState;
1086
+ readonly systemData?: SystemData;
1087
+ readonly vmType?: VirtualMachineType;
1088
+ }
1089
+
1090
+ // @public
1091
+ export interface VirtualMachineAdditionalCapabilities {
1092
+ installGpuDrivers?: EnableState;
1093
+ }
1094
+
1095
+ // @public
1096
+ export interface VirtualMachineConnectionProfile {
1097
+ readonly adminUsername?: string;
1098
+ readonly nonAdminUsername?: string;
1099
+ readonly privateIpAddress?: string;
1100
+ readonly rdpAuthority?: string;
1101
+ readonly rdpInBrowserUrl?: string;
1102
+ readonly sshAuthority?: string;
1103
+ readonly sshInBrowserUrl?: string;
1104
+ }
1105
+
1106
+ // @public
1107
+ export interface VirtualMachineProfile {
1108
+ additionalCapabilities?: VirtualMachineAdditionalCapabilities;
1109
+ adminUser: Credentials;
1110
+ createOption: CreateOption;
1111
+ imageReference: ImageReference;
1112
+ nonAdminUser?: Credentials;
1113
+ readonly osType?: OsType;
1114
+ sku: Sku;
1115
+ usageQuota: string;
1116
+ useSharedPassword?: EnableState;
1117
+ }
1118
+
1119
+ // @public
1120
+ export interface VirtualMachines {
1121
+ beginRedeploy(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1122
+ beginRedeployAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<void>;
1123
+ beginReimage(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1124
+ beginReimageAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<void>;
1125
+ beginResetPassword(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1126
+ beginResetPasswordAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<void>;
1127
+ beginStart(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1128
+ beginStartAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
1129
+ beginStop(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1130
+ beginStopAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
1131
+ get(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
1132
+ listByLab(resourceGroupName: string, labName: string, options?: VirtualMachinesListByLabOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1133
+ }
1134
+
1135
+ // @public
1136
+ export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1137
+ }
1138
+
1139
+ // @public
1140
+ export type VirtualMachinesGetResponse = VirtualMachine;
1141
+
1142
+ // @public
1143
+ export interface VirtualMachinesListByLabNextOptionalParams extends coreClient.OperationOptions {
1144
+ }
1145
+
1146
+ // @public
1147
+ export type VirtualMachinesListByLabNextResponse = PagedVirtualMachines;
1148
+
1149
+ // @public
1150
+ export interface VirtualMachinesListByLabOptionalParams extends coreClient.OperationOptions {
1151
+ filter?: string;
1152
+ }
1153
+
1154
+ // @public
1155
+ export type VirtualMachinesListByLabResponse = PagedVirtualMachines;
1156
+
1157
+ // @public
1158
+ export interface VirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
1159
+ resumeFrom?: string;
1160
+ updateIntervalInMs?: number;
1161
+ }
1162
+
1163
+ // @public
1164
+ export interface VirtualMachinesReimageOptionalParams extends coreClient.OperationOptions {
1165
+ resumeFrom?: string;
1166
+ updateIntervalInMs?: number;
1167
+ }
1168
+
1169
+ // @public
1170
+ export interface VirtualMachinesResetPasswordOptionalParams extends coreClient.OperationOptions {
1171
+ resumeFrom?: string;
1172
+ updateIntervalInMs?: number;
1173
+ }
1174
+
1175
+ // @public
1176
+ export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
1177
+ resumeFrom?: string;
1178
+ updateIntervalInMs?: number;
1179
+ }
1180
+
1181
+ // @public
1182
+ export interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
1183
+ resumeFrom?: string;
1184
+ updateIntervalInMs?: number;
1185
+ }
1186
+
1187
+ // @public
1188
+ export type VirtualMachineState = "Stopped" | "Starting" | "Running" | "Stopping" | "ResettingPassword" | "Reimaging" | "Redeploying";
1189
+
1190
+ // @public
1191
+ export type VirtualMachineType = "User" | "Template";
1192
+
1193
+ // @public
1194
+ export type WeekDay = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
1195
+
1196
+ // (No @packageDocumentation comment for this package)
1197
+
1198
+ ```