UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

117 lines (116 loc) 2.93 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of alb listeners * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getListeners({}); * ``` */ export declare function getListeners(args?: GetListenersArgs, opts?: pulumi.InvokeOptions): Promise<GetListenersResult>; /** * A collection of arguments for invoking getListeners. */ export interface GetListenersArgs { /** * A list of Listener IDs. */ ids?: string[]; /** * The name of the Listener. */ listenerName?: string; /** * The id of the Alb. */ loadBalancerId?: string; /** * A Name Regex of Listener. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project name of the listener. */ projectName?: string; } /** * A collection of values returned by getListeners. */ export interface GetListenersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; /** * The name of the Listener. */ readonly listenerName?: string; /** * The collection of Listener query. */ readonly listeners: outputs.alb.GetListenersListener[]; /** * The load balancer ID that the listener belongs to. */ readonly loadBalancerId?: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The project name of the listener. */ readonly projectName?: string; /** * The total count of Listener query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of alb listeners * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getListeners({}); * ``` */ export declare function getListenersOutput(args?: GetListenersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetListenersResult>; /** * A collection of arguments for invoking getListeners. */ export interface GetListenersOutputArgs { /** * A list of Listener IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * The name of the Listener. */ listenerName?: pulumi.Input<string>; /** * The id of the Alb. */ loadBalancerId?: pulumi.Input<string>; /** * A Name Regex of Listener. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project name of the listener. */ projectName?: pulumi.Input<string>; }