import * as pulumi from "@pulumi/pulumi";
/**
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as kong from "@pulumi/kong";
 *
 * const target = new kong.Target("target", {
 *     target: "sample_target:80",
 *     weight: 10,
 *     upstreamId: upstream.id,
 * });
 * ```
 *
 * ## Import
 *
 * To import a target use a combination of the upstream id and the target id as follows:
 *
 * ```sh
 * $ pulumi import kong:index/target:Target <target_identifier> <upstream_id>/<target_id>
 * ```
 */
export declare class Target extends pulumi.CustomResource {
    /**
     * Get an existing Target 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?: TargetState, opts?: pulumi.CustomResourceOptions): Target;
    /**
     * Returns true if the given object is an instance of Target.  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 Target;
    /**
     * A list set of strings associated with the Plugin for grouping and filtering
     */
    readonly tags: pulumi.Output<string[] | undefined>;
    /**
     * is the target address (IP or hostname) and port. If omitted the port defaults to 8000.
     */
    readonly target: pulumi.Output<string>;
    /**
     * is the id of the upstream to apply this target to.
     */
    readonly upstreamId: pulumi.Output<string>;
    /**
     * is the weight this target gets within the upstream load balancer (0-1000, defaults to 100).
     */
    readonly weight: pulumi.Output<number>;
    /**
     * Create a Target 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: TargetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Target resources.
 */
export interface TargetState {
    /**
     * A list set of strings associated with the Plugin for grouping and filtering
     */
    tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * is the target address (IP or hostname) and port. If omitted the port defaults to 8000.
     */
    target?: pulumi.Input<string | undefined>;
    /**
     * is the id of the upstream to apply this target to.
     */
    upstreamId?: pulumi.Input<string | undefined>;
    /**
     * is the weight this target gets within the upstream load balancer (0-1000, defaults to 100).
     */
    weight?: pulumi.Input<number | undefined>;
}
/**
 * The set of arguments for constructing a Target resource.
 */
export interface TargetArgs {
    /**
     * A list set of strings associated with the Plugin for grouping and filtering
     */
    tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * is the target address (IP or hostname) and port. If omitted the port defaults to 8000.
     */
    target: pulumi.Input<string>;
    /**
     * is the id of the upstream to apply this target to.
     */
    upstreamId: pulumi.Input<string>;
    /**
     * is the weight this target gets within the upstream load balancer (0-1000, defaults to 100).
     */
    weight: pulumi.Input<number>;
}
//# sourceMappingURL=target.d.ts.map