Skip to content

Commit

Permalink
Update readme and JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
seesharprun committed Oct 21, 2024
1 parent de66fb9 commit 98b124a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions avm/res/document-db/database-account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1746,12 +1746,12 @@ module databaseAccount 'br/public:avm/res/document-db/database-account:<version>
locations: [
{
failoverPriority: 0
isZoneRedundant: true
isZoneRedundant: false
locationName: '<locationName>'
}
{
failoverPriority: 1
isZoneRedundant: true
isZoneRedundant: false
locationName: '<locationName>'
}
]
Expand Down Expand Up @@ -1806,12 +1806,12 @@ module databaseAccount 'br/public:avm/res/document-db/database-account:<version>
"value": [
{
"failoverPriority": 0,
"isZoneRedundant": true,
"isZoneRedundant": false,
"locationName": "<locationName>"
},
{
"failoverPriority": 1,
"isZoneRedundant": true,
"isZoneRedundant": false,
"locationName": "<locationName>"
}
]
Expand Down Expand Up @@ -1850,12 +1850,12 @@ param location = '<location>'
param locations = [
{
failoverPriority: 0
isZoneRedundant: true
isZoneRedundant: false
locationName: '<locationName>'
}
{
failoverPriority: 1
isZoneRedundant: true
isZoneRedundant: false
locationName: '<locationName>'
}
]
Expand Down Expand Up @@ -3794,7 +3794,7 @@ Default to the location where the account is deployed. Locations enabled for the

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`isZoneRedundant`](#parameter-locationsiszoneredundant) | bool | Default to true. Flag to indicate whether or not this region is an AvailabilityZone region. |
| [`isZoneRedundant`](#parameter-locationsiszoneredundant) | bool | Default to false. Flag to indicate whether or not this region is an AvailabilityZone region. |

### Parameter: `locations.failoverPriority`

Expand All @@ -3812,7 +3812,7 @@ The name of the region.

### Parameter: `locations.isZoneRedundant`

Default to true. Flag to indicate whether or not this region is an AvailabilityZone region.
Default to false. Flag to indicate whether or not this region is an AvailabilityZone region.

- Required: No
- Type: bool
Expand Down
8 changes: 4 additions & 4 deletions avm/res/document-db/database-account/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "2886040651089761865"
"templateHash": "16960642970387731391"
},
"name": "DocumentDB Database Accounts",
"description": "This module deploys a DocumentDB Database Account.",
Expand Down Expand Up @@ -486,7 +486,7 @@
"type": "bool",
"nullable": true,
"metadata": {
"description": "Optional. Default to true. Flag to indicate whether or not this region is an AvailabilityZone region."
"description": "Optional. Default to false. Flag to indicate whether or not this region is an AvailabilityZone region."
}
},
"locationName": {
Expand Down Expand Up @@ -1176,7 +1176,7 @@
"input": {
"failoverPriority": "[parameters('locations')[copyIndex('databaseAccount_locations')].failoverPriority]",
"locationName": "[parameters('locations')[copyIndex('databaseAccount_locations')].locationName]",
"isZoneRedundant": "[coalesce(tryGet(parameters('locations')[copyIndex('databaseAccount_locations')], 'isZoneRedundant'), true())]"
"isZoneRedundant": "[coalesce(tryGet(parameters('locations')[copyIndex('databaseAccount_locations')], 'isZoneRedundant'), false())]"
}
},
{
Expand Down Expand Up @@ -1232,7 +1232,7 @@
{
"failoverPriority": 0,
"locationName": "[parameters('location')]",
"isZoneRedundant": true
"isZoneRedundant": false
}
],
"kind": "[if(or(not(empty(parameters('sqlDatabases'))), not(empty(parameters('gremlinDatabases')))), 'GlobalDocumentDB', if(not(empty(parameters('mongodbDatabases'))), 'MongoDB', 'GlobalDocumentDB'))]",
Expand Down

0 comments on commit 98b124a

Please sign in to comment.