import * as pulumi from "@pulumi/pulumi"; /** * Instance connection endpoint public address. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const endpointPublicAddressDemo = new volcenginecc.rdsmysql.EndpointPublicAddress("EndpointPublicAddressDemo", { * instanceId: "mysql-7623a9xxxxxx", * endpointId: "mysql-7623a9xxxxx-custom-xxxx", * eipId: "eip-2f8vbiyym6txckjzxxxxx", * domainPrefix: "ccapi-terraform", * port: "23306", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:rdsmysql/endpointPublicAddress:EndpointPublicAddress example "instance_id|endpoint_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; /** * - false: private network resolution (default) - true: private and public network resolution */ readonly dnsVisibility: pulumi.Output; /** * Connection domain name. */ readonly domain: pulumi.Output; /** * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters. */ readonly domainPrefix: pulumi.Output; /** * EIP ID, valid only for Public addresses. */ readonly eipId: pulumi.Output; /** * Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No */ readonly eipLocked: pulumi.Output; /** * Instance connection endpoint ID. */ readonly endpointId: pulumi.Output; /** * Instance ID. */ readonly instanceId: pulumi.Output; /** * IP protocol version. Value: IPv4. */ readonly internetProtocol: pulumi.Output; /** * IP address. */ readonly ipAddress: pulumi.Output; /** * Network address type. Valid values: Private: Private address. Public: Public address. */ readonly networkType: pulumi.Output; /** * Port. */ readonly port: pulumi.Output; /** * Subnet ID, valid only for Private addresses. */ readonly subnetId: 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 { /** * - false: private network resolution (default) - true: private and public network resolution */ dnsVisibility?: pulumi.Input; /** * Connection domain name. */ domain?: pulumi.Input; /** * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters. */ domainPrefix?: pulumi.Input; /** * EIP ID, valid only for Public addresses. */ eipId?: pulumi.Input; /** * Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No */ eipLocked?: pulumi.Input; /** * Instance connection endpoint ID. */ endpointId?: pulumi.Input; /** * Instance ID. */ instanceId?: pulumi.Input; /** * IP protocol version. Value: IPv4. */ internetProtocol?: pulumi.Input; /** * IP address. */ ipAddress?: pulumi.Input; /** * Network address type. Valid values: Private: Private address. Public: Public address. */ networkType?: pulumi.Input; /** * Port. */ port?: pulumi.Input; /** * Subnet ID, valid only for Private addresses. */ subnetId?: pulumi.Input; } /** * The set of arguments for constructing a EndpointPublicAddress resource. */ export interface EndpointPublicAddressArgs { /** * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters. */ domainPrefix?: pulumi.Input; /** * EIP ID, valid only for Public addresses. */ eipId: pulumi.Input; /** * Instance connection endpoint ID. */ endpointId: pulumi.Input; /** * Instance ID. */ instanceId: pulumi.Input; /** * Port. */ port?: pulumi.Input; }