Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 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 dictionaryThe 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.
getIpGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Group List<GetLists Ip 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 []GetLists Ip 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<GetLists Ip 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 GetLists Ip 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[Getlists Ip 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
GetIpGroupsIpGroupList
- 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<Get
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.
-
[]Get
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<Get
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.
-
Get
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[Get
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.
GetIpGroupsIpGroupListRelatedRule
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
