@azure/arm-labservices 3.0.0-beta.3 → 3.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/index.js +787 -715
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/imagesGetSample.js +1 -1
  9. package/dist-esm/samples-dev/imagesListByLabPlanSample.js +1 -1
  10. package/dist-esm/samples-dev/imagesUpdateSample.js +1 -1
  11. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js +4 -4
  12. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js.map +1 -1
  13. package/dist-esm/samples-dev/labPlansDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/labPlansGetSample.js +1 -1
  15. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js +1 -1
  16. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js +1 -1
  17. package/dist-esm/samples-dev/labPlansSaveImageSample.js +1 -1
  18. package/dist-esm/samples-dev/labPlansUpdateSample.js +1 -1
  19. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +5 -5
  20. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/labsDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/labsGetSample.js +1 -1
  23. package/dist-esm/samples-dev/labsListByResourceGroupSample.js +1 -1
  24. package/dist-esm/samples-dev/labsListBySubscriptionSample.js +1 -1
  25. package/dist-esm/samples-dev/labsPublishSample.js +1 -1
  26. package/dist-esm/samples-dev/labsSyncGroupSample.js +1 -1
  27. package/dist-esm/samples-dev/labsUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  29. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  30. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +2 -2
  31. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/schedulesDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/schedulesGetSample.js +1 -1
  34. package/dist-esm/samples-dev/schedulesListByLabSample.js +1 -1
  35. package/dist-esm/samples-dev/schedulesUpdateSample.js +2 -2
  36. package/dist-esm/samples-dev/schedulesUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/skusListSample.js +3 -3
  38. package/dist-esm/samples-dev/usagesListByLocationSample.js +2 -2
  39. package/dist-esm/samples-dev/usersCreateOrUpdateSample.js +2 -2
  40. package/dist-esm/samples-dev/usersDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/usersGetSample.js +1 -1
  42. package/dist-esm/samples-dev/usersInviteSample.js +1 -1
  43. package/dist-esm/samples-dev/usersListByLabSample.js +1 -1
  44. package/dist-esm/samples-dev/usersUpdateSample.js +2 -2
  45. package/dist-esm/samples-dev/virtualMachinesGetSample.js +1 -1
  46. package/dist-esm/samples-dev/virtualMachinesListByLabSample.js +1 -1
  47. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +1 -1
  48. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +1 -1
  49. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js +1 -1
  50. package/dist-esm/samples-dev/virtualMachinesStartSample.js +1 -1
  51. package/dist-esm/samples-dev/virtualMachinesStopSample.js +1 -1
  52. package/dist-esm/src/labServicesClient.d.ts +3 -3
  53. package/dist-esm/src/labServicesClient.d.ts.map +1 -1
  54. package/dist-esm/src/labServicesClient.js +23 -18
  55. package/dist-esm/src/labServicesClient.js.map +1 -1
  56. package/dist-esm/src/models/index.d.ts +221 -188
  57. package/dist-esm/src/models/index.d.ts.map +1 -1
  58. package/dist-esm/src/models/index.js +19 -5
  59. package/dist-esm/src/models/index.js.map +1 -1
  60. package/dist-esm/src/models/mappers.d.ts +10 -9
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  62. package/dist-esm/src/models/mappers.js +284 -232
  63. package/dist-esm/src/models/mappers.js.map +1 -1
  64. package/dist-esm/src/models/parameters.d.ts +1 -1
  65. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  66. package/dist-esm/src/models/parameters.js +16 -16
  67. package/dist-esm/src/models/parameters.js.map +1 -1
  68. package/dist-esm/src/operations/index.d.ts +2 -2
  69. package/dist-esm/src/operations/index.d.ts.map +1 -1
  70. package/dist-esm/src/operations/index.js +2 -2
  71. package/dist-esm/src/operations/index.js.map +1 -1
  72. package/dist-esm/src/operations/labs.d.ts +22 -22
  73. package/dist-esm/src/operations/labs.js +22 -22
  74. package/dist-esm/src/operations/schedules.d.ts +16 -16
  75. package/dist-esm/src/operations/schedules.js +16 -16
  76. package/dist-esm/src/operations/skus.d.ts +2 -2
  77. package/dist-esm/src/operations/skus.js +2 -2
  78. package/dist-esm/src/operations/users.d.ts +24 -24
  79. package/dist-esm/src/operations/users.js +24 -24
  80. package/dist-esm/src/operations/virtualMachines.d.ts +28 -28
  81. package/dist-esm/src/operations/virtualMachines.js +28 -28
  82. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -2
  83. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  84. package/dist-esm/src/operationsInterfaces/index.js +2 -2
  85. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  86. package/dist-esm/src/operationsInterfaces/labs.d.ts +22 -22
  87. package/dist-esm/src/operationsInterfaces/schedules.d.ts +12 -12
  88. package/dist-esm/src/operationsInterfaces/skus.d.ts +1 -1
  89. package/dist-esm/src/operationsInterfaces/users.d.ts +20 -20
  90. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +24 -24
  91. package/package.json +3 -4
  92. package/review/arm-labservices.api.md +94 -97
  93. package/src/labServicesClient.ts +35 -28
  94. package/src/models/index.ts +244 -211
  95. package/src/models/mappers.ts +291 -236
  96. package/src/models/parameters.ts +17 -17
  97. package/src/operations/index.ts +2 -2
  98. package/src/operations/labs.ts +22 -22
  99. package/src/operations/schedules.ts +16 -16
  100. package/src/operations/skus.ts +2 -2
  101. package/src/operations/users.ts +24 -24
  102. package/src/operations/virtualMachines.ts +28 -28
  103. package/src/operationsInterfaces/index.ts +2 -2
  104. package/src/operationsInterfaces/labs.ts +22 -22
  105. package/src/operationsInterfaces/schedules.ts +12 -12
  106. package/src/operationsInterfaces/skus.ts +1 -1
  107. package/src/operationsInterfaces/users.ts +20 -20
  108. package/src/operationsInterfaces/virtualMachines.ts +24 -24
  109. package/types/arm-labservices.d.ts +149 -115
