Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.alb.HealthCheckTemplates
Explore with Pulumi AI
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.HealthCheckTemplates({
ids: ["hctpl-1iidd1tobnim874adhf708uwf"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.alb.health_check_templates(ids=["hctpl-1iidd1tobnim874adhf708uwf"])
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.HealthCheckTemplates(ctx, &alb.HealthCheckTemplatesArgs{
Ids: []string{
"hctpl-1iidd1tobnim874adhf708uwf",
},
}, 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.HealthCheckTemplates.Invoke(new()
{
Ids = new[]
{
"hctpl-1iidd1tobnim874adhf708uwf",
},
});
});
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.HealthCheckTemplatesArgs;
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.HealthCheckTemplates(HealthCheckTemplatesArgs.builder()
.ids("hctpl-1iidd1tobnim874adhf708uwf")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:alb:HealthCheckTemplates
Arguments:
ids:
- hctpl-1iidd1tobnim874adhf708uwf
Using HealthCheckTemplates
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 healthCheckTemplates(args: HealthCheckTemplatesArgs, opts?: InvokeOptions): Promise<HealthCheckTemplatesResult>
function healthCheckTemplatesOutput(args: HealthCheckTemplatesOutputArgs, opts?: InvokeOptions): Output<HealthCheckTemplatesResult>
def 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,
opts: Optional[InvokeOptions] = None) -> HealthCheckTemplatesResult
def 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,
opts: Optional[InvokeOptions] = None) -> Output[HealthCheckTemplatesResult]
func HealthCheckTemplates(ctx *Context, args *HealthCheckTemplatesArgs, opts ...InvokeOption) (*HealthCheckTemplatesResult, error)
func HealthCheckTemplatesOutput(ctx *Context, args *HealthCheckTemplatesOutputArgs, opts ...InvokeOption) HealthCheckTemplatesResultOutput
public static class HealthCheckTemplates
{
public static Task<HealthCheckTemplatesResult> InvokeAsync(HealthCheckTemplatesArgs args, InvokeOptions? opts = null)
public static Output<HealthCheckTemplatesResult> Invoke(HealthCheckTemplatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<HealthCheckTemplatesResult> healthCheckTemplates(HealthCheckTemplatesArgs args, InvokeOptions options)
public static Output<HealthCheckTemplatesResult> healthCheckTemplates(HealthCheckTemplatesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:alb:HealthCheckTemplates
arguments:
# arguments dictionary
The 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.
- 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.
- 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.
- 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.
- 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.
- 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.
HealthCheckTemplates Result
The following output properties are available:
- Health
Check List<HealthTemplates 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
- Health
Check []HealthTemplates 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
- health
Check List<HealthTemplates 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
- health
Check HealthTemplates 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
- health_
check_ Sequence[Healthtemplates 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
- 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
Supporting Types
HealthCheckTemplatesHealthCheckTemplate
- Description
This property is required. string - The description of health check template.
- Health
Check Domain This property is required. string - The domain name to health check.
- Health
Check Http Code This property is required. string - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- Health
Check Http Version This property is required. string - The HTTP version of health check.
- Health
Check Interval This property is required. int - The interval for performing health checks, the default value is 2, and the value is 1-300.
- Health
Check Method This property is required. string - The health check method,default is
GET
,supportGET
and ``HEAD. - Health
Check Protocol This property is required. string - The protocol of health check,only support HTTP.
- Health
Check Template Id This property is required. string - The ID of health check template.
- Health
Check Template Name This property is required. string - The name of health check template to query.
- Health
Check Timeout This property is required. int - The timeout of health check response,the default value is 2, and the value is 1-60.
- Health
Check Uri This property is required. string - The uri to health check,default is
/
. - Healthy
Threshold This property is required. int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- Id
This property is required. string - The id of the health check template.
- Unhealthy
Threshold This property is required. int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- Description
This property is required. string - The description of health check template.
- Health
Check Domain This property is required. string - The domain name to health check.
- Health
Check Http Code This property is required. string - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- Health
Check Http Version This property is required. string - The HTTP version of health check.
- Health
Check Interval This property is required. int - The interval for performing health checks, the default value is 2, and the value is 1-300.
- Health
Check Method This property is required. string - The health check method,default is
GET
,supportGET
and ``HEAD. - Health
Check Protocol This property is required. string - The protocol of health check,only support HTTP.
- Health
Check Template Id This property is required. string - The ID of health check template.
- Health
Check Template Name This property is required. string - The name of health check template to query.
- Health
Check Timeout This property is required. int - The timeout of health check response,the default value is 2, and the value is 1-60.
- Health
Check Uri This property is required. string - The uri to health check,default is
/
. - Healthy
Threshold This property is required. int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- Id
This property is required. string - The id of the health check template.
- Unhealthy
Threshold This property is required. int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- description
This property is required. String - The description of health check template.
- health
Check Domain This property is required. String - The domain name to health check.
- health
Check Http Code This property is required. String - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check Http Version This property is required. String - The HTTP version of health check.
- health
Check Interval This property is required. Integer - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check Method This property is required. String - The health check method,default is
GET
,supportGET
and ``HEAD. - health
Check Protocol This property is required. String - The protocol of health check,only support HTTP.
- health
Check Template Id This property is required. String - The ID of health check template.
- health
Check Template Name This property is required. String - The name of health check template to query.
- health
Check Timeout This property is required. Integer - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check Uri This property is required. String - The uri to health check,default is
/
. - healthy
Threshold This property is required. Integer - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id
This property is required. String - The id of the health check template.
- unhealthy
Threshold This property is required. Integer - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- description
This property is required. string - The description of health check template.
- health
Check Domain This property is required. string - The domain name to health check.
- health
Check Http Code This property is required. string - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check Http Version This property is required. string - The HTTP version of health check.
- health
Check Interval This property is required. number - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check Method This property is required. string - The health check method,default is
GET
,supportGET
and ``HEAD. - health
Check Protocol This property is required. string - The protocol of health check,only support HTTP.
- health
Check Template Id This property is required. string - The ID of health check template.
- health
Check Template Name This property is required. string - The name of health check template to query.
- health
Check Timeout This property is required. number - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check Uri This property is required. string - The uri to health check,default is
/
. - healthy
Threshold This property is required. number - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id
This property is required. string - The id of the health check template.
- unhealthy
Threshold This property is required. number - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- description
This property is required. str - The description of health check template.
- health_
check_ domain This property is required. str - The domain name to health check.
- health_
check_ http_ code This property is required. str - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health_
check_ http_ version This property is required. str - The HTTP version of health check.
- health_
check_ interval This property is required. int - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health_
check_ method This property is required. str - The health check method,default is
GET
,supportGET
and ``HEAD. - health_
check_ protocol This property is required. str - The protocol of health check,only support HTTP.
- health_
check_ template_ id This property is required. str - The ID of health check template.
- health_
check_ template_ name This property is required. str - The name of health check template to query.
- health_
check_ timeout This property is required. int - The timeout of health check response,the default value is 2, and the value is 1-60.
- health_
check_ uri This property is required. str - The uri to health check,default is
/
. - healthy_
threshold This property is required. int - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id
This property is required. str - The id of the health check template.
- unhealthy_
threshold This property is required. int - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
- description
This property is required. String - The description of health check template.
- health
Check Domain This property is required. String - The domain name to health check.
- health
Check Http Code This property is required. String - The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
- health
Check Http Version This property is required. String - The HTTP version of health check.
- health
Check Interval This property is required. Number - The interval for performing health checks, the default value is 2, and the value is 1-300.
- health
Check Method This property is required. String - The health check method,default is
GET
,supportGET
and ``HEAD. - health
Check Protocol This property is required. String - The protocol of health check,only support HTTP.
- health
Check Template Id This property is required. String - The ID of health check template.
- health
Check Template Name This property is required. String - The name of health check template to query.
- health
Check Timeout This property is required. Number - The timeout of health check response,the default value is 2, and the value is 1-60.
- health
Check Uri This property is required. String - The uri to health check,default is
/
. - healthy
Threshold This property is required. Number - The healthy threshold of the health check, the default is 3, the value is 2-10.
- id
This property is required. String - The id of the health check template.
- unhealthy
Threshold This property is required. Number - The unhealthy threshold of the health check, the default is 3, the value is 2-10.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.