Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of tls host group rules
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getHostGroupRules({
hostGroupId: "4af86d32-cb9c-4eac-adb1-75f2567789be",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_host_group_rules(host_group_id="4af86d32-cb9c-4eac-adb1-75f2567789be")
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.GetHostGroupRules(ctx, &tls.GetHostGroupRulesArgs{
HostGroupId: "4af86d32-cb9c-4eac-adb1-75f2567789be",
}, 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.GetHostGroupRules.Invoke(new()
{
HostGroupId = "4af86d32-cb9c-4eac-adb1-75f2567789be",
});
});
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.GetHostGroupRulesArgs;
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.getHostGroupRules(GetHostGroupRulesArgs.builder()
.hostGroupId("4af86d32-cb9c-4eac-adb1-75f2567789be")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getHostGroupRules
Arguments:
hostGroupId: 4af86d32-cb9c-4eac-adb1-75f2567789be
Using getHostGroupRules
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 getHostGroupRules(args: GetHostGroupRulesArgs, opts?: InvokeOptions): Promise<GetHostGroupRulesResult>
function getHostGroupRulesOutput(args: GetHostGroupRulesOutputArgs, opts?: InvokeOptions): Output<GetHostGroupRulesResult>def get_host_group_rules(host_group_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHostGroupRulesResult
def get_host_group_rules_output(host_group_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHostGroupRulesResult]func GetHostGroupRules(ctx *Context, args *GetHostGroupRulesArgs, opts ...InvokeOption) (*GetHostGroupRulesResult, error)
func GetHostGroupRulesOutput(ctx *Context, args *GetHostGroupRulesOutputArgs, opts ...InvokeOption) GetHostGroupRulesResultOutput> Note: This function is named GetHostGroupRules in the Go SDK.
public static class GetHostGroupRules
{
public static Task<GetHostGroupRulesResult> InvokeAsync(GetHostGroupRulesArgs args, InvokeOptions? opts = null)
public static Output<GetHostGroupRulesResult> Invoke(GetHostGroupRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHostGroupRulesResult> getHostGroupRules(GetHostGroupRulesArgs args, InvokeOptions options)
public static Output<GetHostGroupRulesResult> getHostGroupRules(GetHostGroupRulesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getHostGroupRules:getHostGroupRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Host
Group stringId - The id of host group.
- Output
File string - File name where to save data source results.
- Host
Group stringId - The id of host group.
- Output
File string - File name where to save data source results.
- host
Group StringId - The id of host group.
- output
File String - File name where to save data source results.
- host
Group stringId - The id of host group.
- output
File string - File name where to save data source results.
- host_
group_ strid - The id of host group.
- output_
file str - File name where to save data source results.
- host
Group StringId - The id of host group.
- output
File String - File name where to save data source results.
getHostGroupRules Result
The following output properties are available:
- Host
Group stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Infos List<GetHost Group Rules Rule Info> - The collection of rule info.
- Total
Count int - The total count of query.
- Output
File string
- Host
Group stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Infos []GetHost Group Rules Rule Info - The collection of rule info.
- Total
Count int - The total count of query.
- Output
File string
- host
Group StringId - id String
- The provider-assigned unique ID for this managed resource.
- rule
Infos List<GetHost Group Rules Rule Info> - The collection of rule info.
- total
Count Integer - The total count of query.
- output
File String
- host
Group stringId - id string
- The provider-assigned unique ID for this managed resource.
- rule
Infos GetHost Group Rules Rule Info[] - The collection of rule info.
- total
Count number - The total count of query.
- output
File string
- host_
group_ strid - id str
- The provider-assigned unique ID for this managed resource.
- rule_
infos Sequence[GetHost Group Rules Rule Info] - The collection of rule info.
- total_
count int - The total count of query.
- output_
file str
- host
Group StringId - id String
- The provider-assigned unique ID for this managed resource.
- rule
Infos List<Property Map> - The collection of rule info.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
GetHostGroupRulesRuleInfo
- Container
Rules List<GetHost Group Rules Rule Info Container Rule> - Container collection rules.
- Create
Time string - The create time of rule.
- Exclude
Paths List<GetHost Group Rules Rule Info Exclude Path> - Collect the blacklist list.
- Extract
Rules List<GetHost Group Rules Rule Info Extract Rule> - The extract rule.
- Input
Type int - The type of input.
- Log
Sample string - The sample of the log.
- Log
Type string - The type of log.
- Modify
Time string - The modify time of rule.
- Paths List<string>
- The paths of rule.
- Pause int
- The pause status of rule.
- Rule
Id string - The id of rule.
- Rule
Name string - The name of rule.
- Topic
Id string - The id of topic.
- Topic
Name string - The name of topic.
- User
Define List<GetRules Host Group Rules Rule Info User Define Rule> - User-defined collection rules.
- Container
Rules []GetHost Group Rules Rule Info Container Rule - Container collection rules.
- Create
Time string - The create time of rule.
- Exclude
Paths []GetHost Group Rules Rule Info Exclude Path - Collect the blacklist list.
- Extract
Rules []GetHost Group Rules Rule Info Extract Rule - The extract rule.
- Input
Type int - The type of input.
- Log
Sample string - The sample of the log.
- Log
Type string - The type of log.
- Modify
Time string - The modify time of rule.
- Paths []string
- The paths of rule.
- Pause int
- The pause status of rule.
- Rule
Id string - The id of rule.
- Rule
Name string - The name of rule.
- Topic
Id string - The id of topic.
- Topic
Name string - The name of topic.
- User
Define []GetRules Host Group Rules Rule Info User Define Rule - User-defined collection rules.
- container
Rules List<GetHost Group Rules Rule Info Container Rule> - Container collection rules.
- create
Time String - The create time of rule.
- exclude
Paths List<GetHost Group Rules Rule Info Exclude Path> - Collect the blacklist list.
- extract
Rules List<GetHost Group Rules Rule Info Extract Rule> - The extract rule.
- input
Type Integer - The type of input.
- log
Sample String - The sample of the log.
- log
Type String - The type of log.
- modify
Time String - The modify time of rule.
- paths List<String>
- The paths of rule.
- pause Integer
- The pause status of rule.
- rule
Id String - The id of rule.
- rule
Name String - The name of rule.
- topic
Id String - The id of topic.
- topic
Name String - The name of topic.
- user
Define List<GetRules Host Group Rules Rule Info User Define Rule> - User-defined collection rules.
- container
Rules GetHost Group Rules Rule Info Container Rule[] - Container collection rules.
- create
Time string - The create time of rule.
- exclude
Paths GetHost Group Rules Rule Info Exclude Path[] - Collect the blacklist list.
- extract
Rules GetHost Group Rules Rule Info Extract Rule[] - The extract rule.
- input
Type number - The type of input.
- log
Sample string - The sample of the log.
- log
Type string - The type of log.
- modify
Time string - The modify time of rule.
- paths string[]
- The paths of rule.
- pause number
- The pause status of rule.
- rule
Id string - The id of rule.
- rule
Name string - The name of rule.
- topic
Id string - The id of topic.
- topic
Name string - The name of topic.
- user
Define GetRules Host Group Rules Rule Info User Define Rule[] - User-defined collection rules.
- container_
rules Sequence[GetHost Group Rules Rule Info Container Rule] - Container collection rules.
- create_
time str - The create time of rule.
- exclude_
paths Sequence[GetHost Group Rules Rule Info Exclude Path] - Collect the blacklist list.
- extract_
rules Sequence[GetHost Group Rules Rule Info Extract Rule] - The extract rule.
- input_
type int - The type of input.
- log_
sample str - The sample of the log.
- log_
type str - The type of log.
- modify_
time str - The modify time of rule.
- paths Sequence[str]
- The paths of rule.
- pause int
- The pause status of rule.
- rule_
id str - The id of rule.
- rule_
name str - The name of rule.
- topic_
id str - The id of topic.
- topic_
name str - The name of topic.
- user_
define_ Sequence[Getrules Host Group Rules Rule Info User Define Rule] - User-defined collection rules.
- container
Rules List<Property Map> - Container collection rules.
- create
Time String - The create time of rule.
- exclude
Paths List<Property Map> - Collect the blacklist list.
- extract
Rules List<Property Map> - The extract rule.
- input
Type Number - The type of input.
- log
Sample String - The sample of the log.
- log
Type String - The type of log.
- modify
Time String - The modify time of rule.
- paths List<String>
- The paths of rule.
- pause Number
- The pause status of rule.
- rule
Id String - The id of rule.
- rule
Name String - The name of rule.
- topic
Id String - The id of topic.
- topic
Name String - The name of topic.
- user
Define List<Property Map>Rules - User-defined collection rules.
GetHostGroupRulesRuleInfoContainerRule
- Container
Name stringRegex - Env
Tag Dictionary<string, string> - Exclude
Container Dictionary<string, string>Env Regex - Exclude
Container Dictionary<string, string>Label Regex - Include
Container Dictionary<string, string>Env Regex - Include
Container Dictionary<string, string>Label Regex - Kubernetes
Rules List<GetHost Group Rules Rule Info Container Rule Kubernetes Rule> - Stream string
- Container
Name stringRegex - Env
Tag map[string]string - Exclude
Container map[string]stringEnv Regex - Exclude
Container map[string]stringLabel Regex - Include
Container map[string]stringEnv Regex - Include
Container map[string]stringLabel Regex - Kubernetes
Rules []GetHost Group Rules Rule Info Container Rule Kubernetes Rule - Stream string
- container
Name StringRegex - env
Tag Map<String,String> - exclude
Container Map<String,String>Env Regex - exclude
Container Map<String,String>Label Regex - include
Container Map<String,String>Env Regex - include
Container Map<String,String>Label Regex - kubernetes
Rules List<GetHost Group Rules Rule Info Container Rule Kubernetes Rule> - stream String
- container
Name stringRegex - env
Tag {[key: string]: string} - exclude
Container {[key: string]: string}Env Regex - exclude
Container {[key: string]: string}Label Regex - include
Container {[key: string]: string}Env Regex - include
Container {[key: string]: string}Label Regex - kubernetes
Rules GetHost Group Rules Rule Info Container Rule Kubernetes Rule[] - stream string
- container_
name_ strregex - env_
tag Mapping[str, str] - exclude_
container_ Mapping[str, str]env_ regex - exclude_
container_ Mapping[str, str]label_ regex - include_
container_ Mapping[str, str]env_ regex - include_
container_ Mapping[str, str]label_ regex - kubernetes_
rules Sequence[GetHost Group Rules Rule Info Container Rule Kubernetes Rule] - stream str
- container
Name StringRegex - env
Tag Map<String> - exclude
Container Map<String>Env Regex - exclude
Container Map<String>Label Regex - include
Container Map<String>Env Regex - include
Container Map<String>Label Regex - kubernetes
Rules List<Property Map> - stream String
GetHostGroupRulesRuleInfoContainerRuleKubernetesRule
- Annotation
Tag Dictionary<string, string> - Exclude
Pod Dictionary<string, string>Label Regex - Include
Pod Dictionary<string, string>Label Regex - Label
Tag Dictionary<string, string> - Namespace
Name stringRegex - Pod
Name stringRegex - Workload
Name stringRegex - Workload
Type string
- Annotation
Tag map[string]string - Exclude
Pod map[string]stringLabel Regex - Include
Pod map[string]stringLabel Regex - Label
Tag map[string]string - Namespace
Name stringRegex - Pod
Name stringRegex - Workload
Name stringRegex - Workload
Type string
- annotation
Tag Map<String,String> - exclude
Pod Map<String,String>Label Regex - include
Pod Map<String,String>Label Regex - label
Tag Map<String,String> - namespace
Name StringRegex - pod
Name StringRegex - workload
Name StringRegex - workload
Type String
- annotation
Tag {[key: string]: string} - exclude
Pod {[key: string]: string}Label Regex - include
Pod {[key: string]: string}Label Regex - label
Tag {[key: string]: string} - namespace
Name stringRegex - pod
Name stringRegex - workload
Name stringRegex - workload
Type string
- annotation_
tag Mapping[str, str] - exclude_
pod_ Mapping[str, str]label_ regex - include_
pod_ Mapping[str, str]label_ regex - label_
tag Mapping[str, str] - namespace_
name_ strregex - pod_
name_ strregex - workload_
name_ strregex - workload_
type str
- annotation
Tag Map<String> - exclude
Pod Map<String>Label Regex - include
Pod Map<String>Label Regex - label
Tag Map<String> - namespace
Name StringRegex - pod
Name StringRegex - workload
Name StringRegex - workload
Type String
GetHostGroupRulesRuleInfoExcludePath
GetHostGroupRulesRuleInfoExtractRule
- Begin
Regex string - Delimiter string
- Filter
Key List<GetRegexes Host Group Rules Rule Info Extract Rule Filter Key Regex> - Keys List<string>
- Log
Regex string - Log
Templates List<GetHost Group Rules Rule Info Extract Rule Log Template> - Time
Format string - Time
Key string - Un
Match stringLog Key - Un
Match boolUp Load Switch
- Begin
Regex string - Delimiter string
- Filter
Key []GetRegexes Host Group Rules Rule Info Extract Rule Filter Key Regex - Keys []string
- Log
Regex string - Log
Templates []GetHost Group Rules Rule Info Extract Rule Log Template - Time
Format string - Time
Key string - Un
Match stringLog Key - Un
Match boolUp Load Switch
- begin
Regex String - delimiter String
- filter
Key List<GetRegexes Host Group Rules Rule Info Extract Rule Filter Key Regex> - keys List<String>
- log
Regex String - log
Templates List<GetHost Group Rules Rule Info Extract Rule Log Template> - time
Format String - time
Key String - un
Match StringLog Key - un
Match BooleanUp Load Switch
- begin
Regex string - delimiter string
- filter
Key GetRegexes Host Group Rules Rule Info Extract Rule Filter Key Regex[] - keys string[]
- log
Regex string - log
Templates GetHost Group Rules Rule Info Extract Rule Log Template[] - time
Format string - time
Key string - un
Match stringLog Key - un
Match booleanUp Load Switch
- begin
Regex String - delimiter String
- filter
Key List<Property Map>Regexes - keys List<String>
- log
Regex String - log
Templates List<Property Map> - time
Format String - time
Key String - un
Match StringLog Key - un
Match BooleanUp Load Switch
GetHostGroupRulesRuleInfoExtractRuleFilterKeyRegex
GetHostGroupRulesRuleInfoExtractRuleLogTemplate
GetHostGroupRulesRuleInfoUserDefineRule
- Advanceds
List<Get
Host Group Rules Rule Info User Define Rule Advanced> - Enable
Raw boolLog - Fields Dictionary<string, string>
- Parse
Path List<GetRules Host Group Rules Rule Info User Define Rule Parse Path Rule> - Plugins
List<Get
Host Group Rules Rule Info User Define Rule Plugin> -
List<Get
Host Group Rules Rule Info User Define Rule Shard Hash Key> - Tail
Files bool
- advanceds
List<Get
Host Group Rules Rule Info User Define Rule Advanced> - enable
Raw BooleanLog - fields Map<String,String>
- parse
Path List<GetRules Host Group Rules Rule Info User Define Rule Parse Path Rule> - plugins
List<Get
Host Group Rules Rule Info User Define Rule Plugin> -
List<Get
Host Group Rules Rule Info User Define Rule Shard Hash Key> - tail
Files Boolean
- advanceds
Get
Host Group Rules Rule Info User Define Rule Advanced[] - enable
Raw booleanLog - fields {[key: string]: string}
- parse
Path GetRules Host Group Rules Rule Info User Define Rule Parse Path Rule[] - plugins
Get
Host Group Rules Rule Info User Define Rule Plugin[] -
Get
Host Group Rules Rule Info User Define Rule Shard Hash Key[] - tail
Files boolean
- advanceds
Sequence[Get
Host Group Rules Rule Info User Define Rule Advanced] - enable_
raw_ boollog - fields Mapping[str, str]
- parse_
path_ Sequence[Getrules Host Group Rules Rule Info User Define Rule Parse Path Rule] - plugins
Sequence[Get
Host Group Rules Rule Info User Define Rule Plugin] -
Sequence[Get
Host Group Rules Rule Info User Define Rule Shard Hash Key] - tail_
files bool
GetHostGroupRulesRuleInfoUserDefineRuleAdvanced
- Close
Eof bool - Close
Inactive int - Close
Removed bool - Close
Renamed bool - Close
Timeout int
- Close
Eof bool - Close
Inactive int - Close
Removed bool - Close
Renamed bool - Close
Timeout int
- close
Eof Boolean - close
Inactive Integer - close
Removed Boolean - close
Renamed Boolean - close
Timeout Integer
- close
Eof boolean - close
Inactive number - close
Removed boolean - close
Renamed boolean - close
Timeout number
- close_
eof bool - close_
inactive int - close_
removed bool - close_
renamed bool - close_
timeout int
- close
Eof Boolean - close
Inactive Number - close
Removed Boolean - close
Renamed Boolean - close
Timeout Number
GetHostGroupRulesRuleInfoUserDefineRuleParsePathRule
- Keys List<string>
- Path
Sample string - Regex string
- Keys []string
- Path
Sample string - Regex string
- keys List<String>
- path
Sample String - regex String
- keys string[]
- path
Sample string - regex string
- keys Sequence[str]
- path_
sample str - regex str
- keys List<String>
- path
Sample String - regex String
GetHostGroupRulesRuleInfoUserDefineRulePlugin
- Processors List<string>
- Processors []string
- processors List<String>
- processors string[]
- processors Sequence[str]
- processors List<String>
GetHostGroupRulesRuleInfoUserDefineRuleShardHashKey
- Hash
Key string
- Hash
Key string
- hash
Key String
- hash
Key string
- hash_
key str
- hash
Key String
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
