import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::CLB::CLB */ export declare function getClb(args: GetClbArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClb. */ export interface GetClbArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getClb. */ export interface GetClbResult { /** * Access log information in the load balancer instance */ readonly accessLog: outputs.clb.GetClbAccessLog; /** * Account ID to which the load balancer instance belongs */ readonly accountId: string; /** * IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private */ readonly addressIpVersion: string; /** * Allowed port ranges */ readonly allowedPorts: string[]; /** * Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No */ readonly autoRenewal: boolean; /** * Whether the load balancer instance is locked */ readonly businessStatus: string; /** * Whether to enable bypass security group feature */ readonly bypassSecurityGroupEnabled: string; /** * Creation time of the load balancer instance */ readonly createTime: string; /** * Expected recycling time of the load balancer instance */ readonly deletedTime: string; /** * Description of the load balancer instance */ readonly description: string; /** * Public IP information of the load balancer instance */ readonly eip: outputs.clb.GetClbEip; /** * Public IP address */ readonly eipAddress: string; /** * Public IP ID */ readonly eipId: string; /** * Enable status of the load balancer instance */ readonly enabled: boolean; /** * Private IPv4 address information of the load balancer instance */ readonly eni: outputs.clb.GetClbEni; /** * Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required */ readonly eniAddressNum: number; /** * Private IPv6 address of the load balancer instance */ readonly eniIpv6Address: string; /** * List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation */ readonly enis: outputs.clb.GetClbEnis; /** * Dedicated cluster ID */ readonly exclusiveClusterId: string; /** * Expiration time of the load balancer instance */ readonly expiredTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * IPv6 public bandwidth information for the load balancing instance */ readonly ipv6AddressBandwidth: outputs.clb.GetClbIpv6AddressBandwidth; /** * Listener information in the load balancer instance */ readonly listeners: outputs.clb.GetClbListener[]; /** * CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage) */ readonly loadBalancerBillingType: number; /** * Load balancer instance ID */ readonly loadBalancerId: string; /** * Name of the load balancer instance */ readonly loadBalancerName: string; /** * CLB instance specification. Different specifications provide different forwarding capabilities. small*1: Small I. small*2: Small II. medium*1: Medium I. medium*2: Medium II. large*1: Large I. large*2: Large II */ readonly loadBalancerSpec: string; /** * Reason why the load balancer instance is frozen */ readonly lockReason: string; /** * Main availability zone ID of the load balancer instance */ readonly masterZoneId: string; /** * Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters */ readonly modificationProtectionReason: string; /** * Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled */ readonly modificationProtectionStatus: string; /** * Whether it is a new architecture */ readonly newArch: boolean; /** * Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation */ readonly orderId: string; /** * Freeze time of the load balancer instance */ readonly overdueTime: string; /** * Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3 */ readonly period: number; /** * Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year */ readonly periodUnit: string; /** * Name of the project associated with the CLB instance */ readonly projectName: string; /** * Backend server group information in the load balancer instance */ readonly serverGroups: outputs.clb.GetClbServerGroup[]; /** * Whether the CLB instance is a managed resource */ readonly serviceManaged: boolean; /** * Secondary availability zone ID of the load balancer instance */ readonly slaveZoneId: string; /** * Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed. */ readonly status: string; /** * Subnet ID within the VPC of the load balancer instance */ readonly subnetId: string; /** * CLB instance tags */ readonly tags: outputs.clb.GetClbTag[]; /** * Enable TCP timestamp removal */ readonly timestampRemoveEnabled: string; /** * CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests */ readonly type: string; /** * Most recent operation time of the load balancer instance */ readonly updateTime: string; /** * VPC ID of the load balancer instance */ readonly vpcId: string; /** * Availability zone type of the load balancer instance */ readonly zoneType: string; } /** * Data Source schema for Volcengine::CLB::CLB */ export declare function getClbOutput(args: GetClbOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClb. */ export interface GetClbOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }