UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

76 lines (75 loc) 1.96 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", * }); * ``` */ export declare function getRules(args: GetRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetRulesResult>; /** * A collection of arguments for invoking getRules. */ export interface GetRulesArgs { /** * The Id of listener. */ listenerId: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getRules. */ export interface GetRulesResult { /** * 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.GetRulesRule[]; /** * 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", * }); * ``` */ export declare function getRulesOutput(args: GetRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRulesResult>; /** * A collection of arguments for invoking getRules. */ export interface GetRulesOutputArgs { /** * The Id of listener. */ listenerId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }