UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

126 lines (125 loc) 2.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getRules({ * projectId: "cc44f8b6-0328-4622-b043-023fca735cd4", * }); * ``` */ /** @deprecated volcengine.tls.Rules has been deprecated in favor of volcengine.tls.getRules */ export declare function rules(args: RulesArgs, opts?: pulumi.InvokeOptions): Promise<RulesResult>; /** * A collection of arguments for invoking Rules. */ export interface RulesArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The project id. */ projectId: string; /** * The rule id. */ ruleId?: string; /** * The rule name. */ ruleName?: string; /** * The topic id. */ topicId?: string; /** * The topic name. */ topicName?: string; } /** * A collection of values returned by Rules. */ export interface RulesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; readonly projectId: string; /** * The rule id. */ readonly ruleId?: string; /** * The rule name. */ readonly ruleName?: string; /** * The rules list. */ readonly rules: outputs.tls.RulesRule[]; /** * The topic id. */ readonly topicId?: string; /** * The topic name. */ readonly topicName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getRules({ * projectId: "cc44f8b6-0328-4622-b043-023fca735cd4", * }); * ``` */ /** @deprecated volcengine.tls.Rules has been deprecated in favor of volcengine.tls.getRules */ export declare function rulesOutput(args: RulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RulesResult>; /** * A collection of arguments for invoking Rules. */ export interface RulesOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project id. */ projectId: pulumi.Input<string>; /** * The rule id. */ ruleId?: pulumi.Input<string>; /** * The rule name. */ ruleName?: pulumi.Input<string>; /** * The topic id. */ topicId?: pulumi.Input<string>; /** * The topic name. */ topicName?: pulumi.Input<string>; }