FailoverPolicyResponse

data class FailoverPolicyResponse(val failoverPriority: Int? = null, val id: String, val locationName: String? = null)

The failover policy for a given region of a database account.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val failoverPriority: 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 id: String

The unique identifier of the region in which the database account replicates to. Example: -.

Link copied to clipboard
val locationName: String? = null

The name of the region in which the database account exists.