@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
74 lines (73 loc) • 2.09 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({});
* ```
*/
/** @deprecated volcengine.mongodb.Specs has been deprecated in favor of volcengine.mongodb.getSpecs */
export declare function specs(args?: SpecsArgs, opts?: pulumi.InvokeOptions): Promise<SpecsResult>;
/**
* A collection of arguments for invoking Specs.
*/
export interface SpecsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The region ID to query.
*/
regionId?: string;
}
/**
* A collection of values returned by Specs.
*/
export interface SpecsResult {
/**
* 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.SpecsSpecs;
/**
* 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({});
* ```
*/
/** @deprecated volcengine.mongodb.Specs has been deprecated in favor of volcengine.mongodb.getSpecs */
export declare function specsOutput(args?: SpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SpecsResult>;
/**
* A collection of arguments for invoking Specs.
*/
export interface SpecsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The region ID to query.
*/
regionId?: pulumi.Input<string>;
}