import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::Redis::AllowList */ export declare function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAllowList. */ export interface GetAllowListArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getAllowList. */ export interface GetAllowListResult { /** * Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address. */ readonly allowList: string; /** * Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations */ readonly allowListCategory: string; /** * Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default */ readonly allowListDesc: string; /** * Allowlist ID. */ readonly allowListId: string; /** * Number of IP addresses in the allowlist */ readonly allowListIpNum: number; /** * Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters */ readonly allowListName: string; /** * Total number of instances bound to the allowlist */ readonly associatedInstanceNum: number; /** * List of instances currently bound to this allowlist. */ readonly associatedInstances: outputs.redis.GetAllowListAssociatedInstance[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * List of instance IDs bound to the current allowlist */ readonly instanceIds: string[]; /** * Project name associated with the allowlist */ readonly projectName: string; /** * Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. */ readonly securityGroupBindInfos: outputs.redis.GetAllowListSecurityGroupBindInfo[]; } /** * Data Source schema for Volcengine::Redis::AllowList */ export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAllowList. */ export interface GetAllowListOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }