Skip to content

Commit d158b9b

Browse files
authored
[Fleet] Move VMSize into AgentProfile (#25805)
* move vm size into agent profile * re-generate
1 parent 19e857e commit d158b9b

12 files changed

Lines changed: 55 additions & 27 deletions

File tree

specification/containerservice/Fleet.Management/examples/2023-08-15-preview/Fleets_CreateOrUpdate.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"properties": {
1616
"hubProfile": {
1717
"dnsPrefix": "dnsprefix1",
18-
"vmSize": "Standard_DS1"
18+
"agentProfile": {
19+
"vmSize": "Standard_DS1"
20+
}
1921
}
2022
}
2123
}
@@ -51,7 +53,9 @@
5153
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
5254
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
5355
"kubernetesVersion": "1.22.4",
54-
"vmSize": "Standard_DS1"
56+
"agentProfile": {
57+
"vmSize": "Standard_DS1"
58+
}
5559
},
5660
"provisioningState": "Updating"
5761
}
@@ -87,7 +91,9 @@
8791
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
8892
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
8993
"kubernetesVersion": "1.22.4",
90-
"vmSize": "Standard_DS1"
94+
"agentProfile": {
95+
"vmSize": "Standard_DS1"
96+
}
9197
},
9298
"provisioningState": "Creating"
9399
}

specification/containerservice/Fleet.Management/examples/2023-08-15-preview/Fleets_Get.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3737
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3838
"kubernetesVersion": "1.22.4",
39-
"vmSize": "Standard_DS1"
39+
"agentProfile": {
40+
"vmSize": "Standard_DS1"
41+
}
4042
},
4143
"provisioningState": "Succeeded"
4244
}

specification/containerservice/Fleet.Management/examples/2023-08-15-preview/Fleets_ListByResourceGroup.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3535
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3636
"kubernetesVersion": "1.22.4",
37-
"vmSize": "Standard_DS1"
37+
"agentProfile": {
38+
"vmSize": "Standard_DS1"
39+
}
3840
},
3941
"provisioningState": "Succeeded"
4042
}

specification/containerservice/Fleet.Management/examples/2023-08-15-preview/Fleets_ListBySub.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3434
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3535
"kubernetesVersion": "1.22.4",
36-
"vmSize": "Standard_DS1"
36+
"agentProfile": {
37+
"vmSize": "Standard_DS1"
38+
}
3739
},
3840
"provisioningState": "Succeeded"
3941
}

specification/containerservice/Fleet.Management/examples/2023-08-15-preview/Fleets_PatchTags.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
4444
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
4545
"kubernetesVersion": "1.22.4",
46-
"vmSize": "Standard_DS1"
46+
"agentProfile": {
47+
"vmSize": "Standard_DS1"
48+
}
4749
},
4850
"provisioningState": "Succeeded"
4951
}

specification/containerservice/Fleet.Management/fleet.tsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ model FleetHubProfile {
8383
@visibility("read")
8484
@doc("The Azure Portal FQDN of the Fleet hub.")
8585
portalFqdn?: string;
86-
87-
@added(Versions.v2023_08_15_preview)
88-
@doc("The virtual machine size of the Fleet hub.")
89-
@visibility("read", "create")
90-
vmSize?: string;
9186
}
9287

9388
scalar SubnetResourceId
@@ -118,6 +113,11 @@ model AgentProfile {
118113
@visibility("read", "create")
119114
@doc("The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used.")
120115
subnetId?: SubnetResourceId;
116+
117+
@added(Versions.v2023_08_15_preview)
118+
@doc("The virtual machine size of the Fleet hub.")
119+
@visibility("read", "create")
120+
vmSize?: string;
121121
}
122122

123123
@lroStatus

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/Fleets_CreateOrUpdate.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"properties": {
1616
"hubProfile": {
1717
"dnsPrefix": "dnsprefix1",
18-
"vmSize": "Standard_DS1"
18+
"agentProfile": {
19+
"vmSize": "Standard_DS1"
20+
}
1921
}
2022
}
2123
}
@@ -51,7 +53,9 @@
5153
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
5254
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
5355
"kubernetesVersion": "1.22.4",
54-
"vmSize": "Standard_DS1"
56+
"agentProfile": {
57+
"vmSize": "Standard_DS1"
58+
}
5559
},
5660
"provisioningState": "Updating"
5761
}
@@ -87,7 +91,9 @@
8791
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
8892
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
8993
"kubernetesVersion": "1.22.4",
90-
"vmSize": "Standard_DS1"
94+
"agentProfile": {
95+
"vmSize": "Standard_DS1"
96+
}
9197
},
9298
"provisioningState": "Creating"
9399
}

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/Fleets_Get.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3737
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3838
"kubernetesVersion": "1.22.4",
39-
"vmSize": "Standard_DS1"
39+
"agentProfile": {
40+
"vmSize": "Standard_DS1"
41+
}
4042
},
4143
"provisioningState": "Succeeded"
4244
}

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/Fleets_ListByResourceGroup.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3535
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3636
"kubernetesVersion": "1.22.4",
37-
"vmSize": "Standard_DS1"
37+
"agentProfile": {
38+
"vmSize": "Standard_DS1"
39+
}
3840
},
3941
"provisioningState": "Succeeded"
4042
}

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/Fleets_ListBySub.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3434
"portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io",
3535
"kubernetesVersion": "1.22.4",
36-
"vmSize": "Standard_DS1"
36+
"agentProfile": {
37+
"vmSize": "Standard_DS1"
38+
}
3739
},
3840
"provisioningState": "Succeeded"
3941
}

0 commit comments

Comments
 (0)