@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
104 lines (103 loc) • 3.05 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 ssls
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceSsls({
* downloadCertificate: true,
* ids: [
* "postgres-72715e0d9f58",
* "postgres-0ac38a79fe35",
* ],
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceSsls has been deprecated in favor of volcengine.rds_postgresql.getInstanceSsls */
export declare function instanceSsls(args: InstanceSslsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceSslsResult>;
/**
* A collection of arguments for invoking InstanceSsls.
*/
export interface InstanceSslsArgs {
/**
* Whether to include SSL certificate raw bytes for each instance.
*/
downloadCertificate?: boolean;
/**
* A list of the PostgreSQL instance IDs.
*/
ids: string[];
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by InstanceSsls.
*/
export interface InstanceSslsResult {
readonly downloadCertificate?: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids: string[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly ssls: outputs.rds_postgresql.InstanceSslsSsl[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rds postgresql instance ssls
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceSsls({
* downloadCertificate: true,
* ids: [
* "postgres-72715e0d9f58",
* "postgres-0ac38a79fe35",
* ],
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceSsls has been deprecated in favor of volcengine.rds_postgresql.getInstanceSsls */
export declare function instanceSslsOutput(args: InstanceSslsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceSslsResult>;
/**
* A collection of arguments for invoking InstanceSsls.
*/
export interface InstanceSslsOutputArgs {
/**
* Whether to include SSL certificate raw bytes for each instance.
*/
downloadCertificate?: pulumi.Input<boolean>;
/**
* A list of the PostgreSQL instance IDs.
*/
ids: pulumi.Input<pulumi.Input<string>[]>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}