published on Thursday, Jun 11, 2026 by Volcengine
published on Thursday, Jun 11, 2026 by Volcengine
Binding relationship between the health check log topic and the CLB instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const cLBCheckLogTopicDemo = new volcenginecc.clb.CheckLogTopic("CLBCheckLogTopicDemo", {
loadBalancerId: "clb-minr2d8brqps5smt1ax***",
logTopicId: "t45227e2e-5637-470b-a7e****",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
c_lb_check_log_topic_demo = volcenginecc.clb.CheckLogTopic("CLBCheckLogTopicDemo",
load_balancer_id="clb-minr2d8brqps5smt1ax***",
log_topic_id="t45227e2e-5637-470b-a7e****")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/clb"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := clb.NewCheckLogTopic(ctx, "CLBCheckLogTopicDemo", &clb.CheckLogTopicArgs{
LoadBalancerId: pulumi.String("clb-minr2d8brqps5smt1ax***"),
LogTopicId: pulumi.String("t45227e2e-5637-470b-a7e****"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var cLBCheckLogTopicDemo = new Volcenginecc.Clb.CheckLogTopic("CLBCheckLogTopicDemo", new()
{
LoadBalancerId = "clb-minr2d8brqps5smt1ax***",
LogTopicId = "t45227e2e-5637-470b-a7e****",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.clb.CheckLogTopic;
import com.volcengine.volcenginecc.clb.CheckLogTopicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cLBCheckLogTopicDemo = new CheckLogTopic("cLBCheckLogTopicDemo", CheckLogTopicArgs.builder()
.loadBalancerId("clb-minr2d8brqps5smt1ax***")
.logTopicId("t45227e2e-5637-470b-a7e****")
.build());
}
}
resources:
cLBCheckLogTopicDemo:
type: volcenginecc:clb:CheckLogTopic
name: CLBCheckLogTopicDemo
properties:
loadBalancerId: clb-minr2d8brqps5smt1ax***
logTopicId: t45227e2e-5637-470b-a7e****
Example coming soon!
Create CheckLogTopic Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CheckLogTopic(name: string, args: CheckLogTopicArgs, opts?: CustomResourceOptions);@overload
def CheckLogTopic(resource_name: str,
args: CheckLogTopicArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CheckLogTopic(resource_name: str,
opts: Optional[ResourceOptions] = None,
load_balancer_id: Optional[str] = None,
log_topic_id: Optional[str] = None)func NewCheckLogTopic(ctx *Context, name string, args CheckLogTopicArgs, opts ...ResourceOption) (*CheckLogTopic, error)public CheckLogTopic(string name, CheckLogTopicArgs args, CustomResourceOptions? opts = null)
public CheckLogTopic(String name, CheckLogTopicArgs args)
public CheckLogTopic(String name, CheckLogTopicArgs args, CustomResourceOptions options)
type: volcenginecc:clb:CheckLogTopic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_clb_checklogtopic" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CheckLogTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CheckLogTopicArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CheckLogTopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CheckLogTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CheckLogTopicArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var checkLogTopicResource = new Volcenginecc.Clb.CheckLogTopic("checkLogTopicResource", new()
{
LoadBalancerId = "string",
LogTopicId = "string",
});
example, err := clb.NewCheckLogTopic(ctx, "checkLogTopicResource", &clb.CheckLogTopicArgs{
LoadBalancerId: pulumi.String("string"),
LogTopicId: pulumi.String("string"),
})
resource "volcenginecc_clb_checklogtopic" "checkLogTopicResource" {
load_balancer_id = "string"
log_topic_id = "string"
}
var checkLogTopicResource = new CheckLogTopic("checkLogTopicResource", CheckLogTopicArgs.builder()
.loadBalancerId("string")
.logTopicId("string")
.build());
check_log_topic_resource = volcenginecc.clb.CheckLogTopic("checkLogTopicResource",
load_balancer_id="string",
log_topic_id="string")
const checkLogTopicResource = new volcenginecc.clb.CheckLogTopic("checkLogTopicResource", {
loadBalancerId: "string",
logTopicId: "string",
});
type: volcenginecc:clb:CheckLogTopic
properties:
loadBalancerId: string
logTopicId: string
CheckLogTopic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CheckLogTopic resource accepts the following input properties:
- Load
Balancer stringId - CLB ID information that meets the criteria.
- Log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- Load
Balancer stringId - CLB ID information that meets the criteria.
- Log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load_
balancer_ stringid - CLB ID information that meets the criteria.
- log_
topic_ stringid - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer StringId - CLB ID information that meets the criteria.
- log
Topic StringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer stringId - CLB ID information that meets the criteria.
- log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load_
balancer_ strid - CLB ID information that meets the criteria.
- log_
topic_ strid - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer StringId - CLB ID information that meets the criteria.
- log
Topic StringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the CheckLogTopic resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CheckLogTopic Resource
Get an existing CheckLogTopic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CheckLogTopicState, opts?: CustomResourceOptions): CheckLogTopic@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
load_balancer_id: Optional[str] = None,
log_topic_id: Optional[str] = None) -> CheckLogTopicfunc GetCheckLogTopic(ctx *Context, name string, id IDInput, state *CheckLogTopicState, opts ...ResourceOption) (*CheckLogTopic, error)public static CheckLogTopic Get(string name, Input<string> id, CheckLogTopicState? state, CustomResourceOptions? opts = null)public static CheckLogTopic get(String name, Output<String> id, CheckLogTopicState state, CustomResourceOptions options)resources: _: type: volcenginecc:clb:CheckLogTopic get: id: ${id}import {
to = volcenginecc_clb_checklogtopic.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Load
Balancer stringId - CLB ID information that meets the criteria.
- Log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- Load
Balancer stringId - CLB ID information that meets the criteria.
- Log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load_
balancer_ stringid - CLB ID information that meets the criteria.
- log_
topic_ stringid - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer StringId - CLB ID information that meets the criteria.
- log
Topic StringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer stringId - CLB ID information that meets the criteria.
- log
Topic stringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load_
balancer_ strid - CLB ID information that meets the criteria.
- log_
topic_ strid - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
- load
Balancer StringId - CLB ID information that meets the criteria.
- log
Topic StringId - ID of the created log topic. You can call the DescribeTopics API to query the log topic ID.
Import
$ pulumi import volcenginecc:clb/checkLogTopic:CheckLogTopic example "load_balancer_id|log_topic_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Jun 11, 2026 by Volcengine