@@ -173,6 +173,21 @@ export interface SupportInfo {
173
173
  /** Support instructions. */
174
174
  instructions?: string;
175
175
  }
176
+ /** Identity for the resource. */
177
+ export interface Identity {
178
+ /**
179
+ * The principal ID of resource identity.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly principalId?: string;
183
+ /**
184
+ * The tenant ID of resource.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly tenantId?: string;
188
+ /** The identity type. */
189
+ type?: "SystemAssigned";
190
+ }
176
191
  /** Base tracked resource type for all PATCH updates. */
177
192
  export interface TrackedResourceUpdate {
178
193
  /** Resource tags. */
@@ -450,125 +465,6 @@ export interface ScheduleUpdate {
450
465
  /** Notes for this schedule. */
451
466
  notes?: string;
452
467
  }
453
- /** Paged list of users. */
454
- export interface PagedUsers {
455
- /**
456
- * The array page of user results.
457
- * NOTE: This property will not be serialized. It can only be populated by the server.
458
- */
459
- readonly value?: User[];
460
- /**
461
- * The link to get the next page of image results.
462
- * NOTE: This property will not be serialized. It can only be populated by the server.
463
- */
464
- readonly nextLink?: string;
465
- }
466
- /** User resource properties used for updates. */
467
- export interface UserUpdateProperties {
468
- /** The amount of usage quota time the user gets in addition to the lab usage quota. */
469
- additionalUsageQuota?: string;
470
- }
471
- /** User of a lab that can register for and use virtual machines within the lab. Used for updates. */
472
- export interface UserUpdate {
473
- /** The amount of usage quota time the user gets in addition to the lab usage quota. */
474
- additionalUsageQuota?: string;
475
- }
476
- /** Body for a user invite request */
477
- export interface InviteBody {
478
- /** Custom text for the invite email. */
479
- text?: string;
480
- }
481
- /** Paged list of lab services virtual machines. */
482
- export interface PagedVirtualMachines {
483
- /**
484
- * The array page of virtual machine results.
485
- * NOTE: This property will not be serialized. It can only be populated by the server.
486
- */
487
- readonly value?: VirtualMachine[];
488
- /**
489
- * The link to get the next page of virtual machine results.
490
- * NOTE: This property will not be serialized. It can only be populated by the server.
491
- */
492
- readonly nextLink?: string;
493
- }
494
- /** The connection information for the virtual machine */
495
- export interface VirtualMachineConnectionProfile {
496
- /**
497
- * The private IP address of the virtual machine.
498
- * NOTE: This property will not be serialized. It can only be populated by the server.
499
- */
500
- readonly privateIpAddress?: string;
501
- /**
502
- * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
503
- * NOTE: This property will not be serialized. It can only be populated by the server.
504
- */
505
- readonly sshAuthority?: string;
506
- /**
507
- * URL for connecting via SSH protocol to the virtual machine in browser.
508
- * NOTE: This property will not be serialized. It can only be populated by the server.
509
- */
510
- readonly sshInBrowserUrl?: string;
511
- /**
512
- * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
513
- * NOTE: This property will not be serialized. It can only be populated by the server.
514
- */
515
- readonly rdpAuthority?: string;
516
- /**
517
- * URL for connecting via RDP protocol to the virtual machine in browser.
518
- * NOTE: This property will not be serialized. It can only be populated by the server.
519
- */
520
- readonly rdpInBrowserUrl?: string;
521
- /**
522
- * The username used to log on to the virtual machine as admin.
523
- * NOTE: This property will not be serialized. It can only be populated by the server.
524
- */
525
- readonly adminUsername?: string;
526
- /**
527
- * The username used to log on to the virtual machine as non-admin, if one exists.
528
- * NOTE: This property will not be serialized. It can only be populated by the server.
529
- */
530
- readonly nonAdminUsername?: string;
531
- }
532
- /** Body of a reset password request. */
533
- export interface ResetPasswordBody {
534
- /** The user whose password is being reset */
535
- username: string;
536
- /** The password */
537
- password: string;
538
- }
539
- /** List of Core Usages. */
540
- export interface ListUsagesResult {
541
- /**
542
- * The array page of Usages.
543
- * NOTE: This property will not be serialized. It can only be populated by the server.
544
- */
545
- readonly value?: Usage[];
546
- /**
547
- * The link to get the next page of Usage result.
548
- * NOTE: This property will not be serialized. It can only be populated by the server.
549
- */
550
- readonly nextLink?: string;
551
- }
552
- /** The core usage details. */
553
- export interface Usage {
554
- /** The current usage. */
555
- currentValue?: number;
556
- /** The limit integer. */
557
- limit?: number;
558
- /** The unit details. */
559
- unit?: UsageUnit;
560
- /** The name. */
561
- name?: UsageName;
562
- /** The fully qualified arm resource id. */
563
- id?: string;
564
- }
565
- /** The Usage Names. */
566
- export interface UsageName {
567
- /** The localized name of the resource. */
568
- localizedValue?: string;
569
- /** The name of the resource. */
570
- value?: string;
571
- }
572
468
  /** Paged list of lab services skus. */
573
469
  export interface PagedLabServicesSkus {
574
470
  /**
@@ -704,8 +600,126 @@ export interface LabServicesSkuRestrictions {
704
600
  */
705
601
  readonly reasonCode?: RestrictionReasonCode;
706
602
  }
603
+ /** List of Core Usages. */
604
+ export interface ListUsagesResult {
605
+ /** The array page of Usages. */
606
+ value?: Usage[];
607
+ /**
608
+ * The link to get the next page of Usage result.
609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
610
+ */
611
+ readonly nextLink?: string;
612
+ }
613
+ /** The core usage details. */
614
+ export interface Usage {
615
+ /** The current usage. */
616
+ currentValue?: number;
617
+ /** The limit integer. */
618
+ limit?: number;
619
+ /** The unit details. */
620
+ unit?: UsageUnit;
621
+ /** The name. */
622
+ name?: UsageName;
623
+ /** The fully qualified arm resource id. */
624
+ id?: string;
625
+ }
626
+ /** The Usage Names. */
627
+ export interface UsageName {
628
+ /** The localized name of the resource. */
629
+ localizedValue?: string;
630
+ /** The instances of the resource. */
631
+ skuInstances?: string[];
632
+ /** The name of the resource. */
633
+ value?: string;
634
+ }
635
+ /** Paged list of users. */
636
+ export interface PagedUsers {
637
+ /**
638
+ * The array page of user results.
639
+ * NOTE: This property will not be serialized. It can only be populated by the server.
640
+ */
641
+ readonly value?: User[];
642
+ /**
643
+ * The link to get the next page of image results.
644
+ * NOTE: This property will not be serialized. It can only be populated by the server.
645
+ */
646
+ readonly nextLink?: string;
647
+ }
648
+ /** User resource properties used for updates. */
649
+ export interface UserUpdateProperties {
650
+ /** The amount of usage quota time the user gets in addition to the lab usage quota. */
651
+ additionalUsageQuota?: string;
652
+ }
653
+ /** User of a lab that can register for and use virtual machines within the lab. Used for updates. */
654
+ export interface UserUpdate {
655
+ /** The amount of usage quota time the user gets in addition to the lab usage quota. */
656
+ additionalUsageQuota?: string;
657
+ }
658
+ /** Body for a user invite request */
659
+ export interface InviteBody {
660
+ /** Custom text for the invite email. */
661
+ text?: string;
662
+ }
663
+ /** Paged list of lab services virtual machines. */
664
+ export interface PagedVirtualMachines {
665
+ /**
666
+ * The array page of virtual machine results.
667
+ * NOTE: This property will not be serialized. It can only be populated by the server.
668
+ */
669
+ readonly value?: VirtualMachine[];
670
+ /**
671
+ * The link to get the next page of virtual machine results.
672
+ * NOTE: This property will not be serialized. It can only be populated by the server.
673
+ */
674
+ readonly nextLink?: string;
675
+ }
676
+ /** The connection information for the virtual machine */
677
+ export interface VirtualMachineConnectionProfile {
678
+ /**
679
+ * The private IP address of the virtual machine.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
+ */
682
+ readonly privateIpAddress?: string;
683
+ /**
684
+ * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
686
+ */
687
+ readonly sshAuthority?: string;
688
+ /**
689
+ * URL for connecting via SSH protocol to the virtual machine in browser.
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
+ */
692
+ readonly sshInBrowserUrl?: string;
693
+ /**
694
+ * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
696
+ */
697
+ readonly rdpAuthority?: string;
698
+ /**
699
+ * URL for connecting via RDP protocol to the virtual machine in browser.
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
701
+ */
702
+ readonly rdpInBrowserUrl?: string;
703
+ /**
704
+ * The username used to log on to the virtual machine as admin.
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
+ */
707
+ readonly adminUsername?: string;
708
+ /**
709
+ * The username used to log on to the virtual machine as non-admin, if one exists.
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly nonAdminUsername?: string;
713
+ }
714
+ /** Body of a reset password request. */
715
+ export interface ResetPasswordBody {
716
+ /** The user whose password is being reset */
717
+ username: string;
718
+ /** The password */
719
+ password: string;
720
+ }
707
721
  /** Properties of an image resource. */
708
- export declare type ImageProperties = ImageUpdateProperties & {
722
+ export interface ImageProperties extends ImageUpdateProperties {
709
723
  /**
710
724
  * Current provisioning state of the image.
711
725
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -778,28 +792,31 @@ export declare type ImageProperties = ImageUpdateProperties & {
778
792
  * NOTE: This property will not be serialized. It can only be populated by the server.
779
793
  */
780
794
  readonly osState?: OsState;
781
- };
795
+ }
782
796
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
783
- export declare type ProxyResource = Resource;
797
+ export interface ProxyResource extends Resource {
798
+ }
784
799
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
785
- export declare type TrackedResource = Resource & {
800
+ export interface TrackedResource extends Resource {
786
801
  /** Resource tags. */
787
802
  tags?: {
788
803
  [propertyName: string]: string;
789
804
  };
790
805
  /** The geo-location where the resource lives */
791
806
  location: string;
792
- };
807
+ }
793
808
  /** Lab plan resource properties */
794
- export declare type LabPlanProperties = LabPlanUpdateProperties & {
809
+ export interface LabPlanProperties extends LabPlanUpdateProperties {
795
810
  /**
796
811
  * Current provisioning state of the lab plan.
797
812
  * NOTE: This property will not be serialized. It can only be populated by the server.
798
813
  */
799
814
  readonly provisioningState?: ProvisioningState;
800
- };
815
+ }
801
816
  /** Contains lab configuration and default settings. This variant is used for PATCH. */
802
- export declare type LabPlanUpdate = TrackedResourceUpdate & {
817
+ export interface LabPlanUpdate extends TrackedResourceUpdate {
818
+ /** Managed Identity Information */
819
+ identity?: Identity;
803
820
  /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
804
821
  defaultConnectionProfile?: ConnectionProfile;
805
822
  /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
@@ -814,9 +831,9 @@ export declare type LabPlanUpdate = TrackedResourceUpdate & {
814
831
  supportInfo?: SupportInfo;
815
832
  /** Base Url of the lms instance this lab plan can link lab rosters against. */
816
833
  linkedLmsInstance?: string;
817
- };
834
+ }
818
835
  /** The lab resource for updates. */
819
- export declare type LabUpdate = TrackedResourceUpdate & {
836
+ export interface LabUpdate extends TrackedResourceUpdate {
820
837
  /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
821
838
  autoShutdownProfile?: AutoShutdownProfile;
822
839
  /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
@@ -833,9 +850,9 @@ export declare type LabUpdate = TrackedResourceUpdate & {
833
850
  title?: string;
834
851
  /** The description of the lab. */
835
852
  description?: string;
836
- };
853
+ }
837
854
  /** Properties of a lab resource. */
838
- export declare type LabProperties = LabUpdateProperties & {
855
+ export interface LabProperties extends LabUpdateProperties {
839
856
  /**
840
857
  * Current provisioning state of the lab.
841
858
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -848,17 +865,17 @@ export declare type LabProperties = LabUpdateProperties & {
848
865
  * NOTE: This property will not be serialized. It can only be populated by the server.
849
866
  */
850
867
  readonly state?: LabState;
851
- };
868
+ }
852
869
  /** Schedule resource properties */
853
- export declare type ScheduleProperties = ScheduleUpdateProperties & {
870
+ export interface ScheduleProperties extends ScheduleUpdateProperties {
854
871
  /**
855
872
  * Current provisioning state of the schedule.
856
873
  * NOTE: This property will not be serialized. It can only be populated by the server.
857
874
  */
858
875
  readonly provisioningState?: ProvisioningState;
859
- };
876
+ }
860
877
  /** User resource properties */
861
- export declare type UserProperties = UserUpdateProperties & {
878
+ export interface UserProperties extends UserUpdateProperties {
862
879
  /**
863
880
  * Current provisioning state of the user resource.
864
881
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -891,9 +908,9 @@ export declare type UserProperties = UserUpdateProperties & {
891
908
  * NOTE: This property will not be serialized. It can only be populated by the server.
892
909
  */
893
910
  readonly totalUsage?: string;
894
- };
911
+ }
895
912
  /** Lab services virtual machine image */
896
- export declare type Image = ProxyResource & {
913
+ export interface Image extends ProxyResource {
897
914
  /**
898
915
  * Metadata pertaining to creation and last modification of the image.
899
916
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -973,9 +990,9 @@ export declare type Image = ProxyResource & {
973
990
  * NOTE: This property will not be serialized. It can only be populated by the server.
974
991
  */
975
992
  readonly osState?: OsState;
976
- };
993
+ }
977
994
  /** Schedule for automatically turning virtual machines in a lab on and off at specified times. */
978
- export declare type Schedule = ProxyResource & {
995
+ export interface Schedule extends ProxyResource {
979
996
  /**
980
997
  * Metadata pertaining to creation and last modification of the schedule.
981
998
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -996,9 +1013,9 @@ export declare type Schedule = ProxyResource & {
996
1013
  * NOTE: This property will not be serialized. It can only be populated by the server.
997
1014
  */
998
1015
  readonly provisioningState?: ProvisioningState;
999
- };
1016
+ }
1000
1017
  /** User of a lab that can register for and use virtual machines within the lab. */
1001
- export declare type User = ProxyResource & {
1018
+ export interface User extends ProxyResource {
1002
1019
  /**
1003
1020
  * Metadata pertaining to creation and last modification of the user resource.
1004
1021
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1038,9 +1055,9 @@ export declare type User = ProxyResource & {
1038
1055
  * NOTE: This property will not be serialized. It can only be populated by the server.
1039
1056
  */
1040
1057
  readonly totalUsage?: string;
1041
- };
1058
+ }
1042
1059
  /** A lab virtual machine resource. */
1043
- export declare type VirtualMachine = ProxyResource & {
1060
+ export interface VirtualMachine extends ProxyResource {
1044
1061
  /**
1045
1062
  * System data of the Lab virtual machine.
1046
1063
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1071,14 +1088,16 @@ export declare type VirtualMachine = ProxyResource & {
1071
1088
  * NOTE: This property will not be serialized. It can only be populated by the server.
1072
1089
  */
1073
1090
  readonly vmType?: VirtualMachineType;
1074
- };
1091
+ }
1075
1092
  /** Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten. */
1076
- export declare type LabPlan = TrackedResource & {
1093
+ export interface LabPlan extends TrackedResource {
1077
1094
  /**
1078
1095
  * Metadata pertaining to creation and last modification of the lab plan.
1079
1096
  * NOTE: This property will not be serialized. It can only be populated by the server.
1080
1097
  */
1081
1098
  readonly systemData?: SystemData;
1099
+ /** Managed Identity Information */
1100
+ identity?: Identity;
1082
1101
  /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
1083
1102
  defaultConnectionProfile?: ConnectionProfile;
1084
1103
  /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
@@ -1098,9 +1117,9 @@ export declare type LabPlan = TrackedResource & {
1098
1117
  * NOTE: This property will not be serialized. It can only be populated by the server.
1099
1118
  */
1100
1119
  readonly provisioningState?: ProvisioningState;
1101
- };
1120
+ }
1102
1121
  /** The lab resource. */
1103
- export declare type Lab = TrackedResource & {
1122
+ export interface Lab extends TrackedResource {
1104
1123
  /**
1105
1124
  * Metadata pertaining to creation and last modification of the lab.
1106
1125
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1134,12 +1153,16 @@ export declare type Lab = TrackedResource & {
1134
1153
  * NOTE: This property will not be serialized. It can only be populated by the server.
1135
1154
  */
1136
1155
  readonly state?: LabState;
1137
- };
1156
+ }
1138
1157
  /** Known values of {@link CreatedByType} that the service accepts. */
1139
1158
  export declare enum KnownCreatedByType {
1159
+ /** User */
1140
1160
  User = "User",
1161
+ /** Application */
1141
1162
  Application = "Application",
1163
+ /** ManagedIdentity */
1142
1164
  ManagedIdentity = "ManagedIdentity",
1165
+ /** Key */
1143
1166
  Key = "Key"
1144
1167
  }
1145
1168
  /**
@@ -1155,8 +1178,11 @@ export declare enum KnownCreatedByType {
1155
1178
  export declare type CreatedByType = string;
1156
1179
  /** Known values of {@link Origin} that the service accepts. */
1157
1180
  export declare enum KnownOrigin {
1181
+ /** User */
1158
1182
  User = "user",
1183
+ /** System */
1159
1184
  System = "system",
1185
+ /** UserSystem */
1160
1186
  UserSystem = "user,system"
1161
1187
  }
1162
1188
  /**
@@ -1171,6 +1197,7 @@ export declare enum KnownOrigin {
1171
1197
  export declare type Origin = string;
1172
1198
  /** Known values of {@link ActionType} that the service accepts. */
1173
1199
  export declare enum KnownActionType {
1200
+ /** Internal */
1174
1201
  Internal = "Internal"
1175
1202
  }
1176
1203
  /**
@@ -1181,21 +1208,11 @@ export declare enum KnownActionType {
1181
1208
  * **Internal**
1182
1209
  */
1183
1210
  export declare type ActionType = string;
1184
- /** Known values of {@link UsageUnit} that the service accepts. */
1185
- export declare enum KnownUsageUnit {
1186
- Count = "Count"
1187
- }
1188
- /**
1189
- * Defines values for UsageUnit. \
1190
- * {@link KnownUsageUnit} can be used interchangeably with UsageUnit,
1191
- * this enum contains the known values that the service supports.
1192
- * ### Known values supported by the service
1193
- * **Count**
1194
- */
1195
- export declare type UsageUnit = string;
1196
1211
  /** Known values of {@link LabServicesSkuTier} that the service accepts. */
1197
1212
  export declare enum KnownLabServicesSkuTier {
1213
+ /** Standard */
1198
1214
  Standard = "Standard",
1215
+ /** Premium */
1199
1216
  Premium = "Premium"
1200
1217
  }
1201
1218
  /**
@@ -1228,6 +1245,7 @@ export declare enum KnownScaleType {
1228
1245
  export declare type ScaleType = string;
1229
1246
  /** Known values of {@link RestrictionType} that the service accepts. */
1230
1247
  export declare enum KnownRestrictionType {
1248
+ /** Location */
1231
1249
  Location = "Location"
1232
1250
  }
1233
1251
  /**
@@ -1240,7 +1258,9 @@ export declare enum KnownRestrictionType {
1240
1258
  export declare type RestrictionType = string;
1241
1259
  /** Known values of {@link RestrictionReasonCode} that the service accepts. */
1242
1260
  export declare enum KnownRestrictionReasonCode {
1261
+ /** QuotaId */
1243
1262
  QuotaId = "QuotaId",
1263
+ /** NotAvailableForSubscription */
1244
1264
  NotAvailableForSubscription = "NotAvailableForSubscription"
1245
1265
  }
1246
1266
  /**
@@ -1252,6 +1272,19 @@ export declare enum KnownRestrictionReasonCode {
1252
1272
  * **NotAvailableForSubscription**
1253
1273
  */
1254
1274
  export declare type RestrictionReasonCode = string;
1275
+ /** Known values of {@link UsageUnit} that the service accepts. */
1276
+ export declare enum KnownUsageUnit {
1277
+ /** Count */
1278
+ Count = "Count"
1279
+ }
1280
+ /**
1281
+ * Defines values for UsageUnit. \
1282
+ * {@link KnownUsageUnit} can be used interchangeably with UsageUnit,
1283
+ * this enum contains the known values that the service supports.
1284
+ * ### Known values supported by the service
1285
+ * **Count**
1286
+ */
1287
+ export declare type UsageUnit = string;
1255
1288
  /** Defines values for ProvisioningState. */
1256
1289
  export declare type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";
1257
1290
  /** Defines values for OsType. */
@@ -1494,6 +1527,34 @@ export interface SchedulesListByLabNextOptionalParams extends coreClient.Operati
1494
1527
  /** Contains response data for the listByLabNext operation. */
1495
1528
  export declare type SchedulesListByLabNextResponse = PagedSchedules;
1496
1529
  /** Optional parameters. */
1530
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
1531
+ /** The filter to apply to the operation. */
1532
+ filter?: string;
1533
+ }
1534
+ /** Contains response data for the list operation. */
1535
+ export declare type SkusListResponse = PagedLabServicesSkus;
1536
+ /** Optional parameters. */
1537
+ export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
1538
+ /** The filter to apply to the operation. */
1539
+ filter?: string;
1540
+ }
1541
+ /** Contains response data for the listNext operation. */
1542
+ export declare type SkusListNextResponse = PagedLabServicesSkus;
1543
+ /** Optional parameters. */
1544
+ export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
1545
+ /** The filter to apply to the operation. */
1546
+ filter?: string;
1547
+ }
1548
+ /** Contains response data for the listByLocation operation. */
1549
+ export declare type UsagesListByLocationResponse = ListUsagesResult;
1550
+ /** Optional parameters. */
1551
+ export interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
1552
+ /** The filter to apply to the operation. */
1553
+ filter?: string;
1554
+ }
1555
+ /** Contains response data for the listByLocationNext operation. */
1556
+ export declare type UsagesListByLocationNextResponse = ListUsagesResult;
1557
+ /** Optional parameters. */
1497
1558
  export interface UsersListByLabOptionalParams extends coreClient.OperationOptions {
1498
1559
  /** The filter to apply to the operation. */
1499
1560
  filter?: string;
@@ -1599,34 +1660,6 @@ export interface VirtualMachinesListByLabNextOptionalParams extends coreClient.O
1599
1660
  /** Contains response data for the listByLabNext operation. */
1600
1661
  export declare type VirtualMachinesListByLabNextResponse = PagedVirtualMachines;
1601
1662
  /** Optional parameters. */
1602
- export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
1603
- /** The filter to apply to the operation. */
1604
- filter?: string;
1605
- }
1606
- /** Contains response data for the listByLocation operation. */
1607
- export declare type UsagesListByLocationResponse = ListUsagesResult;
1608
- /** Optional parameters. */
1609
- export interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
1610
- /** The filter to apply to the operation. */
1611
- filter?: string;
1612
- }
1613
- /** Contains response data for the listByLocationNext operation. */
1614
- export declare type UsagesListByLocationNextResponse = ListUsagesResult;
1615
- /** Optional parameters. */
1616
- export interface SkusListOptionalParams extends coreClient.OperationOptions {
1617
- /** The filter to apply to the operation. */
1618
- filter?: string;
1619
- }
1620
- /** Contains response data for the list operation. */
1621
- export declare type SkusListResponse = PagedLabServicesSkus;
1622
- /** Optional parameters. */
1623
- export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
1624
- /** The filter to apply to the operation. */
1625
- filter?: string;
1626
- }
1627
- /** Contains response data for the listNext operation. */
1628
- export declare type SkusListNextResponse = PagedLabServicesSkus;
1629
- /** Optional parameters. */
1630
1663
  export interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions {
1631
1664
  /** server parameter */
1632
1665
  $host?: string;