1. Packages
  2. Volcengine
  3. API Docs
  4. waf
  5. getIpGroups
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.waf.getIpGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of waf ip groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.waf.getIpGroups({
        timeOrderBy: "DESC",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.waf.get_ip_groups(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.GetIpGroups(ctx, &waf.GetIpGroupsArgs{
    			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.GetIpGroups.Invoke(new()
        {
            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.GetIpGroupsArgs;
    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.getIpGroups(GetIpGroupsArgs.builder()
                .timeOrderBy("DESC")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:waf:getIpGroups
          Arguments:
            timeOrderBy: DESC
    

    Using getIpGroups

    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 getIpGroups(args: GetIpGroupsArgs, opts?: InvokeOptions): Promise<GetIpGroupsResult>
    function getIpGroupsOutput(args: GetIpGroupsOutputArgs, opts?: InvokeOptions): Output<GetIpGroupsResult>
    def get_ip_groups(ip: 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) -> GetIpGroupsResult
    def get_ip_groups_output(ip: 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[GetIpGroupsResult]
    func GetIpGroups(ctx *Context, args *GetIpGroupsArgs, opts ...InvokeOption) (*GetIpGroupsResult, error)
    func GetIpGroupsOutput(ctx *Context, args *GetIpGroupsOutputArgs, opts ...InvokeOption) GetIpGroupsResultOutput

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

    public static class GetIpGroups 
    {
        public static Task<GetIpGroupsResult> InvokeAsync(GetIpGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetIpGroupsResult> Invoke(GetIpGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpGroupsResult> getIpGroups(GetIpGroupsArgs args, InvokeOptions options)
    public static Output<GetIpGroupsResult> getIpGroups(GetIpGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:waf/getIpGroups:getIpGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TimeOrderBy string
    The arrangement order of the address group.
    Ip string
    The address or address segment of the query.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    RuleTag string
    Query the association rule ID.
    TimeOrderBy string
    The arrangement order of the address group.
    Ip string
    The address or address segment of the query.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    RuleTag string
    Query the association rule ID.
    timeOrderBy String
    The arrangement order of the address group.
    ip String
    The address or address segment of the query.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    ruleTag String
    Query the association rule ID.
    timeOrderBy string
    The arrangement order of the address group.
    ip string
    The address or address segment of the query.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    ruleTag string
    Query the association rule ID.
    time_order_by str
    The arrangement order of the address group.
    ip str
    The address or address segment of the query.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    rule_tag str
    Query the association rule ID.
    timeOrderBy String
    The arrangement order of the address group.
    ip String
    The address or address segment of the query.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    ruleTag String
    Query the association rule ID.

    getIpGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpGroupLists List<GetIpGroupsIpGroupList>
    Address group list information.
    TimeOrderBy string
    TotalCount int
    The total count of query.
    Ip string
    NameRegex string
    OutputFile string
    RuleTag string
    The ID of the rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpGroupLists []GetIpGroupsIpGroupList
    Address group list information.
    TimeOrderBy string
    TotalCount int
    The total count of query.
    Ip string
    NameRegex string
    OutputFile string
    RuleTag string
    The ID of the rule.
    id String
    The provider-assigned unique ID for this managed resource.
    ipGroupLists List<GetIpGroupsIpGroupList>
    Address group list information.
    timeOrderBy String
    totalCount Integer
    The total count of query.
    ip String
    nameRegex String
    outputFile String
    ruleTag String
    The ID of the rule.
    id string
    The provider-assigned unique ID for this managed resource.
    ipGroupLists GetIpGroupsIpGroupList[]
    Address group list information.
    timeOrderBy string
    totalCount number
    The total count of query.
    ip string
    nameRegex string
    outputFile string
    ruleTag string
    The ID of the rule.
    id str
    The provider-assigned unique ID for this managed resource.
    ip_group_lists Sequence[GetIpGroupsIpGroupList]
    Address group list information.
    time_order_by str
    total_count int
    The total count of query.
    ip str
    name_regex str
    output_file str
    rule_tag str
    The ID of the rule.
    id String
    The provider-assigned unique ID for this managed resource.
    ipGroupLists List<Property Map>
    Address group list information.
    timeOrderBy String
    totalCount Number
    The total count of query.
    ip String
    nameRegex String
    outputFile String
    ruleTag String
    The ID of the rule.

    Supporting Types

    GetIpGroupsIpGroupList

    IpCount int
    The number of IP addresses within the address group.
    IpGroupId int
    The ID of the ip group.
    IpLists List<string>
    The IP address to be added.
    Name string
    The name of the ip group.
    RelatedRules List<GetIpGroupsIpGroupListRelatedRule>
    The list of associated rules.
    UpdateTime string
    ip group update time.
    IpCount int
    The number of IP addresses within the address group.
    IpGroupId int
    The ID of the ip group.
    IpLists []string
    The IP address to be added.
    Name string
    The name of the ip group.
    RelatedRules []GetIpGroupsIpGroupListRelatedRule
    The list of associated rules.
    UpdateTime string
    ip group update time.
    ipCount Integer
    The number of IP addresses within the address group.
    ipGroupId Integer
    The ID of the ip group.
    ipLists List<String>
    The IP address to be added.
    name String
    The name of the ip group.
    relatedRules List<GetIpGroupsIpGroupListRelatedRule>
    The list of associated rules.
    updateTime String
    ip group update time.
    ipCount number
    The number of IP addresses within the address group.
    ipGroupId number
    The ID of the ip group.
    ipLists string[]
    The IP address to be added.
    name string
    The name of the ip group.
    relatedRules GetIpGroupsIpGroupListRelatedRule[]
    The list of associated rules.
    updateTime string
    ip group update time.
    ip_count int
    The number of IP addresses within the address group.
    ip_group_id int
    The ID of the ip group.
    ip_lists Sequence[str]
    The IP address to be added.
    name str
    The name of the ip group.
    related_rules Sequence[GetIpGroupsIpGroupListRelatedRule]
    The list of associated rules.
    update_time str
    ip group update time.
    ipCount Number
    The number of IP addresses within the address group.
    ipGroupId Number
    The ID of the ip group.
    ipLists List<String>
    The IP address to be added.
    name String
    The name of the ip group.
    relatedRules List<Property Map>
    The list of associated rules.
    updateTime String
    ip group update time.

    GetIpGroupsIpGroupListRelatedRule

    Host string
    The information of the protected domain names associated with the rules.
    RuleName string
    The name of the rule.
    RuleTag string
    Query the association rule ID.
    RuleType string
    The type of the rule.
    Host string
    The information of the protected domain names associated with the rules.
    RuleName string
    The name of the rule.
    RuleTag string
    Query the association rule ID.
    RuleType string
    The type of the rule.
    host String
    The information of the protected domain names associated with the rules.
    ruleName String
    The name of the rule.
    ruleTag String
    Query the association rule ID.
    ruleType String
    The type of the rule.
    host string
    The information of the protected domain names associated with the rules.
    ruleName string
    The name of the rule.
    ruleTag string
    Query the association rule ID.
    ruleType string
    The type of the rule.
    host str
    The information of the protected domain names associated with the rules.
    rule_name str
    The name of the rule.
    rule_tag str
    Query the association rule ID.
    rule_type str
    The type of the rule.
    host String
    The information of the protected domain names associated with the rules.
    ruleName String
    The name of the rule.
    ruleTag String
    Query the association rule ID.
    ruleType String
    The type of the rule.

    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.34 published on Wednesday, Jul 2, 2025 by Volcengine