HealthCheckArgs constructor

const HealthCheckArgs({
  1. Input<int?>? checkIntervalSec,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<HealthCheckGrpcHealthCheck?>? grpcHealthCheck,
  5. Input<HealthCheckGrpcTlsHealthCheck?>? grpcTlsHealthCheck,
  6. Input<int?>? healthyThreshold,
  7. Input<HealthCheckHttp2HealthCheck?>? http2HealthCheck,
  8. Input<HealthCheckHttpHealthCheck?>? httpHealthCheck,
  9. Input<HealthCheckHttpsHealthCheck?>? httpsHealthCheck,
  10. Input<HealthCheckLogConfig?>? logConfig,
  11. Input<String?>? name,
  12. Input<String?>? project,
  13. Input<List<String>?>? sourceRegions,
  14. Input<HealthCheckSslHealthCheck?>? sslHealthCheck,
  15. Input<HealthCheckTcpHealthCheck?>? tcpHealthCheck,
  16. Input<int?>? timeoutSec,
  17. Input<int?>? unhealthyThreshold,
})

Creates a new HealthCheckArgs. checkIntervalSec How often (in seconds) to send a health check. The default value is 5 deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property when grpcHealthCheck A nested object resource. grpcTlsHealthCheck A nested object resource. healthyThreshold A so-far unhealthy instance will be marked healthy after this many http2HealthCheck A nested object resource. httpHealthCheck A nested object resource. httpsHealthCheck A nested object resource. logConfig Configure logging on this health check. name Name of the resource. Provided by the client when the resource is project The ID of the project in which the resource belongs. sourceRegions The list of cloud regions from which health checks are performed. If sslHealthCheck A nested object resource. tcpHealthCheck A nested object resource. timeoutSec How long (in seconds) to wait before claiming failure. unhealthyThreshold A so-far healthy instance will be marked unhealthy after this many

Implementation

const HealthCheckArgs({
  this.checkIntervalSec,
  this.deletionPolicy,
  this.description,
  this.grpcHealthCheck,
  this.grpcTlsHealthCheck,
  this.healthyThreshold,
  this.http2HealthCheck,
  this.httpHealthCheck,
  this.httpsHealthCheck,
  this.logConfig,
  this.name,
  this.project,
  this.sourceRegions,
  this.sslHealthCheck,
  this.tcpHealthCheck,
  this.timeoutSec,
  this.unhealthyThreshold,
});