@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
72 lines (71 loc) • 1.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of mongodb specs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.mongodb.getSpecs({});
* ```
*/
export declare function getSpecs(args?: GetSpecsArgs, opts?: pulumi.InvokeOptions): Promise<GetSpecsResult>;
/**
* A collection of arguments for invoking getSpecs.
*/
export interface GetSpecsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The region ID to query.
*/
regionId?: string;
}
/**
* A collection of values returned by getSpecs.
*/
export interface GetSpecsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
readonly regionId?: string;
/**
* A list of supported node specification information for MongoDB instances.
*/
readonly specs: outputs.mongodb.GetSpecsSpecs;
/**
* The total count of region query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of mongodb specs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.mongodb.getSpecs({});
* ```
*/
export declare function getSpecsOutput(args?: GetSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSpecsResult>;
/**
* A collection of arguments for invoking getSpecs.
*/
export interface GetSpecsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The region ID to query.
*/
regionId?: pulumi.Input<string>;
}