@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
129 lines (128 loc) • 3.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls topics
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getTopics({
* projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
* topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5",
* });
* ```
*/
/** @deprecated volcengine.tls.Topics has been deprecated in favor of volcengine.tls.getTopics */
export declare function topics(args: TopicsArgs, opts?: pulumi.InvokeOptions): Promise<TopicsResult>;
/**
* A collection of arguments for invoking Topics.
*/
export interface TopicsArgs {
/**
* A Name Regex of tls topic.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The project id of tls topic.
*/
projectId: string;
/**
* Tags.
*/
tags?: inputs.tls.TopicsTag[];
/**
* The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
*/
topicId?: string;
/**
* The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
*/
topicName?: string;
}
/**
* A collection of values returned by Topics.
*/
export interface TopicsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The project id of the tls topic.
*/
readonly projectId: string;
/**
* Tags.
*/
readonly tags?: outputs.tls.TopicsTag[];
/**
* The collection of tls topic query.
*/
readonly tlsTopics: outputs.tls.TopicsTlsTopic[];
/**
* The ID of the tls topic.
*/
readonly topicId?: string;
/**
* The name of the tls topic.
*/
readonly topicName?: string;
/**
* The total count of tls topic query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls topics
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getTopics({
* projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
* topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5",
* });
* ```
*/
/** @deprecated volcengine.tls.Topics has been deprecated in favor of volcengine.tls.getTopics */
export declare function topicsOutput(args: TopicsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TopicsResult>;
/**
* A collection of arguments for invoking Topics.
*/
export interface TopicsOutputArgs {
/**
* A Name Regex of tls topic.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The project id of tls topic.
*/
projectId: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.tls.TopicsTagArgs>[]>;
/**
* The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
*/
topicId?: pulumi.Input<string>;
/**
* The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
*/
topicName?: pulumi.Input<string>;
}