Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.waf.HostGroups
Explore with Pulumi AI
Deprecated: volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups
Use this data source to query detailed information of waf host groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.waf.getHostGroups({
hostFix: "www.tf-test.com",
timeOrderBy: "DESC",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.waf.get_host_groups(host_fix="www.tf-test.com",
time_order_by="DESC")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := waf.GetHostGroups(ctx, &waf.GetHostGroupsArgs{
HostFix: pulumi.StringRef("www.tf-test.com"),
TimeOrderBy: "DESC",
}, 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 foo = Volcengine.Waf.GetHostGroups.Invoke(new()
{
HostFix = "www.tf-test.com",
TimeOrderBy = "DESC",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.waf.WafFunctions;
import com.pulumi.volcengine.waf.inputs.GetHostGroupsArgs;
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 foo = WafFunctions.getHostGroups(GetHostGroupsArgs.builder()
.hostFix("www.tf-test.com")
.timeOrderBy("DESC")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:waf:getHostGroups
Arguments:
hostFix: www.tf-test.com
timeOrderBy: DESC
Using HostGroups
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 hostGroups(args: HostGroupsArgs, opts?: InvokeOptions): Promise<HostGroupsResult>
function hostGroupsOutput(args: HostGroupsOutputArgs, opts?: InvokeOptions): Output<HostGroupsResult>
def host_groups(host_fix: Optional[str] = None,
host_group_id: Optional[int] = None,
ids: Optional[Sequence[str]] = None,
list_all: Optional[bool] = None,
name_fix: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
rule_tag: Optional[str] = None,
time_order_by: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> HostGroupsResult
def host_groups_output(host_fix: Optional[pulumi.Input[str]] = None,
host_group_id: Optional[pulumi.Input[int]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
list_all: Optional[pulumi.Input[bool]] = None,
name_fix: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
rule_tag: Optional[pulumi.Input[str]] = None,
time_order_by: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[HostGroupsResult]
func HostGroups(ctx *Context, args *HostGroupsArgs, opts ...InvokeOption) (*HostGroupsResult, error)
func HostGroupsOutput(ctx *Context, args *HostGroupsOutputArgs, opts ...InvokeOption) HostGroupsResultOutput
public static class HostGroups
{
public static Task<HostGroupsResult> InvokeAsync(HostGroupsArgs args, InvokeOptions? opts = null)
public static Output<HostGroupsResult> Invoke(HostGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<HostGroupsResult> hostGroups(HostGroupsArgs args, InvokeOptions options)
public static Output<HostGroupsResult> hostGroups(HostGroupsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:waf:HostGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Time
Order stringBy - The list of rule ids associated with the domain name group shows the timing sequence.
- Host
Fix string - The domain name information queried.
- Host
Group intId - The ID of the domain name group.
- Ids List<string>
- A list of IDs.
- List
All bool - Whether to return all domain name groups and their name information, it returns by default.
- Name
Fix string - The name of the domain name group being queried.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Rule
Tag string - The rule ID associated with domain name groups.
- Time
Order stringBy - The list of rule ids associated with the domain name group shows the timing sequence.
- Host
Fix string - The domain name information queried.
- Host
Group intId - The ID of the domain name group.
- Ids []string
- A list of IDs.
- List
All bool - Whether to return all domain name groups and their name information, it returns by default.
- Name
Fix string - The name of the domain name group being queried.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Rule
Tag string - The rule ID associated with domain name groups.
- time
Order StringBy - The list of rule ids associated with the domain name group shows the timing sequence.
- host
Fix String - The domain name information queried.
- host
Group IntegerId - The ID of the domain name group.
- ids List<String>
- A list of IDs.
- list
All Boolean - Whether to return all domain name groups and their name information, it returns by default.
- name
Fix String - The name of the domain name group being queried.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- rule
Tag String - The rule ID associated with domain name groups.
- time
Order stringBy - The list of rule ids associated with the domain name group shows the timing sequence.
- host
Fix string - The domain name information queried.
- host
Group numberId - The ID of the domain name group.
- ids string[]
- A list of IDs.
- list
All boolean - Whether to return all domain name groups and their name information, it returns by default.
- name
Fix string - The name of the domain name group being queried.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- rule
Tag string - The rule ID associated with domain name groups.
- time_
order_ strby - The list of rule ids associated with the domain name group shows the timing sequence.
- host_
fix str - The domain name information queried.
- host_
group_ intid - The ID of the domain name group.
- ids Sequence[str]
- A list of IDs.
- list_
all bool - Whether to return all domain name groups and their name information, it returns by default.
- name_
fix str - The name of the domain name group being queried.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- rule_
tag str - The rule ID associated with domain name groups.
- time
Order StringBy - The list of rule ids associated with the domain name group shows the timing sequence.
- host
Fix String - The domain name information queried.
- host
Group NumberId - The ID of the domain name group.
- ids List<String>
- A list of IDs.
- list
All Boolean - Whether to return all domain name groups and their name information, it returns by default.
- name
Fix String - The name of the domain name group being queried.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- rule
Tag String - The rule ID associated with domain name groups.
HostGroups Result
The following output properties are available:
- Host
Group List<HostLists Groups Host Group List> - Details of the domain name group list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Order stringBy - Total
Count int - The total count of query.
- Host
Fix string - Host
Group intId - The ID of the domain name group.
- Ids List<string>
- List
All bool - Name
Fix string - Name
Regex string - Output
File string - Rule
Tag string - The ID of the rule.
- Host
Group []HostLists Groups Host Group List - Details of the domain name group list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Order stringBy - Total
Count int - The total count of query.
- Host
Fix string - Host
Group intId - The ID of the domain name group.
- Ids []string
- List
All bool - Name
Fix string - Name
Regex string - Output
File string - Rule
Tag string - The ID of the rule.
- host
Group List<HostLists Groups Host Group List> - Details of the domain name group list.
- id String
- The provider-assigned unique ID for this managed resource.
- time
Order StringBy - total
Count Integer - The total count of query.
- host
Fix String - host
Group IntegerId - The ID of the domain name group.
- ids List<String>
- list
All Boolean - name
Fix String - name
Regex String - output
File String - rule
Tag String - The ID of the rule.
- host
Group HostLists Groups Host Group List[] - Details of the domain name group list.
- id string
- The provider-assigned unique ID for this managed resource.
- time
Order stringBy - total
Count number - The total count of query.
- host
Fix string - host
Group numberId - The ID of the domain name group.
- ids string[]
- list
All boolean - name
Fix string - name
Regex string - output
File string - rule
Tag string - The ID of the rule.
- host_
group_ Sequence[Hostlists Groups Host Group List] - Details of the domain name group list.
- id str
- The provider-assigned unique ID for this managed resource.
- time_
order_ strby - total_
count int - The total count of query.
- host_
fix str - host_
group_ intid - The ID of the domain name group.
- ids Sequence[str]
- list_
all bool - name_
fix str - name_
regex str - output_
file str - rule_
tag str - The ID of the rule.
- host
Group List<Property Map>Lists - Details of the domain name group list.
- id String
- The provider-assigned unique ID for this managed resource.
- time
Order StringBy - total
Count Number - The total count of query.
- host
Fix String - host
Group NumberId - The ID of the domain name group.
- ids List<String>
- list
All Boolean - name
Fix String - name
Regex String - output
File String - rule
Tag String - The ID of the rule.
Supporting Types
HostGroupsHostGroupList
- Description string
- Domain name group description.
- Host
Count int - The number of domain names contained in the domain name group.
- Host
Group intId - The ID of the domain name group.
- Host
Lists List<string> - Domain names that need to be added to this domain name group.
- Name string
- The name of the domain name group.
- List<Host
Groups Host Group List Related Rule> - The list of associated rules.
- Update
Time string - Domain name group update time.
- Description string
- Domain name group description.
- Host
Count int - The number of domain names contained in the domain name group.
- Host
Group intId - The ID of the domain name group.
- Host
Lists []string - Domain names that need to be added to this domain name group.
- Name string
- The name of the domain name group.
- []Host
Groups Host Group List Related Rule - The list of associated rules.
- Update
Time string - Domain name group update time.
- description String
- Domain name group description.
- host
Count Integer - The number of domain names contained in the domain name group.
- host
Group IntegerId - The ID of the domain name group.
- host
Lists List<String> - Domain names that need to be added to this domain name group.
- name String
- The name of the domain name group.
- List<Host
Groups Host Group List Related Rule> - The list of associated rules.
- update
Time String - Domain name group update time.
- description string
- Domain name group description.
- host
Count number - The number of domain names contained in the domain name group.
- host
Group numberId - The ID of the domain name group.
- host
Lists string[] - Domain names that need to be added to this domain name group.
- name string
- The name of the domain name group.
- Host
Groups Host Group List Related Rule[] - The list of associated rules.
- update
Time string - Domain name group update time.
- description str
- Domain name group description.
- host_
count int - The number of domain names contained in the domain name group.
- host_
group_ intid - The ID of the domain name group.
- host_
lists Sequence[str] - Domain names that need to be added to this domain name group.
- name str
- The name of the domain name group.
- Sequence[Host
Groups Host Group List Related Rule] - The list of associated rules.
- update_
time str - Domain name group update time.
- description String
- Domain name group description.
- host
Count Number - The number of domain names contained in the domain name group.
- host
Group NumberId - The ID of the domain name group.
- host
Lists List<String> - Domain names that need to be added to this domain name group.
- name String
- The name of the domain name group.
- List<Property Map>
- The list of associated rules.
- update
Time String - Domain name group update time.
HostGroupsHostGroupListRelatedRule
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.