Skip to content

Commit 31be26d

Browse files
authored
Fix list issue for virtual machines (#36605)
1 parent 5429301 commit 31be26d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

specification/azurefleet/AzureFleet.Management/fleet.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ interface Fleets {
648648
@autoRoute
649649
@listsResource(VirtualMachine)
650650
@armResourceList(VirtualMachine)
651+
@list
651652
@get
652653
listVirtualMachines(
653654
...ApiVersionParameter,

specification/azurefleet/AzureFleet.Management/virtualMachine.tsp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ union VMOperationStatus {
6565

6666
/** The response of a virtual machine list operation. */
6767
@added(Versions.v2025_07_01_preview)
68-
@pagedResult
6968
model VirtualMachineListResult {
7069
/** The Virtual Machine items on this page. */
71-
@items
70+
@pageItems
7271
value: Array<VirtualMachine>;
7372

7473
/** The link to the next page of items. */

0 commit comments

Comments
 (0)