published on Thursday, Jun 11, 2026 by Volcengine
published on Thursday, Jun 11, 2026 by Volcengine
CLB provides health check log capabilities and allows you to create a log topic to store and manage CLB health check logs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const cLBCheckLogProjectDemo = new volcenginecc.clb.CheckLogProject("CLBCheckLogProjectDemo", {});
import pulumi
import pulumi_volcenginecc as volcenginecc
c_lb_check_log_project_demo = volcenginecc.clb.CheckLogProject("CLBCheckLogProjectDemo")
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.NewCheckLogProject(ctx, "CLBCheckLogProjectDemo", nil)
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 cLBCheckLogProjectDemo = new Volcenginecc.Clb.CheckLogProject("CLBCheckLogProjectDemo");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.clb.CheckLogProject;
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 cLBCheckLogProjectDemo = new CheckLogProject("cLBCheckLogProjectDemo");
}
}
resources:
cLBCheckLogProjectDemo:
type: volcenginecc:clb:CheckLogProject
name: CLBCheckLogProjectDemo
Example coming soon!
Create CheckLogProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CheckLogProject(name: string, args?: CheckLogProjectArgs, opts?: CustomResourceOptions);@overload
def CheckLogProject(resource_name: str,
args: Optional[CheckLogProjectArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CheckLogProject(resource_name: str,
opts: Optional[ResourceOptions] = None)func NewCheckLogProject(ctx *Context, name string, args *CheckLogProjectArgs, opts ...ResourceOption) (*CheckLogProject, error)public CheckLogProject(string name, CheckLogProjectArgs? args = null, CustomResourceOptions? opts = null)
public CheckLogProject(String name, CheckLogProjectArgs args)
public CheckLogProject(String name, CheckLogProjectArgs args, CustomResourceOptions options)
type: volcenginecc:clb:CheckLogProject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_clb_checklogproject" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CheckLogProjectArgs
- 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 CheckLogProjectArgs
- 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 CheckLogProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CheckLogProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CheckLogProjectArgs
- 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 checkLogProjectResource = new Volcenginecc.Clb.CheckLogProject("checkLogProjectResource");
example, err := clb.NewCheckLogProject(ctx, "checkLogProjectResource", nil)
resource "volcenginecc_clb_checklogproject" "checkLogProjectResource" {
}
var checkLogProjectResource = new CheckLogProject("checkLogProjectResource");
check_log_project_resource = volcenginecc.clb.CheckLogProject("checkLogProjectResource")
const checkLogProjectResource = new volcenginecc.clb.CheckLogProject("checkLogProjectResource", {});
type: volcenginecc:clb:CheckLogProject
properties: {}
CheckLogProject 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 CheckLogProject resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the CheckLogProject resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Project stringId - Log Project ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Project stringId - Log Project ID.
- id string
- The provider-assigned unique ID for this managed resource.
- log_
project_ stringid - Log Project ID.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Project StringId - Log Project ID.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Project stringId - Log Project ID.
- id str
- The provider-assigned unique ID for this managed resource.
- log_
project_ strid - Log Project ID.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Project StringId - Log Project ID.
Look up Existing CheckLogProject Resource
Get an existing CheckLogProject 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?: CheckLogProjectState, opts?: CustomResourceOptions): CheckLogProject@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
log_project_id: Optional[str] = None) -> CheckLogProjectfunc GetCheckLogProject(ctx *Context, name string, id IDInput, state *CheckLogProjectState, opts ...ResourceOption) (*CheckLogProject, error)public static CheckLogProject Get(string name, Input<string> id, CheckLogProjectState? state, CustomResourceOptions? opts = null)public static CheckLogProject get(String name, Output<String> id, CheckLogProjectState state, CustomResourceOptions options)resources: _: type: volcenginecc:clb:CheckLogProject get: id: ${id}import {
to = volcenginecc_clb_checklogproject.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.
- Log
Project stringId - Log Project ID.
- Log
Project stringId - Log Project ID.
- log_
project_ stringid - Log Project ID.
- log
Project StringId - Log Project ID.
- log
Project stringId - Log Project ID.
- log_
project_ strid - Log Project ID.
- log
Project StringId - Log Project ID.
Import
$ pulumi import volcenginecc:clb/checkLogProject:CheckLogProject example "log_project_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