ServiceLoadMetricDescriptionResponse

data class ServiceLoadMetricDescriptionResponse(val defaultLoad: Int? = null, val name: String, val primaryDefaultLoad: Int? = null, val secondaryDefaultLoad: Int? = null, val weight: String? = null)

Specifies a metric to load balance a service during runtime.

Constructors

Link copied to clipboard
constructor(defaultLoad: Int? = null, name: String, primaryDefaultLoad: Int? = null, secondaryDefaultLoad: Int? = null, weight: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val defaultLoad: Int? = null

Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.

Link copied to clipboard

The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.

Link copied to clipboard
val primaryDefaultLoad: Int? = null

Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.

Link copied to clipboard

Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.

Link copied to clipboard
val weight: String? = null

The service load metric relative weight, compared to other metrics configured for this service, as a number.