-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fleet autoupgrade GA - add autoupgradepofileid to updaterun (#32633)
* add autoupgradepofileid to updaterun * generate via tsp * run generate examples * run generate examples * recompile, fix exmamples * fix examples * move examples * fix exmamples * fix example * fix examples --------- Co-authored-by: frantran <[email protected]>
- Loading branch information
Showing
103 changed files
with
6,587 additions
and
14 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
...ainerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"operationId": "AutoUpgradeProfiles_CreateOrUpdate", | ||
"title": "Create an AutoUpgradeProfile.", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1", | ||
"resource": { | ||
"properties": { | ||
"channel": "Stable" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2023-03-01T01:10:08.395Z", | ||
"lastModifiedBy": "@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-03-01T01:10:08.395Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"channel": "Stable" | ||
}, | ||
"eTag": "\"EtagValue\"" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2023-03-01T01:10:08.395Z", | ||
"lastModifiedBy": "@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-03-01T01:10:08.395Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"channel": "Stable" | ||
}, | ||
"eTag": "\"EtagValue\"" | ||
} | ||
} | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
...eet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"title": "Create an AutoUpgradeProfile. - generated by [MaximumSet] rule", | ||
"operationId": "AutoUpgradeProfiles_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgfleets", | ||
"If-Match": "uktvayathbu", | ||
"If-None-Match": "vdjolwxnefqamimybcvxxva", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1", | ||
"resource": { | ||
"properties": { | ||
"channel": "Stable", | ||
"updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", | ||
"nodeImageSelection": { | ||
"type": "Latest" | ||
}, | ||
"disabled": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"channel": "Stable", | ||
"provisioningState": "Succeeded", | ||
"updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", | ||
"nodeImageSelection": { | ||
"type": "Latest" | ||
}, | ||
"disabled": true | ||
}, | ||
"eTag": "\"EtagValue\"", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
}, | ||
"body": { | ||
"properties": { | ||
"channel": "Stable", | ||
"provisioningState": "Succeeded", | ||
"updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", | ||
"nodeImageSelection": { | ||
"type": "Latest" | ||
}, | ||
"disabled": true | ||
}, | ||
"eTag": "\"EtagValue\"", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ion/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"operationId": "AutoUpgradeProfiles_Delete", | ||
"title": "Delete an AutoUpgradeProfile resource.", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-03-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-03-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rvice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"title": "Delete an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", | ||
"operationId": "AutoUpgradeProfiles_Delete", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgfleets", | ||
"If-Match": "tmlfhgsu", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://contoso.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...cation/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"operationId": "AutoUpgradeProfiles_Get", | ||
"title": "Gets an AutoUpgradeProfile resource.", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2023-03-01T01:10:08.395Z", | ||
"lastModifiedBy": "@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-03-01T01:10:08.395Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"channel": "Stable" | ||
}, | ||
"eTag": "\"EtagValue\"" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...rservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"title": "Gets an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", | ||
"operationId": "AutoUpgradeProfiles_Get", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgfleets", | ||
"fleetName": "fleet1", | ||
"autoUpgradeProfileName": "autoupgradeprofile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"channel": "Stable", | ||
"provisioningState": "Succeeded", | ||
"updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", | ||
"nodeImageSelection": { | ||
"type": "Latest" | ||
}, | ||
"disabled": true | ||
}, | ||
"eTag": "\"EtagValue\"", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ontainerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_ListByFleet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"operationId": "AutoUpgradeProfiles_ListByFleet", | ||
"title": "Lists the AutoUpgradeProfile resources by fleet.", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2023-03-01T01:10:08.395Z", | ||
"lastModifiedBy": "@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-03-01T01:10:08.395Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"channel": "Stable" | ||
}, | ||
"eTag": "\"EtagValue\"" | ||
} | ||
], | ||
"nextLink": "http://nextlink.contoso.com" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
.../Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"title": "Lists the AutoUpgradeProfile resources by fleet. - generated by [MaximumSet] rule", | ||
"operationId": "AutoUpgradeProfiles_ListByFleet", | ||
"parameters": { | ||
"api-version": "2025-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgfleets", | ||
"fleetName": "fleet1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", | ||
"name": "autoupgradeprofile1", | ||
"type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", | ||
"systemData": { | ||
"createdBy": "@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2023-03-01T01:10:08.395Z", | ||
"lastModifiedBy": "@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-03-01T01:10:08.395Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"channel": "Stable", | ||
"updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", | ||
"nodeImageSelection": { | ||
"type": "Latest" | ||
}, | ||
"disabled": true | ||
}, | ||
"eTag": "\"EtagValue\"" | ||
} | ||
], | ||
"nextLink": "http://nextlink.contoso.com" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.