@azure/arm-desktopvirtualization 1.0.0-beta.3 → 1.0.0-beta.4

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 (90) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/dist/index.js +537 -173
  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/msixPackagesCreateOrUpdateSample.js +2 -2
  8. package/dist-esm/samples-dev/msixPackagesCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/src/desktopVirtualizationAPIClient.d.ts +2 -0
  10. package/dist-esm/src/desktopVirtualizationAPIClient.d.ts.map +1 -1
  11. package/dist-esm/src/desktopVirtualizationAPIClient.js +49 -18
  12. package/dist-esm/src/desktopVirtualizationAPIClient.js.map +1 -1
  13. package/dist-esm/src/index.d.ts +1 -0
  14. package/dist-esm/src/index.d.ts.map +1 -1
  15. package/dist-esm/src/index.js +1 -0
  16. package/dist-esm/src/index.js.map +1 -1
  17. package/dist-esm/src/models/index.d.ts +101 -39
  18. package/dist-esm/src/models/index.d.ts.map +1 -1
  19. package/dist-esm/src/models/index.js +59 -0
  20. package/dist-esm/src/models/index.js.map +1 -1
  21. package/dist-esm/src/operations/applicationGroups.d.ts.map +1 -1
  22. package/dist-esm/src/operations/applicationGroups.js +37 -14
  23. package/dist-esm/src/operations/applicationGroups.js.map +1 -1
  24. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  25. package/dist-esm/src/operations/applications.js +19 -7
  26. package/dist-esm/src/operations/applications.js.map +1 -1
  27. package/dist-esm/src/operations/desktops.d.ts.map +1 -1
  28. package/dist-esm/src/operations/desktops.js +19 -7
  29. package/dist-esm/src/operations/desktops.js.map +1 -1
  30. package/dist-esm/src/operations/hostPools.d.ts.map +1 -1
  31. package/dist-esm/src/operations/hostPools.js +37 -14
  32. package/dist-esm/src/operations/hostPools.js.map +1 -1
  33. package/dist-esm/src/operations/msixImages.d.ts.map +1 -1
  34. package/dist-esm/src/operations/msixImages.js +19 -7
  35. package/dist-esm/src/operations/msixImages.js.map +1 -1
  36. package/dist-esm/src/operations/msixPackages.d.ts.map +1 -1
  37. package/dist-esm/src/operations/msixPackages.js +19 -7
  38. package/dist-esm/src/operations/msixPackages.js.map +1 -1
  39. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  40. package/dist-esm/src/operations/operations.js +19 -7
  41. package/dist-esm/src/operations/operations.js.map +1 -1
  42. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  43. package/dist-esm/src/operations/privateEndpointConnections.js +37 -14
  44. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  45. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  46. package/dist-esm/src/operations/privateLinkResources.js +37 -14
  47. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  48. package/dist-esm/src/operations/scalingPlans.d.ts.map +1 -1
  49. package/dist-esm/src/operations/scalingPlans.js +55 -21
  50. package/dist-esm/src/operations/scalingPlans.js.map +1 -1
  51. package/dist-esm/src/operations/sessionHosts.d.ts.map +1 -1
  52. package/dist-esm/src/operations/sessionHosts.js +19 -7
  53. package/dist-esm/src/operations/sessionHosts.js.map +1 -1
  54. package/dist-esm/src/operations/startMenuItems.d.ts.map +1 -1
  55. package/dist-esm/src/operations/startMenuItems.js +19 -7
  56. package/dist-esm/src/operations/startMenuItems.js.map +1 -1
  57. package/dist-esm/src/operations/userSessions.d.ts.map +1 -1
  58. package/dist-esm/src/operations/userSessions.js +37 -14
  59. package/dist-esm/src/operations/userSessions.js.map +1 -1
  60. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  61. package/dist-esm/src/operations/workspaces.js +37 -14
  62. package/dist-esm/src/operations/workspaces.js.map +1 -1
  63. package/dist-esm/src/pagingHelper.d.ts +13 -0
  64. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  65. package/dist-esm/src/pagingHelper.js +32 -0
  66. package/dist-esm/src/pagingHelper.js.map +1 -0
  67. package/dist-esm/test/sampleTest.js +11 -13
  68. package/dist-esm/test/sampleTest.js.map +1 -1
  69. package/package.json +15 -11
  70. package/review/arm-desktopvirtualization.api.md +134 -187
  71. package/src/desktopVirtualizationAPIClient.ts +60 -20
  72. package/src/index.ts +1 -0
  73. package/src/models/index.ts +99 -39
  74. package/src/operations/applicationGroups.ts +46 -17
  75. package/src/operations/applications.ts +27 -13
  76. package/src/operations/desktops.ts +27 -13
  77. package/src/operations/hostPools.ts +46 -17
  78. package/src/operations/msixImages.ts +27 -13
  79. package/src/operations/msixPackages.ts +27 -9
  80. package/src/operations/operations.ts +21 -8
  81. package/src/operations/privateEndpointConnections.ts +52 -25
  82. package/src/operations/privateLinkResources.ts +51 -24
  83. package/src/operations/scalingPlans.ts +71 -29
  84. package/src/operations/sessionHosts.ts +27 -9
  85. package/src/operations/startMenuItems.ts +26 -12
  86. package/src/operations/userSessions.ts +53 -26
  87. package/src/operations/workspaces.ts +46 -17
  88. package/src/pagingHelper.ts +39 -0
  89. package/types/arm-desktopvirtualization.d.ts +112 -39
  90. package/types/tsdoc-metadata.json +1 -1
