UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

193 lines (192 loc) 5.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds mssql instances * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mssql.getInstances({ * instanceId: "mssql-d2fc5abe****", * }); * ``` */ /** @deprecated volcengine.rds_mssql.Instances has been deprecated in favor of volcengine.rds_mssql.getInstances */ export declare function instances(args?: InstancesArgs, opts?: pulumi.InvokeOptions): Promise<InstancesResult>; /** * A collection of arguments for invoking Instances. */ export interface InstancesArgs { /** * The charge type. Valid values: `PostPaid`, `PrePaid`. */ chargeType?: string; /** * The end time of creating the instance, using UTC time format. */ createTimeEnd?: string; /** * The start time of creating the instance, using UTC time format. */ createTimeStart?: string; /** * Compatible version. Valid values: `SQLServer_2019_Std`, `SQLServer_2019_Web`, `SQLServer_2019_Ent`. */ dbEngineVersion?: string; /** * Id of the instance. */ instanceId?: string; /** * Name of the instance. */ instanceName?: string; /** * Status of the instance. */ instanceStatus?: string; /** * Instance type. Valid values: `HA`, `Basic`, `Cluster`. */ instanceType?: string; /** * A Name Regex of RDS mssql instance. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * Tags. */ tags?: inputs.rds_mssql.InstancesTag[]; /** * The id of the zone. */ zoneId?: string; } /** * A collection of values returned by Instances. */ export interface InstancesResult { /** * The charge type. */ readonly chargeType?: string; readonly createTimeEnd?: string; readonly createTimeStart?: string; /** * The db engine version. */ readonly dbEngineVersion?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Instance ID. */ readonly instanceId?: string; /** * The name of the instance. */ readonly instanceName?: string; /** * The status of the instance. */ readonly instanceStatus?: string; /** * The type of the instance. */ readonly instanceType?: string; /** * The collection of query. */ readonly instances: outputs.rds_mssql.InstancesInstance[]; readonly nameRegex?: string; readonly outputFile?: string; /** * Tags. */ readonly tags?: outputs.rds_mssql.InstancesTag[]; /** * The total count of query. */ readonly totalCount: number; /** * The zone id. */ readonly zoneId?: string; } /** * Use this data source to query detailed information of rds mssql instances * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mssql.getInstances({ * instanceId: "mssql-d2fc5abe****", * }); * ``` */ /** @deprecated volcengine.rds_mssql.Instances has been deprecated in favor of volcengine.rds_mssql.getInstances */ export declare function instancesOutput(args?: InstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstancesResult>; /** * A collection of arguments for invoking Instances. */ export interface InstancesOutputArgs { /** * The charge type. Valid values: `PostPaid`, `PrePaid`. */ chargeType?: pulumi.Input<string>; /** * The end time of creating the instance, using UTC time format. */ createTimeEnd?: pulumi.Input<string>; /** * The start time of creating the instance, using UTC time format. */ createTimeStart?: pulumi.Input<string>; /** * Compatible version. Valid values: `SQLServer_2019_Std`, `SQLServer_2019_Web`, `SQLServer_2019_Ent`. */ dbEngineVersion?: pulumi.Input<string>; /** * Id of the instance. */ instanceId?: pulumi.Input<string>; /** * Name of the instance. */ instanceName?: pulumi.Input<string>; /** * Status of the instance. */ instanceStatus?: pulumi.Input<string>; /** * Instance type. Valid values: `HA`, `Basic`, `Cluster`. */ instanceType?: pulumi.Input<string>; /** * A Name Regex of RDS mssql instance. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.rds_mssql.InstancesTagArgs>[]>; /** * The id of the zone. */ zoneId?: pulumi.Input<string>; }