UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

87 lines (86 loc) 3.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage health check log topic * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const example = new volcengine.clb.HealthCheckLogTopic("example", { * loadBalancerId: "clb-mim12q0soe805smt1be*****", * logTopicId: "82fddbd8-4140-4527-****-b89d2aae4a61", * }); * const example1 = new volcengine.clb.HealthCheckLogTopic("example1", { * loadBalancerId: "clb-13g5i2cbg6nsw3n6nu5r*****", * logTopicId: "82fddbd8-4140-4527-****-b89d2aae4a61", * }); * ``` * * ## Import * * HealthCheckLogTopic can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:clb/healthCheckLogTopic:HealthCheckLogTopic default log_topic_id:load_balancer_id * ``` */ export declare class HealthCheckLogTopic extends pulumi.CustomResource { /** * Get an existing HealthCheckLogTopic 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?: HealthCheckLogTopicState, opts?: pulumi.CustomResourceOptions): HealthCheckLogTopic; /** * Returns true if the given object is an instance of HealthCheckLogTopic. 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 HealthCheckLogTopic; /** * The ID of the CLB instance. */ readonly loadBalancerId: pulumi.Output<string>; /** * The ID of the log topic. */ readonly logTopicId: pulumi.Output<string>; /** * Create a HealthCheckLogTopic 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: HealthCheckLogTopicArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HealthCheckLogTopic resources. */ export interface HealthCheckLogTopicState { /** * The ID of the CLB instance. */ loadBalancerId?: pulumi.Input<string>; /** * The ID of the log topic. */ logTopicId?: pulumi.Input<string>; } /** * The set of arguments for constructing a HealthCheckLogTopic resource. */ export interface HealthCheckLogTopicArgs { /** * The ID of the CLB instance. */ loadBalancerId: pulumi.Input<string>; /** * The ID of the log topic. */ logTopicId: pulumi.Input<string>; }