LocationArgs

data class LocationArgs(val failoverPriority: Output<Int>? = null, val isZoneRedundant: Output<Boolean>? = null, val locationName: Output<String>? = null) : ConvertibleToJava<LocationArgs>

A region in which the Azure Cosmos DB database account is deployed.

Constructors

Link copied to clipboard
constructor(failoverPriority: Output<Int>? = null, isZoneRedundant: Output<Boolean>? = null, locationName: Output<String>? = null)

Properties

Link copied to clipboard
val failoverPriority: Output<Int>? = null

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.

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

Flag to indicate whether or not this region is an AvailabilityZone region

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

The name of the region.

Functions

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