import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The NLB instance receives user access requests and forwards them to backend servers based on the configuration of listeners and server groups. * * ## Import * * ```sh * $ pulumi import volcenginecc:clb/nlb:Nlb example "load_balancer_id" * ``` */ export declare class Nlb extends pulumi.CustomResource { /** * Get an existing Nlb 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?: NlbState, opts?: pulumi.CustomResourceOptions): Nlb; /** * Returns true if the given object is an instance of Nlb. 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 Nlb; /** * Access log information of the NLB instance. */ readonly accessLog: pulumi.Output; /** * Account ID to which the NLB instance belongs. */ readonly accountId: pulumi.Output; /** * Billing status of the NLB instance. Normal: normal, FinancialLocked: locked. */ readonly billingStatus: pulumi.Output; /** * Billing type of the NLB instance. 3: pay-as-you-go */ readonly billingType: pulumi.Output; /** * Creation time of the NLB instance. */ readonly createdTime: pulumi.Output; /** * Whether the NLB instance has cross-availability zone forwarding enabled. true (default): enabled. false: disabled. */ readonly crossZoneEnabled: pulumi.Output; /** * Description of the NLB instance. Must start with a letter, number, or Chinese character and can include the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided, the default is an empty string. */ readonly description: pulumi.Output; /** * DNS address of the NLB instance. */ readonly dnsName: pulumi.Output; /** * Time when the NLB instance is suspended due to overdue payment. */ readonly expectedOverdueTime: pulumi.Output; /** * IP address type of the NLB instance. ipv4: IPv4 version. dualstack: dual stack, supports both IPv4 and IPv6 versions. */ readonly ipAddressVersion: pulumi.Output; /** * Shared bandwidth package ID for IPv4 type. */ readonly ipv4BandwidthPackageId: pulumi.Output; /** * IPv4 network type of the NLB instance. internet: public network type. intranet: private network type. */ readonly ipv4NetworkType: pulumi.Output; /** * Shared bandwidth package ID for IPv6 type. */ readonly ipv6BandwidthPackageId: pulumi.Output; /** * IPv6 network type of the NLB instance. internet: public network type. intranet: private network type. */ readonly ipv6NetworkType: pulumi.Output; /** * NLB instance ID. */ readonly loadBalancerId: pulumi.Output; /** * Name of the NLB instance. */ readonly loadBalancerName: pulumi.Output; /** * Managed security group ID automatically associated with the NLB instance by the system. */ readonly managedSecurityGroupId: pulumi.Output; /** * Whether modification protection is enabled for the NLB instance in the console. NonProtection or empty: disabled, allows modification or deletion of the instance via the console. ConsoleProtection: enabled, prevents modification or deletion of the instance via the console. */ readonly modificationProtectionStatus: pulumi.Output; /** * Time when the NLB instance is locked. If the BillingStatus parameter is Normal, this parameter returns an empty string. */ readonly overdueTime: pulumi.Output; /** * Name of the project to which the NLB instance belongs. */ readonly projectName: pulumi.Output; /** * Expected reclamation time of the NLB instance. If the BillingStatus parameter is Normal, this parameter returns an empty string. */ readonly reclaimedTime: pulumi.Output; /** * List of security group IDs associated with the NLB instance. */ readonly securityGroupIds: pulumi.Output; /** * Status of the NLB instance. Inactive: stopped. Active: running. Creating: creating. Provisioning: creating (this status only appears when creating an NLB instance via API). Configuring: configuring. Deleting: deleting. CreateFailed: creation failed. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Update time of the NLB instance. */ readonly updatedTime: pulumi.Output; /** * VPC ID to which the NLB instance belongs. */ readonly vpcId: pulumi.Output; readonly zoneMappings: pulumi.Output; /** * Create a Nlb 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: NlbArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Nlb resources. */ export interface NlbState { /** * Access log information of the NLB instance. */ accessLog?: pulumi.Input; /** * Account ID to which the NLB instance belongs. */ accountId?: pulumi.Input; /** * Billing status of the NLB instance. Normal: normal, FinancialLocked: locked. */ billingStatus?: pulumi.Input; /** * Billing type of the NLB instance. 3: pay-as-you-go */ billingType?: pulumi.Input; /** * Creation time of the NLB instance. */ createdTime?: pulumi.Input; /** * Whether the NLB instance has cross-availability zone forwarding enabled. true (default): enabled. false: disabled. */ crossZoneEnabled?: pulumi.Input; /** * Description of the NLB instance. Must start with a letter, number, or Chinese character and can include the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided, the default is an empty string. */ description?: pulumi.Input; /** * DNS address of the NLB instance. */ dnsName?: pulumi.Input; /** * Time when the NLB instance is suspended due to overdue payment. */ expectedOverdueTime?: pulumi.Input; /** * IP address type of the NLB instance. ipv4: IPv4 version. dualstack: dual stack, supports both IPv4 and IPv6 versions. */ ipAddressVersion?: pulumi.Input; /** * Shared bandwidth package ID for IPv4 type. */ ipv4BandwidthPackageId?: pulumi.Input; /** * IPv4 network type of the NLB instance. internet: public network type. intranet: private network type. */ ipv4NetworkType?: pulumi.Input; /** * Shared bandwidth package ID for IPv6 type. */ ipv6BandwidthPackageId?: pulumi.Input; /** * IPv6 network type of the NLB instance. internet: public network type. intranet: private network type. */ ipv6NetworkType?: pulumi.Input; /** * NLB instance ID. */ loadBalancerId?: pulumi.Input; /** * Name of the NLB instance. */ loadBalancerName?: pulumi.Input; /** * Managed security group ID automatically associated with the NLB instance by the system. */ managedSecurityGroupId?: pulumi.Input; /** * Whether modification protection is enabled for the NLB instance in the console. NonProtection or empty: disabled, allows modification or deletion of the instance via the console. ConsoleProtection: enabled, prevents modification or deletion of the instance via the console. */ modificationProtectionStatus?: pulumi.Input; /** * Time when the NLB instance is locked. If the BillingStatus parameter is Normal, this parameter returns an empty string. */ overdueTime?: pulumi.Input; /** * Name of the project to which the NLB instance belongs. */ projectName?: pulumi.Input; /** * Expected reclamation time of the NLB instance. If the BillingStatus parameter is Normal, this parameter returns an empty string. */ reclaimedTime?: pulumi.Input; /** * List of security group IDs associated with the NLB instance. */ securityGroupIds?: pulumi.Input[]>; /** * Status of the NLB instance. Inactive: stopped. Active: running. Creating: creating. Provisioning: creating (this status only appears when creating an NLB instance via API). Configuring: configuring. Deleting: deleting. CreateFailed: creation failed. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Update time of the NLB instance. */ updatedTime?: pulumi.Input; /** * VPC ID to which the NLB instance belongs. */ vpcId?: pulumi.Input; zoneMappings?: pulumi.Input[]>; } /** * The set of arguments for constructing a Nlb resource. */ export interface NlbArgs { /** * Account ID to which the NLB instance belongs. */ accountId?: pulumi.Input; /** * Whether the NLB instance has cross-availability zone forwarding enabled. true (default): enabled. false: disabled. */ crossZoneEnabled?: pulumi.Input; /** * Description of the NLB instance. Must start with a letter, number, or Chinese character and can include the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided, the default is an empty string. */ description?: pulumi.Input; /** * IP address type of the NLB instance. ipv4: IPv4 version. dualstack: dual stack, supports both IPv4 and IPv6 versions. */ ipAddressVersion?: pulumi.Input; /** * Shared bandwidth package ID for IPv4 type. */ ipv4BandwidthPackageId?: pulumi.Input; /** * IPv4 network type of the NLB instance. internet: public network type. intranet: private network type. */ ipv4NetworkType: pulumi.Input; /** * Shared bandwidth package ID for IPv6 type. */ ipv6BandwidthPackageId?: pulumi.Input; /** * IPv6 network type of the NLB instance. internet: public network type. intranet: private network type. */ ipv6NetworkType?: pulumi.Input; /** * Name of the NLB instance. */ loadBalancerName?: pulumi.Input; /** * Whether modification protection is enabled for the NLB instance in the console. NonProtection or empty: disabled, allows modification or deletion of the instance via the console. ConsoleProtection: enabled, prevents modification or deletion of the instance via the console. */ modificationProtectionStatus?: pulumi.Input; /** * Name of the project to which the NLB instance belongs. */ projectName?: pulumi.Input; /** * List of security group IDs associated with the NLB instance. */ securityGroupIds: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * VPC ID to which the NLB instance belongs. */ vpcId: pulumi.Input; zoneMappings: pulumi.Input[]>; }