import * as pulumi from "@pulumi/pulumi"; /** * Host in the log service, used to manage server nodes for log collection * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const tLSHostDemo = new volcenginecc.tls.Host("TLSHostDemo", { * hostGroupId: "cef95463-1bc0-410f-9c4b-3114xxxxxx", * ip: "192.168.1.3", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:tls/host:Host example "host_group_id|ip" * ``` */ export declare class Host extends pulumi.CustomResource { /** * Get an existing Host 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?: HostState, opts?: pulumi.CustomResourceOptions): Host; /** * Returns true if the given object is an instance of Host. 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 Host; /** * Agent heartbeat status. 0: Heartbeat normal 1: Heartbeat abnormal */ readonly heartbeatStatus: pulumi.Output; /** * Machine group ID to which the host belongs */ readonly hostGroupId: pulumi.Output; /** * Host IP address */ readonly ip: pulumi.Output; /** * Log collector version */ readonly logCollectorVersion: pulumi.Output; /** * Create a Host 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: HostArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Host resources. */ export interface HostState { /** * Agent heartbeat status. 0: Heartbeat normal 1: Heartbeat abnormal */ heartbeatStatus?: pulumi.Input; /** * Machine group ID to which the host belongs */ hostGroupId?: pulumi.Input; /** * Host IP address */ ip?: pulumi.Input; /** * Log collector version */ logCollectorVersion?: pulumi.Input; } /** * The set of arguments for constructing a Host resource. */ export interface HostArgs { /** * Machine group ID to which the host belongs */ hostGroupId: pulumi.Input; /** * Host IP address */ ip: pulumi.Input; }