@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
123 lines (122 loc) • 3.49 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",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
export declare function instanceSpecs(args?: InstanceSpecsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceSpecsResult>;
/**
* A collection of arguments for invoking InstanceSpecs.
*/
export interface InstanceSpecsArgs {
/**
* 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 InstanceSpecs.
*/
export interface InstanceSpecsResult {
/**
* 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.InstanceSpecsInstanceSpec[];
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",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
export declare function instanceSpecsOutput(args?: InstanceSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceSpecsResult>;
/**
* A collection of arguments for invoking InstanceSpecs.
*/
export interface InstanceSpecsOutputArgs {
/**
* 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>;
}