Skip to content

Commit ad91f12

Browse files
author
SDKAuto
committed
CodeGen from PR 19592 in Azure/azure-rest-api-specs
ARM ID annotations for ContainerService (#19592)
1 parent fd7ea39 commit ad91f12

13 files changed

+8314
-0
lines changed

schemas/2021-05-01/Microsoft.ContainerService.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
},
269269
"resourceId": {
270270
"type": "string",
271+
"format": "arm-id",
271272
"description": "The resource ID of the user assigned identity."
272273
}
273274
}
@@ -995,6 +996,7 @@
995996
},
996997
"nodePublicIPPrefixID": {
997998
"type": "string",
999+
"format": "arm-id",
9981000
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
9991001
},
10001002
"nodeTaints": {
@@ -1072,10 +1074,12 @@
10721074
},
10731075
"podSubnetID": {
10741076
"type": "string",
1077+
"format": "arm-id",
10751078
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
10761079
},
10771080
"proximityPlacementGroupID": {
10781081
"type": "string",
1082+
"format": "arm-id",
10791083
"description": "The ID for Proximity Placement Group."
10801084
},
10811085
"scaleSetEvictionPolicy": {
@@ -1166,6 +1170,7 @@
11661170
},
11671171
"vnetSubnetID": {
11681172
"type": "string",
1173+
"format": "arm-id",
11691174
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
11701175
}
11711176
},
@@ -1375,6 +1380,7 @@
13751380
},
13761381
"nodePublicIPPrefixID": {
13771382
"type": "string",
1383+
"format": "arm-id",
13781384
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
13791385
},
13801386
"nodeTaints": {
@@ -1452,10 +1458,12 @@
14521458
},
14531459
"podSubnetID": {
14541460
"type": "string",
1461+
"format": "arm-id",
14551462
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
14561463
},
14571464
"proximityPlacementGroupID": {
14581465
"type": "string",
1466+
"format": "arm-id",
14591467
"description": "The ID for Proximity Placement Group."
14601468
},
14611469
"scaleSetEvictionPolicy": {
@@ -1546,6 +1554,7 @@
15461554
},
15471555
"vnetSubnetID": {
15481556
"type": "string",
1557+
"format": "arm-id",
15491558
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
15501559
}
15511560
},
@@ -2044,6 +2053,7 @@
20442053
},
20452054
"diskEncryptionSetID": {
20462055
"type": "string",
2056+
"format": "arm-id",
20472057
"description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'"
20482058
},
20492059
"dnsPrefix": {
@@ -2590,6 +2600,7 @@
25902600
"properties": {
25912601
"id": {
25922602
"type": "string",
2603+
"format": "arm-id",
25932604
"description": "The fully qualified Azure resource id."
25942605
}
25952606
},
@@ -2971,6 +2982,7 @@
29712982
},
29722983
"resourceId": {
29732984
"type": "string",
2985+
"format": "arm-id",
29742986
"description": "The resource ID of the user assigned identity."
29752987
}
29762988
},

