Skip to content

Commit c0a2dde

Browse files
diyellapmikeharder
andauthored
Add 2025-07-01-preview API version to Azure Fleet (#36207)
* Swagger changes to add 2025-07-01-preview version * Add 2025-07-01-preview version to ListVMs() and Cancel() APIs * Nit * Rename example files * npx prettier * Revert package files * Revert package-lock.json * Revert package-lock.json * package-lock.json * Fix lint checks * tsp format * Remove 200 response for Fleet cancel * Remove 200 from Cancel exaples * Regenerate Create example * Prettier * Update examples * Modify examples * npm install * Address errors * Address errors * Examples * Fix * Add Fleet custom operations.tsp * npm install * Revert custom op * Modify cancel op * Update doc comments * Add VCpu comments --------- Co-authored-by: Mike Harder <[email protected]>
1 parent 4cee594 commit c0a2dde

25 files changed

+15736
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"title": "Fleets_Cancel",
3+
"operationId": "Fleets_Cancel",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "3453D930-6DDF-4466-B3B3-E1AEE9BD448C",
7+
"resourceGroupName": "rgazurefleet",
8+
"fleetName": "myFleet"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"location": "https://contoso.com/operationstatus"
14+
}
15+
}
16+
}
17+
}

specification/azurefleet/AzureFleet.Management/examples/2025-07-01-preview/Fleets_CreateOrUpdate.json

Lines changed: 2406 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"title": "Fleets_Delete",
3+
"operationId": "Fleets_Delete",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB",
7+
"resourceGroupName": "rgazurefleet",
8+
"fleetName": "testFleet"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"location": "https://contoso.com/operationstatus"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}

specification/azurefleet/AzureFleet.Management/examples/2025-07-01-preview/Fleets_Get.json

Lines changed: 805 additions & 0 deletions
Large diffs are not rendered by default.

specification/azurefleet/AzureFleet.Management/examples/2025-07-01-preview/Fleets_ListByResourceGroup.json

Lines changed: 409 additions & 0 deletions
Large diffs are not rendered by default.

specification/azurefleet/AzureFleet.Management/examples/2025-07-01-preview/Fleets_ListBySubscription.json

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"title": "Fleets_ListVirtualMachineScaleSets",
3+
"operationId": "Fleets_ListVirtualMachineScaleSets",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB",
7+
"resourceGroupName": "rgazurefleet",
8+
"name": "myFleet"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"name": "myVmss",
16+
"id": "/subscriptions/1DC2F28C-A625-4B0E-9748-9885A3C9E9EB/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/myFleet/virtualMachineScaleSets/myVmss",
17+
"type": "Microsoft.AzureFleet/fleets/virtualMachineScaleSets",
18+
"operationStatus": "Creating",
19+
"error": {
20+
"details": [
21+
{
22+
"code": "gzhtOverconstrainedAllocationRequestyosk",
23+
"target": "qfthabhrmndhfizfnrwpgxvnokpy",
24+
"message": "Allocation Failed"
25+
}
26+
],
27+
"innererror": {
28+
"exceptionType": "sfaomfpoaptnbxchrfskm",
29+
"errorDetail": "ihjwbwykq"
30+
},
31+
"code": "OverconstrainedAllocationRequest",
32+
"target": "nhaj",
33+
"message": "Allocation Failed"
34+
}
35+
}
36+
]
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"title": "Fleets_ListVirtualMachines_MaximumSet",
3+
"operationId": "Fleets_ListVirtualMachines",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "3453D930-6DDF-4466-B3B3-E1AEE9BD448C",
7+
"resourceGroupName": "rgazurefleet",
8+
"name": "myFleet",
9+
"$filter": "xzcepyottghqa",
10+
"$skiptoken": "hydepbmwuypaprlphcdecsz"
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"value": [
16+
{
17+
"name": "kfkaqnskgrugdneuebvrwhnflri",
18+
"id": "/subscriptions/3453D930-6DDF-4466-B3B3-E1AEE9BD448C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/myFleet/virtualMachines/myVirtualMachine",
19+
"operationStatus": "Creating",
20+
"error": {
21+
"code": "obrkfckgffjphilhxacxdmrvbcrg",
22+
"target": "rnjvbpwlqnicuuyk",
23+
"message": "oiqdlxfufmymom",
24+
"details": [
25+
{
26+
"code": "vtuyxkhxumtapurmhkv",
27+
"target": "wfkewwpzippudvjizcnwgzspbeq",
28+
"message": "hjoitvryetqmjv"
29+
}
30+
],
31+
"innererror": {
32+
"exceptionType": "bybvkxpntnkyrzdluphztenxzjy",
33+
"errorDetail": "lsrcyfnkecxzioyagpgsbebgvfkwuc"
34+
}
35+
}
36+
}
37+
],
38+
"nextLink": "https://microsoft.com/a"
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)