import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage server group
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooClb = new volcengine.clb.Clb("fooClb", {
 *     type: "public",
 *     subnetId: fooSubnet.id,
 *     loadBalancerSpec: "small_1",
 *     description: "acc0Demo",
 *     loadBalancerName: "acc-test-create",
 *     eipBillingConfig: {
 *         isp: "BGP",
 *         eipBillingType: "PostPaidByBandwidth",
 *         bandwidth: 1,
 *     },
 * });
 * const fooServerGroup = new volcengine.clb.ServerGroup("fooServerGroup", {
 *     loadBalancerId: fooClb.id,
 *     serverGroupName: "acc-test-create",
 *     description: "hello demo11",
 *     type: "ip",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * ServerGroup can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:clb/serverGroup:ServerGroup default rsp-273yv0kir1vk07fap8tt9jtwg
 * ```
 */
export declare class ServerGroup extends pulumi.CustomResource {
    /**
     * Get an existing ServerGroup 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<pulumi.ID>, state?: ServerGroupState, opts?: pulumi.CustomResourceOptions): ServerGroup;
    /**
     * Returns true if the given object is an instance of ServerGroup.  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 ServerGroup;
    /**
     * The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
     */
    readonly addressIpVersion: pulumi.Output<string | undefined>;
    /**
     * Whether to enable full port forwarding. This feature is in beta.
     */
    readonly anyPortEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The description of ServerGroup.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The ID of the Clb.
     */
    readonly loadBalancerId: pulumi.Output<string>;
    /**
     * The ID of the ServerGroup.
     */
    readonly serverGroupId: pulumi.Output<string>;
    /**
     * The name of the ServerGroup.
     */
    readonly serverGroupName: pulumi.Output<string>;
    /**
     * Tags.
     */
    readonly tags: pulumi.Output<outputs.clb.ServerGroupTag[] | undefined>;
    /**
     * The type of the ServerGroup. Valid values: `instance`, `ip`. Default is `instance`.
     */
    readonly type: pulumi.Output<string | undefined>;
    /**
     * Create a ServerGroup 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: ServerGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ServerGroup resources.
 */
export interface ServerGroupState {
    /**
     * The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
     */
    addressIpVersion?: pulumi.Input<string>;
    /**
     * Whether to enable full port forwarding. This feature is in beta.
     */
    anyPortEnabled?: pulumi.Input<boolean>;
    /**
     * The description of ServerGroup.
     */
    description?: pulumi.Input<string>;
    /**
     * The ID of the Clb.
     */
    loadBalancerId?: pulumi.Input<string>;
    /**
     * The ID of the ServerGroup.
     */
    serverGroupId?: pulumi.Input<string>;
    /**
     * The name of the ServerGroup.
     */
    serverGroupName?: pulumi.Input<string>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupTag>[]>;
    /**
     * The type of the ServerGroup. Valid values: `instance`, `ip`. Default is `instance`.
     */
    type?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ServerGroup resource.
 */
export interface ServerGroupArgs {
    /**
     * The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
     */
    addressIpVersion?: pulumi.Input<string>;
    /**
     * Whether to enable full port forwarding. This feature is in beta.
     */
    anyPortEnabled?: pulumi.Input<boolean>;
    /**
     * The description of ServerGroup.
     */
    description?: pulumi.Input<string>;
    /**
     * The ID of the Clb.
     */
    loadBalancerId: pulumi.Input<string>;
    /**
     * The ID of the ServerGroup.
     */
    serverGroupId?: pulumi.Input<string>;
    /**
     * The name of the ServerGroup.
     */
    serverGroupName?: pulumi.Input<string>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.clb.ServerGroupTag>[]>;
    /**
     * The type of the ServerGroup. Valid values: `instance`, `ip`. Default is `instance`.
     */
    type?: pulumi.Input<string>;
}
