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

[AKS][Fleet] 2024-05-02-preview API #28971

Merged
merged 37 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c50576d
Adds base for updating Microsoft.ContainerService/fleet from version …
zman-ms Jan 10, 2024
74519d8
Updates readme
zman-ms Jan 10, 2024
fb83dae
Updates API version in new specs and examples
zman-ms Jan 10, 2024
5601d9a
[Fleet] UpdateRun manual skip (#27323)
zman-ms Jan 18, 2024
d695b50
[Fleet][UpdateRun] Rename skip target (#27449)
zman-ms Jan 19, 2024
22d8bef
[Fleet] 2024-02-02-preview Readme files (#27499)
zman-ms Jan 30, 2024
d912b56
fix the final-state-via options for LRO (#27574)
serbrech Jan 30, 2024
68bfabc
update compiler
zman-ms Feb 9, 2024
adf2bf0
copy from 2022-02-02-preview
zman-ms Feb 9, 2024
06250c8
copy from 2022-02-02-preview
zman-ms Feb 9, 2024
7d2ad28
AutoUpgrade (#27761)
minhng22 Apr 9, 2024
7c7ac48
Custom node image upgrade type in UpdateRun (#28470)
minhng22 Apr 9, 2024
cf11ef4
merge
zman-ms May 3, 2024
af9f00f
revert skip changes introduced by merge
zman-ms May 3, 2024
66743a6
update enums
zman-ms May 3, 2024
8008191
fix example
zman-ms May 3, 2024
0256777
follow existing pattern
zman-ms May 4, 2024
a58841a
sync package-lock.json
zman-ms May 4, 2024
eabb9e4
update readme file
zman-ms May 4, 2024
94e1283
Merge branch 'main' into aks-fleet-2024-05-02-preview
zman-ms May 6, 2024
14f5118
[fleet] fix drop apiserver vnet integration between preview (#28997)
serbrech May 7, 2024
b300bde
Merge branch 'main' into aks-fleet-2024-05-02-preview
zman-ms May 9, 2024
663d895
Merge branch 'main' into aks-fleet-2024-05-02-preview
serbrech May 11, 2024
8f764f1
fix 0.56 typespec errors
serbrech May 11, 2024
f14f112
Add data model AutoUpgradeNodeImageSelection (#29529)
minhng22 Jun 20, 2024
22d7c2f
Merge remote-tracking branch 'origin/main' into aks-fleet-2024-05-02-…
serbrech Jun 20, 2024
ae0ed60
tsp 0.57
serbrech Jun 21, 2024
61d657a
tsp format
serbrech Jun 21, 2024
0394892
use DeleteWithoutOkAsync
serbrech Jun 22, 2024
ce7a712
fix example to match delete async
serbrech Jun 22, 2024
0855bbc
fix version reference in python readme
serbrech Jul 1, 2024
7fda920
match example with name of op
serbrech Sep 19, 2024
c5d888a
align with changes done in main
serbrech Sep 19, 2024
a8484c7
reset package.json to state in main
serbrech Sep 19, 2024
8d92200
Merge branch 'main' into aks-fleet-2024-05-02-preview
serbrech Sep 20, 2024
6819105
rebuild
serbrech Sep 20, 2024
0121e85
remove extra line
serbrech Sep 20, 2024
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"operationId": "AutoUpgradeProfiles_CreateOrUpdate",
"title": "Create an AutoUpgradeProfile.",
"parameters": {
"api-version": "2024-05-02-preview",
"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,21 @@
{
"operationId": "AutoUpgradeProfiles_Delete",
"title": "Delete an AutoUpgradeProfile resource.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"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=2024-05-02-preview",
"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=2024-05-02-preview"
}
},
"200": {},
"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": "2024-05-02-preview",
"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,37 @@
{
"operationId": "AutoUpgradeProfiles_ListByFleet",
"title": "Lists the AutoUpgradeProfile resources by fleet.",
"parameters": {
"api-version": "2024-05-02-preview",
"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,68 @@
{
"operationId": "FleetMembers_Create",
"title": "Creates a FleetMember resource with a long running operation.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1",
"resource": {
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1"
}
}
},
"responses": {
"201": {
"headers": {
"ETag": "23ujdflewrj3=",
"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=2022-02-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=2022-02-01"
},
"body": {
"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"
},
"eTag": "23ujdflewrj3=",
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"provisioningState": "Succeeded"
}
}
},
"200": {
"headers": {
"ETag": "23ujdflewrj3=",
"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=2022-02-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=2022-02-01"
},
"body": {
"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"
},
"eTag": "23ujdflewrj3=",
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "FleetMembers_Delete",
"title": "Deletes a FleetMember resource asynchronously with a long running operation.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1"
},
"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=2022-02-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=2022-02-01"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"operationId": "FleetMembers_Get",
"title": "Gets a FleetMember resource.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1"
},
"responses": {
"200": {
"headers": {
"ETag": "kd30rkdfo49="
},
"body": {
"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"
},
"eTag": "kd30rkdfo49=",
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"operationId": "FleetMembers_ListByFleet",
"title": "Lists the members of a Fleet.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
},
"responses": {
"200": {
"body": {
"value": [
{
"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"
},
"eTag": "kd30rkdfo49=",
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"provisioningState": "Succeeded"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"operationId": "FleetMembers_Update",
"title": "Updates a FleetMember resource synchronously.",
"parameters": {
"api-version": "2024-05-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1",
"properties": {
"properties": {
"group": "staging"
}
}
},
"responses": {
"200": {
"headers": {
"ETag": "23ujdflewrj3="
},
"body": {
"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"
},
"eTag": "23ujdflewrj3=",
"properties": {
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
"group": "staging",
"provisioningState": "Succeeded"
}
}
},
"202": {
"headers": {
"Retry-After": "20",
"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=2022-02-01"
}
}
}
}
Loading