Skip to content

Commit a154770

Browse files
zman-msminhng22nguyenmin
authored andcommitted
AKS Fleet 2023 08 15 preview (#25756)
* Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-06-15-preview to version 2023-08-15-preview * Updates readme * Updates API version in new specs and examples * [Fleet][Dev] Strategy resource API (#25582) * Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-06-15-preview to version 2023-07-15-preview * rebase * Updates API version in new specs and examples * new tsp files * new tsp files * readme files * copy example files * new example files * fix example files * compile * compile to add new example files * improve comments * format tsp files * re-compile * improve comments * visibility concistency * [Fleet] Add VMSize to hub profile (#25709) * add VMSize to hub profile * add VMSize examples * improve description * format * Add portal FQDN to fleet hub profile (#25766) Co-authored-by: nguyenmin <[email protected]> * [Fleet] Move VMSize into AgentProfile (#25805) * move vm size into agent profile * re-generate * [Fleet] Fix readme.md for 0815 (#25822) * fix readme * format --------- Co-authored-by: Minh Nguyen <[email protected]> Co-authored-by: nguyenmin <[email protected]>
1 parent 0cffc34 commit a154770

File tree

58 files changed

+5733
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5733
-63
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"operationId": "FleetMembers_Create",
3+
"title": "Creates a FleetMember resource with a long running operation.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1",
9+
"fleetMemberName": "member-1",
10+
"resource": {
11+
"properties": {
12+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"201": {
18+
"headers": {
19+
"ETag": "23ujdflewrj3=",
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",
21+
"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"
22+
},
23+
"body": {
24+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
25+
"name": "member-1",
26+
"type": "Microsoft.ContainerService/fleets/members",
27+
"systemData": {
28+
"createdBy": "someUser",
29+
"createdByType": "User",
30+
"createdAt": "2022-03-23T05:40:40.657Z",
31+
"lastModifiedBy": "someOtherUser",
32+
"lastModifiedByType": "User",
33+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
34+
},
35+
"eTag": "23ujdflewrj3=",
36+
"properties": {
37+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
38+
"provisioningState": "Succeeded"
39+
}
40+
}
41+
},
42+
"200": {
43+
"headers": {
44+
"ETag": "23ujdflewrj3=",
45+
"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",
46+
"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"
47+
},
48+
"body": {
49+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
50+
"name": "member-1",
51+
"type": "Microsoft.ContainerService/fleets/members",
52+
"systemData": {
53+
"createdBy": "someUser",
54+
"createdByType": "User",
55+
"createdAt": "2022-03-23T05:40:40.657Z",
56+
"lastModifiedBy": "someOtherUser",
57+
"lastModifiedByType": "User",
58+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
59+
},
60+
"eTag": "23ujdflewrj3=",
61+
"properties": {
62+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
63+
"provisioningState": "Succeeded"
64+
}
65+
}
66+
}
67+
}
68+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"operationId": "FleetMembers_Delete",
3+
"title": "Deletes a FleetMember resource asynchronously with a long running operation.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1",
9+
"fleetMemberName": "member-1"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"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",
15+
"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"
16+
}
17+
},
18+
"200": {},
19+
"204": {}
20+
}
21+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"operationId": "FleetMembers_Get",
3+
"title": "Gets a FleetMember resource.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1",
9+
"fleetMemberName": "member-1"
10+
},
11+
"responses": {
12+
"200": {
13+
"headers": {
14+
"ETag": "kd30rkdfo49="
15+
},
16+
"body": {
17+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
18+
"name": "member-1",
19+
"type": "Microsoft.ContainerService/fleets/members",
20+
"systemData": {
21+
"createdBy": "someUser",
22+
"createdByType": "User",
23+
"createdAt": "2022-03-23T05:40:40.657Z",
24+
"lastModifiedBy": "someOtherUser",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
27+
},
28+
"eTag": "kd30rkdfo49=",
29+
"properties": {
30+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"operationId": "FleetMembers_ListByFleet",
3+
"title": "Lists the members of a Fleet.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
16+
"name": "member-1",
17+
"type": "Microsoft.ContainerService/fleets/members",
18+
"systemData": {
19+
"createdBy": "someUser",
20+
"createdByType": "User",
21+
"createdAt": "2022-03-23T05:40:40.657Z",
22+
"lastModifiedBy": "someOtherUser",
23+
"lastModifiedByType": "User",
24+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
25+
},
26+
"eTag": "kd30rkdfo49=",
27+
"properties": {
28+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
29+
"provisioningState": "Succeeded"
30+
}
31+
}
32+
],
33+
"nextLink": null
34+
}
35+
}
36+
}
37+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"operationId": "FleetMembers_Update",
3+
"title": "Updates a FleetMember resource synchronously.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1",
9+
"fleetMemberName": "member-1",
10+
"properties": {
11+
"properties": {
12+
"group": "staging"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"headers": {
19+
"ETag": "23ujdflewrj3="
20+
},
21+
"body": {
22+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1",
23+
"name": "member-1",
24+
"type": "Microsoft.ContainerService/fleets/members",
25+
"systemData": {
26+
"createdBy": "someUser",
27+
"createdByType": "User",
28+
"createdAt": "2022-03-23T05:40:40.657Z",
29+
"lastModifiedBy": "someOtherUser",
30+
"lastModifiedByType": "User",
31+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
32+
},
33+
"eTag": "23ujdflewrj3=",
34+
"properties": {
35+
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1",
36+
"group": "staging",
37+
"provisioningState": "Succeeded"
38+
}
39+
}
40+
},
41+
"202": {
42+
"headers": {
43+
"Retry-After": "20",
44+
"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"
45+
}
46+
}
47+
}
48+
}
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"operationId": "Fleets_CreateOrUpdate",
3+
"title": "Creates a Fleet resource with a long running operation.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1",
9+
"resource": {
10+
"tags": {
11+
"tier": "production",
12+
"archv2": ""
13+
},
14+
"location": "East US",
15+
"properties": {
16+
"hubProfile": {
17+
"dnsPrefix": "dnsprefix1",
18+
"agentProfile": {
19+
"vmSize": "Standard_DS1"
20+
}
21+
}
22+
}
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"headers": {
28+
"ETag": "23ujdflewrj3=",
29+
"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",
30+
"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"
31+
},
32+
"body": {
33+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1",
34+
"name": "fleet-1",
35+
"type": "Microsoft.ContainerService/fleets",
36+
"systemData": {
37+
"createdBy": "someUser",
38+
"createdByType": "User",
39+
"createdAt": "2022-03-23T05:40:40.657Z",
40+
"lastModifiedBy": "someOtherUser",
41+
"lastModifiedByType": "User",
42+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
43+
},
44+
"tags": {
45+
"tier": "production",
46+
"archv2": ""
47+
},
48+
"location": "East US",
49+
"eTag": "23ujdflewrj3=",
50+
"properties": {
51+
"hubProfile": {
52+
"dnsPrefix": "dnsprefix1",
53+
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
54+
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
55+
"kubernetesVersion": "1.22.4",
56+
"agentProfile": {
57+
"vmSize": "Standard_DS1"
58+
}
59+
},
60+
"provisioningState": "Updating"
61+
}
62+
}
63+
},
64+
"201": {
65+
"headers": {
66+
"ETag": "23ujdflewrj3=",
67+
"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",
68+
"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"
69+
},
70+
"body": {
71+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1",
72+
"name": "fleet1",
73+
"type": "Microsoft.ContainerService/fleets",
74+
"systemData": {
75+
"createdBy": "someUser",
76+
"createdByType": "User",
77+
"createdAt": "2022-03-23T05:40:40.657Z",
78+
"lastModifiedBy": "someOtherUser",
79+
"lastModifiedByType": "User",
80+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
81+
},
82+
"tags": {
83+
"tier": "production",
84+
"archv2": ""
85+
},
86+
"location": "East US",
87+
"eTag": "23ujdflewrj3=",
88+
"properties": {
89+
"hubProfile": {
90+
"dnsPrefix": "dnsprefix1",
91+
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
92+
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
93+
"kubernetesVersion": "1.22.4",
94+
"agentProfile": {
95+
"vmSize": "Standard_DS1"
96+
}
97+
},
98+
"provisioningState": "Creating"
99+
}
100+
}
101+
}
102+
}
103+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"operationId": "Fleets_Delete",
3+
"title": "Deletes a Fleet resource asynchronously with a long running operation.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"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",
14+
"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"
15+
}
16+
},
17+
"200": {},
18+
"204": {}
19+
}
20+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"operationId": "Fleets_Get",
3+
"title": "Gets a Fleet resource.",
4+
"parameters": {
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid1",
7+
"resourceGroupName": "rg1",
8+
"fleetName": "fleet1"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"ETag": "23ujdflewrj3="
14+
},
15+
"body": {
16+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1",
17+
"name": "fleet-1",
18+
"type": "Microsoft.ContainerService/fleets",
19+
"systemData": {
20+
"createdBy": "someUser",
21+
"createdByType": "User",
22+
"createdAt": "2022-03-23T05:40:40.657Z",
23+
"lastModifiedBy": "someOtherUser",
24+
"lastModifiedByType": "User",
25+
"lastModifiedAt": "2022-03-23T05:40:40.657Z"
26+
},
27+
"tags": {
28+
"tier": "production",
29+
"archv2": ""
30+
},
31+
"location": "East US",
32+
"eTag": "23ujdflewrj3=",
33+
"properties": {
34+
"hubProfile": {
35+
"dnsPrefix": "dnsprefix1",
36+
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
37+
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
38+
"kubernetesVersion": "1.22.4",
39+
"agentProfile": {
40+
"vmSize": "Standard_DS1"
41+
}
42+
},
43+
"provisioningState": "Succeeded"
44+
}
45+
}
46+
}
47+
}
48+
}

0 commit comments

Comments
 (0)