Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}