TargetGroupHttpHealthCheck

Properties

| match_type | String | Specify the target's response type to match ALB's request. | |

| method | String | The method used for the health check request. | [optional] |

| negate | Boolean | Specifies whether to negate an individual entry; the default value is 'FALSE'. | [optional] |

| path | String | The destination URL for HTTP the health check; the default is '/'. | [optional] |

| regex | Boolean | Specifies whether to use a regular expression to parse the response body; the default value is 'FALSE'. By using regular expressions, you can flexibly customize the expected response from a healthy server. | [optional] |

| response | String | The response returned by the request. It can be a status code or a response body depending on the definition of 'matchType'. | |

Example

require 'ionoscloud'


instance = Ionoscloud::TargetGroupHttpHealthCheck.new(
  match_type: STATUS_CODE,

  method: GET,

  negate: false,

  path: /monitoring,

  regex: false,

  response: 200
)

Last updated