UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

81 lines (80 loc) 2.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls indexes * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getIndexes({ * topicId: "c36ed436-84f1-467a-b00e-ba504db753ca", * }); * ``` */ /** @deprecated volcengine.tls.Indexes has been deprecated in favor of volcengine.tls.getIndexes */ export declare function indexes(args: IndexesArgs, opts?: pulumi.InvokeOptions): Promise<IndexesResult>; /** * A collection of arguments for invoking Indexes. */ export interface IndexesArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The topic id of tls index. */ topicId: string; } /** * A collection of values returned by Indexes. */ export interface IndexesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The collection of tls index query. */ readonly tlsIndexes: outputs.tls.IndexesTlsIndex[]; /** * The topic id of the tls index. */ readonly topicId: string; /** * The total count of tls index query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls indexes * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getIndexes({ * topicId: "c36ed436-84f1-467a-b00e-ba504db753ca", * }); * ``` */ /** @deprecated volcengine.tls.Indexes has been deprecated in favor of volcengine.tls.getIndexes */ export declare function indexesOutput(args: IndexesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<IndexesResult>; /** * A collection of arguments for invoking Indexes. */ export interface IndexesOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The topic id of tls index. */ topicId: pulumi.Input<string>; }