import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VPC::EIP */ export declare function getEip(args: GetEipArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEip. */ export interface GetEipArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getEip. */ export interface GetEipResult { /** * Public IP ID. */ readonly allocationId: string; /** * Maximum bandwidth of the public IP. Default is '1', unit: Mbps. If BillingType is 1: range is 1~500. If BillingType is 2: range is 1~500. If BillingType is 3: range is 1~200. */ readonly bandwidth: number; /** * Shared bandwidth package ID, indicating the public IP is added to a shared bandwidth package. To add a public IP to a shared bandwidth package, the following conditions must be met: Both have the same security protection type. Both are in the same region. The public IP must use pay-as-you-go billing. The shared bandwidth package must be IPv4 type. */ readonly bandwidthPackageId: string; /** * Billing method for public IP. Values: 1: annual/monthly. 2: pay-as-you-go - based on bandwidth cap. 3: pay-as-you-go - based on actual traffic. */ readonly billingType: number; /** * Whether the public IP is locked. Normal: normal. FinancialLocked: locked. */ readonly businessStatus: string; /** * Creation time of the public IP. */ readonly createdTime: string; /** * Expected forced resource recycle time. For subscription public IPs, this parameter returns a value. For pay-as-you-go public IPs, this parameter returns a value only when frozen due to overdue payment. */ readonly deletedTime: string; /** * Description of the public IP. */ readonly description: string; /** * Whether to enable passthrough mode when binding public IP. Enter the following enum values exactly as shown; do not use other values. false (default): passthrough mode not enabled. true: passthrough mode enabled. */ readonly directMode: boolean; /** * Public IP address. */ readonly eipAddress: string; /** * Expiration time of the public IP. For subscription billing, the return value is the expiration time. For pay-as-you-go billing, the return value is empty. */ readonly expiredTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Currently bound instance ID. */ readonly instanceId: string; /** * Current bound instance type. Nat: public NAT gateway. NetworkInterface: elastic network interface. ClbInstance: load balancer. EcsInstance: cloud server. HaVip: high availability virtual IP. */ readonly instanceType: string; /** * Apply for a specified public IP address. Only supports entering IP addresses that have been released after use; if not specified, the IP address is assigned automatically. Specified public IP address */ readonly ipAddress: string; /** * IP address pool ID. */ readonly ipAddressPoolId: string; /** * Whether it is blocked. true: yes. false: no. */ readonly isBlocked: boolean; /** * Line type. BGP: BGP (multi-line). ChinaMobile: China Mobile static single line. ChinaTelecom: China Telecom static single line. ChinaUnicom: China Unicom static single line. SingleLine*BGP: BGP single line. Fusion*BGP: Fusion BGP. ChinaMobile*Value: China Mobile Value static single line. ChinaUnicom*Value: China Unicom Value static single line. ChinaTelecom_Value: China Telecom Value static single line. */ readonly isp: string; /** * Reason for public IP lock. financial: locked due to overdue payment. unlock: restoring after recharge following suspension for overdue payment. Empty value: not locked. */ readonly lockReason: string; /** * Name of the public IP. */ readonly name: string; /** * Resource freeze time. This parameter returns a value only when the resource is frozen due to overdue payment. */ readonly overdueTime: string; /** * When representing the duration for purchasing a subscription public IP, the default is '1'. If PeriodUnit is set to 1, Period can be 1~9, 12, 24, 36, 48, or 60. If PeriodUnit is set to 2, Period can be 1~5. When representing the duration for temporary upgrade, the unit is hours, and the range is 1~720. */ readonly period: number; /** * Unit for the duration when purchasing annual/monthly public IP. Values: 1 (default): month. 2: year. */ readonly periodUnit: number; /** * Private IP address of the instance to bind the public IP to. Only ECS primary network interface private IP addresses and secondary network interface IP addresses are supported. If not specified: If InstanceType is EcsInstance, binds to the primary private IP address of the ECS primary network interface. If InstanceType is NetworkInterface, binds to the primary private IP address of the secondary network interface. */ readonly privateIpAddress: string; /** * Name of the project to which the public IP belongs. */ readonly projectName: string; /** * Whether to release the public IP when the cloud server instance is deleted. Only valid for pay-as-you-go public IPs. When enabled, the public IP is released together with the instance when the system automatically recycles the instance (24 hours after unsubscription, upon expiration, or due to overdue payment) or when the DeleteInstances API is called. true: yes. false: no. */ readonly releaseWithInstance: boolean; /** * Duration for automatic renewal. Valid values: 1, 2, 3, 6, 12. Unit: month. If RenewType is 2, RenewPeriodTimes must be specified. */ readonly renewPeriodTimes: number; /** * Renewal method for annual/monthly public IP. Values: 1 (default): manual renewal. 2: automatic renewal. 3: do not renew upon expiration. */ readonly renewType: number; /** * DDoS native protection (Enterprise Edition) ID. You can call the DescInstanceList API to query the ID of DDoS native protection (Enterprise Edition). When SecurityProtectionTypes is set to AntiDDoS_Enhanced, this parameter is required. */ readonly securityProtectionInstanceId: number; /** * Protection type. AntiDDoS_Enhanced: Public IPs with enhanced protection can be added to DDoS Native Protection (Enterprise Edition) instances. Null value: Public IPs with default protection type. */ readonly securityProtectionTypes: string[]; /** * Managed by service */ readonly serviceManaged: boolean; /** * Status of the public IP. Attaching: binding in progress. Detaching: unbinding in progress. Attached: bound. Available: available. Deleting: deleting. */ readonly status: string; /** * Tag information of the public IP */ readonly tags: outputs.vpc.GetEipTag[]; /** * Time when the public IP was updated. */ readonly updatedTime: string; } /** * Data Source schema for Volcengine::VPC::EIP */ export declare function getEipOutput(args: GetEipOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEip. */ export interface GetEipOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }