ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCisHealthchecks
Explore with Pulumi AI
Retrieve information about an existing IBM Cloud Internet Service Global Load Balancer health monitor and check as a read-only data source. For more information, about CIS health check, see setting up health checks.
Using getCisHealthchecks
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCisHealthchecks(args: GetCisHealthchecksArgs, opts?: InvokeOptions): Promise<GetCisHealthchecksResult>
function getCisHealthchecksOutput(args: GetCisHealthchecksOutputArgs, opts?: InvokeOptions): Output<GetCisHealthchecksResult>
def get_cis_healthchecks(cis_id: Optional[str] = None,
id: Optional[str] = None,
timeouts: Optional[GetCisHealthchecksTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetCisHealthchecksResult
def get_cis_healthchecks_output(cis_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetCisHealthchecksTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCisHealthchecksResult]
func GetCisHealthchecks(ctx *Context, args *GetCisHealthchecksArgs, opts ...InvokeOption) (*GetCisHealthchecksResult, error)
func GetCisHealthchecksOutput(ctx *Context, args *GetCisHealthchecksOutputArgs, opts ...InvokeOption) GetCisHealthchecksResultOutput
> Note: This function is named GetCisHealthchecks
in the Go SDK.
public static class GetCisHealthchecks
{
public static Task<GetCisHealthchecksResult> InvokeAsync(GetCisHealthchecksArgs args, InvokeOptions? opts = null)
public static Output<GetCisHealthchecksResult> Invoke(GetCisHealthchecksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCisHealthchecksResult> getCisHealthchecks(GetCisHealthchecksArgs args, InvokeOptions options)
public static Output<GetCisHealthchecksResult> getCisHealthchecks(GetCisHealthchecksArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCisHealthchecks:getCisHealthchecks
arguments:
# arguments dictionary
The following arguments are supported:
- Cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Timeouts
Get
Cis Healthchecks Timeouts
- Cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Timeouts
Get
Cis Healthchecks Timeouts
- cis
Id String - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis_
id str - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- id str
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis
Id String - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts Property Map
getCisHealthchecks Result
The following output properties are available:
- Cis
Healthchecks List<GetCis Healthchecks Cis Healthcheck> - Cis
Id string - Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Timeouts
Get
Cis Healthchecks Timeouts
- Cis
Healthchecks []GetCis Healthchecks Cis Healthcheck - Cis
Id string - Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Timeouts
Get
Cis Healthchecks Timeouts
- cis
Healthchecks List<GetCis Healthchecks Cis Healthcheck> - cis
Id String - id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis
Healthchecks GetCis Healthchecks Cis Healthcheck[] - cis
Id string - id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis_
healthchecks Sequence[GetCis Healthchecks Cis Healthcheck] - cis_
id str - id str
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts
Get
Cis Healthchecks Timeouts
- cis
Healthchecks List<Property Map> - cis
Id String - id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - timeouts Property Map
Supporting Types
GetCisHealthchecksCisHealthcheck
- Allow
Insecure bool - (String) Do not validate the certificate when health check uses
HTTPS
. - Cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- Create
On string - Description string
- (String) Free text description.
- Expected
Body string - (String) The requested body.
- Expected
Codes string - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - Follow
Redirects bool - (String) Follow redirects if returned by the origin.
- Headers
List<Get
Cis Healthchecks Cis Healthcheck Header> - (String) The health check header.
- Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Interval double
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - Method string
- (String) The HTTP method to use for the health check.
- Modified
On string - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- Monitor
Id string - (String) The load balancer monitor ID.
- Path string
- (String) The endpoint path to health check.
- Port double
- (String) The TCP port to use for the health check.
- Retries double
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - Timeout double
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - Type string
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
- Allow
Insecure bool - (String) Do not validate the certificate when health check uses
HTTPS
. - Cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- Create
On string - Description string
- (String) Free text description.
- Expected
Body string - (String) The requested body.
- Expected
Codes string - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - Follow
Redirects bool - (String) Follow redirects if returned by the origin.
- Headers
[]Get
Cis Healthchecks Cis Healthcheck Header - (String) The health check header.
- Id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - Interval float64
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - Method string
- (String) The HTTP method to use for the health check.
- Modified
On string - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- Monitor
Id string - (String) The load balancer monitor ID.
- Path string
- (String) The endpoint path to health check.
- Port float64
- (String) The TCP port to use for the health check.
- Retries float64
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - Timeout float64
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - Type string
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
- allow
Insecure Boolean - (String) Do not validate the certificate when health check uses
HTTPS
. - cis
Id String - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- create
On String - description String
- (String) Free text description.
- expected
Body String - (String) The requested body.
- expected
Codes String - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - follow
Redirects Boolean - (String) Follow redirects if returned by the origin.
- headers
List<Get
Cis Healthchecks Cis Healthcheck Header> - (String) The health check header.
- id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - interval Double
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - method String
- (String) The HTTP method to use for the health check.
- modified
On String - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- monitor
Id String - (String) The load balancer monitor ID.
- path String
- (String) The endpoint path to health check.
- port Double
- (String) The TCP port to use for the health check.
- retries Double
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - timeout Double
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - type String
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
- allow
Insecure boolean - (String) Do not validate the certificate when health check uses
HTTPS
. - cis
Id string - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- create
On string - description string
- (String) Free text description.
- expected
Body string - (String) The requested body.
- expected
Codes string - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - follow
Redirects boolean - (String) Follow redirects if returned by the origin.
- headers
Get
Cis Healthchecks Cis Healthcheck Header[] - (String) The health check header.
- id string
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - interval number
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - method string
- (String) The HTTP method to use for the health check.
- modified
On string - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- monitor
Id string - (String) The load balancer monitor ID.
- path string
- (String) The endpoint path to health check.
- port number
- (String) The TCP port to use for the health check.
- retries number
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - timeout number
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - type string
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
- allow_
insecure bool - (String) Do not validate the certificate when health check uses
HTTPS
. - cis_
id str - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- create_
on str - description str
- (String) Free text description.
- expected_
body str - (String) The requested body.
- expected_
codes str - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - follow_
redirects bool - (String) Follow redirects if returned by the origin.
- headers
Sequence[Get
Cis Healthchecks Cis Healthcheck Header] - (String) The health check header.
- id str
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - interval float
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - method str
- (String) The HTTP method to use for the health check.
- modified_
on str - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- monitor_
id str - (String) The load balancer monitor ID.
- path str
- (String) The endpoint path to health check.
- port float
- (String) The TCP port to use for the health check.
- retries float
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - timeout float
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - type str
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
- allow
Insecure Boolean - (String) Do not validate the certificate when health check uses
HTTPS
. - cis
Id String - The resource CRN ID of the IBM Cloud Internet Services on which zones were created.
- create
On String - description String
- (String) Free text description.
- expected
Body String - (String) The requested body.
- expected
Codes String - (String) The expected HTTP response code or code range of the health check. For example,
2xx
. - follow
Redirects Boolean - (String) Follow redirects if returned by the origin.
- headers List<Property Map>
- (String) The health check header.
- id String
- (String) The load balancer monitor ID and CRN. For example,
monitor_id:crn
. - interval Number
- (String) The interval between each health check. Shorter intervals improve failover time, but can increase load on the origins as you check from multiple locations. The default value is
60
. - method String
- (String) The HTTP method to use for the health check.
- modified
On String - (String) The RFC3339 timestamp of when the load balancer monitor was last modified.
- monitor
Id String - (String) The load balancer monitor ID.
- path String
- (String) The endpoint path to health check.
- port Number
- (String) The TCP port to use for the health check.
- retries Number
- (String) The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. The default value is
2
. - timeout Number
- (String) The timeout (in seconds) before marking the health check as failed. The default value is
5
. - type String
- (String) The protocol to use for the health check. Currently supported protocols are
HTTP
,HTTPS
, andTCP
. The default value isHTTP
.
GetCisHealthchecksCisHealthcheckHeader
GetCisHealthchecksTimeouts
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.