Skip to content

Commit

Permalink
fleet autoupgrade GA - add autoupgradepofileid to updaterun (#32633)
Browse files Browse the repository at this point in the history
* 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
frantran and frantran authored Feb 26, 2025
1 parent e21d55e commit 79a3a14
Show file tree
Hide file tree
Showing 103 changed files with 6,587 additions and 14 deletions.
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\""
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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\""
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 79a3a14

Please sign in to comment.