# Healthchecks

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#CheckRegion">CheckRegion</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HTTPConfigurationParam">HTTPConfigurationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#QueryHealthcheckParam">QueryHealthcheckParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#TCPConfigurationParam">TCPConfigurationParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#CheckRegion">CheckRegion</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HTTPConfiguration">HTTPConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#TCPConfiguration">TCPConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckDeleteResponse">HealthcheckDeleteResponse</a>

Methods:

- <code title="post /zones/{zone_id}/healthchecks">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckNewParams">HealthcheckNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /zones/{zone_id}/healthchecks/{healthcheck_id}">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckUpdateParams">HealthcheckUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/healthchecks">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckListParams">HealthcheckListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/healthchecks/{healthcheck_id}">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckDeleteParams">HealthcheckDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckDeleteResponse">HealthcheckDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /zones/{zone_id}/healthchecks/{healthcheck_id}">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckEditParams">HealthcheckEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/healthchecks/{healthcheck_id}">client.Healthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#HealthcheckGetParams">HealthcheckGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Previews

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewDeleteResponse">PreviewDeleteResponse</a>

Methods:

- <code title="post /zones/{zone_id}/healthchecks/preview">client.Healthchecks.Previews.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewNewParams">PreviewNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/healthchecks/preview/{healthcheck_id}">client.Healthchecks.Previews.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewDeleteParams">PreviewDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewDeleteResponse">PreviewDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/healthchecks/preview/{healthcheck_id}">client.Healthchecks.Previews.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, healthcheckID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#PreviewGetParams">PreviewGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/healthchecks#Healthcheck">Healthcheck</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
