@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
157 lines (156 loc) • 4.64 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 default = volcengine.rds_postgresql.getAllowlists({
* allowListCategory: "Ordinary",
* allowListDesc: "test allow list",
* allowListId: "acl-e7846436e1e741edbd385868fa657436",
* allowListName: "test",
* ipAddress: "100.64.0.0/10",
* nameRegex: ".*allowlist.*",
* });
* ```
*/
/** @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 category of the postgresql allow list. Valid values: Ordinary, Default.
*/
allowListCategory?: string;
/**
* The description of the postgresql allow list. Perform a fuzzy search based on the description information.
*/
allowListDesc?: string;
/**
* The id of the postgresql allow list.
*/
allowListId?: string;
/**
* The name of the postgresql allow list.
*/
allowListName?: string;
/**
* The id of the postgresql Instance.
*/
instanceId?: string;
/**
* The IP address to be added to the allow list.
*/
ipAddress?: 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 category of the postgresql allow list.
*/
readonly allowListCategory?: string;
/**
* The description of the postgresql allow list.
*/
readonly allowListDesc?: string;
/**
* The id of the postgresql allow list.
*/
readonly allowListId?: string;
/**
* The name of the postgresql allow list.
*/
readonly allowListName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The id of the postgresql instance.
*/
readonly instanceId?: string;
readonly ipAddress?: 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 default = volcengine.rds_postgresql.getAllowlists({
* allowListCategory: "Ordinary",
* allowListDesc: "test allow list",
* allowListId: "acl-e7846436e1e741edbd385868fa657436",
* allowListName: "test",
* ipAddress: "100.64.0.0/10",
* nameRegex: ".*allowlist.*",
* });
* ```
*/
/** @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 category of the postgresql allow list. Valid values: Ordinary, Default.
*/
allowListCategory?: pulumi.Input<string>;
/**
* The description of the postgresql allow list. Perform a fuzzy search based on the description information.
*/
allowListDesc?: pulumi.Input<string>;
/**
* The id of the postgresql allow list.
*/
allowListId?: pulumi.Input<string>;
/**
* The name of the postgresql allow list.
*/
allowListName?: pulumi.Input<string>;
/**
* The id of the postgresql Instance.
*/
instanceId?: pulumi.Input<string>;
/**
* The IP address to be added to the allow list.
*/
ipAddress?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}