Skip to content

Commit

Permalink
ARM ID Annotations for Redis (#19596)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr authored Aug 5, 2022
1 parent a10f4b6 commit 9d4fb5a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,17 @@
},
"subnetId": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Network/virtualNetworks/subnets"
},
{
"type": "Microsoft.ClassicNetwork/virtualNetworks/subnets"
}
]
},
"pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$",
"description": "The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1"
},
Expand Down Expand Up @@ -2548,6 +2559,14 @@
"properties": {
"linkedRedisCacheId": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Cache/Redis"
}
]
},
"description": "Fully qualified resourceId of the linked redis cache."
},
"linkedRedisCacheLocation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,17 @@
},
"subnetId": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Network/virtualNetworks/subnets"
},
{
"type": "Microsoft.ClassicNetwork/virtualNetworks/subnets"
}
]
},
"pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$",
"description": "The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1"
},
Expand Down Expand Up @@ -2618,6 +2629,14 @@
"properties": {
"linkedRedisCacheId": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Cache/Redis"
}
]
},
"description": "Fully qualified resourceId of the linked redis cache."
},
"linkedRedisCacheLocation": {
Expand Down

0 comments on commit 9d4fb5a

Please sign in to comment.