Skip to content

Commit 4b1bae9

Browse files
committed
sync PR #19592 ARM ID annotations for ContainerService
1 parent 427c9a3 commit 4b1bae9

File tree

1 file changed

+67
-0
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01

1 file changed

+67
-0
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/managedClusters.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,14 @@
23552355
},
23562356
"ContainerServiceVnetSubnetID": {
23572357
"type": "string",
2358+
"format": "arm-id",
2359+
"x-ms-arm-id-details": {
2360+
"allowedResources": [
2361+
{
2362+
"type": "Microsoft.Network/virtualNetworks/subnets"
2363+
}
2364+
]
2365+
},
23582366
"description": "specifies a subnet's resource id with subscription, resource group, vnet and subnet name"
23592367
},
23602368
"ContainerServiceVMSize": {
@@ -2640,11 +2648,27 @@
26402648
},
26412649
"vnetSubnetID": {
26422650
"type": "string",
2651+
"format": "arm-id",
2652+
"x-ms-arm-id-details": {
2653+
"allowedResources": [
2654+
{
2655+
"type": "Microsoft.Network/virtualNetworks/subnets"
2656+
}
2657+
]
2658+
},
26432659
"title": "The ID of the subnet which agent pool nodes and optionally pods will join on startup.",
26442660
"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}"
26452661
},
26462662
"podSubnetID": {
26472663
"type": "string",
2664+
"format": "arm-id",
2665+
"x-ms-arm-id-details": {
2666+
"allowedResources": [
2667+
{
2668+
"type": "Microsoft.Network/virtualNetworks/subnets"
2669+
}
2670+
]
2671+
},
26482672
"title": "The ID of the subnet which pods will join when launched.",
26492673
"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}"
26502674
},
@@ -2728,6 +2752,14 @@
27282752
},
27292753
"nodePublicIPPrefixID": {
27302754
"type": "string",
2755+
"format": "arm-id",
2756+
"x-ms-arm-id-details": {
2757+
"allowedResources": [
2758+
{
2759+
"type": "Microsoft.Network/publicIPPrefixes"
2760+
}
2761+
]
2762+
},
27312763
"title": "The public IP prefix ID which VM nodes should use IPs from.",
27322764
"description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}"
27332765
},
@@ -3536,6 +3568,7 @@
35363568
"properties": {
35373569
"id": {
35383570
"type": "string",
3571+
"format": "arm-id",
35393572
"description": "The fully qualified Azure resource id."
35403573
}
35413574
},
@@ -3885,6 +3918,14 @@
38853918
},
38863919
"diskEncryptionSetID": {
38873920
"type": "string",
3921+
"format": "arm-id",
3922+
"x-ms-arm-id-details": {
3923+
"allowedResources": [
3924+
{
3925+
"type": "Microsoft.Compute/diskEncryptionSets"
3926+
}
3927+
]
3928+
},
38883929
"title": "The Resource ID of the disk encryption set to use for enabling encryption at rest.",
38893930
"description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'"
38903931
},
@@ -4065,6 +4106,14 @@
40654106
"properties": {
40664107
"resourceId": {
40674108
"type": "string",
4109+
"format": "arm-id",
4110+
"x-ms-arm-id-details": {
4111+
"allowedResources": [
4112+
{
4113+
"type": "Microsoft.ManagedIdentity/userAssignedIdentities"
4114+
}
4115+
]
4116+
},
40684117
"description": "The resource ID of the user assigned identity."
40694118
},
40704119
"clientId": {
@@ -4693,6 +4742,14 @@
46934742
},
46944743
"ProximityPlacementGroupID": {
46954744
"type": "string",
4745+
"format": "arm-id",
4746+
"x-ms-arm-id-details": {
4747+
"allowedResources": [
4748+
{
4749+
"type": "Microsoft.Compute/proximityPlacementGroups"
4750+
}
4751+
]
4752+
},
46964753
"description": "The ID for Proximity Placement Group."
46974754
},
46984755
"CredentialResults": {
@@ -4960,6 +5017,7 @@
49605017
"privateLinkServiceID": {
49615018
"readOnly": true,
49625019
"type": "string",
5020+
"format": "arm-id",
49635021
"description": "The private link service ID of the resource, this field is exposed only to NRP internally."
49645022
}
49655023
}
@@ -5546,6 +5604,14 @@
55465604
"properties": {
55475605
"logAnalyticsWorkspaceResourceId": {
55485606
"type": "string",
5607+
"format": "arm-id",
5608+
"x-ms-arm-id-details": {
5609+
"allowedResources": [
5610+
{
5611+
"type": "Microsoft.OperationalInsights/workspaces"
5612+
}
5613+
]
5614+
},
55495615
"description": "Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty."
55505616
},
55515617
"securityMonitoring": {
@@ -5601,6 +5667,7 @@
56015667
"properties": {
56025668
"sourceResourceId": {
56035669
"type": "string",
5670+
"format": "arm-id",
56045671
"description": "This is the ARM ID of the source object to be used to create the target object."
56055672
}
56065673
}

0 commit comments

Comments
 (0)