@@ -9,36 +9,36 @@ import * as coreClient from '@azure/core-client';
9
9
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
10
 
11
11
  // @public
12
- export type Application = Resource & {
13
- readonly systemData?: SystemData;
14
- readonly objectId?: string;
12
+ export interface Application extends Resource {
13
+ applicationType?: RemoteApplicationType;
14
+ commandLineArguments?: string;
15
+ commandLineSetting: CommandLineSetting;
15
16
  description?: string;
16
- friendlyName?: string;
17
17
  filePath?: string;
18
- msixPackageFamilyName?: string;
18
+ friendlyName?: string;
19
+ readonly iconContent?: Uint8Array;
20
+ readonly iconHash?: string;
21
+ iconIndex?: number;
22
+ iconPath?: string;
19
23
  msixPackageApplicationId?: string;
20
- applicationType?: RemoteApplicationType;
21
- commandLineSetting: CommandLineSetting;
22
- commandLineArguments?: string;
24
+ msixPackageFamilyName?: string;
25
+ readonly objectId?: string;
23
26
  showInPortal?: boolean;
24
- iconPath?: string;
25
- iconIndex?: number;
26
- readonly iconHash?: string;
27
- readonly iconContent?: Uint8Array;
28
- };
27
+ readonly systemData?: SystemData;
28
+ }
29
29
 
30
30
  // @public
31
- export type ApplicationGroup = ResourceModelWithAllowedPropertySet & {
32
- readonly systemData?: SystemData;
33
- readonly objectId?: string;
31
+ export interface ApplicationGroup extends ResourceModelWithAllowedPropertySet {
32
+ applicationGroupType: ApplicationGroupType;
33
+ readonly cloudPcResource?: boolean;
34
34
  description?: string;
35
35
  friendlyName?: string;
36
36
  hostPoolArmPath: string;
37
- readonly workspaceArmPath?: string;
38
- applicationGroupType: ApplicationGroupType;
39
37
  migrationRequest?: MigrationRequestProperties;
40
- readonly cloudPcResource?: boolean;
41
- };
38
+ readonly objectId?: string;
39
+ readonly systemData?: SystemData;
40
+ readonly workspaceArmPath?: string;
41
+ }
42
42
 
