@property
@pulumi.getter(name='dropTrafficIfUnhealthy')
def drop_traffic_if_unhealthy(self) -> Optional[pulumi.Input[bool]]:
    '\n        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. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false.\n        '
    return pulumi.get(self, 'drop_traffic_if_unhealthy')
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. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false.
@property
@pulumi.getter(name='dropTrafficIfUnhealthy')
def drop_traffic_if_unhealthy(self) -> Optional[pulumi.Input[bool]]:
    '\n        \n        '
    return pulumi.get(self, 'drop_traffic_if_unhealthy')