@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
173 lines (172 loc) • 4.04 kB
TypeScript
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({
* logType: "delimiter_log",
* pause: 0,
* projectId: "47788404-8f1e-49fd-9472-aced5f4bf73f",
* ruleId: "33b2607f-e213-42fb-a965-33a0f567ae23",
* topicId: "0a610439-d73f-4680-b365-24eefe98b4fc",
* });
* ```
*/
/** @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 {
/**
* The iam project name.
*/
iamProjectName?: string;
/**
* The log type.
*/
logType?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Whether to pause collection configuration.
*/
pause?: number;
/**
* The project id.
*/
projectId?: string;
/**
* The project name.
*/
projectName?: 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 {
readonly iamProjectName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The log type.
*/
readonly logType?: string;
readonly outputFile?: string;
readonly pause?: number;
readonly projectId?: string;
readonly projectName?: 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({
* logType: "delimiter_log",
* pause: 0,
* projectId: "47788404-8f1e-49fd-9472-aced5f4bf73f",
* ruleId: "33b2607f-e213-42fb-a965-33a0f567ae23",
* topicId: "0a610439-d73f-4680-b365-24eefe98b4fc",
* });
* ```
*/
/** @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 {
/**
* The iam project name.
*/
iamProjectName?: pulumi.Input<string>;
/**
* The log type.
*/
logType?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Whether to pause collection configuration.
*/
pause?: pulumi.Input<number>;
/**
* The project id.
*/
projectId?: pulumi.Input<string>;
/**
* The project name.
*/
projectName?: 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>;
}