Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.waf.IpGroups
Explore with Pulumi AI
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:
- Time
Order stringBy - The arrangement order of the address group.
- Ip string
- The address or address segment of the query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Rule
Tag string - Query the association rule ID.
- Time
Order stringBy - The arrangement order of the address group.
- Ip string
- The address or address segment of the query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Rule
Tag string - Query the association rule ID.
- time
Order StringBy - The arrangement order of the address group.
- ip String
- The address or address segment of the query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- rule
Tag String - Query the association rule ID.
- time
Order stringBy - The arrangement order of the address group.
- ip string
- The address or address segment of the query.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- rule
Tag string - Query the association rule ID.
- time_
order_ strby - 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.
- time
Order StringBy - The arrangement order of the address group.
- ip String
- The address or address segment of the query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- rule
Tag 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.
- Ip
Group List<IpLists Groups Ip Group List> - Address group list information.
- Time
Order stringBy - Total
Count int - The total count of query.
- Ip string
- Name
Regex string - Output
File string - Rule
Tag string - The ID of the rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Group []IpLists Groups Ip Group List - Address group list information.
- Time
Order stringBy - Total
Count int - The total count of query.
- Ip string
- Name
Regex string - Output
File string - Rule
Tag string - The ID of the rule.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Group List<IpLists Groups Ip Group List> - Address group list information.
- time
Order StringBy - total
Count Integer - The total count of query.
- ip String
- name
Regex String - output
File String - rule
Tag String - The ID of the rule.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Group IpLists Groups Ip Group List[] - Address group list information.
- time
Order stringBy - total
Count number - The total count of query.
- ip string
- name
Regex string - output
File string - rule
Tag string - The ID of the rule.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
group_ Sequence[Iplists Groups Ip Group List] - Address group list information.
- time_
order_ strby - 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.
- ip
Group List<Property Map>Lists - Address group list information.
- time
Order StringBy - total
Count Number - The total count of query.
- ip String
- name
Regex String - output
File String - rule
Tag String - The ID of the rule.
Supporting Types
IpGroupsIpGroupList
- Ip
Count int - The number of IP addresses within the address group.
- Ip
Group intId - The ID of the ip group.
- Ip
Lists List<string> - The IP address to be added.
- Name string
- The name of the ip group.
- List<Ip
Groups Ip Group List Related Rule> - The list of associated rules.
- Update
Time string - ip group update time.
- Ip
Count int - The number of IP addresses within the address group.
- Ip
Group intId - The ID of the ip group.
- Ip
Lists []string - The IP address to be added.
- Name string
- The name of the ip group.
- []Ip
Groups Ip Group List Related Rule - The list of associated rules.
- Update
Time string - ip group update time.
- ip
Count Integer - The number of IP addresses within the address group.
- ip
Group IntegerId - The ID of the ip group.
- ip
Lists List<String> - The IP address to be added.
- name String
- The name of the ip group.
- List<Ip
Groups Ip Group List Related Rule> - The list of associated rules.
- update
Time String - ip group update time.
- ip
Count number - The number of IP addresses within the address group.
- ip
Group numberId - The ID of the ip group.
- ip
Lists string[] - The IP address to be added.
- name string
- The name of the ip group.
- Ip
Groups Ip Group List Related Rule[] - The list of associated rules.
- update
Time string - ip group update time.
- ip_
count int - The number of IP addresses within the address group.
- ip_
group_ intid - The ID of the ip group.
- ip_
lists Sequence[str] - The IP address to be added.
- name str
- The name of the ip group.
- Sequence[Ip
Groups Ip Group List Related Rule] - The list of associated rules.
- update_
time str - ip group update time.
- ip
Count Number - The number of IP addresses within the address group.
- ip
Group NumberId - The ID of the ip group.
- ip
Lists List<String> - The IP address to be added.
- name String
- The name of the ip group.
- List<Property Map>
- The list of associated rules.
- update
Time String - ip group update time.
IpGroupsIpGroupListRelatedRule
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.