Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
BackendServiceFailoverPolicy |
BackendServiceFailoverPolicy.clone() |
BackendServiceFailoverPolicy |
BackendService.getFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendServiceFailoverPolicy |
BackendServiceFailoverPolicy.set(String fieldName,
Object value) |
BackendServiceFailoverPolicy |
BackendServiceFailoverPolicy.setDisableConnectionDrainOnFailover(Boolean disableConnectionDrainOnFailover)
This can be set to true only if the protocol is TCP.
|
BackendServiceFailoverPolicy |
BackendServiceFailoverPolicy.setDropTrafficIfUnhealthy(Boolean dropTrafficIfUnhealthy)
If set to true, connections to the load balancer are dropped when all primary and all backup
backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs
when all primary and all backup backend VMs are unhealthy.
|
BackendServiceFailoverPolicy |
BackendServiceFailoverPolicy.setFailoverRatio(Float failoverRatio)
The value of the field must be in the range [0, 1].
|
Modifier and Type | Method and Description |
---|---|
BackendService |
BackendService.setFailoverPolicy(BackendServiceFailoverPolicy failoverPolicy)
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
Copyright © 2011–2025 Google. All rights reserved.