@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
121 lines (120 loc) • 3.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of rds postgresql instance specs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceSpecs({
* dbEngineVersion: "PostgreSQL_12",
* specCode: "rds.postgres.32c128g",
* storageType: "LocalSSD",
* zoneId: "cn-chongqing-a",
* });
* ```
*/
export declare function getInstanceSpecs(args?: GetInstanceSpecsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceSpecsResult>;
/**
* A collection of arguments for invoking getInstanceSpecs.
*/
export interface GetInstanceSpecsArgs {
/**
* The version of the RDS PostgreSQL instance.
*/
dbEngineVersion?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Instance specification code.
*/
specCode?: string;
/**
* Storage type, fixed to LocalSSD.
*/
storageType?: string;
/**
* Primary availability zone ID.
*/
zoneId?: string;
}
/**
* A collection of values returned by getInstanceSpecs.
*/
export interface GetInstanceSpecsResult {
/**
* The version of the RDS PostgreSQL instance.
*/
readonly dbEngineVersion?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Available instance specs.
*/
readonly instanceSpecs: outputs.rds_postgresql.GetInstanceSpecsInstanceSpec[];
readonly outputFile?: string;
/**
* Instance specification code.
*/
readonly specCode?: string;
/**
* Storage type, fixed to LocalSSD.
*/
readonly storageType?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
/**
* Supported availability zone ID.
*/
readonly zoneId?: string;
}
/**
* Use this data source to query detailed information of rds postgresql instance specs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceSpecs({
* dbEngineVersion: "PostgreSQL_12",
* specCode: "rds.postgres.32c128g",
* storageType: "LocalSSD",
* zoneId: "cn-chongqing-a",
* });
* ```
*/
export declare function getInstanceSpecsOutput(args?: GetInstanceSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceSpecsResult>;
/**
* A collection of arguments for invoking getInstanceSpecs.
*/
export interface GetInstanceSpecsOutputArgs {
/**
* The version of the RDS PostgreSQL instance.
*/
dbEngineVersion?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Instance specification code.
*/
specCode?: pulumi.Input<string>;
/**
* Storage type, fixed to LocalSSD.
*/
storageType?: pulumi.Input<string>;
/**
* Primary availability zone ID.
*/
zoneId?: pulumi.Input<string>;
}