Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.tls.HostGroupRules has been deprecated in favor of volcengine.tls.getHostGroupRules
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 HostGroupRules
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 hostGroupRules(args: HostGroupRulesArgs, opts?: InvokeOptions): Promise<HostGroupRulesResult>
function hostGroupRulesOutput(args: HostGroupRulesOutputArgs, opts?: InvokeOptions): Output<HostGroupRulesResult>def host_group_rules(host_group_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> HostGroupRulesResult
def host_group_rules_output(host_group_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[HostGroupRulesResult]func HostGroupRules(ctx *Context, args *HostGroupRulesArgs, opts ...InvokeOption) (*HostGroupRulesResult, error)
func HostGroupRulesOutput(ctx *Context, args *HostGroupRulesOutputArgs, opts ...InvokeOption) HostGroupRulesResultOutputpublic static class HostGroupRules
{
public static Task<HostGroupRulesResult> InvokeAsync(HostGroupRulesArgs args, InvokeOptions? opts = null)
public static Output<HostGroupRulesResult> Invoke(HostGroupRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<HostGroupRulesResult> hostGroupRules(HostGroupRulesArgs args, InvokeOptions options)
public static Output<HostGroupRulesResult> hostGroupRules(HostGroupRulesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:HostGroupRules
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.
HostGroupRules Result
The following output properties are available:
- Host
Group stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Infos List<HostGroup 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 []HostGroup 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<HostGroup 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 HostGroup 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[HostGroup 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
HostGroupRulesRuleInfo
- Container
Rules List<HostGroup Rules Rule Info Container Rule> - Container collection rules.
- Create
Time string - The create time of rule.
- Exclude
Paths List<HostGroup Rules Rule Info Exclude Path> - Collect the blacklist list.
- Extract
Rules List<HostGroup 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<HostRules Group Rules Rule Info User Define Rule> - User-defined collection rules.
- Container
Rules []HostGroup Rules Rule Info Container Rule - Container collection rules.
- Create
Time string - The create time of rule.
- Exclude
Paths []HostGroup Rules Rule Info Exclude Path - Collect the blacklist list.
- Extract
Rules []HostGroup 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 []HostRules Group Rules Rule Info User Define Rule - User-defined collection rules.
- container
Rules List<HostGroup Rules Rule Info Container Rule> - Container collection rules.
- create
Time String - The create time of rule.
- exclude
Paths List<HostGroup Rules Rule Info Exclude Path> - Collect the blacklist list.
- extract
Rules List<HostGroup 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<HostRules Group Rules Rule Info User Define Rule> - User-defined collection rules.
- container
Rules HostGroup Rules Rule Info Container Rule[] - Container collection rules.
- create
Time string - The create time of rule.
- exclude
Paths HostGroup Rules Rule Info Exclude Path[] - Collect the blacklist list.
- extract
Rules HostGroup 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 HostRules Group Rules Rule Info User Define Rule[] - User-defined collection rules.
- container_
rules Sequence[HostGroup Rules Rule Info Container Rule] - Container collection rules.
- create_
time str - The create time of rule.
- exclude_
paths Sequence[HostGroup Rules Rule Info Exclude Path] - Collect the blacklist list.
- extract_
rules Sequence[HostGroup 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[Hostrules 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.
HostGroupRulesRuleInfoContainerRule
- 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<HostGroup 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 []HostGroup 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<HostGroup 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 HostGroup 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[HostGroup 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
HostGroupRulesRuleInfoContainerRuleKubernetesRule
- 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
HostGroupRulesRuleInfoExcludePath
HostGroupRulesRuleInfoExtractRule
- Begin
Regex string - Delimiter string
- Filter
Key List<HostRegexes Group Rules Rule Info Extract Rule Filter Key Regex> - Keys List<string>
- Log
Regex string - Log
Templates List<HostGroup 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 []HostRegexes Group Rules Rule Info Extract Rule Filter Key Regex - Keys []string
- Log
Regex string - Log
Templates []HostGroup 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<HostRegexes Group Rules Rule Info Extract Rule Filter Key Regex> - keys List<String>
- log
Regex String - log
Templates List<HostGroup 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 HostRegexes Group Rules Rule Info Extract Rule Filter Key Regex[] - keys string[]
- log
Regex string - log
Templates HostGroup 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
HostGroupRulesRuleInfoExtractRuleFilterKeyRegex
HostGroupRulesRuleInfoExtractRuleLogTemplate
HostGroupRulesRuleInfoUserDefineRule
- Advanceds
List<Host
Group Rules Rule Info User Define Rule Advanced> - Enable
Raw boolLog - Fields Dictionary<string, string>
- Parse
Path List<HostRules Group Rules Rule Info User Define Rule Parse Path Rule> - Plugins
List<Host
Group Rules Rule Info User Define Rule Plugin> -
List<Host
Group Rules Rule Info User Define Rule Shard Hash Key> - Tail
Files bool
- advanceds
List<Host
Group Rules Rule Info User Define Rule Advanced> - enable
Raw BooleanLog - fields Map<String,String>
- parse
Path List<HostRules Group Rules Rule Info User Define Rule Parse Path Rule> - plugins
List<Host
Group Rules Rule Info User Define Rule Plugin> -
List<Host
Group Rules Rule Info User Define Rule Shard Hash Key> - tail
Files Boolean
- advanceds
Sequence[Host
Group Rules Rule Info User Define Rule Advanced] - enable_
raw_ boollog - fields Mapping[str, str]
- parse_
path_ Sequence[Hostrules Group Rules Rule Info User Define Rule Parse Path Rule] - plugins
Sequence[Host
Group Rules Rule Info User Define Rule Plugin] -
Sequence[Host
Group Rules Rule Info User Define Rule Shard Hash Key] - tail_
files bool
HostGroupRulesRuleInfoUserDefineRuleAdvanced
- 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
HostGroupRulesRuleInfoUserDefineRuleParsePathRule
- 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
HostGroupRulesRuleInfoUserDefineRulePlugin
- Processors List<string>
- Processors []string
- processors List<String>
- processors string[]
- processors Sequence[str]
- processors List<String>
HostGroupRulesRuleInfoUserDefineRuleShardHashKey
- 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.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
