@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
102 lines (101 loc) • 2.82 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",
* ],
* });
* ```
*/
export declare function getInstanceSsls(args: GetInstanceSslsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceSslsResult>;
/**
* A collection of arguments for invoking getInstanceSsls.
*/
export interface GetInstanceSslsArgs {
/**
* 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 getInstanceSsls.
*/
export interface GetInstanceSslsResult {
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.GetInstanceSslsSsl[];
/**
* 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",
* ],
* });
* ```
*/
export declare function getInstanceSslsOutput(args: GetInstanceSslsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceSslsResult>;
/**
* A collection of arguments for invoking getInstanceSsls.
*/
export interface GetInstanceSslsOutputArgs {
/**
* 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>;
}