import * as pulumi from "@pulumi/pulumi"; /** * Enable public network access so that devices outside the VPC can access the Redis instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const redisEndpointPublicAddressDemo = new volcenginecc.redis.EndpointPublicAddress("RedisEndpointPublicAddressDemo", { * instanceId: "redis-cnlfii2cw1xxxxxx", * port: 6379, * eipId: "eip-w08rcc38bsw0865yxxxxx", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:redis/endpointPublicAddress:EndpointPublicAddress example "instance_id|eip_id" * ``` */ export declare class EndpointPublicAddress extends pulumi.CustomResource { /** * Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EndpointPublicAddressState, opts?: pulumi.CustomResourceOptions): EndpointPublicAddress; /** * Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EndpointPublicAddress; /** * Connection address type. Valid values: Private: Private network connection address. Public: Public network connection address. DirectLink: Direct connection address. Note: Direct connection address information is returned only when a sharded Redis cluster instance has applied for a direct connection address. For more information about connection address types, see Connection Address Types. */ readonly addrType: pulumi.Output; /** * IP address or domain name */ readonly address: pulumi.Output; /** * ID of the Elastic Public IP */ readonly eipId: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Modified connection address prefix. The connection address prefix must meet the following requirements: Consist of lowercase letters, numbers, or hyphens (-). Start with a letter and end with a letter or number. Length must be 8–53 characters. The modified connection address must be globally unique and must not duplicate any connection address in any region of Volcano Engine. */ readonly newAddressPrefix: pulumi.Output; /** * Port number */ readonly port: pulumi.Output; /** * Whether to upgrade the domain suffix of the connection address. Valid values: true: Upgrade. false (default): Do not upgrade. Note: When upgrading the domain suffix (i.e., UpgradeRegionDomain is true), you must also provide the connection address prefix (i.e., the Address parameter cannot be empty). After upgrading the domain suffix, existing connections will be disconnected. Please promptly update your client connection information and use the new connection address to connect to the instance. For details on connecting to an instance, see Connect to Instance. Once the domain suffix of the connection address is upgraded, it cannot be downgraded to the original suffix. Please proceed with caution. The upgraded domain suffix will automatically include the region information of the instance. The old connection address will be retained for 12 hours and will be automatically released after the retention period expires. For more details, see Upgrade Domain Suffix. */ readonly upgradeRegionDomain: pulumi.Output; /** * IPv6 address corresponding to the connection address. Note: This parameter is returned only if the instance uses an IPv6 address. Only private network addresses and direct connection addresses support IPv6; public network addresses do not. Therefore, when the connection address type is Public (i.e., AddrType is Public), this parameter is always empty. */ readonly viPv6: pulumi.Output; /** * IPv4 address corresponding to the connection address */ readonly vip: pulumi.Output; /** * Create a EndpointPublicAddress resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EndpointPublicAddressArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EndpointPublicAddress resources. */ export interface EndpointPublicAddressState { /** * Connection address type. Valid values: Private: Private network connection address. Public: Public network connection address. DirectLink: Direct connection address. Note: Direct connection address information is returned only when a sharded Redis cluster instance has applied for a direct connection address. For more information about connection address types, see Connection Address Types. */ addrType?: pulumi.Input; /** * IP address or domain name */ address?: pulumi.Input; /** * ID of the Elastic Public IP */ eipId?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Modified connection address prefix. The connection address prefix must meet the following requirements: Consist of lowercase letters, numbers, or hyphens (-). Start with a letter and end with a letter or number. Length must be 8–53 characters. The modified connection address must be globally unique and must not duplicate any connection address in any region of Volcano Engine. */ newAddressPrefix?: pulumi.Input; /** * Port number */ port?: pulumi.Input; /** * Whether to upgrade the domain suffix of the connection address. Valid values: true: Upgrade. false (default): Do not upgrade. Note: When upgrading the domain suffix (i.e., UpgradeRegionDomain is true), you must also provide the connection address prefix (i.e., the Address parameter cannot be empty). After upgrading the domain suffix, existing connections will be disconnected. Please promptly update your client connection information and use the new connection address to connect to the instance. For details on connecting to an instance, see Connect to Instance. Once the domain suffix of the connection address is upgraded, it cannot be downgraded to the original suffix. Please proceed with caution. The upgraded domain suffix will automatically include the region information of the instance. The old connection address will be retained for 12 hours and will be automatically released after the retention period expires. For more details, see Upgrade Domain Suffix. */ upgradeRegionDomain?: pulumi.Input; /** * IPv6 address corresponding to the connection address. Note: This parameter is returned only if the instance uses an IPv6 address. Only private network addresses and direct connection addresses support IPv6; public network addresses do not. Therefore, when the connection address type is Public (i.e., AddrType is Public), this parameter is always empty. */ viPv6?: pulumi.Input; /** * IPv4 address corresponding to the connection address */ vip?: pulumi.Input; } /** * The set of arguments for constructing a EndpointPublicAddress resource. */ export interface EndpointPublicAddressArgs { /** * ID of the Elastic Public IP */ eipId: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; /** * Modified connection address prefix. The connection address prefix must meet the following requirements: Consist of lowercase letters, numbers, or hyphens (-). Start with a letter and end with a letter or number. Length must be 8–53 characters. The modified connection address must be globally unique and must not duplicate any connection address in any region of Volcano Engine. */ newAddressPrefix?: pulumi.Input; /** * Port number */ port?: pulumi.Input; /** * Whether to upgrade the domain suffix of the connection address. Valid values: true: Upgrade. false (default): Do not upgrade. Note: When upgrading the domain suffix (i.e., UpgradeRegionDomain is true), you must also provide the connection address prefix (i.e., the Address parameter cannot be empty). After upgrading the domain suffix, existing connections will be disconnected. Please promptly update your client connection information and use the new connection address to connect to the instance. For details on connecting to an instance, see Connect to Instance. Once the domain suffix of the connection address is upgraded, it cannot be downgraded to the original suffix. Please proceed with caution. The upgraded domain suffix will automatically include the region information of the instance. The old connection address will be retained for 12 hours and will be automatically released after the retention period expires. For more details, see Upgrade Domain Suffix. */ upgradeRegionDomain?: pulumi.Input; }