Skip to content

Commit

Permalink
fix fleet pageable operation (Azure#29939)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh authored Jul 23, 2024
1 parent 33396e1 commit c1cea38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions specification/azurefleet/AzureFleet.Management/fleet.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,6 @@ interface Fleets {
@armResourceList(VirtualMachineScaleSet)
@get
@doc("List VirtualMachineScaleSet resources by Fleet")
@extension(
"x-ms-pageable",
{
nextLinkName: "nextLink",
}
)
listVirtualMachineScaleSets(
...ApiVersionParameter,
...SubscriptionIdParameter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using TypeSpec.Versioning;
using TypeSpec.OpenAPI;
using Azure.ResourceManager;
using Azure.Core;

namespace Microsoft.AzureFleet;

Expand Down Expand Up @@ -49,10 +50,13 @@ model VirtualMachineScaleSet {
}

@doc("The response of a VirtualMachineScaleSet list operation.")
@pagedResult
model VirtualMachineScaleSetListResult {
@doc("The VirtualMachineScaleSet items on this page")
@items
value: Array<VirtualMachineScaleSet>;

@doc("The link to the next page of items")
@nextLink
nextLink?: url;
}

0 comments on commit c1cea38

Please sign in to comment.