published on Monday, Jul 20, 2026 by Volcengine
published on Monday, Jul 20, 2026 by Volcengine
Resource representing the binding relationship between collection configuration and machine group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.tls.RuleBoundHostGroup("Example", {
hostGroupId: "38feb3b9-xxxxxx-a53b-de52cd9103d2",
ruleId: "09046b89-xxxx-90e5-5e878de6b710",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.tls.RuleBoundHostGroup("Example",
host_group_id="38feb3b9-xxxxxx-a53b-de52cd9103d2",
rule_id="09046b89-xxxx-90e5-5e878de6b710")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.NewRuleBoundHostGroup(ctx, "Example", &tls.RuleBoundHostGroupArgs{
HostGroupId: pulumi.String("38feb3b9-xxxxxx-a53b-de52cd9103d2"),
RuleId: pulumi.String("09046b89-xxxx-90e5-5e878de6b710"),
})
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 example = new Volcenginecc.Tls.RuleBoundHostGroup("Example", new()
{
HostGroupId = "38feb3b9-xxxxxx-a53b-de52cd9103d2",
RuleId = "09046b89-xxxx-90e5-5e878de6b710",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.tls.RuleBoundHostGroup;
import com.volcengine.volcenginecc.tls.RuleBoundHostGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new RuleBoundHostGroup("example", RuleBoundHostGroupArgs.builder()
.hostGroupId("38feb3b9-xxxxxx-a53b-de52cd9103d2")
.ruleId("09046b89-xxxx-90e5-5e878de6b710")
.build());
}
}
resources:
example:
type: volcenginecc:tls:RuleBoundHostGroup
name: Example
properties:
hostGroupId: 38feb3b9-xxxxxx-a53b-de52cd9103d2
ruleId: 09046b89-xxxx-90e5-5e878de6b710
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_tls_ruleboundhostgroup" "Example" {
host_group_id = "38feb3b9-xxxxxx-a53b-de52cd9103d2"
rule_id = "09046b89-xxxx-90e5-5e878de6b710"
}
Create RuleBoundHostGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuleBoundHostGroup(name: string, args: RuleBoundHostGroupArgs, opts?: CustomResourceOptions);@overload
def RuleBoundHostGroup(resource_name: str,
args: RuleBoundHostGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RuleBoundHostGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
host_group_id: Optional[str] = None,
rule_id: Optional[str] = None)func NewRuleBoundHostGroup(ctx *Context, name string, args RuleBoundHostGroupArgs, opts ...ResourceOption) (*RuleBoundHostGroup, error)public RuleBoundHostGroup(string name, RuleBoundHostGroupArgs args, CustomResourceOptions? opts = null)
public RuleBoundHostGroup(String name, RuleBoundHostGroupArgs args)
public RuleBoundHostGroup(String name, RuleBoundHostGroupArgs args, CustomResourceOptions options)
type: volcenginecc:tls:RuleBoundHostGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_tls_rule_bound_host_group" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RuleBoundHostGroupArgs
- 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 RuleBoundHostGroupArgs
- 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 RuleBoundHostGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleBoundHostGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuleBoundHostGroupArgs
- 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 ruleBoundHostGroupResource = new Volcenginecc.Tls.RuleBoundHostGroup("ruleBoundHostGroupResource", new()
{
HostGroupId = "string",
RuleId = "string",
});
example, err := tls.NewRuleBoundHostGroup(ctx, "ruleBoundHostGroupResource", &tls.RuleBoundHostGroupArgs{
HostGroupId: pulumi.String("string"),
RuleId: pulumi.String("string"),
})
resource "volcenginecc_tls_rule_bound_host_group" "ruleBoundHostGroupResource" {
lifecycle {
create_before_destroy = true
}
host_group_id = "string"
rule_id = "string"
}
var ruleBoundHostGroupResource = new RuleBoundHostGroup("ruleBoundHostGroupResource", RuleBoundHostGroupArgs.builder()
.hostGroupId("string")
.ruleId("string")
.build());
rule_bound_host_group_resource = volcenginecc.tls.RuleBoundHostGroup("ruleBoundHostGroupResource",
host_group_id="string",
rule_id="string")
const ruleBoundHostGroupResource = new volcenginecc.tls.RuleBoundHostGroup("ruleBoundHostGroupResource", {
hostGroupId: "string",
ruleId: "string",
});
type: volcenginecc:tls:RuleBoundHostGroup
properties:
hostGroupId: string
ruleId: string
RuleBoundHostGroup 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 RuleBoundHostGroup resource accepts the following input properties:
- Host
Group stringId - Machine group ID
- Rule
Id string - Collection configuration ID
- Host
Group stringId - Machine group ID
- Rule
Id string - Collection configuration ID
- host_
group_ stringid - Machine group ID
- rule_
id string - Collection configuration ID
- host
Group StringId - Machine group ID
- rule
Id String - Collection configuration ID
- host
Group stringId - Machine group ID
- rule
Id string - Collection configuration ID
- host_
group_ strid - Machine group ID
- rule_
id str - Collection configuration ID
- host
Group StringId - Machine group ID
- rule
Id String - Collection configuration ID
Outputs
All input properties are implicitly available as output properties. Additionally, the RuleBoundHostGroup resource produces the following output properties:
- Host
Group Volcengine.Rule Bound Host Group Host Group - Bound machine group configuration information
- Id string
- The provider-assigned unique ID for this managed resource.
- Host
Group RuleBound Host Group Host Group - Bound machine group configuration information
- Id string
- The provider-assigned unique ID for this managed resource.
- host_
group object - Bound machine group configuration information
- id string
- The provider-assigned unique ID for this managed resource.
- host
Group RuleBound Host Group Host Group - Bound machine group configuration information
- id String
- The provider-assigned unique ID for this managed resource.
- host
Group RuleBound Host Group Host Group - Bound machine group configuration information
- id string
- The provider-assigned unique ID for this managed resource.
- host_
group RuleBound Host Group Host Group - Bound machine group configuration information
- id str
- The provider-assigned unique ID for this managed resource.
- host
Group Property Map - Bound machine group configuration information
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RuleBoundHostGroup Resource
Get an existing RuleBoundHostGroup 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?: RuleBoundHostGroupState, opts?: CustomResourceOptions): RuleBoundHostGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
host_group: Optional[RuleBoundHostGroupHostGroupArgs] = None,
host_group_id: Optional[str] = None,
rule_id: Optional[str] = None) -> RuleBoundHostGroupfunc GetRuleBoundHostGroup(ctx *Context, name string, id IDInput, state *RuleBoundHostGroupState, opts ...ResourceOption) (*RuleBoundHostGroup, error)public static RuleBoundHostGroup Get(string name, Input<string> id, RuleBoundHostGroupState? state, CustomResourceOptions? opts = null)public static RuleBoundHostGroup get(String name, Output<String> id, RuleBoundHostGroupState state, CustomResourceOptions options)resources: _: type: volcenginecc:tls:RuleBoundHostGroup get: id: ${id}import {
to = volcenginecc_tls_rule_bound_host_group.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.
- Host
Group Volcengine.Rule Bound Host Group Host Group - Bound machine group configuration information
- Host
Group stringId - Machine group ID
- Rule
Id string - Collection configuration ID
- Host
Group RuleBound Host Group Host Group Args - Bound machine group configuration information
- Host
Group stringId - Machine group ID
- Rule
Id string - Collection configuration ID
- host_
group object - Bound machine group configuration information
- host_
group_ stringid - Machine group ID
- rule_
id string - Collection configuration ID
- host
Group RuleBound Host Group Host Group - Bound machine group configuration information
- host
Group StringId - Machine group ID
- rule
Id String - Collection configuration ID
- host
Group RuleBound Host Group Host Group - Bound machine group configuration information
- host
Group stringId - Machine group ID
- rule
Id string - Collection configuration ID
- host_
group RuleBound Host Group Host Group Args - Bound machine group configuration information
- host_
group_ strid - Machine group ID
- rule_
id str - Collection configuration ID
- host
Group Property Map - Bound machine group configuration information
- host
Group StringId - Machine group ID
- rule
Id String - Collection configuration ID
Supporting Types
RuleBoundHostGroupHostGroup, RuleBoundHostGroupHostGroupArgs
- Abnormal
Heartbeat intStatus Count - Number of machines with abnormal heartbeat status
- Agent
Latest stringVersion - Latest LogCollector version number available for upgrade
- Auto
Update bool - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- Create
Time string - Machine group creation time
- Host
Count int - Number of machines in the machine group
- Host
Group stringId - Machine group ID
- Host
Group stringName - Machine group name
- Host
Group stringType - Machine group type. IP: machine IP. Label: machine label.
- Host
Identifier string - Machine identifier
- Iam
Project stringName - IAM project associated with the machine group
- Modify
Time string - Machine group modification time
- Normal
Heartbeat intStatus Count - Number of machines with normal heartbeat status
- Rule
Count int - Number of collection configurations bound to the machine group
- Service
Logging bool - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- Update
End stringTime - LogCollector auto upgrade end time
- Update
Start stringTime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- Abnormal
Heartbeat intStatus Count - Number of machines with abnormal heartbeat status
- Agent
Latest stringVersion - Latest LogCollector version number available for upgrade
- Auto
Update bool - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- Create
Time string - Machine group creation time
- Host
Count int - Number of machines in the machine group
- Host
Group stringId - Machine group ID
- Host
Group stringName - Machine group name
- Host
Group stringType - Machine group type. IP: machine IP. Label: machine label.
- Host
Identifier string - Machine identifier
- Iam
Project stringName - IAM project associated with the machine group
- Modify
Time string - Machine group modification time
- Normal
Heartbeat intStatus Count - Number of machines with normal heartbeat status
- Rule
Count int - Number of collection configurations bound to the machine group
- Service
Logging bool - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- Update
End stringTime - LogCollector auto upgrade end time
- Update
Start stringTime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- abnormal_
heartbeat_ numberstatus_ count - Number of machines with abnormal heartbeat status
- agent_
latest_ stringversion - Latest LogCollector version number available for upgrade
- auto_
update bool - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- create_
time string - Machine group creation time
- host_
count number - Number of machines in the machine group
- host_
group_ stringid - Machine group ID
- host_
group_ stringname - Machine group name
- host_
group_ stringtype - Machine group type. IP: machine IP. Label: machine label.
- host_
identifier string - Machine identifier
- iam_
project_ stringname - IAM project associated with the machine group
- modify_
time string - Machine group modification time
- normal_
heartbeat_ numberstatus_ count - Number of machines with normal heartbeat status
- rule_
count number - Number of collection configurations bound to the machine group
- service_
logging bool - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- update_
end_ stringtime - LogCollector auto upgrade end time
- update_
start_ stringtime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- abnormal
Heartbeat IntegerStatus Count - Number of machines with abnormal heartbeat status
- agent
Latest StringVersion - Latest LogCollector version number available for upgrade
- auto
Update Boolean - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- create
Time String - Machine group creation time
- host
Count Integer - Number of machines in the machine group
- host
Group StringId - Machine group ID
- host
Group StringName - Machine group name
- host
Group StringType - Machine group type. IP: machine IP. Label: machine label.
- host
Identifier String - Machine identifier
- iam
Project StringName - IAM project associated with the machine group
- modify
Time String - Machine group modification time
- normal
Heartbeat IntegerStatus Count - Number of machines with normal heartbeat status
- rule
Count Integer - Number of collection configurations bound to the machine group
- service
Logging Boolean - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- update
End StringTime - LogCollector auto upgrade end time
- update
Start StringTime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- abnormal
Heartbeat numberStatus Count - Number of machines with abnormal heartbeat status
- agent
Latest stringVersion - Latest LogCollector version number available for upgrade
- auto
Update boolean - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- create
Time string - Machine group creation time
- host
Count number - Number of machines in the machine group
- host
Group stringId - Machine group ID
- host
Group stringName - Machine group name
- host
Group stringType - Machine group type. IP: machine IP. Label: machine label.
- host
Identifier string - Machine identifier
- iam
Project stringName - IAM project associated with the machine group
- modify
Time string - Machine group modification time
- normal
Heartbeat numberStatus Count - Number of machines with normal heartbeat status
- rule
Count number - Number of collection configurations bound to the machine group
- service
Logging boolean - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- update
End stringTime - LogCollector auto upgrade end time
- update
Start stringTime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- abnormal_
heartbeat_ intstatus_ count - Number of machines with abnormal heartbeat status
- agent_
latest_ strversion - Latest LogCollector version number available for upgrade
- auto_
update bool - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- create_
time str - Machine group creation time
- host_
count int - Number of machines in the machine group
- host_
group_ strid - Machine group ID
- host_
group_ strname - Machine group name
- host_
group_ strtype - Machine group type. IP: machine IP. Label: machine label.
- host_
identifier str - Machine identifier
- iam_
project_ strname - IAM project associated with the machine group
- modify_
time str - Machine group modification time
- normal_
heartbeat_ intstatus_ count - Number of machines with normal heartbeat status
- rule_
count int - Number of collection configurations bound to the machine group
- service_
logging bool - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- update_
end_ strtime - LogCollector auto upgrade end time
- update_
start_ strtime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
- abnormal
Heartbeat NumberStatus Count - Number of machines with abnormal heartbeat status
- agent
Latest StringVersion - Latest LogCollector version number available for upgrade
- auto
Update Boolean - Enable LogCollector auto upgrade on machine group servers. true: The log service will check upgrade conditions during the specified time period each day. If conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector will not upgrade automatically. To use a newer version, refer to the LogCollector upgrade procedure.
- create
Time String - Machine group creation time
- host
Count Number - Number of machines in the machine group
- host
Group StringId - Machine group ID
- host
Group StringName - Machine group name
- host
Group StringType - Machine group type. IP: machine IP. Label: machine label.
- host
Identifier String - Machine identifier
- iam
Project StringName - IAM project associated with the machine group
- modify
Time String - Machine group modification time
- normal
Heartbeat NumberStatus Count - Number of machines with normal heartbeat status
- rule
Count Number - Number of collection configurations bound to the machine group
- service
Logging Boolean - Enable LogCollector service log feature. true: enabled. false (default): disabled.
- update
End StringTime - LogCollector auto upgrade end time
- update
Start StringTime - LogCollector auto upgrade start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto upgrade during off-peak hours. LogCollector may restart during the upgrade process, but logs will not be lost.
Import
$ pulumi import volcenginecc:tls/ruleBoundHostGroup:RuleBoundHostGroup example "rule_id|host_group_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 Monday, Jul 20, 2026 by Volcengine