@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
97 lines (96 loc) • 2.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of alb health check templates
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.alb.getHealthCheckTemplates({
* ids: ["hctpl-1iidd1tobnim874adhf708uwf"],
* });
* ```
*/
export declare function getHealthCheckTemplates(args?: GetHealthCheckTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<GetHealthCheckTemplatesResult>;
/**
* A collection of arguments for invoking getHealthCheckTemplates.
*/
export interface GetHealthCheckTemplatesArgs {
/**
* The name of health check template to query.
*/
healthCheckTemplateName?: string;
/**
* The list of health check templates to query.
*/
ids?: string[];
/**
* A Name Regex of health check template.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getHealthCheckTemplates.
*/
export interface GetHealthCheckTemplatesResult {
/**
* The name of health check template.
*/
readonly healthCheckTemplateName?: string;
/**
* The collection of health check template query.
*/
readonly healthCheckTemplates: outputs.alb.GetHealthCheckTemplatesHealthCheckTemplate[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The total count of health check template query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of alb health check templates
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.alb.getHealthCheckTemplates({
* ids: ["hctpl-1iidd1tobnim874adhf708uwf"],
* });
* ```
*/
export declare function getHealthCheckTemplatesOutput(args?: GetHealthCheckTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHealthCheckTemplatesResult>;
/**
* A collection of arguments for invoking getHealthCheckTemplates.
*/
export interface GetHealthCheckTemplatesOutputArgs {
/**
* The name of health check template to query.
*/
healthCheckTemplateName?: pulumi.Input<string>;
/**
* The list of health check templates to query.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A Name Regex of health check template.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}