schemas/2021-07-01/Microsoft.ContainerService.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@
987987
},
988988
"nodePublicIPPrefixID": {
989989
"type": "string",
990+
"format": "arm-id",
990991
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
991992
},
992993
"nodeTaints": {
@@ -1064,10 +1065,12 @@
10641065
},
10651066
"podSubnetID": {
10661067
"type": "string",
1068+
"format": "arm-id",
10671069
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
10681070
},
10691071
"proximityPlacementGroupID": {
10701072
"type": "string",
1073+
"format": "arm-id",
10711074
"description": "The ID for Proximity Placement Group."
10721075
},
10731076
"scaleDownMode": {
@@ -1173,6 +1176,7 @@
11731176
},
11741177
"vnetSubnetID": {
11751178
"type": "string",
1179+
"format": "arm-id",
11761180
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
11771181
}
11781182
},
@@ -1382,6 +1386,7 @@
13821386
},
13831387
"nodePublicIPPrefixID": {
13841388
"type": "string",
1389+
"format": "arm-id",
13851390
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
13861391
},
13871392
"nodeTaints": {
@@ -1459,10 +1464,12 @@
14591464
},
14601465
"podSubnetID": {
14611466
"type": "string",
1467+
"format": "arm-id",
14621468
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
14631469
},
14641470
"proximityPlacementGroupID": {
14651471
"type": "string",
1472+
"format": "arm-id",
14661473
"description": "The ID for Proximity Placement Group."
14671474
},
14681475
"scaleDownMode": {
@@ -1568,6 +1575,7 @@
15681575
},
15691576
"vnetSubnetID": {
15701577
"type": "string",
1578+
"format": "arm-id",
15711579
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
15721580
}
15731581
},
@@ -2131,6 +2139,7 @@
21312139
},
21322140
"diskEncryptionSetID": {
21332141
"type": "string",
2142+
"format": "arm-id",
21342143
"description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'"
21352144
},
21362145
"dnsPrefix": {
@@ -2400,6 +2409,7 @@
24002409
},
24012410
"logAnalyticsWorkspaceResourceId": {
24022411
"type": "string",
2412+
"format": "arm-id",
24032413
"description": "Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, this field should not be exists."
24042414
}
24052415
},
@@ -2730,6 +2740,7 @@
27302740
"properties": {
27312741
"id": {
27322742
"type": "string",
2743+
"format": "arm-id",
27332744
"description": "The fully qualified Azure resource id."
27342745
}
27352746
},
@@ -3111,6 +3122,7 @@
31113122
},
31123123
"resourceId": {
31133124
"type": "string",
3125+
"format": "arm-id",
31143126
"description": "The resource ID of the user assigned identity."
31153127
}
31163128
},

schemas/2021-08-01/Microsoft.ContainerService.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@
551551
"properties": {
552552
"sourceResourceId": {
553553
"type": "string",
554+
"format": "arm-id",
554555
"description": "This is the ARM ID of the source object to be used to create the target object."
555556
}
556557
},
@@ -1077,6 +1078,7 @@
10771078
},
10781079
"nodePublicIPPrefixID": {
10791080
"type": "string",
1081+
"format": "arm-id",
10801082
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
10811083
},
10821084
"nodeTaints": {
@@ -1154,10 +1156,12 @@
11541156
},
11551157
"podSubnetID": {
11561158
"type": "string",
1159+
"format": "arm-id",
11571160
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
11581161
},
11591162
"proximityPlacementGroupID": {
11601163
"type": "string",
1164+
"format": "arm-id",
11611165
"description": "The ID for Proximity Placement Group."
11621166
},
11631167
"scaleDownMode": {
@@ -1263,6 +1267,7 @@
12631267
},
12641268
"vnetSubnetID": {
12651269
"type": "string",
1270+
"format": "arm-id",
12661271
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
12671272
},
12681273
"workloadRuntime": {
@@ -1497,6 +1502,7 @@
14971502
},
14981503
"nodePublicIPPrefixID": {
14991504
"type": "string",
1505+
"format": "arm-id",
15001506
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
15011507
},
15021508
"nodeTaints": {
@@ -1574,10 +1580,12 @@
15741580
},
15751581
"podSubnetID": {
15761582
"type": "string",
1583+
"format": "arm-id",
15771584
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
15781585
},
15791586
"proximityPlacementGroupID": {
15801587
"type": "string",
1588+
"format": "arm-id",
15811589
"description": "The ID for Proximity Placement Group."
15821590
},
15831591
"scaleDownMode": {
@@ -1683,6 +1691,7 @@
16831691
},
16841692
"vnetSubnetID": {
16851693
"type": "string",
1694+
"format": "arm-id",
16861695
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
16871696
},
16881697
"workloadRuntime": {
@@ -2282,6 +2291,7 @@
22822291
},
22832292
"diskEncryptionSetID": {
22842293
"type": "string",
2294+
"format": "arm-id",
22852295
"description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'"
22862296
},
22872297
"dnsPrefix": {
@@ -2566,6 +2576,7 @@
25662576
},
25672577
"logAnalyticsWorkspaceResourceId": {
25682578
"type": "string",
2579+
"format": "arm-id",
25692580
"description": "Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, this field should not be exists."
25702581
}
25712582
},
@@ -2896,6 +2907,7 @@
28962907
"properties": {
28972908
"id": {
28982909
"type": "string",
2910+
"format": "arm-id",
28992911
"description": "The fully qualified Azure resource id."
29002912
}
29012913
},
@@ -3307,6 +3319,7 @@
33073319
},
33083320
"resourceId": {
33093321
"type": "string",
3322+
"format": "arm-id",
33103323
"description": "The resource ID of the user assigned identity."
33113324
}
33123325
},

