RegionHealthCheck
Health Checks determine whether instances are responsive and able to do work. They are an important part of a comprehensive load balancing configuration, as they enable monitoring instances behind load balancers.
Health Checks poll instances at a specified interval. Instances that do not respond successfully to some number of probes in a row are marked as unhealthy. No new connections are sent to unhealthy instances, though existing connections will continue. The health check will continue to poll unhealthy instances. If an instance later responds successfully to some number of consecutive probes, it is marked healthy again and can receive new connections.
To get more information about RegionHealthCheck, see:
- API documentation
- How-to Guides
Create a RegionHealthCheck Resource
new RegionHealthCheck(name: string, args?: RegionHealthCheckArgs, opts?: CustomResourceOptions);def RegionHealthCheck(resource_name, opts=None, check_interval_sec=None, description=None, healthy_threshold=None, http2_health_check=None, http_health_check=None, https_health_check=None, log_config=None, name=None, project=None, region=None, ssl_health_check=None, tcp_health_check=None, timeout_sec=None, unhealthy_threshold=None, __props__=None);func NewRegionHealthCheck(ctx *Context, name string, args *RegionHealthCheckArgs, opts ...ResourceOption) (*RegionHealthCheck, error)public RegionHealthCheck(string name, RegionHealthCheckArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args RegionHealthCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegionHealthCheckArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionHealthCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
RegionHealthCheck Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The RegionHealthCheck resource accepts the following input properties:
- Check
Interval intSec How often (in seconds) to send a health check. The default value is 5 seconds.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Http2Health
Check RegionHealth Check Http2Health Check Args A nested object resource Structure is documented below.
- Http
Health RegionCheck Health Check Http Health Check Args A nested object resource Structure is documented below.
- Https
Health RegionCheck Health Check Https Health Check Args A nested object resource Structure is documented below.
- Log
Config RegionHealth Check Log Config Args Configure logging on this health check. Structure is documented below.
- Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- Ssl
Health RegionCheck Health Check Ssl Health Check Args A nested object resource Structure is documented below.
- Tcp
Health RegionCheck Health Check Tcp Health Check Args A nested object resource Structure is documented below.
- Timeout
Sec int How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- Unhealthy
Threshold int A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- Check
Interval intSec How often (in seconds) to send a health check. The default value is 5 seconds.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Http2Health
Check RegionHealth Check Http2Health Check A nested object resource Structure is documented below.
- Http
Health RegionCheck Health Check Http Health Check A nested object resource Structure is documented below.
- Https
Health RegionCheck Health Check Https Health Check A nested object resource Structure is documented below.
- Log
Config RegionHealth Check Log Config Configure logging on this health check. Structure is documented below.
- Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- Ssl
Health RegionCheck Health Check Ssl Health Check A nested object resource Structure is documented below.
- Tcp
Health RegionCheck Health Check Tcp Health Check A nested object resource Structure is documented below.
- Timeout
Sec int How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- Unhealthy
Threshold int A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check
Interval numberSec How often (in seconds) to send a health check. The default value is 5 seconds.
- description string
An optional description of this resource. Provide this property when you create the resource.
- healthy
Threshold number A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- http2Health
Check RegionHealth Check Http2Health Check A nested object resource Structure is documented below.
- http
Health RegionCheck Health Check Http Health Check A nested object resource Structure is documented below.
- https
Health RegionCheck Health Check Https Health Check A nested object resource Structure is documented below.
- log
Config RegionHealth Check Log Config Configure logging on this health check. Structure is documented below.
- name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- ssl
Health RegionCheck Health Check Ssl Health Check A nested object resource Structure is documented below.
- tcp
Health RegionCheck Health Check Tcp Health Check A nested object resource Structure is documented below.
- timeout
Sec number How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- unhealthy
Threshold number A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check_
interval_ floatsec How often (in seconds) to send a health check. The default value is 5 seconds.
- description str
An optional description of this resource. Provide this property when you create the resource.
- healthy_
threshold float A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- http2_
health_ Dict[Regioncheck Health Check Http2Health Check] A nested object resource Structure is documented below.
- http_
health_ Dict[Regioncheck Health Check Http Health Check] A nested object resource Structure is documented below.
- https_
health_ Dict[Regioncheck Health Check Https Health Check] A nested object resource Structure is documented below.
- log_
config Dict[RegionHealth Check Log Config] Configure logging on this health check. Structure is documented below.
- name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region str
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- ssl_
health_ Dict[Regioncheck Health Check Ssl Health Check] A nested object resource Structure is documented below.
- tcp_
health_ Dict[Regioncheck Health Check Tcp Health Check] A nested object resource Structure is documented below.
- timeout_
sec float How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- unhealthy_
threshold float A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegionHealthCheck resource produces the following output properties:
Look up an Existing RegionHealthCheck Resource
Get an existing RegionHealthCheck resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RegionHealthCheckState, opts?: CustomResourceOptions): RegionHealthCheckstatic get(resource_name, id, opts=None, check_interval_sec=None, creation_timestamp=None, description=None, healthy_threshold=None, http2_health_check=None, http_health_check=None, https_health_check=None, log_config=None, name=None, project=None, region=None, self_link=None, ssl_health_check=None, tcp_health_check=None, timeout_sec=None, type=None, unhealthy_threshold=None, __props__=None);func GetRegionHealthCheck(ctx *Context, name string, id IDInput, state *RegionHealthCheckState, opts ...ResourceOption) (*RegionHealthCheck, error)public static RegionHealthCheck Get(string name, Input<string> id, RegionHealthCheckState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Check
Interval intSec How often (in seconds) to send a health check. The default value is 5 seconds.
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Http2Health
Check RegionHealth Check Http2Health Check Args A nested object resource Structure is documented below.
- Http
Health RegionCheck Health Check Http Health Check Args A nested object resource Structure is documented below.
- Https
Health RegionCheck Health Check Https Health Check Args A nested object resource Structure is documented below.
- Log
Config RegionHealth Check Log Config Args Configure logging on this health check. Structure is documented below.
- Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- Self
Link string The URI of the created resource.
- Ssl
Health RegionCheck Health Check Ssl Health Check Args A nested object resource Structure is documented below.
- Tcp
Health RegionCheck Health Check Tcp Health Check Args A nested object resource Structure is documented below.
- Timeout
Sec int How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- Type string
The type of the health check. One of HTTP, HTTP2, HTTPS, TCP, or SSL.
- Unhealthy
Threshold int A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- Check
Interval intSec How often (in seconds) to send a health check. The default value is 5 seconds.
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Http2Health
Check RegionHealth Check Http2Health Check A nested object resource Structure is documented below.
- Http
Health RegionCheck Health Check Http Health Check A nested object resource Structure is documented below.
- Https
Health RegionCheck Health Check Https Health Check A nested object resource Structure is documented below.
- Log
Config RegionHealth Check Log Config Configure logging on this health check. Structure is documented below.
- Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- Self
Link string The URI of the created resource.
- Ssl
Health RegionCheck Health Check Ssl Health Check A nested object resource Structure is documented below.
- Tcp
Health RegionCheck Health Check Tcp Health Check A nested object resource Structure is documented below.
- Timeout
Sec int How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- Type string
The type of the health check. One of HTTP, HTTP2, HTTPS, TCP, or SSL.
- Unhealthy
Threshold int A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check
Interval numberSec How often (in seconds) to send a health check. The default value is 5 seconds.
- creation
Timestamp string Creation timestamp in RFC3339 text format.
- description string
An optional description of this resource. Provide this property when you create the resource.
- healthy
Threshold number A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- http2Health
Check RegionHealth Check Http2Health Check A nested object resource Structure is documented below.
- http
Health RegionCheck Health Check Http Health Check A nested object resource Structure is documented below.
- https
Health RegionCheck Health Check Https Health Check A nested object resource Structure is documented below.
- log
Config RegionHealth Check Log Config Configure logging on this health check. Structure is documented below.
- name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region string
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- self
Link string The URI of the created resource.
- ssl
Health RegionCheck Health Check Ssl Health Check A nested object resource Structure is documented below.
- tcp
Health RegionCheck Health Check Tcp Health Check A nested object resource Structure is documented below.
- timeout
Sec number How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- type string
The type of the health check. One of HTTP, HTTP2, HTTPS, TCP, or SSL.
- unhealthy
Threshold number A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check_
interval_ floatsec How often (in seconds) to send a health check. The default value is 5 seconds.
- creation_
timestamp str Creation timestamp in RFC3339 text format.
- description str
An optional description of this resource. Provide this property when you create the resource.
- healthy_
threshold float A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- http2_
health_ Dict[Regioncheck Health Check Http2Health Check] A nested object resource Structure is documented below.
- http_
health_ Dict[Regioncheck Health Check Http Health Check] A nested object resource Structure is documented below.
- https_
health_ Dict[Regioncheck Health Check Https Health Check] A nested object resource Structure is documented below.
- log_
config Dict[RegionHealth Check Log Config] Configure logging on this health check. Structure is documented below.
- name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region str
The Region in which the created health check should reside. If it is not provided, the provider region is used.
- self_
link str The URI of the created resource.
- ssl_
health_ Dict[Regioncheck Health Check Ssl Health Check] A nested object resource Structure is documented below.
- tcp_
health_ Dict[Regioncheck Health Check Tcp Health Check] A nested object resource Structure is documented below.
- timeout_
sec float How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
- type str
The type of the health check. One of HTTP, HTTP2, HTTPS, TCP, or SSL.
- unhealthy_
threshold float A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
Supporting Types
RegionHealthCheckHttp2HealthCheck
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port number
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- request
Path string The request path of the HTTP2 health check request. The default value is /.
- response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host str
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port float
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Specification str Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- port_
name str Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- proxy_
header str Specifies the type of proxy header to append before sending data to the backend.
- request_
path str The request path of the HTTP2 health check request. The default value is /.
- response str
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
RegionHealthCheckHttpHealthCheck
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port number
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- request
Path string The request path of the HTTP2 health check request. The default value is /.
- response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host str
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port float
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Specification str Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- port_
name str Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- proxy_
header str Specifies the type of proxy header to append before sending data to the backend.
- request_
path str The request path of the HTTP2 health check request. The default value is /.
- response str
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
RegionHealthCheckHttpsHealthCheck
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- Host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request
Path string The request path of the HTTP2 health check request. The default value is /.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host string
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port number
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- request
Path string The request path of the HTTP2 health check request. The default value is /.
- response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- host str
The value of the host header in the HTTP2 health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- port float
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Specification str Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- port_
name str Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- proxy_
header str Specifies the type of proxy header to append before sending data to the backend.
- request_
path str The request path of the HTTP2 health check request. The default value is /.
- response str
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
RegionHealthCheckLogConfig
RegionHealthCheckSslHealthCheck
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- port number
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- port float
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Specification str Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- port_
name str Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- proxy_
header str Specifies the type of proxy header to append before sending data to the backend.
- request str
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- response str
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
RegionHealthCheckTcpHealthCheck
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- Port int
The TCP port number for the HTTP2 health check request. The default value is 443.
- Port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- Port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- Proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- Request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- Response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- port number
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Name string Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- port
Specification string Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- proxy
Header string Specifies the type of proxy header to append before sending data to the backend.
- request string
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- response string
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
- port float
The TCP port number for the HTTP2 health check request. The default value is 443.
- port
Specification str Specifies how port is selected for health checking, can be one of the following values: *
USE_FIXED_PORT: The port number inportis used for health checking. *USE_NAMED_PORT: TheportNameis used for health checking. *USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified inportandportNamefields.- port_
name str Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
- proxy_
header str Specifies the type of proxy header to append before sending data to the backend.
- request str
The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
- response str
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.