UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

226 lines (225 loc) 6.42 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage tls host group * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.tls.HostGroup("foo", { * autoUpdate: false, * hostGroupName: "tfgroup", * hostGroupType: "Label", * hostIdentifier: "tf-controller", * serviceLogging: false, * }); * ``` * * ## Import * * Tls Host Group can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:tls/hostGroup:HostGroup default edf052s21s*******dc15 * ``` */ export declare class HostGroup extends pulumi.CustomResource { /** * Get an existing HostGroup 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?: HostGroupState, opts?: pulumi.CustomResourceOptions): HostGroup; /** * Returns true if the given object is an instance of HostGroup. 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 HostGroup; /** * The abnormal heartbeat status count of host. */ readonly abnormalHeartbeatStatusCount: pulumi.Output<number>; /** * The latest version of log collector. */ readonly agentLatestVersion: pulumi.Output<string>; /** * Whether enable auto update. */ readonly autoUpdate: pulumi.Output<boolean | undefined>; /** * The create time of host group. */ readonly createTime: pulumi.Output<string>; /** * The count of host. */ readonly hostCount: pulumi.Output<number>; /** * The name of host group. */ readonly hostGroupName: pulumi.Output<string>; /** * The type of host group. The value can be IP or Label. */ readonly hostGroupType: pulumi.Output<string>; /** * The identifier of host. */ readonly hostIdentifier: pulumi.Output<string | undefined>; /** * The ip list of host group. */ readonly hostIpLists: pulumi.Output<string[]>; /** * The project name of iam. */ readonly iamProjectName: pulumi.Output<string>; /** * The modify time of host group. */ readonly modifyTime: pulumi.Output<string>; /** * The normal heartbeat status count of host. */ readonly normalHeartbeatStatusCount: pulumi.Output<number>; /** * The rule count of host. */ readonly ruleCount: pulumi.Output<number>; /** * Whether enable service logging. */ readonly serviceLogging: pulumi.Output<boolean | undefined>; /** * The update end time of log collector. */ readonly updateEndTime: pulumi.Output<string>; /** * The update start time of log collector. */ readonly updateStartTime: pulumi.Output<string>; /** * Create a HostGroup 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: HostGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HostGroup resources. */ export interface HostGroupState { /** * The abnormal heartbeat status count of host. */ abnormalHeartbeatStatusCount?: pulumi.Input<number>; /** * The latest version of log collector. */ agentLatestVersion?: pulumi.Input<string>; /** * Whether enable auto update. */ autoUpdate?: pulumi.Input<boolean>; /** * The create time of host group. */ createTime?: pulumi.Input<string>; /** * The count of host. */ hostCount?: pulumi.Input<number>; /** * The name of host group. */ hostGroupName?: pulumi.Input<string>; /** * The type of host group. The value can be IP or Label. */ hostGroupType?: pulumi.Input<string>; /** * The identifier of host. */ hostIdentifier?: pulumi.Input<string>; /** * The ip list of host group. */ hostIpLists?: pulumi.Input<pulumi.Input<string>[]>; /** * The project name of iam. */ iamProjectName?: pulumi.Input<string>; /** * The modify time of host group. */ modifyTime?: pulumi.Input<string>; /** * The normal heartbeat status count of host. */ normalHeartbeatStatusCount?: pulumi.Input<number>; /** * The rule count of host. */ ruleCount?: pulumi.Input<number>; /** * Whether enable service logging. */ serviceLogging?: pulumi.Input<boolean>; /** * The update end time of log collector. */ updateEndTime?: pulumi.Input<string>; /** * The update start time of log collector. */ updateStartTime?: pulumi.Input<string>; } /** * The set of arguments for constructing a HostGroup resource. */ export interface HostGroupArgs { /** * Whether enable auto update. */ autoUpdate?: pulumi.Input<boolean>; /** * The name of host group. */ hostGroupName: pulumi.Input<string>; /** * The type of host group. The value can be IP or Label. */ hostGroupType: pulumi.Input<string>; /** * The identifier of host. */ hostIdentifier?: pulumi.Input<string>; /** * The ip list of host group. */ hostIpLists?: pulumi.Input<pulumi.Input<string>[]>; /** * The project name of iam. */ iamProjectName?: pulumi.Input<string>; /** * Whether enable service logging. */ serviceLogging?: pulumi.Input<boolean>; /** * The update end time of log collector. */ updateEndTime?: pulumi.Input<string>; /** * The update start time of log collector. */ updateStartTime?: pulumi.Input<string>; }