@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
84 lines (83 loc) • 2.31 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 allowlists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rds_postgresql.getAllowlists({});
* ```
*/
export declare function getAllowlists(args?: GetAllowlistsArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowlistsResult>;
/**
* A collection of arguments for invoking getAllowlists.
*/
export interface GetAllowlistsArgs {
/**
* The id of the postgresql Instance.
*/
instanceId?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getAllowlists.
*/
export interface GetAllowlistsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The id of the postgresql instance.
*/
readonly instanceId?: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The list of postgresql allowed list.
*/
readonly postgresqlAllowLists: outputs.rds_postgresql.GetAllowlistsPostgresqlAllowList[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rds postgresql allowlists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rds_postgresql.getAllowlists({});
* ```
*/
export declare function getAllowlistsOutput(args?: GetAllowlistsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAllowlistsResult>;
/**
* A collection of arguments for invoking getAllowlists.
*/
export interface GetAllowlistsOutputArgs {
/**
* The id of the postgresql Instance.
*/
instanceId?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}