The location of the resource group to which the resource belongs.
string
name
The resource name
string (required)
parent
In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.
List of keys for each MongoDB collection in the Azure Cosmos DB service
string[]
MongoIndexOptions
Name
Description
Value
expireAfterSeconds
Expire after seconds
int
unique
Is unique or not
bool
ResourceRestoreParameters
Name
Description
Value
restoreSource
The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
string
restoreTimestampInUtc
Time to which the account has to be restored (ISO-8601 format).
string
restoreWithTtlDisabled
Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
bool
ShardKeys
Name
Description
Value
Tags
Name
Description
Value
Quickstart samples
The following quickstart samples deploy this resource type.
List of keys for each MongoDB collection in the Azure Cosmos DB service
string[]
MongoIndexOptions
Name
Description
Value
expireAfterSeconds
Expire after seconds
int
unique
Is unique or not
bool
ResourceRestoreParameters
Name
Description
Value
restoreSource
The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
string
restoreTimestampInUtc
Time to which the account has to be restored (ISO-8601 format).
string
restoreWithTtlDisabled
Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
bool
ShardKeys
Name
Description
Value
Tags
Name
Description
Value
Quickstart templates
The following quickstart templates deploy this resource type.
List of keys for each MongoDB collection in the Azure Cosmos DB service
string[]
MongoIndexOptions
Name
Description
Value
expireAfterSeconds
Expire after seconds
int
unique
Is unique or not
bool
ResourceRestoreParameters
Name
Description
Value
restoreSource
The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
string
restoreTimestampInUtc
Time to which the account has to be restored (ISO-8601 format).
string
restoreWithTtlDisabled
Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.