Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Use this data source to query detailed information of alb health check templates
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.alb.getHealthCheckTemplates({
ids: ["hctpl-1iidd1tobnim874adhf708uwf"],
tags: [{
key: "key1",
value: "value2",
}],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.alb.get_health_check_templates(ids=["hctpl-1iidd1tobnim874adhf708uwf"],
tags=[volcengine.alb.GetHealthCheckTemplatesTagArgs(
key="key1",
value="value2",
)])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := alb.GetHealthCheckTemplates(ctx, &alb.GetHealthCheckTemplatesArgs{
Ids: []string{
"hctpl-1iidd1tobnim874adhf708uwf",
},
Tags: []alb.GetHealthCheckTemplatesTag{
{
Key: "key1",
Value: "value2",
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Alb.GetHealthCheckTemplates.Invoke(new()
{
Ids = new[]
{
"hctpl-1iidd1tobnim874adhf708uwf",
},
Tags = new[]
{
new Volcengine.Alb.Inputs.GetHealthCheckTemplatesTagInputArgs
{
Key = "key1",
Value = "value2",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.alb.AlbFunctions;
import com.pulumi.volcengine.alb.inputs.GetHealthCheckTemplatesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = AlbFunctions.getHealthCheckTemplates(GetHealthCheckTemplatesArgs.builder()
.ids("hctpl-1iidd1tobnim874adhf708uwf")
.tags(GetHealthCheckTemplatesTagArgs.builder()
.key("key1")
.value("value2")
.build())
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:alb:getHealthCheckTemplates
Arguments:
ids:
- hctpl-1iidd1tobnim874adhf708uwf
tags:
- key: key1
value: value2
Using getHealthCheckTemplates
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 getHealthCheckTemplates(args: GetHealthCheckTemplatesArgs, opts?: InvokeOptions): Promise<GetHealthCheckTemplatesResult>
function getHealthCheckTemplatesOutput(args: GetHealthCheckTemplatesOutputArgs, opts?: InvokeOptions): Output<GetHealthCheckTemplatesResult>def get_health_check_templates(health_check_template_name: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[GetHealthCheckTemplatesTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetHealthCheckTemplatesResult
def get_health_check_templates_output(health_check_template_name: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetHealthCheckTemplatesTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHealthCheckTemplatesResult]func GetHealthCheckTemplates(ctx *Context, args *GetHealthCheckTemplatesArgs, opts ...InvokeOption) (*GetHealthCheckTemplatesResult, error)
func GetHealthCheckTemplatesOutput(ctx *Context, args *GetHealthCheckTemplatesOutputArgs, opts ...InvokeOption) GetHealthCheckTemplatesResultOutput> Note: This function is named GetHealthCheckTemplates in the Go SDK.
public static class GetHealthCheckTemplates
{
public static Task<GetHealthCheckTemplatesResult> InvokeAsync(GetHealthCheckTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetHealthCheckTemplatesResult> Invoke(GetHealthCheckTemplatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHealthCheckTemplatesResult> getHealthCheckTemplates(GetHealthCheckTemplatesArgs args, InvokeOptions options)
public static Output<GetHealthCheckTemplatesResult> getHealthCheckTemplates(GetHealthCheckTemplatesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:alb/getHealthCheckTemplates:getHealthCheckTemplates
arguments:
# arguments dictionaryThe following arguments are supported:
- Health
Check stringTemplate Name - The name of health check template to query.
- Ids List<string>
- The list of health check templates to query.
- Name
Regex string - A Name Regex of health check template.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name to query.
-
List<Get
Health Check Templates Tag> - Tags.
- Health
Check stringTemplate Name - The name of health check template to query.
- Ids []string
- The list of health check templates to query.
- Name
Regex string - A Name Regex of health check template.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name to query.
-
[]Get
Health Check Templates Tag - Tags.
- health
Check StringTemplate Name - The name of health check template to query.
- ids List<String>
- The list of health check templates to query.
- name
Regex String - A Name Regex of health check template.
- output
File String - File name where to save data source results.
- project
Name String - The project name to query.
-
List<Get
Health Check Templates Tag> - Tags.
- health
Check stringTemplate Name - The name of health check template to query.
- ids string[]
- The list of health check templates to query.
- name
Regex string - A Name Regex of health check template.
- output
File string - File name where to save data source results.
- project
Name string - The project name to query.
-
Get
Health Check Templates Tag[] - Tags.
- health_
check_ strtemplate_ name - The name of health check template to query.
- ids Sequence[str]
- The list of health check templates to query.
- name_
regex str - A Name Regex of health check template.
- output_
file str - File name where to save data source results.
- project_
name str - The project name to query.
-
Sequence[Get
Health Check Templates Tag] - Tags.
- health
Check StringTemplate Name - The name of health check template to query.
- ids List<String>
- The list of health check templates to query.
- name
Regex String - A Name Regex of health check template.
- output
File String - File name where to save data source results.
- project
Name String - The project name to query.
- List<Property Map>
- Tags.
getHealthCheckTemplates Result
The following output properties are available:
- Health
Check List<GetTemplates Health Check Templates Health Check Template> - The collection of health check template query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of health check template query.
- Health
Check stringTemplate Name - The name of health check template.
- Ids List<string>
- Name
Regex string - Output
File string - Project
Name string - The project name to which the health check template belongs.
-
List<Get
Health Check Templates Tag> - Tags.
- Health
Check []GetTemplates Health Check Templates Health Check Template - The collection of health check template query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of health check template query.
- Health
Check stringTemplate Name - The name of health check template.
- Ids []string
- Name
Regex string - Output
File string - Project
Name string - The project name to which the health check template belongs.
-
[]Get
Health Check Templates Tag - Tags.
- health
Check List<GetTemplates Health Check Templates Health Check Template> - The collection of health check template query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of health check template query.
- health
Check StringTemplate Name - The name of health check template.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The project name to which the health check template belongs.
-
List<Get
Health Check Templates Tag> - Tags.
- health
Check GetTemplates Health Check Templates Health Check Template[] - The collection of health check template query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of health check template query.
- health
Check stringTemplate Name - The name of health check template.
- ids string[]
- name
Regex string - output
File string - project
Name string - The project name to which the health check template belongs.
-
Get
Health Check Templates Tag[] - Tags.
- health_
check_ Sequence[Gettemplates Health Check Templates Health Check Template] - The collection of health check template query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of health check template query.
- health_
check_ strtemplate_ name - The name of health check template.
- ids Sequence[str]
- name_
regex str - output_
file str - project_
name str - The project name to which the health check template belongs.
-
Sequence[Get
Health Check Templates Tag] - Tags.
- health
Check List<Property Map>Templates - The collection of health check template query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of health check template query.
- health
Check StringTemplate Name - The name of health check template.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The project name to which the health check template belongs.
- List<Property Map>
- Tags.
Supporting Types
GetHealthCheckTemplatesHealthCheckTemplate
- Create
Time string - The creation time of the health check template.
- Description string
- The description of health check template.
- Health
Check stringDomain - The domain name to health check.
- Health
Check stringHttp Code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- Health
Check stringHttp Version - The HTTP version of health check.
- Health
Check intInterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- Health
Check stringMethod - The health check method, support
GETandHEAD. - Health
Check intPort - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- Health
Check stringProtocol - The protocol of health check, support HTTP and TCP.
- Health
Check stringTemplate Id - The ID of health check template.
- Health
Check stringTemplate Name - The name of health check template to query.
- Health
Check intTimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- Health
Check stringUri - The uri to health check,default is
/. - Healthy
Threshold int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- Id string
- The id of the health check template.
- Project
Name string - The project name to query.
-
List<Get
Health Check Templates Health Check Template Tag> - Tags.
- Unhealthy
Threshold int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- Update
Time string - The last update time of the health check template.
- Create
Time string - The creation time of the health check template.
- Description string
- The description of health check template.
- Health
Check stringDomain - The domain name to health check.
- Health
Check stringHttp Code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- Health
Check stringHttp Version - The HTTP version of health check.
- Health
Check intInterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- Health
Check stringMethod - The health check method, support
GETandHEAD. - Health
Check intPort - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- Health
Check stringProtocol - The protocol of health check, support HTTP and TCP.
- Health
Check stringTemplate Id - The ID of health check template.
- Health
Check stringTemplate Name - The name of health check template to query.
- Health
Check intTimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- Health
Check stringUri - The uri to health check,default is
/. - Healthy
Threshold int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- Id string
- The id of the health check template.
- Project
Name string - The project name to query.
-
[]Get
Health Check Templates Health Check Template Tag - Tags.
- Unhealthy
Threshold int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- Update
Time string - The last update time of the health check template.
- create
Time String - The creation time of the health check template.
- description String
- The description of health check template.
- health
Check StringDomain - The domain name to health check.
- health
Check StringHttp Code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check StringHttp Version - The HTTP version of health check.
- health
Check IntegerInterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check StringMethod - The health check method, support
GETandHEAD. - health
Check IntegerPort - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- health
Check StringProtocol - The protocol of health check, support HTTP and TCP.
- health
Check StringTemplate Id - The ID of health check template.
- health
Check StringTemplate Name - The name of health check template to query.
- health
Check IntegerTimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check StringUri - The uri to health check,default is
/. - healthy
Threshold Integer - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id String
- The id of the health check template.
- project
Name String - The project name to query.
-
List<Get
Health Check Templates Health Check Template Tag> - Tags.
- unhealthy
Threshold Integer - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- update
Time String - The last update time of the health check template.
- create
Time string - The creation time of the health check template.
- description string
- The description of health check template.
- health
Check stringDomain - The domain name to health check.
- health
Check stringHttp Code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check stringHttp Version - The HTTP version of health check.
- health
Check numberInterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check stringMethod - The health check method, support
GETandHEAD. - health
Check numberPort - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- health
Check stringProtocol - The protocol of health check, support HTTP and TCP.
- health
Check stringTemplate Id - The ID of health check template.
- health
Check stringTemplate Name - The name of health check template to query.
- health
Check numberTimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check stringUri - The uri to health check,default is
/. - healthy
Threshold number - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id string
- The id of the health check template.
- project
Name string - The project name to query.
-
Get
Health Check Templates Health Check Template Tag[] - Tags.
- unhealthy
Threshold number - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- update
Time string - The last update time of the health check template.
- create_
time str - The creation time of the health check template.
- description str
- The description of health check template.
- health_
check_ strdomain - The domain name to health check.
- health_
check_ strhttp_ code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health_
check_ strhttp_ version - The HTTP version of health check.
- health_
check_ intinterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health_
check_ strmethod - The health check method, support
GETandHEAD. - health_
check_ intport - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- health_
check_ strprotocol - The protocol of health check, support HTTP and TCP.
- health_
check_ strtemplate_ id - The ID of health check template.
- health_
check_ strtemplate_ name - The name of health check template to query.
- health_
check_ inttimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- health_
check_ struri - The uri to health check,default is
/. - healthy_
threshold int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id str
- The id of the health check template.
- project_
name str - The project name to query.
-
Sequence[Get
Health Check Templates Health Check Template Tag] - Tags.
- unhealthy_
threshold int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- update_
time str - The last update time of the health check template.
- create
Time String - The creation time of the health check template.
- description String
- The description of health check template.
- health
Check StringDomain - The domain name to health check.
- health
Check StringHttp Code - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check StringHttp Version - The HTTP version of health check.
- health
Check NumberInterval - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check StringMethod - The health check method, support
GETandHEAD. - health
Check NumberPort - The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
- health
Check StringProtocol - The protocol of health check, support HTTP and TCP.
- health
Check StringTemplate Id - The ID of health check template.
- health
Check StringTemplate Name - The name of health check template to query.
- health
Check NumberTimeout - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check StringUri - The uri to health check,default is
/. - healthy
Threshold Number - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id String
- The id of the health check template.
- project
Name String - The project name to query.
- List<Property Map>
- Tags.
- unhealthy
Threshold Number - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- update
Time String - The last update time of the health check template.
GetHealthCheckTemplatesHealthCheckTemplateTag
GetHealthCheckTemplatesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
