@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
132 lines (131 loc) • 3.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
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"],
* tags: [{
* key: "key1",
* value: "value2",
* }],
* });
* ```
*/
/** @deprecated volcengine.alb.HealthCheckTemplates has been deprecated in favor of volcengine.alb.getHealthCheckTemplates */
export declare function healthCheckTemplates(args?: HealthCheckTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<HealthCheckTemplatesResult>;
/**
* A collection of arguments for invoking HealthCheckTemplates.
*/
export interface HealthCheckTemplatesArgs {
/**
* 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;
/**
* The project name to query.
*/
projectName?: string;
/**
* Tags.
*/
tags?: inputs.alb.HealthCheckTemplatesTag[];
}
/**
* A collection of values returned by HealthCheckTemplates.
*/
export interface HealthCheckTemplatesResult {
/**
* The name of health check template.
*/
readonly healthCheckTemplateName?: string;
/**
* The collection of health check template query.
*/
readonly healthCheckTemplates: outputs.alb.HealthCheckTemplatesHealthCheckTemplate[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The project name to which the health check template belongs.
*/
readonly projectName?: string;
/**
* Tags.
*/
readonly tags?: outputs.alb.HealthCheckTemplatesTag[];
/**
* 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"],
* tags: [{
* key: "key1",
* value: "value2",
* }],
* });
* ```
*/
/** @deprecated volcengine.alb.HealthCheckTemplates has been deprecated in favor of volcengine.alb.getHealthCheckTemplates */
export declare function healthCheckTemplatesOutput(args?: HealthCheckTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HealthCheckTemplatesResult>;
/**
* A collection of arguments for invoking HealthCheckTemplates.
*/
export interface HealthCheckTemplatesOutputArgs {
/**
* 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>;
/**
* The project name to query.
*/
projectName?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.alb.HealthCheckTemplatesTagArgs>[]>;
}