Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fleet autoupgrade GA - add autoupgradeprofilestatus #32634

Open
wants to merge 11 commits into
base: release-aks-fleet-2025-03-01
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
transfer examples
  • Loading branch information
frantran committed Feb 19, 2025
commit f99b9acecf07520c21731085a1498be37eb4c3ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{

Check failure on line 1 in specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json#L1

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json
"title": "Create an AutoUpgradeProfile. - generated by [MaximumSet] rule",
"operationId": "AutoUpgradeProfiles_CreateOrUpdate",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"If-Match": "irugdrminrllxnxfebziysfijsq",
"If-None-Match": "ktfmpsvpbiphyqiixda",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"autoUpgradeProfileName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"resource": {
"properties": {
"channel": "Stable",
"updateStrategyId": "skcdtnw",
"nodeImageSelection": {
"type": "Latest"
},
"disabled": true,
"autoUpgradeProfileStatus": {
"lastTriggerError": {}
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"channel": "Stable",
"provisioningState": "Succeeded",
"updateStrategyId": "skcdtnw",
"nodeImageSelection": {
"type": "Latest"
},
"disabled": true,
"autoUpgradeProfileStatus": {
"lastTriggeredAt": "2025-02-19T22:39:10.786Z",
"lastTriggerStatus": "Succeeded",
"lastTriggerError": {
"code": "qzqj",
"message": "osupezyqdwqhdrcg",
"target": "kofcubxtiwnhinnfbpwpee",
"details": [],
"additionalInfo": [
{
"type": "wxmgrx",
"info": {}
}
]
},
"lastTriggerUpgradeVersions": [
"wjfesvtcxdnkq"
]
}
},
"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": "skcdtnw",
"nodeImageSelection": {
"type": "Latest"
},
"disabled": true,
"autoUpgradeProfileStatus": {
"lastTriggeredAt": "2025-02-19T22:39:10.786Z",
"lastTriggerStatus": "Succeeded",
"lastTriggerError": {
"code": "qzqj",
"message": "osupezyqdwqhdrcg",
"target": "kofcubxtiwnhinnfbpwpee",
"details": [],
"additionalInfo": [
{
"type": "wxmgrx",
"info": {}
}
]
},
"lastTriggerUpgradeVersions": [
"wjfesvtcxdnkq"
]
}
},
"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 @@
{

Check failure on line 1 in specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json#L1

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json
"title": "Delete an AutoUpgradeProfile resource. - generated by [MaximumSet] rule",
"operationId": "AutoUpgradeProfiles_Delete",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"If-Match": "yjtwfcfvifjgvxbmvvpwr",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"autoUpgradeProfileName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
},
"responses": {
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{

Check failure on line 1 in specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get_MaximumSet_Gen.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get_MaximumSet_Gen.json#L1

specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get_MaximumSet_Gen.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/containerservice/Fleet.Management/examples/2025-03-01/AutoUpgradeProfiles_Get_MaximumSet_Gen.json
"title": "Gets an AutoUpgradeProfile resource. - generated by [MaximumSet] rule",
"operationId": "AutoUpgradeProfiles_Get",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"autoUpgradeProfileName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
},
"responses": {
"200": {
"body": {
"properties": {
"channel": "Stable",
"provisioningState": "Succeeded",
"updateStrategyId": "skcdtnw",
"nodeImageSelection": {
"type": "Latest"
},
"disabled": true,
"autoUpgradeProfileStatus": {
"lastTriggeredAt": "2025-02-19T22:39:10.786Z",
"lastTriggerStatus": "Succeeded",
"lastTriggerError": {
"code": "qzqj",
"message": "osupezyqdwqhdrcg",
"target": "kofcubxtiwnhinnfbpwpee",
"details": [],
"additionalInfo": [
{
"type": "wxmgrx",
"info": {}
}
]
},
"lastTriggerUpgradeVersions": [
"wjfesvtcxdnkq"
]
}
},
"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,61 @@
{
"title": "Lists the AutoUpgradeProfile resources by fleet. - generated by [MaximumSet] rule",
"operationId": "AutoUpgradeProfiles_ListByFleet",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
},
"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": "skcdtnw",
"nodeImageSelection": {
"type": "Latest"
},
"disabled": true,
"autoUpgradeProfileStatus": {
"lastTriggeredAt": "2025-02-19T22:39:10.786Z",
"lastTriggerStatus": "Succeeded",
"lastTriggerError": {
"code": "qzqj",
"message": "osupezyqdwqhdrcg",
"target": "kofcubxtiwnhinnfbpwpee",
"details": [],
"additionalInfo": [
{
"type": "wxmgrx",
"info": {}
}
]
},
"lastTriggerUpgradeVersions": [
"wjfesvtcxdnkq"
]
}
},
"eTag": "\"EtagValue\""
}
],
"nextLink": "http://nextlink.contoso.com"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"title": "Creates a FleetMember resource with a long running operation. - generated by [MaximumSet] rule",
"operationId": "FleetMembers_Create",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"If-Match": "wrifws",
"If-None-Match": "cvffafrakpwuuhxrxe",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"fleetMemberName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"resource": {
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"group": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"group": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"provisioningState": "Succeeded"
},
"eTag": "kd30rkdfo49=",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
"name": "member-1",
"type": "Microsoft.ContainerService/fleets/members",
"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": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"group": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"provisioningState": "Succeeded"
},
"eTag": "kd30rkdfo49=",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
"name": "member-1",
"type": "Microsoft.ContainerService/fleets/members",
"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,21 @@
{
"title": "Deletes a FleetMember resource asynchronously with a long running operation. - generated by [MaximumSet] rule",
"operationId": "FleetMembers_Delete",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"If-Match": "lizduv",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"fleetMemberName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
},
"responses": {
"200": {},
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"title": "Gets a FleetMember resource. - generated by [MaximumSet] rule",
"operationId": "FleetMembers_Get",
"parameters": {
"api-version": "2025-03-01",
"subscriptionId": "subid1",
"resourceGroupName": "rgfleets",
"fleetName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"fleetMemberName": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
},
"responses": {
"200": {
"body": {
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"group": "Replace this value with a string matching RegExp ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"provisioningState": "Succeeded"
},
"eTag": "kd30rkdfo49=",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
"name": "member-1",
"type": "Microsoft.ContainerService/fleets/members",
"systemData": {
"createdBy": "someUser",
"createdByType": "User",
"createdAt": "2022-03-23T05:40:40.657Z",
"lastModifiedBy": "someOtherUser",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
}
}
}
}
}
Loading
Loading