diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-05-15/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-05-15/cosmos-db.json index 041211b008a9..43706e68f226 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-05-15/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-05-15/cosmos-db.json @@ -6136,7 +6136,8 @@ "type": "array", "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.", "items": { - "type": "string" + "type": "string", + "format": "arm-id" } } } @@ -7847,6 +7848,14 @@ "properties": { "id": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + }, "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." }, "ignoreMissingVNetServiceEndpoint": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-06-15/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-06-15/cosmos-db.json index 60d4d04fcb97..f678aee0c9f6 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-06-15/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-06-15/cosmos-db.json @@ -6160,7 +6160,8 @@ "type": "array", "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.", "items": { - "type": "string" + "type": "string", + "format": "arm-id" } }, "disableLocalAuth": { @@ -7894,6 +7895,14 @@ "properties": { "id": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + }, "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." }, "ignoreMissingVNetServiceEndpoint": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json index 6e11b8b0b0ff..666c7693647b 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json @@ -6232,7 +6232,8 @@ "type": "array", "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.", "items": { - "type": "string" + "type": "string", + "format": "arm-id" } }, "disableLocalAuth": { @@ -7993,6 +7994,14 @@ "properties": { "id": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + }, "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." }, "ignoreMissingVNetServiceEndpoint": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json index ca6bd9e62716..bd6cbe7c1fb2 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json @@ -6232,7 +6232,8 @@ "type": "array", "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.", "items": { - "type": "string" + "type": "string", + "format": "arm-id" } }, "disableLocalAuth": { @@ -7998,6 +7999,14 @@ "properties": { "id": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + }, "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." }, "ignoreMissingVNetServiceEndpoint": {