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

volcengine.waf.IpGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
    Deprecated: volcengine.waf.IpGroups has been deprecated in favor of volcengine.waf.getIpGroups

    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 IpGroups

    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 ipGroups(args: IpGroupsArgs, opts?: InvokeOptions): Promise<IpGroupsResult>
    function ipGroupsOutput(args: IpGroupsOutputArgs, opts?: InvokeOptions): Output<IpGroupsResult>
    def 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) -> IpGroupsResult
    def 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[IpGroupsResult]
    func IpGroups(ctx *Context, args *IpGroupsArgs, opts ...InvokeOption) (*IpGroupsResult, error)
    func IpGroupsOutput(ctx *Context, args *IpGroupsOutputArgs, opts ...InvokeOption) IpGroupsResultOutput
    public static class IpGroups 
    {
        public static Task<IpGroupsResult> InvokeAsync(IpGroupsArgs args, InvokeOptions? opts = null)
        public static Output<IpGroupsResult> Invoke(IpGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<IpGroupsResult> ipGroups(IpGroupsArgs args, InvokeOptions options)
    public static Output<IpGroupsResult> ipGroups(IpGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:waf:IpGroups
      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.

    IpGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpGroupLists List<IpGroupsIpGroupList>
    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 []IpGroupsIpGroupList
    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<IpGroupsIpGroupList>
    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 IpGroupsIpGroupList[]
    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[IpGroupsIpGroupList]
    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

    IpGroupsIpGroupList

    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<IpGroupsIpGroupListRelatedRule>
    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 []IpGroupsIpGroupListRelatedRule
    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<IpGroupsIpGroupListRelatedRule>
    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 IpGroupsIpGroupListRelatedRule[]
    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[IpGroupsIpGroupListRelatedRule]
    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.

    IpGroupsIpGroupListRelatedRule

    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