@azure-rest/developer-devcenter 1.0.0-alpha.20221214.2 → 1.0.0-alpha.20230202.2

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.
@@ -19,32 +19,6 @@ export declare interface ActionRequest {
19
19
  parameters?: Record<string, unknown>;
20
20
  }
21
21
 
22
- /** Results of the artifact list operation. */
23
- export declare interface ArtifactListResultOutput {
24
- /** Current page of results. */
25
- value: Array<ArtifactOutput>;
26
- /** URL to get the next set of results if there are any. */
27
- nextLink?: string;
28
- }
29
-
30
- /** Properties of an Artifact */
31
- export declare interface ArtifactOutput {
32
- /** Artifact identifier */
33
- id?: string;
34
- /** Artifact name */
35
- name?: string;
36
- /** Whether artifact is a directory */
37
- isDirectory?: boolean;
38
- /** Uri where the file contents can be downloaded */
39
- downloadUri?: string;
40
- /** Size of file in bytes, if the artifact is a file */
41
- fileSize?: number;
42
- /** Time the artifact was created */
43
- createdTime?: string;
44
- /** Time the artifact was last modified */
45
- lastModifiedTime?: string;
46
- }
47
-
48
22
  export declare type AzureDevCenterClient = Client & {
49
23
  path: Routes;
50
24
  };
@@ -165,22 +139,10 @@ export declare interface CloudErrorOutput {
165
139
 
166
140
  /**
167
141
  * Initialize a new instance of the class AzureDevCenterClient class.
168
- * @param tenantId type: string The tenant to operate on.
169
- * @param devCenter type: string The DevCenter to operate on.
142
+ * @param endpoint type: string The DevCenter-specific URI to operate on.
170
143
  * @param credentials type: TokenCredential
171
- * @param options type: ClientOptions
172
144
  */
173
- declare function createClient(tenantId: string, devCenter: string, credentials: TokenCredential, options?: ClientOptions): AzureDevCenterClient;
174
-
175
- /**
176
- * Initialize a new instance of the class AzureDevCenterClient class.
177
- * @param tenantId type: string The tenant to operate on.
178
- * @param devCenter type: string The DevCenter to operate on.
179
- * @param credentials type: TokenCredential
180
- * @param devCenterDnsSuffix type: string The DNS suffix used as the base for all devcenter requests.
181
- * @param options type: ClientOptions
182
- */
183
- declare function createClient(tenantId: string, devCenter: string, credentials: TokenCredential, devCenterDnsSuffix?: string, options?: ClientOptions): AzureDevCenterClient;
145
+ declare function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureDevCenterClient;
184
146
  export default createClient;
185
147
 
186
148
  /** A DevBox Dev Box */
@@ -191,6 +153,8 @@ export declare interface DevBox {
191
153
  projectName?: string;
192
154
  /** The name of the Dev Box pool this machine belongs to. */
193
155
  poolName: string;
156
+ /** Indicates whether hibernate is enabled/disabled or unknown. */
157
+ hibernateSupport?: "Disabled" | "Enabled";
194
158
  /** The current provisioning state of the Dev Box. */
195
159
  provisioningState?: string;
196
160
  /** The current action state of the Dev Box. This is state is based on previous action performed by user. */
@@ -205,7 +169,7 @@ export declare interface DevBox {
205
169
  location?: string;
206
170
  /** The operating system type of this Dev Box. */
207
171
  osType?: "Windows";
208
- /** User identifier of the user this vm is assigned to. */
172
+ /** The AAD object id of the user this Dev Box is assigned to. */
209
173
  user?: string;
210
174
  /** Information about the Dev Box's hardware resources */
211
175
  hardwareProfile?: HardwareProfile;
@@ -255,10 +219,38 @@ export declare interface DevBoxesCreateDevBoxMediaTypesParam {
255
219
 
256
220
  export declare type DevBoxesCreateDevBoxParameters = DevBoxesCreateDevBoxMediaTypesParam & DevBoxesCreateDevBoxBodyParam & RequestParameters;
257
221
 
258
- /** Deletes a Dev Box. */
259
- export declare interface DevBoxesDeleteDevBox200Response extends HttpResponse {
222
+ export declare interface DevBoxesDelayUpcomingAction {
223
+ /** Delays an Upcoming Action. */
224
+ post(options: DevBoxesDelayUpcomingActionParameters): StreamableMethod<DevBoxesDelayUpcomingAction200Response | DevBoxesDelayUpcomingActionDefaultResponse>;
225
+ }
226
+
227
+ /** Delays an Upcoming Action. */
228
+ export declare interface DevBoxesDelayUpcomingAction200Response extends HttpResponse {
260
229
  status: "200";
261
- body: DevBoxOutput;
230
+ body: UpcomingActionOutput;
231
+ }
232
+
233
+ export declare interface DevBoxesDelayUpcomingActionDefaultHeaders {
234
+ /** The error code for specific error that occurred. */
235
+ "x-ms-error-code"?: string;
236
+ }
237
+
238
+ /** Delays an Upcoming Action. */
239
+ export declare interface DevBoxesDelayUpcomingActionDefaultResponse extends HttpResponse {
240
+ status: string;
241
+ body: CloudErrorOutput;
242
+ headers: RawHttpHeaders & DevBoxesDelayUpcomingActionDefaultHeaders;
243
+ }
244
+
245
+ export declare type DevBoxesDelayUpcomingActionParameters = DevBoxesDelayUpcomingActionQueryParam & RequestParameters;
246
+
247
+ export declare interface DevBoxesDelayUpcomingActionQueryParam {
248
+ queryParameters: DevBoxesDelayUpcomingActionQueryParamProperties;
249
+ }
250
+
251
+ export declare interface DevBoxesDelayUpcomingActionQueryParamProperties {
252
+ /** The delayed action time (UTC). */
253
+ delayUntil: Date | string;
262
254
  }
263
255
 
264
256
  export declare interface DevBoxesDeleteDevBox202Headers {
@@ -299,7 +291,7 @@ export declare interface DevBoxesGetDevBoxByUser {
299
291
  /** Creates or updates a Dev Box. */
300
292
  put(options: DevBoxesCreateDevBoxParameters): StreamableMethod<DevBoxesCreateDevBox200Response | DevBoxesCreateDevBox201Response | DevBoxesCreateDevBoxDefaultResponse>;
301
293
  /** Deletes a Dev Box. */
302
- delete(options?: DevBoxesDeleteDevBoxParameters): StreamableMethod<DevBoxesDeleteDevBox200Response | DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse>;
294
+ delete(options?: DevBoxesDeleteDevBoxParameters): StreamableMethod<DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse>;
303
295
  }
304
296
 
305
297
  /** Gets a Dev Box */
@@ -397,6 +389,31 @@ export declare interface DevBoxesGetScheduleByPoolDefaultResponse extends HttpRe
397
389
 
398
390
  export declare type DevBoxesGetScheduleByPoolParameters = RequestParameters;
399
391
 
392
+ export declare interface DevBoxesGetUpcomingAction {
393
+ /** Gets an Upcoming Action. */
394
+ get(options?: DevBoxesGetUpcomingActionParameters): StreamableMethod<DevBoxesGetUpcomingAction200Response | DevBoxesGetUpcomingActionDefaultResponse>;
395
+ }
396
+
397
+ /** Gets an Upcoming Action. */
398
+ export declare interface DevBoxesGetUpcomingAction200Response extends HttpResponse {
399
+ status: "200";
400
+ body: UpcomingActionOutput;
401
+ }
402
+
403
+ export declare interface DevBoxesGetUpcomingActionDefaultHeaders {
404
+ /** The error code for specific error that occurred. */
405
+ "x-ms-error-code"?: string;
406
+ }
407
+
408
+ /** Gets an Upcoming Action. */
409
+ export declare interface DevBoxesGetUpcomingActionDefaultResponse extends HttpResponse {
410
+ status: string;
411
+ body: CloudErrorOutput;
412
+ headers: RawHttpHeaders & DevBoxesGetUpcomingActionDefaultHeaders;
413
+ }
414
+
415
+ export declare type DevBoxesGetUpcomingActionParameters = RequestParameters;
416
+
400
417
  export declare interface DevBoxesListDevBoxesByUser {
401
418
  /** Lists Dev Boxes in the project for a particular user. */
402
419
  get(options?: DevBoxesListDevBoxesByUserParameters): StreamableMethod<DevBoxesListDevBoxesByUser200Response | DevBoxesListDevBoxesByUserDefaultResponse>;
@@ -505,15 +522,59 @@ export declare interface DevBoxesListSchedulesByPoolQueryParamProperties {
505
522
  filter?: string;
506
523
  }
507
524
 
508
- export declare interface DevBoxesStartDevBox {
509
- /** Starts a Dev Box */
510
- post(options?: DevBoxesStartDevBoxParameters): StreamableMethod<DevBoxesStartDevBox200Response | DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse>;
525
+ export declare interface DevBoxesListUpcomingActions {
526
+ /** Lists upcoming actions on a Dev Box. */
527
+ get(options?: DevBoxesListUpcomingActionsParameters): StreamableMethod<DevBoxesListUpcomingActions200Response | DevBoxesListUpcomingActionsDefaultResponse>;
511
528
  }
512
529
 
513
- /** Starts a Dev Box */
514
- export declare interface DevBoxesStartDevBox200Response extends HttpResponse {
530
+ /** Lists upcoming actions on a Dev Box. */
531
+ export declare interface DevBoxesListUpcomingActions200Response extends HttpResponse {
515
532
  status: "200";
516
- body: DevBoxOutput;
533
+ body: UpcomingActionsListResultOutput;
534
+ }
535
+
536
+ export declare interface DevBoxesListUpcomingActionsDefaultHeaders {
537
+ /** The error code for specific error that occurred. */
538
+ "x-ms-error-code"?: string;
539
+ }
540
+
541
+ /** Lists upcoming actions on a Dev Box. */
542
+ export declare interface DevBoxesListUpcomingActionsDefaultResponse extends HttpResponse {
543
+ status: string;
544
+ body: CloudErrorOutput;
545
+ headers: RawHttpHeaders & DevBoxesListUpcomingActionsDefaultHeaders;
546
+ }
547
+
548
+ export declare type DevBoxesListUpcomingActionsParameters = RequestParameters;
549
+
550
+ export declare interface DevBoxesSkipUpcomingAction {
551
+ /** Skips an Upcoming Action. */
552
+ post(options?: DevBoxesSkipUpcomingActionParameters): StreamableMethod<DevBoxesSkipUpcomingAction204Response | DevBoxesSkipUpcomingActionDefaultResponse>;
553
+ }
554
+
555
+ /** Skips an Upcoming Action. */
556
+ export declare interface DevBoxesSkipUpcomingAction204Response extends HttpResponse {
557
+ status: "204";
558
+ body: Record<string, unknown>;
559
+ }
560
+
561
+ export declare interface DevBoxesSkipUpcomingActionDefaultHeaders {
562
+ /** The error code for specific error that occurred. */
563
+ "x-ms-error-code"?: string;
564
+ }
565
+
566
+ /** Skips an Upcoming Action. */
567
+ export declare interface DevBoxesSkipUpcomingActionDefaultResponse extends HttpResponse {
568
+ status: string;
569
+ body: CloudErrorOutput;
570
+ headers: RawHttpHeaders & DevBoxesSkipUpcomingActionDefaultHeaders;
571
+ }
572
+
573
+ export declare type DevBoxesSkipUpcomingActionParameters = RequestParameters;
574
+
575
+ export declare interface DevBoxesStartDevBox {
576
+ /** Starts a Dev Box */
577
+ post(options?: DevBoxesStartDevBoxParameters): StreamableMethod<DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse>;
517
578
  }
518
579
 
519
580
  export declare interface DevBoxesStartDevBox202Headers {
@@ -544,13 +605,7 @@ export declare type DevBoxesStartDevBoxParameters = RequestParameters;
544
605
 
545
606
  export declare interface DevBoxesStopDevBox {
546
607
  /** Stops a Dev Box */
547
- post(options?: DevBoxesStopDevBoxParameters): StreamableMethod<DevBoxesStopDevBox200Response | DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse>;
548
- }
549
-
550
- /** Stops a Dev Box */
551
- export declare interface DevBoxesStopDevBox200Response extends HttpResponse {
552
- status: "200";
553
- body: DevBoxOutput;
608
+ post(options?: DevBoxesStopDevBoxParameters): StreamableMethod<DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse>;
554
609
  }
555
610
 
556
611
  export declare interface DevBoxesStopDevBox202Headers {
@@ -577,7 +632,16 @@ export declare interface DevBoxesStopDevBoxDefaultResponse extends HttpResponse
577
632
  headers: RawHttpHeaders & DevBoxesStopDevBoxDefaultHeaders;
578
633
  }
579
634
 
580
- export declare type DevBoxesStopDevBoxParameters = RequestParameters;
635
+ export declare type DevBoxesStopDevBoxParameters = DevBoxesStopDevBoxQueryParam & RequestParameters;
636
+
637
+ export declare interface DevBoxesStopDevBoxQueryParam {
638
+ queryParameters?: DevBoxesStopDevBoxQueryParamProperties;
639
+ }
640
+
641
+ export declare interface DevBoxesStopDevBoxQueryParamProperties {
642
+ /** Optional parameter to hibernate the dev box. */
643
+ hibernate?: boolean;
644
+ }
581
645
 
582
646
  /** The Dev Box list result */
583
647
  export declare interface DevBoxListResultOutput {
@@ -595,6 +659,8 @@ export declare interface DevBoxOutput {
595
659
  projectName?: string;
596
660
  /** The name of the Dev Box pool this machine belongs to. */
597
661
  poolName: string;
662
+ /** Indicates whether hibernate is enabled/disabled or unknown. */
663
+ hibernateSupport?: "Disabled" | "Enabled";
598
664
  /** The current provisioning state of the Dev Box. */
599
665
  provisioningState?: string;
600
666
  /** The current action state of the Dev Box. This is state is based on previous action performed by user. */
@@ -609,7 +675,7 @@ export declare interface DevBoxOutput {
609
675
  location?: string;
610
676
  /** The operating system type of this Dev Box. */
611
677
  osType?: "Windows";
612
- /** User identifier of the user this vm is assigned to. */
678
+ /** The AAD object id of the user this Dev Box is assigned to. */
613
679
  user?: string;
614
680
  /** Information about the Dev Box's hardware resources */
615
681
  hardwareProfile?: HardwareProfileOutput;
@@ -750,8 +816,8 @@ export declare interface Environment extends EnvironmentUpdateProperties {
750
816
  name?: string;
751
817
  /** Environment type. */
752
818
  environmentType: string;
753
- /** Identifier of the owner of this Environment. */
754
- owner?: string;
819
+ /** The AAD object id of the owner of this Environment. */
820
+ user?: string;
755
821
  /** The provisioning state of the environment. */
756
822
  provisioningState?: string;
757
823
  /** The identifier of the resource group containing the environment's resources. */
@@ -772,8 +838,8 @@ export declare interface EnvironmentOutput extends EnvironmentUpdatePropertiesOu
772
838
  name?: string;
773
839
  /** Environment type. */
774
840
  environmentType: string;
775
- /** Identifier of the owner of this Environment. */
776
- owner?: string;
841
+ /** The AAD object id of the owner of this Environment. */
842
+ user?: string;
777
843
  /** The provisioning state of the environment. */
778
844
  provisioningState?: string;
779
845
  /** The identifier of the resource group containing the environment's resources. */
@@ -869,7 +935,7 @@ export declare interface EnvironmentsCustomEnvironmentActionMediaTypesParam {
869
935
 
870
936
  export declare type EnvironmentsCustomEnvironmentActionParameters = EnvironmentsCustomEnvironmentActionMediaTypesParam & EnvironmentsCustomEnvironmentActionBodyParam & RequestParameters;
871
937
 
872
- /** Deletes an environment and all it's associated resources */
938
+ /** Deletes an environment and all its associated resources */
873
939
  export declare interface EnvironmentsDeleteEnvironment200Response extends HttpResponse {
874
940
  status: "200";
875
941
  body: Record<string, unknown>;
@@ -880,72 +946,25 @@ export declare interface EnvironmentsDeleteEnvironment202Headers {
880
946
  "operation-location"?: string;
881
947
  }
882
948
 
883
- /** Deletes an environment and all it's associated resources */
949
+ /** Deletes an environment and all its associated resources */
884
950
  export declare interface EnvironmentsDeleteEnvironment202Response extends HttpResponse {
885
951
  status: "202";
886
952
  body: Record<string, unknown>;
887
953
  headers: RawHttpHeaders & EnvironmentsDeleteEnvironment202Headers;
888
954
  }
889
955
 
890
- /** Deletes an environment and all it's associated resources */
956
+ /** Deletes an environment and all its associated resources */
891
957
  export declare interface EnvironmentsDeleteEnvironment204Response extends HttpResponse {
892
958
  status: "204";
893
959
  body: Record<string, unknown>;
894
960
  }
895
961
 
896
- export declare interface EnvironmentsDeleteEnvironmentAction {
897
- /** Executes a delete action */
898
- post(options: EnvironmentsDeleteEnvironmentActionParameters): StreamableMethod<EnvironmentsDeleteEnvironmentAction200Response | EnvironmentsDeleteEnvironmentAction202Response | EnvironmentsDeleteEnvironmentActionDefaultResponse>;
899
- }
900
-
901
- /** Executes a delete action */
902
- export declare interface EnvironmentsDeleteEnvironmentAction200Response extends HttpResponse {
903
- status: "200";
904
- body: Record<string, unknown>;
905
- }
906
-
907
- export declare interface EnvironmentsDeleteEnvironmentAction202Headers {
908
- /** URL to query for status of the operation. */
909
- "operation-location"?: string;
910
- }
911
-
912
- /** Executes a delete action */
913
- export declare interface EnvironmentsDeleteEnvironmentAction202Response extends HttpResponse {
914
- status: "202";
915
- body: Record<string, unknown>;
916
- headers: RawHttpHeaders & EnvironmentsDeleteEnvironmentAction202Headers;
917
- }
918
-
919
- export declare interface EnvironmentsDeleteEnvironmentActionBodyParam {
920
- /** Action properties overriding the environment's default values. */
921
- body: ActionRequest;
922
- }
923
-
924
- export declare interface EnvironmentsDeleteEnvironmentActionDefaultHeaders {
925
- /** The error code for specific error that occurred. */
926
- "x-ms-error-code"?: string;
927
- }
928
-
929
- /** Executes a delete action */
930
- export declare interface EnvironmentsDeleteEnvironmentActionDefaultResponse extends HttpResponse {
931
- status: string;
932
- body: CloudErrorOutput;
933
- headers: RawHttpHeaders & EnvironmentsDeleteEnvironmentActionDefaultHeaders;
934
- }
935
-
936
- export declare interface EnvironmentsDeleteEnvironmentActionMediaTypesParam {
937
- /** Request content type */
938
- contentType?: "application/json";
939
- }
940
-
941
- export declare type EnvironmentsDeleteEnvironmentActionParameters = EnvironmentsDeleteEnvironmentActionMediaTypesParam & EnvironmentsDeleteEnvironmentActionBodyParam & RequestParameters;
942
-
943
962
  export declare interface EnvironmentsDeleteEnvironmentDefaultHeaders {
944
963
  /** The error code for specific error that occurred. */
945
964
  "x-ms-error-code"?: string;
946
965
  }
947
966
 
948
- /** Deletes an environment and all it's associated resources */
967
+ /** Deletes an environment and all its associated resources */
949
968
  export declare interface EnvironmentsDeleteEnvironmentDefaultResponse extends HttpResponse {
950
969
  status: string;
951
970
  body: CloudErrorOutput;
@@ -1058,7 +1077,7 @@ export declare interface EnvironmentsGetEnvironmentByUser {
1058
1077
  put(options: EnvironmentsCreateOrUpdateEnvironmentParameters): StreamableMethod<EnvironmentsCreateOrUpdateEnvironment200Response | EnvironmentsCreateOrUpdateEnvironment201Response | EnvironmentsCreateOrUpdateEnvironmentDefaultResponse>;
1059
1078
  /** Partially updates an environment */
1060
1079
  patch(options: EnvironmentsUpdateEnvironmentParameters): StreamableMethod<EnvironmentsUpdateEnvironment200Response | EnvironmentsUpdateEnvironmentDefaultResponse>;
1061
- /** Deletes an environment and all it's associated resources */
1080
+ /** Deletes an environment and all its associated resources */
1062
1081
  delete(options?: EnvironmentsDeleteEnvironmentParameters): StreamableMethod<EnvironmentsDeleteEnvironment200Response | EnvironmentsDeleteEnvironment202Response | EnvironmentsDeleteEnvironment204Response | EnvironmentsDeleteEnvironmentDefaultResponse>;
1063
1082
  }
1064
1083
 
@@ -1082,56 +1101,6 @@ export declare interface EnvironmentsGetEnvironmentByUserDefaultResponse extends
1082
1101
 
1083
1102
  export declare type EnvironmentsGetEnvironmentByUserParameters = RequestParameters;
1084
1103
 
1085
- export declare interface EnvironmentsListArtifactsByEnvironment {
1086
- /** Lists the artifacts for an environment */
1087
- get(options?: EnvironmentsListArtifactsByEnvironmentParameters): StreamableMethod<EnvironmentsListArtifactsByEnvironment200Response | EnvironmentsListArtifactsByEnvironmentDefaultResponse>;
1088
- }
1089
-
1090
- /** Lists the artifacts for an environment */
1091
- export declare interface EnvironmentsListArtifactsByEnvironment200Response extends HttpResponse {
1092
- status: "200";
1093
- body: ArtifactListResultOutput;
1094
- }
1095
-
1096
- export declare interface EnvironmentsListArtifactsByEnvironmentAndPath {
1097
- /** Lists the artifacts for an environment at a specified path, or returns the file at the path. */
1098
- get(options?: EnvironmentsListArtifactsByEnvironmentAndPathParameters): StreamableMethod<EnvironmentsListArtifactsByEnvironmentAndPath200Response | EnvironmentsListArtifactsByEnvironmentAndPathDefaultResponse>;
1099
- }
1100
-
1101
- /** Lists the artifacts for an environment at a specified path, or returns the file at the path. */
1102
- export declare interface EnvironmentsListArtifactsByEnvironmentAndPath200Response extends HttpResponse {
1103
- status: "200";
1104
- body: ArtifactListResultOutput;
1105
- }
1106
-
1107
- export declare interface EnvironmentsListArtifactsByEnvironmentAndPathDefaultHeaders {
1108
- /** The error code for specific error that occurred. */
1109
- "x-ms-error-code"?: string;
1110
- }
1111
-
1112
- /** Lists the artifacts for an environment at a specified path, or returns the file at the path. */
1113
- export declare interface EnvironmentsListArtifactsByEnvironmentAndPathDefaultResponse extends HttpResponse {
1114
- status: string;
1115
- body: CloudErrorOutput;
1116
- headers: RawHttpHeaders & EnvironmentsListArtifactsByEnvironmentAndPathDefaultHeaders;
1117
- }
1118
-
1119
- export declare type EnvironmentsListArtifactsByEnvironmentAndPathParameters = RequestParameters;
1120
-
1121
- export declare interface EnvironmentsListArtifactsByEnvironmentDefaultHeaders {
1122
- /** The error code for specific error that occurred. */
1123
- "x-ms-error-code"?: string;
1124
- }
1125
-
1126
- /** Lists the artifacts for an environment */
1127
- export declare interface EnvironmentsListArtifactsByEnvironmentDefaultResponse extends HttpResponse {
1128
- status: string;
1129
- body: CloudErrorOutput;
1130
- headers: RawHttpHeaders & EnvironmentsListArtifactsByEnvironmentDefaultHeaders;
1131
- }
1132
-
1133
- export declare type EnvironmentsListArtifactsByEnvironmentParameters = RequestParameters;
1134
-
1135
1104
  export declare interface EnvironmentsListCatalogItems {
1136
1105
  /** Lists latest version of all catalog items available for a project. */
1137
1106
  get(options?: EnvironmentsListCatalogItemsParameters): StreamableMethod<EnvironmentsListCatalogItems200Response | EnvironmentsListCatalogItemsDefaultResponse>;
@@ -1474,14 +1443,22 @@ export declare function isUnexpected(response: DevBoxesGetDevBoxByUser200Respons
1474
1443
 
1475
1444
  export declare function isUnexpected(response: DevBoxesCreateDevBox200Response | DevBoxesCreateDevBox201Response | DevBoxesCreateDevBoxDefaultResponse): response is DevBoxesCreateDevBoxDefaultResponse;
1476
1445
 
1477
- export declare function isUnexpected(response: DevBoxesDeleteDevBox200Response | DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse): response is DevBoxesDeleteDevBoxDefaultResponse;
1446
+ export declare function isUnexpected(response: DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse): response is DevBoxesDeleteDevBoxDefaultResponse;
1478
1447
 
1479
- export declare function isUnexpected(response: DevBoxesStartDevBox200Response | DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse): response is DevBoxesStartDevBoxDefaultResponse;
1448
+ export declare function isUnexpected(response: DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse): response is DevBoxesStartDevBoxDefaultResponse;
1480
1449
 
1481
- export declare function isUnexpected(response: DevBoxesStopDevBox200Response | DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse): response is DevBoxesStopDevBoxDefaultResponse;
1450
+ export declare function isUnexpected(response: DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse): response is DevBoxesStopDevBoxDefaultResponse;
1482
1451
 
1483
1452
  export declare function isUnexpected(response: DevBoxesGetRemoteConnection200Response | DevBoxesGetRemoteConnectionDefaultResponse): response is DevBoxesGetRemoteConnectionDefaultResponse;
1484
1453
 
1454
+ export declare function isUnexpected(response: DevBoxesListUpcomingActions200Response | DevBoxesListUpcomingActionsDefaultResponse): response is DevBoxesListUpcomingActionsDefaultResponse;
1455
+
1456
+ export declare function isUnexpected(response: DevBoxesGetUpcomingAction200Response | DevBoxesGetUpcomingActionDefaultResponse): response is DevBoxesGetUpcomingActionDefaultResponse;
1457
+
1458
+ export declare function isUnexpected(response: DevBoxesSkipUpcomingAction204Response | DevBoxesSkipUpcomingActionDefaultResponse): response is DevBoxesSkipUpcomingActionDefaultResponse;
1459
+
1460
+ export declare function isUnexpected(response: DevBoxesDelayUpcomingAction200Response | DevBoxesDelayUpcomingActionDefaultResponse): response is DevBoxesDelayUpcomingActionDefaultResponse;
1461
+
1485
1462
  export declare function isUnexpected(response: EnvironmentsListEnvironments200Response | EnvironmentsListEnvironmentsDefaultResponse): response is EnvironmentsListEnvironmentsDefaultResponse;
1486
1463
 
1487
1464
  export declare function isUnexpected(response: EnvironmentsListEnvironmentsByUser200Response | EnvironmentsListEnvironmentsByUserDefaultResponse): response is EnvironmentsListEnvironmentsByUserDefaultResponse;
@@ -1496,14 +1473,8 @@ export declare function isUnexpected(response: EnvironmentsDeleteEnvironment200R
1496
1473
 
1497
1474
  export declare function isUnexpected(response: EnvironmentsDeployEnvironmentAction200Response | EnvironmentsDeployEnvironmentAction202Response | EnvironmentsDeployEnvironmentActionDefaultResponse): response is EnvironmentsDeployEnvironmentActionDefaultResponse;
1498
1475
 
1499
- export declare function isUnexpected(response: EnvironmentsDeleteEnvironmentAction200Response | EnvironmentsDeleteEnvironmentAction202Response | EnvironmentsDeleteEnvironmentActionDefaultResponse): response is EnvironmentsDeleteEnvironmentActionDefaultResponse;
1500
-
1501
1476
  export declare function isUnexpected(response: EnvironmentsCustomEnvironmentAction200Response | EnvironmentsCustomEnvironmentAction202Response | EnvironmentsCustomEnvironmentActionDefaultResponse): response is EnvironmentsCustomEnvironmentActionDefaultResponse;
1502
1477
 
1503
- export declare function isUnexpected(response: EnvironmentsListArtifactsByEnvironment200Response | EnvironmentsListArtifactsByEnvironmentDefaultResponse): response is EnvironmentsListArtifactsByEnvironmentDefaultResponse;
1504
-
1505
- export declare function isUnexpected(response: EnvironmentsListArtifactsByEnvironmentAndPath200Response | EnvironmentsListArtifactsByEnvironmentAndPathDefaultResponse): response is EnvironmentsListArtifactsByEnvironmentAndPathDefaultResponse;
1506
-
1507
1478
  export declare function isUnexpected(response: EnvironmentsListCatalogItems200Response | EnvironmentsListCatalogItemsDefaultResponse): response is EnvironmentsListCatalogItemsDefaultResponse;
1508
1479
 
1509
1480
  export declare function isUnexpected(response: EnvironmentsGetCatalogItem200Response | EnvironmentsGetCatalogItemDefaultResponse): response is EnvironmentsGetCatalogItemDefaultResponse;
@@ -1576,6 +1547,8 @@ export declare interface PoolOutput {
1576
1547
  osType?: "Windows";
1577
1548
  /** Hardware settings for the Dev Boxes created in this pool */
1578
1549
  hardwareProfile?: HardwareProfileOutput;
1550
+ /** Indicates whether hibernate is enabled/disabled or unknown. */
1551
+ hibernateSupport?: "Disabled" | "Enabled";
1579
1552
  /** Storage settings for Dev Box created in this pool */
1580
1553
  storageProfile?: StorageProfileOutput;
1581
1554
  /** Image settings for Dev Boxes create in this pool */
@@ -1651,6 +1624,14 @@ export declare interface Routes {
1651
1624
  (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): DevBoxesStopDevBox;
1652
1625
  /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/remoteConnection' has methods for the following verbs: get */
1653
1626
  (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): DevBoxesGetRemoteConnection;
1627
+ /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/upcomingActions' has methods for the following verbs: get */
1628
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions", projectName: string, userId: string, devBoxName: string): DevBoxesListUpcomingActions;
1629
+ /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/upcomingActions/\{upcomingActionId\}' has methods for the following verbs: get */
1630
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesGetUpcomingAction;
1631
+ /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/upcomingActions/\{upcomingActionId\}:skip' has methods for the following verbs: post */
1632
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:skip", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesSkipUpcomingAction;
1633
+ /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/upcomingActions/\{upcomingActionId\}:delay' has methods for the following verbs: post */
1634
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:delay", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesDelayUpcomingAction;
1654
1635
  /** Resource for '/projects/\{projectName\}/environments' has methods for the following verbs: get */
1655
1636
  (path: "/projects/{projectName}/environments", projectName: string): EnvironmentsListEnvironments;
1656
1637
  /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments' has methods for the following verbs: get */
@@ -1659,14 +1640,8 @@ export declare interface Routes {
1659
1640
  (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): EnvironmentsGetEnvironmentByUser;
1660
1641
  /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}:deploy' has methods for the following verbs: post */
1661
1642
  (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:deploy", projectName: string, userId: string, environmentName: string): EnvironmentsDeployEnvironmentAction;
1662
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}:delete' has methods for the following verbs: post */
1663
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:delete", projectName: string, userId: string, environmentName: string): EnvironmentsDeleteEnvironmentAction;
1664
1643
  /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}:custom' has methods for the following verbs: post */
1665
1644
  (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:custom", projectName: string, userId: string, environmentName: string): EnvironmentsCustomEnvironmentAction;
1666
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}/artifacts' has methods for the following verbs: get */
1667
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}/artifacts", projectName: string, userId: string, environmentName: string): EnvironmentsListArtifactsByEnvironment;
1668
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}/artifacts/\{artifactPath\}' has methods for the following verbs: get */
1669
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}/artifacts/{artifactPath}", projectName: string, userId: string, environmentName: string, artifactPath: string): EnvironmentsListArtifactsByEnvironmentAndPath;
1670
1645
  /** Resource for '/projects/\{projectName\}/catalogItems' has methods for the following verbs: get */
1671
1646
  (path: "/projects/{projectName}/catalogItems", projectName: string): EnvironmentsListCatalogItems;
1672
1647
  /** Resource for '/projects/\{projectName\}/catalogItems/\{catalogItemId\}' has methods for the following verbs: get */
@@ -1733,4 +1708,28 @@ export declare interface StorageProfileOutput {
1733
1708
  osDisk?: OSDiskOutput;
1734
1709
  }
1735
1710
 
1711
+ /** An upcoming Action. */
1712
+ export declare interface UpcomingActionOutput {
1713
+ /** Uniquely identifies the action. */
1714
+ id?: string;
1715
+ /** The action that will be taken. */
1716
+ actionType?: "Stop";
1717
+ /** The reason for this action. */
1718
+ reason?: "Schedule";
1719
+ /** The target time the action will be triggered (UTC). */
1720
+ scheduledTime?: string;
1721
+ /** The original scheduled time for the action (UTC). */
1722
+ originalScheduledTime?: string;
1723
+ /** The id of the resource which triggered this action */
1724
+ sourceId?: string;
1725
+ }
1726
+
1727
+ /** The Upcoming Action list result */
1728
+ export declare interface UpcomingActionsListResultOutput {
1729
+ /** Current page of results */
1730
+ value: Array<UpcomingActionOutput>;
1731
+ /** The URL to get the next set of results. */
1732
+ nextLink?: string;
1733
+ }
1734
+
1736
1735
  export { }
@@ -1,20 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- import getClientInternal from "./generated/azureDevCenter";
4
- const defaultDevCenterDnsSuffix = "devcenter.azure.com";
5
- /**
6
- * Initialize a new instance of the class AzureDevCenterClient class.
7
- * @param tenantId type: string The tenant to operate on.
8
- * @param devCenter type: string The DevCenter to operate on.
9
- * @param credentials type: TokenCredential
10
- * @param devCenterDnsSuffixOrOptions type: string | ClientOptions Either the DNS suffix used as the base for all devcenter requests or client options.
11
- * @param options type: ClientOptions
12
- */
13
- export default function createClient(tenantId, devCenter, credentials, devCenterDnsSuffixOrOptions = defaultDevCenterDnsSuffix, options) {
14
- const devCenterDnsSuffix = typeof devCenterDnsSuffixOrOptions === "string"
15
- ? devCenterDnsSuffixOrOptions
16
- : defaultDevCenterDnsSuffix;
17
- const internalOptions = typeof devCenterDnsSuffixOrOptions === "string" ? options : devCenterDnsSuffixOrOptions;
18
- return getClientInternal(tenantId, devCenter, devCenterDnsSuffix, credentials, internalOptions);
19
- }
20
- //# sourceMappingURL=azureDevCenter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureDevCenter.js","sourceRoot":"","sources":["../../src/azureDevCenter.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAKlC,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAE3D,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAgCxD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAgB,EAChB,SAAiB,EACjB,WAA4B,EAC5B,8BAAsD,yBAAyB,EAC/E,OAAuB;IAEvB,MAAM,kBAAkB,GACtB,OAAO,2BAA2B,KAAK,QAAQ;QAC7C,CAAC,CAAC,2BAA2B;QAC7B,CAAC,CAAC,yBAAyB,CAAC;IAChC,MAAM,eAAe,GACnB,OAAO,2BAA2B,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,2BAA2B,CAAC;IAE1F,OAAO,iBAAiB,CAAC,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;AAClG,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ClientOptions } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { AzureDevCenterClient } from \"./generated/clientDefinitions\";\nimport getClientInternal from \"./generated/azureDevCenter\";\n\nconst defaultDevCenterDnsSuffix = \"devcenter.azure.com\";\n\n/**\n * Initialize a new instance of the class AzureDevCenterClient class.\n * @param tenantId type: string The tenant to operate on.\n * @param devCenter type: string The DevCenter to operate on.\n * @param credentials type: TokenCredential\n * @param options type: ClientOptions\n */\nexport default function createClient(\n tenantId: string,\n devCenter: string,\n credentials: TokenCredential,\n options?: ClientOptions\n): AzureDevCenterClient;\n\n/**\n * Initialize a new instance of the class AzureDevCenterClient class.\n * @param tenantId type: string The tenant to operate on.\n * @param devCenter type: string The DevCenter to operate on.\n * @param credentials type: TokenCredential\n * @param devCenterDnsSuffix type: string The DNS suffix used as the base for all devcenter requests.\n * @param options type: ClientOptions\n */\nexport default function createClient(\n tenantId: string,\n devCenter: string,\n credentials: TokenCredential,\n devCenterDnsSuffix?: string,\n options?: ClientOptions\n): AzureDevCenterClient;\n\n/**\n * Initialize a new instance of the class AzureDevCenterClient class.\n * @param tenantId type: string The tenant to operate on.\n * @param devCenter type: string The DevCenter to operate on.\n * @param credentials type: TokenCredential\n * @param devCenterDnsSuffixOrOptions type: string | ClientOptions Either the DNS suffix used as the base for all devcenter requests or client options.\n * @param options type: ClientOptions\n */\nexport default function createClient(\n tenantId: string,\n devCenter: string,\n credentials: TokenCredential,\n devCenterDnsSuffixOrOptions: string | ClientOptions = defaultDevCenterDnsSuffix,\n options?: ClientOptions\n): AzureDevCenterClient {\n const devCenterDnsSuffix =\n typeof devCenterDnsSuffixOrOptions === \"string\"\n ? devCenterDnsSuffixOrOptions\n : defaultDevCenterDnsSuffix;\n const internalOptions =\n typeof devCenterDnsSuffixOrOptions === \"string\" ? options : devCenterDnsSuffixOrOptions;\n\n return getClientInternal(tenantId, devCenter, devCenterDnsSuffix, credentials, internalOptions);\n}\n"]}