AccountGeoLocation

data class AccountGeoLocation(val failoverPriority: Int, val id: String? = null, val location: String, val zoneRedundant: Boolean? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: String? = null

The CosmosDB Account ID.

Link copied to clipboard

The name of the Azure region to host replicated data.

Link copied to clipboard
val zoneRedundant: Boolean? = null

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