1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. waf
  6. getHostGroup
Viewing docs for bytepluscc v0.0.39
published on Thursday, Jul 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.39
published on Thursday, Jul 9, 2026 by Byteplus

    Data Source schema for Byteplus::WAF::HostGroup

    Using getHostGroup

    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 getHostGroup(args: GetHostGroupArgs, opts?: InvokeOptions): Promise<GetHostGroupResult>
    function getHostGroupOutput(args: GetHostGroupOutputArgs, opts?: InvokeOptions): Output<GetHostGroupResult>
    def get_host_group(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetHostGroupResult
    def get_host_group_output(id: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetHostGroupResult]
    func LookupHostGroup(ctx *Context, args *LookupHostGroupArgs, opts ...InvokeOption) (*LookupHostGroupResult, error)
    func LookupHostGroupOutput(ctx *Context, args *LookupHostGroupOutputArgs, opts ...InvokeOption) LookupHostGroupResultOutput

    > Note: This function is named LookupHostGroup in the Go SDK.

    public static class GetHostGroup 
    {
        public static Task<GetHostGroupResult> InvokeAsync(GetHostGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetHostGroupResult> Invoke(GetHostGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHostGroupResult> getHostGroup(GetHostGroupArgs args, InvokeOptions options)
    public static Output<GetHostGroupResult> getHostGroup(GetHostGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:waf/getHostGroup:getHostGroup
      arguments:
        # arguments dictionary
    data "bytepluscc_waf_gethostgroup" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getHostGroup Result

    The following output properties are available:

    Description string
    Domain group description.
    HostCount int
    Number of domains in the domain group.
    HostGroupId string
    Domain group ID.
    HostLists List<string>
    Domains in the domain group. The list can be filtered by the first element.
    Id string
    Uniquely identifies the resource.
    Name string
    Domain group name.
    ProjectName string
    Project name.
    RelatedRules List<Byteplus.GetHostGroupRelatedRule>
    Associated rule list.
    UpdateTime string
    Domain group update time.
    Description string
    Domain group description.
    HostCount int
    Number of domains in the domain group.
    HostGroupId string
    Domain group ID.
    HostLists []string
    Domains in the domain group. The list can be filtered by the first element.
    Id string
    Uniquely identifies the resource.
    Name string
    Domain group name.
    ProjectName string
    Project name.
    RelatedRules []GetHostGroupRelatedRule
    Associated rule list.
    UpdateTime string
    Domain group update time.
    description string
    Domain group description.
    host_count number
    Number of domains in the domain group.
    host_group_id string
    Domain group ID.
    host_lists list(string)
    Domains in the domain group. The list can be filtered by the first element.
    id string
    Uniquely identifies the resource.
    name string
    Domain group name.
    project_name string
    Project name.
    related_rules list(object)
    Associated rule list.
    update_time string
    Domain group update time.
    description String
    Domain group description.
    hostCount Integer
    Number of domains in the domain group.
    hostGroupId String
    Domain group ID.
    hostLists List<String>
    Domains in the domain group. The list can be filtered by the first element.
    id String
    Uniquely identifies the resource.
    name String
    Domain group name.
    projectName String
    Project name.
    relatedRules List<GetHostGroupRelatedRule>
    Associated rule list.
    updateTime String
    Domain group update time.
    description string
    Domain group description.
    hostCount number
    Number of domains in the domain group.
    hostGroupId string
    Domain group ID.
    hostLists string[]
    Domains in the domain group. The list can be filtered by the first element.
    id string
    Uniquely identifies the resource.
    name string
    Domain group name.
    projectName string
    Project name.
    relatedRules GetHostGroupRelatedRule[]
    Associated rule list.
    updateTime string
    Domain group update time.
    description str
    Domain group description.
    host_count int
    Number of domains in the domain group.
    host_group_id str
    Domain group ID.
    host_lists Sequence[str]
    Domains in the domain group. The list can be filtered by the first element.
    id str
    Uniquely identifies the resource.
    name str
    Domain group name.
    project_name str
    Project name.
    related_rules Sequence[GetHostGroupRelatedRule]
    Associated rule list.
    update_time str
    Domain group update time.
    description String
    Domain group description.
    hostCount Number
    Number of domains in the domain group.
    hostGroupId String
    Domain group ID.
    hostLists List<String>
    Domains in the domain group. The list can be filtered by the first element.
    id String
    Uniquely identifies the resource.
    name String
    Domain group name.
    projectName String
    Project name.
    relatedRules List<Property Map>
    Associated rule list.
    updateTime String
    Domain group update time.

    Supporting Types

    GetHostGroupRelatedRule

    RuleName string
    Rule name.
    RuleTag string
    Rule ID.
    RuleType string
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    RuleName string
    Rule name.
    RuleTag string
    Rule ID.
    RuleType string
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    rule_name string
    Rule name.
    rule_tag string
    Rule ID.
    rule_type string
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    ruleName String
    Rule name.
    ruleTag String
    Rule ID.
    ruleType String
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    ruleName string
    Rule name.
    ruleTag string
    Rule ID.
    ruleType string
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    rule_name str
    Rule name.
    rule_tag str
    Rule ID.
    rule_type str
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.
    ruleName String
    Rule name.
    ruleTag String
    Rule ID.
    ruleType String
    Rule type. Allow indicates an allowlist, Block indicates a blocklist.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.39
    published on Thursday, Jul 9, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial