UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

78 lines (77 loc) 2.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of alb rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getRules({ * listenerId: "lsn-1iidd19u4oni874adhezjkyj3", * }); * ``` */ /** @deprecated volcengine.alb.Rules has been deprecated in favor of volcengine.alb.getRules */ export declare function rules(args: RulesArgs, opts?: pulumi.InvokeOptions): Promise<RulesResult>; /** * A collection of arguments for invoking Rules. */ export interface RulesArgs { /** * The Id of listener. */ listenerId: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by Rules. */ export interface RulesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly listenerId: string; readonly outputFile?: string; /** * The collection of Rule query. */ readonly rules: outputs.alb.RulesRule[]; /** * The total count of Rule query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of alb rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getRules({ * listenerId: "lsn-1iidd19u4oni874adhezjkyj3", * }); * ``` */ /** @deprecated volcengine.alb.Rules has been deprecated in favor of volcengine.alb.getRules */ export declare function rulesOutput(args: RulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RulesResult>; /** * A collection of arguments for invoking Rules. */ export interface RulesOutputArgs { /** * The Id of listener. */ listenerId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }