Skip to content

Commit

Permalink
Use format: arm-id in Redis and RedisEnterprise where appropriate (#2…
Browse files Browse the repository at this point in the history
…5517)

LGTM merging
  • Loading branch information
matthchr authored and jnlycklama committed Nov 8, 2023
1 parent 7721fd0 commit 1cf6bc8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,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 @@ -2601,6 +2612,14 @@
"id": {
"readOnly": true,
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Cache/redis/linkedServers"
}
]
},
"description": "Linked server Id."
}
}
Expand Down Expand Up @@ -2657,6 +2676,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 @@ -1700,6 +1700,14 @@
"properties": {
"id": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Cache/redisEnterprise/databases"
}
]
},
"x-ms-mutability": [
"read",
"create"
Expand Down Expand Up @@ -1833,7 +1841,15 @@
"ids": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Cache/redisEnterprise/databases"
}
]
}
},
"description": "The resource IDs of the database resources to be unlinked."
}
Expand Down

0 comments on commit 1cf6bc8

Please sign in to comment.