@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
86 lines (85 loc) • 2.52 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({});
* ```
*/
/** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
export declare function allowlists(args?: AllowlistsArgs, opts?: pulumi.InvokeOptions): Promise<AllowlistsResult>;
/**
* A collection of arguments for invoking Allowlists.
*/
export interface AllowlistsArgs {
/**
* 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 Allowlists.
*/
export interface AllowlistsResult {
/**
* 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.AllowlistsPostgresqlAllowList[];
/**
* 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({});
* ```
*/
/** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
export declare function allowlistsOutput(args?: AllowlistsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AllowlistsResult>;
/**
* A collection of arguments for invoking Allowlists.
*/
export interface AllowlistsOutputArgs {
/**
* 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>;
}