Skip to content

Commit 97a6a0b

Browse files
author
Meha Kaushik
committed
Fixes in model
1 parent 7520f21 commit 97a6a0b

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-05-04/cosmos-db.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6727,7 +6727,13 @@
67276727
},
67286728
"IpAddressOrRange": {
67296729
"type": "string",
6730-
"description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”."
6730+
"description": "IpAddressOrRange object",
6731+
"properties": {
6732+
"value": {
6733+
"type": "string",
6734+
"description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”."
6735+
}
6736+
}
67316737
},
67326738
"VirtualNetworkRule": {
67336739
"type": "object",

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-05-04/examples/CosmosDBDatabaseAccountCreateMax.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
"databaseAccountOfferType": "Standard",
1313
"ipRules": [
1414
{
15-
"ipAddressOrRange": "23.43.230.120"
15+
"ipAddressOrRange": {
16+
"value": "23.43.230.120"
17+
}
1618
},
1719
{
18-
"ipAddressOrRange": "110.12.240.0/12"
20+
"ipAddressOrRange":{
21+
"value": "110.12.240.0/12"
22+
}
1923
}
2024
],
2125
"isVirtualNetworkFilterEnabled": true,
@@ -128,10 +132,14 @@
128132
"enableFreeTier": false,
129133
"ipRules": [
130134
{
131-
"ipAddressOrRange": "23.43.230.120"
135+
"ipAddressOrRange": {
136+
"value": "23.43.230.120"
137+
}
132138
},
133139
{
134-
"ipAddressOrRange": "110.12.240.0/12"
140+
"ipAddressOrRange":{
141+
"value": "110.12.240.0/12"
142+
}
135143
}
136144
]
137145
}

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-05-04/examples/CosmosDBDatabaseAccountPatch.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"properties": {
1313
"ipRules": [
1414
{
15-
"ipAddressOrRange": "10.10.10.10"
15+
"ipAddressOrRange": {
16+
"value": "10.10.10.10"
17+
}
1618
}
1719
],
1820
"isVirtualNetworkFilterEnabled": true,
@@ -48,7 +50,9 @@
4850
"databaseAccountOfferType": "Standard",
4951
"ipRules": [
5052
{
51-
"ipAddressOrRange": "10.10.10.10"
53+
"ipAddressOrRange": {
54+
"value": "10.10.10.10"
55+
}
5256
}
5357
],
5458
"isVirtualNetworkFilterEnabled": true,

0 commit comments

Comments
 (0)