Skip to content

Commit

Permalink
Fixes in model
Browse files Browse the repository at this point in the history
  • Loading branch information
Meha Kaushik committed May 5, 2020
1 parent 7520f21 commit 97a6a0b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6727,7 +6727,13 @@
},
"IpAddressOrRange": {
"type": "string",
"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”."
"description": "IpAddressOrRange object",
"properties": {
"value": {
"type": "string",
"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”."
}
}
},
"VirtualNetworkRule": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
"databaseAccountOfferType": "Standard",
"ipRules": [
{
"ipAddressOrRange": "23.43.230.120"
"ipAddressOrRange": {
"value": "23.43.230.120"
}
},
{
"ipAddressOrRange": "110.12.240.0/12"
"ipAddressOrRange":{
"value": "110.12.240.0/12"
}
}
],
"isVirtualNetworkFilterEnabled": true,
Expand Down Expand Up @@ -128,10 +132,14 @@
"enableFreeTier": false,
"ipRules": [
{
"ipAddressOrRange": "23.43.230.120"
"ipAddressOrRange": {
"value": "23.43.230.120"
}
},
{
"ipAddressOrRange": "110.12.240.0/12"
"ipAddressOrRange":{
"value": "110.12.240.0/12"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"properties": {
"ipRules": [
{
"ipAddressOrRange": "10.10.10.10"
"ipAddressOrRange": {
"value": "10.10.10.10"
}
}
],
"isVirtualNetworkFilterEnabled": true,
Expand Down Expand Up @@ -48,7 +50,9 @@
"databaseAccountOfferType": "Standard",
"ipRules": [
{
"ipAddressOrRange": "10.10.10.10"
"ipAddressOrRange": {
"value": "10.10.10.10"
}
}
],
"isVirtualNetworkFilterEnabled": true,
Expand Down

0 comments on commit 97a6a0b

Please sign in to comment.