schemas/2021-09-01/Microsoft.ContainerService.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@
551551
"properties": {
552552
"sourceResourceId": {
553553
"type": "string",
554+
"format": "arm-id",
554555
"description": "This is the ARM ID of the source object to be used to create the target object."
555556
}
556557
},
@@ -1077,6 +1078,7 @@
10771078
},
10781079
"nodePublicIPPrefixID": {
10791080
"type": "string",
1081+
"format": "arm-id",
10801082
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
10811083
},
10821084
"nodeTaints": {
@@ -1154,6 +1156,7 @@
11541156
},
11551157
"podSubnetID": {
11561158
"type": "string",
1159+
"format": "arm-id",
11571160
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
11581161
},
11591162
"powerState": {
@@ -1169,6 +1172,7 @@
11691172
},
11701173
"proximityPlacementGroupID": {
11711174
"type": "string",
1175+
"format": "arm-id",
11721176
"description": "The ID for Proximity Placement Group."
11731177
},
11741178
"scaleDownMode": {
@@ -1274,6 +1278,7 @@
12741278
},
12751279
"vnetSubnetID": {
12761280
"type": "string",
1281+
"format": "arm-id",
12771282
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
12781283
},
12791284
"workloadRuntime": {
@@ -1508,6 +1513,7 @@
15081513
},
15091514
"nodePublicIPPrefixID": {
15101515
"type": "string",
1516+
"format": "arm-id",
15111517
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
15121518
},
15131519
"nodeTaints": {
@@ -1585,6 +1591,7 @@
15851591
},
15861592
"podSubnetID": {
15871593
"type": "string",
1594+
"format": "arm-id",
15881595
"description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
15891596
},
15901597
"powerState": {
@@ -1600,6 +1607,7 @@
16001607
},
16011608
"proximityPlacementGroupID": {
16021609
"type": "string",
1610+
"format": "arm-id",
16031611
"description": "The ID for Proximity Placement Group."
16041612
},
16051613
"scaleDownMode": {
@@ -1705,6 +1713,7 @@
17051713
},
17061714
"vnetSubnetID": {
17071715
"type": "string",
1716+
"format": "arm-id",
17081717
"description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}"
17091718
},
17101719
"workloadRuntime": {
@@ -2304,6 +2313,7 @@
23042313
},
23052314
"diskEncryptionSetID": {
23062315
"type": "string",
2316+
"format": "arm-id",
23072317
"description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'"
23082318
},
23092319
"dnsPrefix": {
@@ -2588,6 +2598,7 @@
25882598
},
25892599
"logAnalyticsWorkspaceResourceId": {
25902600
"type": "string",
2601+
"format": "arm-id",
25912602
"description": "Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, this field should not be exists."
25922603
}
25932604
},
@@ -2950,6 +2961,7 @@
29502961
"properties": {
29512962
"id": {
29522963
"type": "string",
2964+
"format": "arm-id",
29532965
"description": "The fully qualified Azure resource id."
29542966
}
29552967
},
@@ -3361,6 +3373,7 @@
33613373
},
33623374
"resourceId": {
33633375
"type": "string",
3376+
"format": "arm-id",
33643377
"description": "The resource ID of the user assigned identity."
33653378
}
33663379
},

0 commit comments

Comments
 (0)