AccountGeoLocationArgs

data class AccountGeoLocationArgs(val failoverPriority: Output<Int>, val id: Output<String>? = null, val location: Output<String>, val zoneRedundant: Output<Boolean>? = null) : ConvertibleToJava<AccountGeoLocationArgs>

Constructors

Link copied to clipboard
constructor(failoverPriority: Output<Int>, id: Output<String>? = null, location: Output<String>, zoneRedundant: Output<Boolean>? = null)

Properties

Link copied to clipboard
val failoverPriority: Output<Int>

The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority 0.

Link copied to clipboard
val id: Output<String>? = null

The CosmosDB Account ID.

Link copied to clipboard
val location: Output<String>

The name of the Azure region to host replicated data.

Link copied to clipboard
val zoneRedundant: Output<Boolean>? = null

Should zone redundancy be enabled for this region? Defaults to false.

Functions

Link copied to clipboard
open override fun toJava(): AccountGeoLocationArgs