import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSMySQL::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 { /** * Allowlist category. Values: Ordinary: Ordinary allowlist. Default: Default allowlist. Note: When used as a request parameter, the default value is Ordinary. */ readonly allowListCategory: string; /** * Allowlist remarks. */ readonly allowListDesc: string; /** * Allowlist ID. */ readonly allowListId: string; /** * Total number of IP addresses (or ranges) in the allowlist. */ readonly allowListIpNum: number; /** * Allowlist name. */ readonly allowListName: string; /** * IP address types in the allowlist. Only IPv4 addresses are currently supported. */ readonly allowListType: string; /** * IP address list in the allowlist */ readonly allowLists: string[]; /** * Total number of instances bound to the allowlist. */ readonly associatedInstanceNum: number; /** * Instance information bound to the current allowlist. */ readonly associatedInstances: outputs.rdsmysql.GetAllowListAssociatedInstance[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * Ignore instance status check. Values: true: Yes. false: No. Default value. */ readonly ignoreInstanceStatus: boolean; /** * Instance ID. */ readonly instanceId: string; /** * List of IP addresses and IP ranges included in the allowlist. Returned when the WithIpList request parameter is set to true; returns null when set to false or not specified. */ readonly ipLists: string[]; /** * Modification method. Available values: Cover (default): Overwrite the original allowlist with the values from the AllowList parameter. Append: Add the IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove the IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain. */ readonly modifyMode: string; /** * Project. Note: If the AK/SK used to call the API belongs to a sub-account that only has permission for a specific project, you need to provide this request parameter. */ readonly projectName: string; /** * Information about the security group associated with the allowlist. Note: This field cannot be used together with SecurityGroupIds. */ readonly securityGroupBindInfos: outputs.rdsmysql.GetAllowListSecurityGroupBindInfo[]; /** * List of security group IDs to associate. Note: You can call the DescribeSecurityGroups API to query security group information, including security group IDs. A single allowlist can add up to 10 security groups at a time. This field cannot be used together with SecurityGroupBindInfos. */ readonly securityGroupIds: string[]; /** * Whether to update the security group bound to the allowlist. true: update. false: do not update. Default value. This field is effective only when the allowlist is already bound to a security group. You can call the DescribeAllowLists API to check if the allowlist is bound to a security group. */ readonly updateSecurityGroup: boolean; /** * IP addresses entered by the user in this list. The IPs in the AllowList field are the union of IPs included in UserAllowList and SecurityGroupBindInfos. */ readonly userAllowLists: string[]; } /** * Data Source schema for Volcengine::RDSMySQL::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; }