UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

114 lines (113 loc) 3.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls alarm content templates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.tls.getAlarmContentTemplates({}); * ``` */ export declare function getAlarmContentTemplates(args?: GetAlarmContentTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmContentTemplatesResult>; /** * A collection of arguments for invoking getAlarmContentTemplates. */ export interface GetAlarmContentTemplatesArgs { /** * The id of the alarm content template. */ alarmContentTemplateId?: string; /** * The name of the alarm content template. Fuzzy matching is supported. */ alarmContentTemplateName?: string; /** * Whether to ascend. */ asc?: boolean; /** * A list of alarm content template IDs. */ ids?: string[]; /** * The order field. */ orderField?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getAlarmContentTemplates. */ export interface GetAlarmContentTemplatesResult { /** * The ID of the alarm content template. */ readonly alarmContentTemplateId?: string; /** * The name of the alarm content template. */ readonly alarmContentTemplateName?: string; readonly asc?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly orderField?: string; readonly outputFile?: string; /** * The list of alarm content templates. */ readonly templates: outputs.tls.GetAlarmContentTemplatesTemplate[]; /** * The total count of alarm content templates. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls alarm content templates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.tls.getAlarmContentTemplates({}); * ``` */ export declare function getAlarmContentTemplatesOutput(args?: GetAlarmContentTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlarmContentTemplatesResult>; /** * A collection of arguments for invoking getAlarmContentTemplates. */ export interface GetAlarmContentTemplatesOutputArgs { /** * The id of the alarm content template. */ alarmContentTemplateId?: pulumi.Input<string>; /** * The name of the alarm content template. Fuzzy matching is supported. */ alarmContentTemplateName?: pulumi.Input<string>; /** * Whether to ascend. */ asc?: pulumi.Input<boolean>; /** * A list of alarm content template IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * The order field. */ orderField?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }