@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
154 lines (153 loc) • 3.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds.getInstances({
* instanceId: "mysql-0fdd3bab2e7c",
* });
* ```
*/
export declare function getInstances(args?: GetInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>;
/**
* A collection of arguments for invoking getInstances.
*/
export interface GetInstancesArgs {
/**
* The end time of creating RDS instance.
*/
createEndTime?: string;
/**
* The start time of creating RDS instance.
*/
createStartTime?: string;
/**
* The id of the RDS instance.
*/
instanceId?: string;
/**
* The status of the RDS instance.
*/
instanceStatus?: string;
/**
* The type of the RDS instance.
*/
instanceType?: string;
/**
* A Name Regex of RDS instance.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The region of the RDS instance.
*/
region?: string;
/**
* The available zone of the RDS instance.
*/
zone?: string;
}
/**
* A collection of values returned by getInstances.
*/
export interface GetInstancesResult {
readonly createEndTime?: string;
readonly createStartTime?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The ID of the RDS instance.
*/
readonly instanceId?: string;
/**
* The status of the RDS instance.
*/
readonly instanceStatus?: string;
/**
* The type of the RDS instance.
*/
readonly instanceType?: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The collection of RDS instance query.
*/
readonly rdsInstances: outputs.rds.GetInstancesRdsInstance[];
/**
* The region of the RDS instance.
*/
readonly region?: string;
/**
* The total count of RDS instance query.
*/
readonly totalCount: number;
/**
* The available zone of the RDS instance.
*/
readonly zone?: string;
}
/**
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds.getInstances({
* instanceId: "mysql-0fdd3bab2e7c",
* });
* ```
*/
export declare function getInstancesOutput(args?: GetInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancesResult>;
/**
* A collection of arguments for invoking getInstances.
*/
export interface GetInstancesOutputArgs {
/**
* The end time of creating RDS instance.
*/
createEndTime?: pulumi.Input<string>;
/**
* The start time of creating RDS instance.
*/
createStartTime?: pulumi.Input<string>;
/**
* The id of the RDS instance.
*/
instanceId?: pulumi.Input<string>;
/**
* The status of the RDS instance.
*/
instanceStatus?: pulumi.Input<string>;
/**
* The type of the RDS instance.
*/
instanceType?: pulumi.Input<string>;
/**
* A Name Regex of RDS instance.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The region of the RDS instance.
*/
region?: pulumi.Input<string>;
/**
* The available zone of the RDS instance.
*/
zone?: pulumi.Input<string>;
}