-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AKS][Fleet] 2024-05-02-preview API (#28971)
- 2024-05-02-preview api - introduce Kubernetes Fleet Manager AutoUpgradeProfile resource --------- Co-authored-by: Stéphane Erbrech <[email protected]> Co-authored-by: Minh Nguyen <[email protected]> Co-authored-by: nguyenmin <[email protected]> Co-authored-by: daru__ <[email protected]>
- Loading branch information
1 parent
b88e6ad
commit 3aa1c23
Showing
66 changed files
with
6,915 additions
and
2 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
...vice/Fleet.Management/examples/2024-05-02-preview/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": "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\"" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ainerservice/Fleet.Management/examples/2024-05-02-preview/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": "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" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ontainerservice/Fleet.Management/examples/2024-05-02-preview/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": "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\"" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...service/Fleet.Management/examples/2024-05-02-preview/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": "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" | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...on/containerservice/Fleet.Management/examples/2024-05-02-preview/FleetMembers_Create.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...on/containerservice/Fleet.Management/examples/2024-05-02-preview/FleetMembers_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,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": {} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...ation/containerservice/Fleet.Management/examples/2024-05-02-preview/FleetMembers_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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ntainerservice/Fleet.Management/examples/2024-05-02-preview/FleetMembers_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": "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 | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...on/containerservice/Fleet.Management/examples/2024-05-02-preview/FleetMembers_Update.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,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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.