HealthCheckState constructor

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

Creates a new HealthCheckState. checkIntervalSec How often (in seconds) to send a health check. The default value is 5 creationTimestamp Creation timestamp in RFC3339 text format. 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. selfLink The URI of the created resource. 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. type The type of the health check. One of HTTP, HTTPS, TCP, or SSL. unhealthyThreshold A so-far healthy instance will be marked unhealthy after this many

Implementation

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