43
43
  // @public
44
44
  export interface ApplicationGroupList {
@@ -47,13 +47,13 @@ export interface ApplicationGroupList {
47
47
  }
48
48
 
49
49
  // @public
50
- export type ApplicationGroupPatch = Resource & {
50
+ export interface ApplicationGroupPatch extends Resource {
51
+ description?: string;
52
+ friendlyName?: string;
51
53
  tags?: {
52
54
  [propertyName: string]: string;
53
55
  };
54
- description?: string;
55
- friendlyName?: string;
56
- };
56
+ }
57
57
 
58
58
  // @public
59
59
  export interface ApplicationGroups {
@@ -220,14 +220,14 @@ export type CommandLineSetting = string;
220
220
  export type CreatedByType = string;
221
221
 
222
222
  // @public
223
- export type Desktop = Resource & {
224
- readonly systemData?: SystemData;
225
- readonly objectId?: string;
223
+ export interface Desktop extends Resource {
226
224
  description?: string;
227
225
  friendlyName?: string;
228
- readonly iconHash?: string;
229
226
  readonly iconContent?: Uint8Array;
230
- };
227
+ readonly iconHash?: string;
228
+ readonly objectId?: string;
229
+ readonly systemData?: SystemData;
230
+ }
231
231
 
232
232
  // @public
233
233
  export interface DesktopList {
@@ -327,21 +327,21 @@ export interface DesktopVirtualizationAPIClientOptionalParams extends coreClient
327
327
  }
328
328
 
329
329
  // @public
330
- export type ExpandMsixImage = Resource & {
331
- packageAlias?: string;
330
+ export interface ExpandMsixImage extends Resource {
331
+ displayName?: string;
332
332
  imagePath?: string;
333
- packageName?: string;
333
+ isActive?: boolean;
334
+ isRegularRegistration?: boolean;
335
+ lastUpdated?: Date;
336
+ packageAlias?: string;
337
+ packageApplications?: MsixPackageApplications[];
338
+ packageDependencies?: MsixPackageDependencies[];
334
339
  packageFamilyName?: string;
335
340
  packageFullName?: string;
336
- displayName?: string;
341
+ packageName?: string;
337
342
  packageRelativePath?: string;
338
- isRegularRegistration?: boolean;
339
- isActive?: boolean;
340
- packageDependencies?: MsixPackageDependencies[];
341
343
  version?: string;
342
- lastUpdated?: Date;
343
- packageApplications?: MsixPackageApplications[];
344
- };
344
+ }
345
345
 
346
346
  // @public
347
347
  export interface ExpandMsixImageList {
@@ -349,6 +349,9 @@ export interface ExpandMsixImageList {
349
349
  value?: ExpandMsixImage[];
350
350
  }
351
351
 
352
+ // @public
353
+ export function getContinuationToken(page: unknown): string | undefined;
354
+
352
355
  // @public
353
356
  export type HealthCheckName = string;
354
357
 
@@ -356,31 +359,31 @@ export type HealthCheckName = string;
356
359
  export type HealthCheckResult = string;
357
360
 
358
361
  // @public
359
- export type HostPool = ResourceModelWithAllowedPropertySet & {
360
- readonly systemData?: SystemData;
361
- readonly objectId?: string;
362
- friendlyName?: string;
362
+ export interface HostPool extends ResourceModelWithAllowedPropertySet {
363
+ readonly applicationGroupReferences?: string[];
364
+ readonly cloudPcResource?: boolean;
365
+ customRdpProperty?: string;
363
366
  description?: string;
367
+ friendlyName?: string;
364
368
  hostPoolType: HostPoolType;
365
- personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
366
- customRdpProperty?: string;
367
- maxSessionLimit?: number;
368
369
  loadBalancerType: LoadBalancerType;
369
- ring?: number;
370
- validationEnvironment?: boolean;
370
+ maxSessionLimit?: number;
371
+ migrationRequest?: MigrationRequestProperties;
372
+ readonly objectId?: string;
373
+ personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
374
+ preferredAppGroupType: PreferredAppGroupType;
375
+ publicNetworkAccess?: PublicNetworkAccess;
371
376
  registrationInfo?: RegistrationInfo;
372
- vmTemplate?: string;
373
- readonly applicationGroupReferences?: string[];
377
+ ring?: number;
374
378
  ssoadfsAuthority?: string;
375
379
  ssoClientId?: string;
376
380
  ssoClientSecretKeyVaultPath?: string;
377
381
  ssoSecretType?: SSOSecretType;
378
- preferredAppGroupType: PreferredAppGroupType;
379
382
  startVMOnConnect?: boolean;
380
- migrationRequest?: MigrationRequestProperties;
381
- readonly cloudPcResource?: boolean;
382
- publicNetworkAccess?: PublicNetworkAccess;
383
- };
383
+ readonly systemData?: SystemData;
384
+ validationEnvironment?: boolean;
385
+ vmTemplate?: string;
386
+ }
384
387
 
385
388
  // @public
386
389
  export interface HostPoolList {
@@ -389,28 +392,28 @@ export interface HostPoolList {
389
392
  }
390
393
 
391
394
  // @public
392
- export type HostPoolPatch = Resource & {
393
- tags?: {
394
- [propertyName: string]: string;
395
- };
396
- friendlyName?: string;
397
- description?: string;
395
+ export interface HostPoolPatch extends Resource {
398
396
  customRdpProperty?: string;
397
+ description?: string;
398
+ friendlyName?: string;
399
+ loadBalancerType?: LoadBalancerType;
399
400
  maxSessionLimit?: number;
400
401
  personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
401
- loadBalancerType?: LoadBalancerType;
402
- ring?: number;
403
- validationEnvironment?: boolean;
402
+ preferredAppGroupType?: PreferredAppGroupType;
403
+ publicNetworkAccess?: PublicNetworkAccess;
404
404
  registrationInfo?: RegistrationInfoPatch;
405
- vmTemplate?: string;
405
+ ring?: number;
406
406
  ssoadfsAuthority?: string;
407
407
  ssoClientId?: string;
408
408
  ssoClientSecretKeyVaultPath?: string;
409
409
  ssoSecretType?: SSOSecretType;
410
- preferredAppGroupType?: PreferredAppGroupType;
411
410
  startVMOnConnect?: boolean;
412
- publicNetworkAccess?: PublicNetworkAccess;
413
- };
411
+ tags?: {
412
+ [propertyName: string]: string;
413
+ };
414
+ validationEnvironment?: boolean;
415
+ vmTemplate?: string;
416
+ }
414
417
 
415
418
  // @public
416
419
  export interface HostPools {
@@ -497,39 +500,28 @@ export interface Identity {
497
500
 
498
501
  // @public
499
502
  export enum KnownApplicationGroupType {
500
- // (undocumented)
501
503
  Desktop = "Desktop",
502
- // (undocumented)
503
504
  RemoteApp = "RemoteApp"
504
505
  }
505
506
 
506
507
  // @public
507
508
  export enum KnownApplicationType {
508
- // (undocumented)
509
509
  Desktop = "Desktop",
510
- // (undocumented)
511
510
  RemoteApp = "RemoteApp"
512
511
  }
513
512
 
514
513
  // @public
515
514
  export enum KnownCommandLineSetting {
516
- // (undocumented)
517
515
  Allow = "Allow",
518
- // (undocumented)
519
516
  DoNotAllow = "DoNotAllow",
520
- // (undocumented)
521
517
  Require = "Require"
522
518
  }
523
519
 
524
520
  // @public
525
521
  export enum KnownCreatedByType {
526
- // (undocumented)
527
522
  Application = "Application",
528
- // (undocumented)
529
523
  Key = "Key",
530
- // (undocumented)
531
524
  ManagedIdentity = "ManagedIdentity",
532
- // (undocumented)
533
525
  User = "User"
534
526
  }
535
527
 
@@ -565,11 +557,8 @@ export enum KnownHostPoolType {
565
557
 
566
558
  // @public
567
559
  export enum KnownLoadBalancerType {
568
- // (undocumented)
569
560
  BreadthFirst = "BreadthFirst",
570
- // (undocumented)
571
561
  DepthFirst = "DepthFirst",
572
- // (undocumented)
573
562
  Persistent = "Persistent"
574
563
  }
575
564
 
@@ -584,67 +573,48 @@ export enum KnownOperation {
584
573
 
585
574
  // @public
586
575
  export enum KnownPersonalDesktopAssignmentType {
587
- // (undocumented)
588
576
  Automatic = "Automatic",
589
- // (undocumented)
590
577
  Direct = "Direct"
591
578
  }
592
579
 
593
580
  // @public
594
581
  export enum KnownPreferredAppGroupType {
595
- // (undocumented)
596
582
  Desktop = "Desktop",
597
- // (undocumented)
598
583
  None = "None",
599
- // (undocumented)
600
584
  RailApplications = "RailApplications"
601
585
  }
602
586
 
603
587
  // @public
604
588
  export enum KnownPrivateEndpointConnectionProvisioningState {
605
- // (undocumented)
606
589
  Creating = "Creating",
607
- // (undocumented)
608
590
  Deleting = "Deleting",
609
- // (undocumented)
610
591
  Failed = "Failed",
611
- // (undocumented)
612
592
  Succeeded = "Succeeded"
613
593
  }
614
594
 
615
595
  // @public
616
596
  export enum KnownPrivateEndpointServiceConnectionStatus {
617
- // (undocumented)
618
597
  Approved = "Approved",
619
- // (undocumented)
620
598
  Pending = "Pending",
621
- // (undocumented)
622
599
  Rejected = "Rejected"
623
600
  }
624
601
 
625
602
  // @public
626
603
  export enum KnownPublicNetworkAccess {
627
- // (undocumented)
628
604
  Disabled = "Disabled",
629
- // (undocumented)
630
605
  Enabled = "Enabled"
631
606
  }
632
607
 
633
608
  // @public
634
609
  export enum KnownRegistrationTokenOperation {
635
- // (undocumented)
636
610
  Delete = "Delete",
637
- // (undocumented)
638
611
  None = "None",
639
- // (undocumented)
640
612
  Update = "Update"
641
613
  }
642
614
 
643
615
  // @public
644
616
  export enum KnownRemoteApplicationType {
645
- // (undocumented)
646
617
  InBuilt = "InBuilt",
647
- // (undocumented)
648
618
  MsixApplication = "MsixApplication"
649
619
  }
650
620
 
@@ -655,55 +625,36 @@ export enum KnownScalingHostPoolType {
655
625
 
656
626
  // @public
657
627
  export enum KnownScalingScheduleDaysOfWeekItem {
658
- // (undocumented)
659
628
  Friday = "Friday",
660
- // (undocumented)
661
629
  Monday = "Monday",
662
- // (undocumented)
663
630
  Saturday = "Saturday",
664
- // (undocumented)
665
631
  Sunday = "Sunday",
666
- // (undocumented)
667
632
  Thursday = "Thursday",
668
- // (undocumented)
669
633
  Tuesday = "Tuesday",
670
- // (undocumented)
671
634
  Wednesday = "Wednesday"
672
635
  }
673
636
 
674
637
  // @public
675
638
  export enum KnownSessionHostLoadBalancingAlgorithm {
676
- // (undocumented)
677
639
  BreadthFirst = "BreadthFirst",
678
- // (undocumented)
679
640
  DepthFirst = "DepthFirst"
680
641
  }
681
642
 
682
643
  // @public
683
644
  export enum KnownSessionState {
684
- // (undocumented)
685
645
  Active = "Active",
686
- // (undocumented)
687
646
  Disconnected = "Disconnected",
688
- // (undocumented)
689
647
  LogOff = "LogOff",
690
- // (undocumented)
691
648
  Pending = "Pending",
692
- // (undocumented)
693
649
  Unknown = "Unknown",
694
- // (undocumented)
695
650
  UserProfileDiskMounted = "UserProfileDiskMounted"
696
651
  }
697
652
 
698
653
  // @public
699
654
  export enum KnownSSOSecretType {
700
- // (undocumented)
701
655
  Certificate = "Certificate",
702
- // (undocumented)
703
656
  CertificateInKeyVault = "CertificateInKeyVault",
704
- // (undocumented)
705
657
  SharedKey = "SharedKey",
706
- // (undocumented)
707
658
  SharedKeyInKeyVault = "SharedKeyInKeyVault"
708
659
  }
709
660
 
@@ -725,23 +676,16 @@ export enum KnownStatus {
725
676
 
726
677
  // @public
727
678
  export enum KnownStopHostsWhen {
728
- // (undocumented)
729
679
  ZeroActiveSessions = "ZeroActiveSessions",
730
- // (undocumented)
731
680
  ZeroSessions = "ZeroSessions"
732
681
  }
733
682
 
734
683
  // @public
735
684
  export enum KnownUpdateState {
736
- // (undocumented)
737
685
  Failed = "Failed",
738
- // (undocumented)
739
686
  Initial = "Initial",
740
- // (undocumented)
741
687
  Pending = "Pending",
742
- // (undocumented)
743
688
  Started = "Started",
744
- // (undocumented)
745
689
  Succeeded = "Succeeded"
746
690
  }
747
691
 
@@ -786,20 +730,20 @@ export interface MsixImageURI {
786
730
  }
787
731
 
788
732
  // @public
789
- export type MsixPackage = Resource & {
790
- readonly systemData?: SystemData;
791
- imagePath?: string;
792
- packageName?: string;
793
- packageFamilyName?: string;
733
+ export interface MsixPackage extends Resource {
794
734
  displayName?: string;
795
- packageRelativePath?: string;
796
- isRegularRegistration?: boolean;
735
+ imagePath?: string;
797
736
  isActive?: boolean;
798
- packageDependencies?: MsixPackageDependencies[];
799
- version?: string;
737
+ isRegularRegistration?: boolean;
800
738
  lastUpdated?: Date;
801
739
  packageApplications?: MsixPackageApplications[];
802
- };
740
+ packageDependencies?: MsixPackageDependencies[];
741
+ packageFamilyName?: string;
742
+ packageName?: string;
743
+ packageRelativePath?: string;
744
+ readonly systemData?: SystemData;
745
+ version?: string;
746
+ }
803
747
 
804
748
  // @public
805
749
  export interface MsixPackageApplications {
@@ -826,11 +770,11 @@ export interface MsixPackageList {
826
770
  }
827
771
 
828
772
  // @public
829
- export type MsixPackagePatch = Resource & {
773
+ export interface MsixPackagePatch extends Resource {
774
+ displayName?: string;
830
775
  isActive?: boolean;
831
776
  isRegularRegistration?: boolean;
832
- displayName?: string;
833
- };
777
+ }
834
778
 
835
779
  // @public
836
780
  export interface MsixPackages {
@@ -929,11 +873,11 @@ export interface PrivateEndpoint {
929
873
  }
930
874
 
931
875
  // @public
932
- export type PrivateEndpointConnection = Resource & {
876
+ export interface PrivateEndpointConnection extends Resource {
933
877
  privateEndpoint?: PrivateEndpoint;
934
878
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
935
879
  provisioningState?: PrivateEndpointConnectionProvisioningState;
936
- };
880
+ }
937
881
 
938
882
  // @public
939
883
  export interface PrivateEndpointConnectionListResultWithSystemData {
@@ -1021,19 +965,19 @@ export interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams exten
1021
965
  export type PrivateEndpointConnectionsUpdateByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;
1022
966
 
1023
967
  // @public
1024
- export type PrivateEndpointConnectionWithSystemData = PrivateEndpointConnection & {
968
+ export interface PrivateEndpointConnectionWithSystemData extends PrivateEndpointConnection {
1025
969
  readonly systemData?: SystemData;
1026
- };
970
+ }
1027
971
 
1028
972
  // @public
1029
973
  export type PrivateEndpointServiceConnectionStatus = string;
1030
974
 
1031
975
  // @public
1032
- export type PrivateLinkResource = Resource & {
976
+ export interface PrivateLinkResource extends Resource {
1033
977
  readonly groupId?: string;
1034
978
  readonly requiredMembers?: string[];
1035
979
  requiredZoneNames?: string[];
1036
- };
980
+ }
1037
981
 
1038
982
  // @public
1039
983
  export interface PrivateLinkResourceListResult {
@@ -1132,13 +1076,16 @@ export interface ResourceModelWithAllowedPropertySet {
1132
1076
  }
1133
1077
 
1134
1078
  // @public (undocumented)
1135
- export type ResourceModelWithAllowedPropertySetIdentity = Identity & {};
1079
+ export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
1080
+ }
1136
1081
 
1137
1082
  // @public (undocumented)
1138
- export type ResourceModelWithAllowedPropertySetPlan = Plan & {};
1083
+ export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
1084
+ }
1139
1085
 
1140
1086
  // @public (undocumented)
1141
- export type ResourceModelWithAllowedPropertySetSku = Sku & {};
1087
+ export interface ResourceModelWithAllowedPropertySetSku extends Sku {
1088
+ }
1142
1089
 
1143
1090
  // @public
1144
1091
  export interface ResourceProviderOperation {
@@ -1172,17 +1119,17 @@ export interface ScalingHostPoolReference {
1172
1119
  export type ScalingHostPoolType = string;
1173
1120
 
1174
1121
  // @public
1175
- export type ScalingPlan = ResourceModelWithAllowedPropertySet & {
1176
- readonly systemData?: SystemData;
1177
- readonly objectId?: string;
1122
+ export interface ScalingPlan extends ResourceModelWithAllowedPropertySet {
1178
1123
  description?: string;
1124
+ exclusionTag?: string;
1179
1125
  friendlyName?: string;
1180
- timeZone?: string;
1126
+ hostPoolReferences?: ScalingHostPoolReference[];
1181
1127
  hostPoolType?: ScalingHostPoolType;
1182
- exclusionTag?: string;
1128
+ readonly objectId?: string;
1183
1129
  schedules?: ScalingSchedule[];
1184
- hostPoolReferences?: ScalingHostPoolReference[];
1185
- };
1130
+ readonly systemData?: SystemData;
1131
+ timeZone?: string;
1132
+ }
1186
1133
 
1187
1134
  // @public
1188
1135
  export interface ScalingPlanList {
@@ -1319,25 +1266,25 @@ export interface ServiceSpecification {
1319
1266
  }
1320
1267
 
1321
1268
  // @public
1322
- export type SessionHost = Resource & {
1323
- readonly systemData?: SystemData;
1324
- readonly objectId?: string;
1325
- lastHeartBeat?: Date;
1326
- sessions?: number;
1269
+ export interface SessionHost extends Resource {
1327
1270
  agentVersion?: string;
1328
1271
  allowNewSession?: boolean;
1329
- readonly virtualMachineId?: string;
1330
- readonly resourceId?: string;
1331
1272
  assignedUser?: string;
1273
+ lastHeartBeat?: Date;
1274
+ readonly lastUpdateTime?: Date;
1275
+ readonly objectId?: string;
1276
+ osVersion?: string;
1277
+ readonly resourceId?: string;
1278
+ readonly sessionHostHealthCheckResults?: SessionHostHealthCheckReport[];
1279
+ sessions?: number;
1332
1280
  status?: Status;
1333
1281
  readonly statusTimestamp?: Date;
1334
- osVersion?: string;
1335
1282
  sxSStackVersion?: string;
1336
- updateState?: UpdateState;
1337
- readonly lastUpdateTime?: Date;
1283
+ readonly systemData?: SystemData;
1338
1284
  updateErrorMessage?: string;
1339
- readonly sessionHostHealthCheckResults?: SessionHostHealthCheckReport[];
1340
- };
1285
+ updateState?: UpdateState;
1286
+ readonly virtualMachineId?: string;
1287
+ }
1341
1288
 
1342
1289
  // @public
1343
1290
  export interface SessionHostHealthCheckFailureDetails {
@@ -1363,10 +1310,10 @@ export interface SessionHostList {
1363
1310
  export type SessionHostLoadBalancingAlgorithm = string;
1364
1311
 
1365
1312
  // @public
1366
- export type SessionHostPatch = Resource & {
1313
+ export interface SessionHostPatch extends Resource {
1367
1314
  allowNewSession?: boolean;
1368
1315
  assignedUser?: string;
1369
- };
1316
+ }
1370
1317
 
1371
1318
  // @public
1372
1319
  export interface SessionHosts {
@@ -1430,13 +1377,13 @@ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
1430
1377
  export type SSOSecretType = string;
1431
1378
 
1432
1379
  // @public
1433
- export type StartMenuItem = Resource & {
1380
+ export interface StartMenuItem extends Resource {
1434
1381
  appAlias?: string;
1435
- filePath?: string;
1436
1382
  commandLineArguments?: string;
1437
- iconPath?: string;
1383
+ filePath?: string;
1438
1384
  iconIndex?: number;
1439
- };
1385
+ iconPath?: string;
1386
+ }
1440
1387
 
1441
1388
  // @public
1442
1389
  export interface StartMenuItemList {
@@ -1489,15 +1436,15 @@ export interface Time {
1489
1436
  export type UpdateState = string;
1490
1437
 
1491
1438
  // @public
1492
- export type UserSession = Resource & {
1493
- readonly systemData?: SystemData;
1494
- readonly objectId?: string;
1495
- userPrincipalName?: string;
1496
- applicationType?: ApplicationType;
1497
- sessionState?: SessionState;
1439
+ export interface UserSession extends Resource {
1498
1440
  activeDirectoryUserName?: string;
1441
+ applicationType?: ApplicationType;
1499
1442
  createTime?: Date;
1500
- };
1443
+ readonly objectId?: string;
1444
+ sessionState?: SessionState;
1445
+ readonly systemData?: SystemData;
1446
+ userPrincipalName?: string;
1447
+ }
1501
1448
 
1502
1449
  // @public
1503
1450
  export interface UserSessionList {
@@ -1567,15 +1514,15 @@ export interface UserSessionsSendMessageOptionalParams extends coreClient.Operat
1567
1514
  }
1568
1515
 
1569
1516
  // @public
1570
- export type Workspace = ResourceModelWithAllowedPropertySet & {
1571
- readonly systemData?: SystemData;
1572
- readonly objectId?: string;
1573
- description?: string;
1574
- friendlyName?: string;
1517
+ export interface Workspace extends ResourceModelWithAllowedPropertySet {
1575
1518
  applicationGroupReferences?: string[];
1576
1519
  readonly cloudPcResource?: boolean;
1520
+ description?: string;
1521
+ friendlyName?: string;
1522
+ readonly objectId?: string;
1577
1523
  publicNetworkAccess?: PublicNetworkAccess;
1578
- };
1524
+ readonly systemData?: SystemData;
1525
+ }
1579
1526
 
1580
1527
  // @public
1581
1528
  export interface WorkspaceList {