@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
79 lines (78 loc) • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls shards
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getShards({
* topicId: "edf051ed-3c46-49ba-9339-bea628fedc15",
* });
* ```
*/
export declare function getShards(args: GetShardsArgs, opts?: pulumi.InvokeOptions): Promise<GetShardsResult>;
/**
* A collection of arguments for invoking getShards.
*/
export interface GetShardsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The id of topic.
*/
topicId: string;
}
/**
* A collection of values returned by getShards.
*/
export interface GetShardsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly shards: outputs.tls.GetShardsShard[];
/**
* The ID of topic.
*/
readonly topicId: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls shards
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getShards({
* topicId: "edf051ed-3c46-49ba-9339-bea628fedc15",
* });
* ```
*/
export declare function getShardsOutput(args: GetShardsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetShardsResult>;
/**
* A collection of arguments for invoking getShards.
*/
export interface GetShardsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The id of topic.
*/
topicId: pulumi.Input<string>;
}