1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. RuleBoundHostGroups
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.tls.RuleBoundHostGroups has been deprecated in favor of volcengine.tls.getRuleBoundHostGroups

    Use this data source to query detailed information of tls rule bound host groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.getRuleBoundHostGroups({
        ruleId: "83ac687a-0e2b-4788-b626-3dce18498740",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.get_rule_bound_host_groups(rule_id="83ac687a-0e2b-4788-b626-3dce18498740")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.GetRuleBoundHostGroups(ctx, &tls.GetRuleBoundHostGroupsArgs{
    			RuleId: "83ac687a-0e2b-4788-b626-3dce18498740",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Tls.GetRuleBoundHostGroups.Invoke(new()
        {
            RuleId = "83ac687a-0e2b-4788-b626-3dce18498740",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.GetRuleBoundHostGroupsArgs;
    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) {
            final var default = TlsFunctions.getRuleBoundHostGroups(GetRuleBoundHostGroupsArgs.builder()
                .ruleId("83ac687a-0e2b-4788-b626-3dce18498740")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:getRuleBoundHostGroups
          Arguments:
            ruleId: 83ac687a-0e2b-4788-b626-3dce18498740
    

    Using RuleBoundHostGroups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function ruleBoundHostGroups(args: RuleBoundHostGroupsArgs, opts?: InvokeOptions): Promise<RuleBoundHostGroupsResult>
    function ruleBoundHostGroupsOutput(args: RuleBoundHostGroupsOutputArgs, opts?: InvokeOptions): Output<RuleBoundHostGroupsResult>
    def rule_bound_host_groups(output_file: Optional[str] = None,
                               rule_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> RuleBoundHostGroupsResult
    def rule_bound_host_groups_output(output_file: Optional[pulumi.Input[str]] = None,
                               rule_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[RuleBoundHostGroupsResult]
    func RuleBoundHostGroups(ctx *Context, args *RuleBoundHostGroupsArgs, opts ...InvokeOption) (*RuleBoundHostGroupsResult, error)
    func RuleBoundHostGroupsOutput(ctx *Context, args *RuleBoundHostGroupsOutputArgs, opts ...InvokeOption) RuleBoundHostGroupsResultOutput
    public static class RuleBoundHostGroups 
    {
        public static Task<RuleBoundHostGroupsResult> InvokeAsync(RuleBoundHostGroupsArgs args, InvokeOptions? opts = null)
        public static Output<RuleBoundHostGroupsResult> Invoke(RuleBoundHostGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RuleBoundHostGroupsResult> ruleBoundHostGroups(RuleBoundHostGroupsArgs args, InvokeOptions options)
    public static Output<RuleBoundHostGroupsResult> ruleBoundHostGroups(RuleBoundHostGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls:RuleBoundHostGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RuleId string
    The ID of the rule.
    OutputFile string
    File name where to save data source results.
    RuleId string
    The ID of the rule.
    OutputFile string
    File name where to save data source results.
    ruleId String
    The ID of the rule.
    outputFile String
    File name where to save data source results.
    ruleId string
    The ID of the rule.
    outputFile string
    File name where to save data source results.
    rule_id str
    The ID of the rule.
    output_file str
    File name where to save data source results.
    ruleId String
    The ID of the rule.
    outputFile String
    File name where to save data source results.

    RuleBoundHostGroups Result

    The following output properties are available:

    HostGroups List<RuleBoundHostGroupsHostGroup>
    The collection of Host Group query.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    TotalCount int
    The total count of query.
    OutputFile string
    HostGroups []RuleBoundHostGroupsHostGroup
    The collection of Host Group query.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    TotalCount int
    The total count of query.
    OutputFile string
    hostGroups List<RuleBoundHostGroupsHostGroup>
    The collection of Host Group query.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    totalCount Integer
    The total count of query.
    outputFile String
    hostGroups RuleBoundHostGroupsHostGroup[]
    The collection of Host Group query.
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId string
    totalCount number
    The total count of query.
    outputFile string
    host_groups Sequence[RuleBoundHostGroupsHostGroup]
    The collection of Host Group query.
    id str
    The provider-assigned unique ID for this managed resource.
    rule_id str
    total_count int
    The total count of query.
    output_file str
    hostGroups List<Property Map>
    The collection of Host Group query.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    RuleBoundHostGroupsHostGroup

    AutoUpdate bool
    Whether to enable auto update.
    CreateTime string
    The creation time of the host group.
    HostGroupId string
    The ID of the host group.
    HostGroupName string
    The name of the host group.
    HostGroupType string
    The type of the host group.
    HostIdentifier string
    The identifier of the host.
    IamProjectName string
    The name of the iam project.
    ModifyTime string
    The modification time of the host group.
    ServiceLogging bool
    Whether to enable service logging.
    UpdateEndTime string
    The end time of auto update.
    UpdateStartTime string
    The start time of auto update.
    AutoUpdate bool
    Whether to enable auto update.
    CreateTime string
    The creation time of the host group.
    HostGroupId string
    The ID of the host group.
    HostGroupName string
    The name of the host group.
    HostGroupType string
    The type of the host group.
    HostIdentifier string
    The identifier of the host.
    IamProjectName string
    The name of the iam project.
    ModifyTime string
    The modification time of the host group.
    ServiceLogging bool
    Whether to enable service logging.
    UpdateEndTime string
    The end time of auto update.
    UpdateStartTime string
    The start time of auto update.
    autoUpdate Boolean
    Whether to enable auto update.
    createTime String
    The creation time of the host group.
    hostGroupId String
    The ID of the host group.
    hostGroupName String
    The name of the host group.
    hostGroupType String
    The type of the host group.
    hostIdentifier String
    The identifier of the host.
    iamProjectName String
    The name of the iam project.
    modifyTime String
    The modification time of the host group.
    serviceLogging Boolean
    Whether to enable service logging.
    updateEndTime String
    The end time of auto update.
    updateStartTime String
    The start time of auto update.
    autoUpdate boolean
    Whether to enable auto update.
    createTime string
    The creation time of the host group.
    hostGroupId string
    The ID of the host group.
    hostGroupName string
    The name of the host group.
    hostGroupType string
    The type of the host group.
    hostIdentifier string
    The identifier of the host.
    iamProjectName string
    The name of the iam project.
    modifyTime string
    The modification time of the host group.
    serviceLogging boolean
    Whether to enable service logging.
    updateEndTime string
    The end time of auto update.
    updateStartTime string
    The start time of auto update.
    auto_update bool
    Whether to enable auto update.
    create_time str
    The creation time of the host group.
    host_group_id str
    The ID of the host group.
    host_group_name str
    The name of the host group.
    host_group_type str
    The type of the host group.
    host_identifier str
    The identifier of the host.
    iam_project_name str
    The name of the iam project.
    modify_time str
    The modification time of the host group.
    service_logging bool
    Whether to enable service logging.
    update_end_time str
    The end time of auto update.
    update_start_time str
    The start time of auto update.
    autoUpdate Boolean
    Whether to enable auto update.
    createTime String
    The creation time of the host group.
    hostGroupId String
    The ID of the host group.
    hostGroupName String
    The name of the host group.
    hostGroupType String
    The type of the host group.
    hostIdentifier String
    The identifier of the host.
    iamProjectName String
    The name of the iam project.
    modifyTime String
    The modification time of the host group.
    serviceLogging Boolean
    Whether to enable service logging.
    updateEndTime String
    The end time of auto update.
    updateStartTime String
    The start time of auto update.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate