diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-04-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-04-01/redis.json index dc5df5d472e0..e0cdd7f4a137 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-04-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-04-01/redis.json @@ -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" }, @@ -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." } } @@ -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": { diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-07-01/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-07-01/redisenterprise.json index a2bb94ad5043..eed323455e5d 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-07-01/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-07-01/redisenterprise.json @@ -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" @@ -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." }