import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Load balancer instance * * ## Import * * ```sh * $ pulumi import volcenginecc:clb/clb:Clb example "load_balancer_id" * ``` */ export declare class Clb extends pulumi.CustomResource { /** * Get an existing Clb 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?: ClbState, opts?: pulumi.CustomResourceOptions): Clb; /** * Returns true if the given object is an instance of Clb. 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 Clb; /** * Access log information in the load balancer instance */ readonly accessLog: pulumi.Output; /** * Account ID to which the load balancer instance belongs */ readonly accountId: pulumi.Output; /** * 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: pulumi.Output; /** * Allowed port ranges */ readonly allowedPorts: pulumi.Output; /** * Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No */ readonly autoRenewal: pulumi.Output; /** * Whether the load balancer instance is locked */ readonly businessStatus: pulumi.Output; /** * Whether to enable bypass security group feature */ readonly bypassSecurityGroupEnabled: pulumi.Output; /** * Creation time of the load balancer instance */ readonly createTime: pulumi.Output; /** * Expected recycling time of the load balancer instance */ readonly deletedTime: pulumi.Output; /** * Description of the load balancer instance */ readonly description: pulumi.Output; /** * Public IP information of the load balancer instance */ readonly eip: pulumi.Output; /** * Public IP address */ readonly eipAddress: pulumi.Output; /** * Public IP ID */ readonly eipId: pulumi.Output; /** * Enable status of the load balancer instance */ readonly enabled: pulumi.Output; /** * Private IPv4 address information of the load balancer instance */ readonly eni: pulumi.Output; /** * 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: pulumi.Output; /** * Private IPv6 address of the load balancer instance */ readonly eniIpv6Address: pulumi.Output; /** * List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation */ readonly enis: pulumi.Output; /** * Dedicated cluster ID */ readonly exclusiveClusterId: pulumi.Output; /** * Expiration time of the load balancer instance */ readonly expiredTime: pulumi.Output; /** * IPv6 public bandwidth information for the load balancing instance */ readonly ipv6AddressBandwidth: pulumi.Output; readonly listeners: pulumi.Output; /** * 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: pulumi.Output; /** * Load balancer instance ID */ readonly loadBalancerId: pulumi.Output; /** * Name of the load balancer instance */ readonly loadBalancerName: pulumi.Output; /** * 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: pulumi.Output; /** * Reason why the load balancer instance is frozen */ readonly lockReason: pulumi.Output; /** * Main availability zone ID of the load balancer instance */ readonly masterZoneId: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Whether it is a new architecture */ readonly newArch: pulumi.Output; /** * Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation */ readonly orderId: pulumi.Output; /** * Freeze time of the load balancer instance */ readonly overdueTime: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Name of the project associated with the CLB instance */ readonly projectName: pulumi.Output; readonly serverGroups: pulumi.Output; /** * Whether the CLB instance is a managed resource */ readonly serviceManaged: pulumi.Output; /** * Secondary availability zone ID of the load balancer instance */ readonly slaveZoneId: pulumi.Output; /** * Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed. */ readonly status: pulumi.Output; /** * Subnet ID within the VPC of the load balancer instance */ readonly subnetId: pulumi.Output; readonly tags: pulumi.Output; /** * Enable TCP timestamp removal */ readonly timestampRemoveEnabled: pulumi.Output; /** * 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: pulumi.Output; /** * Most recent operation time of the load balancer instance */ readonly updateTime: pulumi.Output; /** * VPC ID of the load balancer instance */ readonly vpcId: pulumi.Output; /** * Availability zone type of the load balancer instance */ readonly zoneType: pulumi.Output; /** * Create a Clb 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?: ClbArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Clb resources. */ export interface ClbState { /** * Access log information in the load balancer instance */ accessLog?: pulumi.Input; /** * Account ID to which the load balancer instance belongs */ accountId?: pulumi.Input; /** * 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 */ addressIpVersion?: pulumi.Input; /** * Allowed port ranges */ allowedPorts?: pulumi.Input[]>; /** * Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No */ autoRenewal?: pulumi.Input; /** * Whether the load balancer instance is locked */ businessStatus?: pulumi.Input; /** * Whether to enable bypass security group feature */ bypassSecurityGroupEnabled?: pulumi.Input; /** * Creation time of the load balancer instance */ createTime?: pulumi.Input; /** * Expected recycling time of the load balancer instance */ deletedTime?: pulumi.Input; /** * Description of the load balancer instance */ description?: pulumi.Input; /** * Public IP information of the load balancer instance */ eip?: pulumi.Input; /** * Public IP address */ eipAddress?: pulumi.Input; /** * Public IP ID */ eipId?: pulumi.Input; /** * Enable status of the load balancer instance */ enabled?: pulumi.Input; /** * Private IPv4 address information of the load balancer instance */ eni?: pulumi.Input; /** * 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 */ eniAddressNum?: pulumi.Input; /** * Private IPv6 address of the load balancer instance */ eniIpv6Address?: pulumi.Input; /** * List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation */ enis?: pulumi.Input; /** * Dedicated cluster ID */ exclusiveClusterId?: pulumi.Input; /** * Expiration time of the load balancer instance */ expiredTime?: pulumi.Input; /** * IPv6 public bandwidth information for the load balancing instance */ ipv6AddressBandwidth?: pulumi.Input; listeners?: pulumi.Input[]>; /** * 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) */ loadBalancerBillingType?: pulumi.Input; /** * Load balancer instance ID */ loadBalancerId?: pulumi.Input; /** * Name of the load balancer instance */ loadBalancerName?: pulumi.Input; /** * 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 */ loadBalancerSpec?: pulumi.Input; /** * Reason why the load balancer instance is frozen */ lockReason?: pulumi.Input; /** * Main availability zone ID of the load balancer instance */ masterZoneId?: pulumi.Input; /** * 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 */ modificationProtectionReason?: pulumi.Input; /** * 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 */ modificationProtectionStatus?: pulumi.Input; /** * Whether it is a new architecture */ newArch?: pulumi.Input; /** * Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation */ orderId?: pulumi.Input; /** * Freeze time of the load balancer instance */ overdueTime?: pulumi.Input; /** * 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 */ period?: pulumi.Input; /** * Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year */ periodUnit?: pulumi.Input; /** * Name of the project associated with the CLB instance */ projectName?: pulumi.Input; serverGroups?: pulumi.Input[]>; /** * Whether the CLB instance is a managed resource */ serviceManaged?: pulumi.Input; /** * Secondary availability zone ID of the load balancer instance */ slaveZoneId?: pulumi.Input; /** * Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed. */ status?: pulumi.Input; /** * Subnet ID within the VPC of the load balancer instance */ subnetId?: pulumi.Input; tags?: pulumi.Input[]>; /** * Enable TCP timestamp removal */ timestampRemoveEnabled?: pulumi.Input; /** * 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 */ type?: pulumi.Input; /** * Most recent operation time of the load balancer instance */ updateTime?: pulumi.Input; /** * VPC ID of the load balancer instance */ vpcId?: pulumi.Input; /** * Availability zone type of the load balancer instance */ zoneType?: pulumi.Input; } /** * The set of arguments for constructing a Clb resource. */ export interface ClbArgs { /** * Access log information in the load balancer instance */ accessLog?: pulumi.Input; /** * 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 */ addressIpVersion?: pulumi.Input; /** * Allowed port ranges */ allowedPorts?: pulumi.Input[]>; /** * Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No */ autoRenewal?: pulumi.Input; /** * Whether to enable bypass security group feature */ bypassSecurityGroupEnabled?: pulumi.Input; /** * Description of the load balancer instance */ description?: pulumi.Input; /** * Public IP information of the load balancer instance */ eip?: pulumi.Input; /** * 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 */ eniAddressNum?: pulumi.Input; /** * List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation */ enis?: pulumi.Input; /** * Dedicated cluster ID */ exclusiveClusterId?: pulumi.Input; listeners?: pulumi.Input[]>; /** * 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) */ loadBalancerBillingType?: pulumi.Input; /** * Name of the load balancer instance */ loadBalancerName?: pulumi.Input; /** * 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 */ loadBalancerSpec?: pulumi.Input; /** * Main availability zone ID of the load balancer instance */ masterZoneId?: pulumi.Input; /** * 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 */ modificationProtectionReason?: pulumi.Input; /** * 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 */ modificationProtectionStatus?: pulumi.Input; /** * Whether it is a new architecture */ newArch?: pulumi.Input; /** * Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation */ orderId?: pulumi.Input; /** * 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 */ period?: pulumi.Input; /** * Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year */ periodUnit?: pulumi.Input; /** * Name of the project associated with the CLB instance */ projectName?: pulumi.Input; serverGroups?: pulumi.Input[]>; /** * Secondary availability zone ID of the load balancer instance */ slaveZoneId?: pulumi.Input; /** * Subnet ID within the VPC of the load balancer instance */ subnetId?: pulumi.Input; tags?: pulumi.Input[]>; /** * 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 */ type?: pulumi.Input; /** * VPC ID of the load balancer instance */ vpcId?: pulumi.Input; /** * Availability zone type of the load balancer instance */ zoneType?: pulumi.Input; }