Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getWafGroups

Use this data source to look up WAF Rule Groups.

Using getWafGroups

function getWafGroups(args: GetWafGroupsArgs, opts?: InvokeOptions): Promise<GetWafGroupsResult>
def get_waf_groups(filter: Optional[GetWafGroupsFilterArgs] = None, package_id: Optional[str] = None, zone_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetWafGroupsResult
func GetWafGroups(ctx *Context, args *GetWafGroupsArgs, opts ...InvokeOption) (*GetWafGroupsResult, error)

Note: This function is named GetWafGroups in the Go SDK.

public static class GetWafGroups {
    public static Task<GetWafGroupsResult> InvokeAsync(GetWafGroupsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ZoneId string

The ID of the DNS zone in which to search for the WAF Rule Groups.

Filter GetWafGroupsFilterArgs

One or more values used to look up WAF Rule Groups. If more than one value is given all values must match in order to be included, see below for full list.

PackageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

ZoneId string

The ID of the DNS zone in which to search for the WAF Rule Groups.

Filter GetWafGroupsFilter

One or more values used to look up WAF Rule Groups. If more than one value is given all values must match in order to be included, see below for full list.

PackageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

zoneId string

The ID of the DNS zone in which to search for the WAF Rule Groups.

filter GetWafGroupsFilter

One or more values used to look up WAF Rule Groups. If more than one value is given all values must match in order to be included, see below for full list.

packageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

zone_id str

The ID of the DNS zone in which to search for the WAF Rule Groups.

filter GetWafGroupsFilterArgs

One or more values used to look up WAF Rule Groups. If more than one value is given all values must match in order to be included, see below for full list.

package_id str

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

getWafGroups Result

The following output properties are available:

Groups List<GetWafGroupsGroup>

A map of WAF Rule Groups details. Full list below:

Id string

The provider-assigned unique ID for this managed resource.

ZoneId string
Filter GetWafGroupsFilter
PackageId string

The ID of the WAF Rule Package that contains the WAF Rule Group

Groups []GetWafGroupsGroup

A map of WAF Rule Groups details. Full list below:

Id string

The provider-assigned unique ID for this managed resource.

ZoneId string
Filter GetWafGroupsFilter
PackageId string

The ID of the WAF Rule Package that contains the WAF Rule Group

groups GetWafGroupsGroup[]

A map of WAF Rule Groups details. Full list below:

id string

The provider-assigned unique ID for this managed resource.

zoneId string
filter GetWafGroupsFilter
packageId string

The ID of the WAF Rule Package that contains the WAF Rule Group

groups Sequence[GetWafGroupsGroup]

A map of WAF Rule Groups details. Full list below:

id str

The provider-assigned unique ID for this managed resource.

zone_id str
filter GetWafGroupsFilter
package_id str

The ID of the WAF Rule Package that contains the WAF Rule Group

Supporting Types

GetWafGroupsFilter

Mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

Name string

A regular expression matching the name of the WAF Rule Groups to lookup.

Mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

Name string

A regular expression matching the name of the WAF Rule Groups to lookup.

mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

name string

A regular expression matching the name of the WAF Rule Groups to lookup.

mode str

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

name str

A regular expression matching the name of the WAF Rule Groups to lookup.

GetWafGroupsGroup

Description string

The WAF Rule Group description

Id string

The WAF Rule Group ID

Mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

ModifiedRulesCount int

The number of modified rules in the WAF Rule Group

Name string

A regular expression matching the name of the WAF Rule Groups to lookup.

PackageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

RulesCount int

The number of rules in the WAF Rule Group

Description string

The WAF Rule Group description

Id string

The WAF Rule Group ID

Mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

ModifiedRulesCount int

The number of modified rules in the WAF Rule Group

Name string

A regular expression matching the name of the WAF Rule Groups to lookup.

PackageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

RulesCount int

The number of rules in the WAF Rule Group

description string

The WAF Rule Group description

id string

The WAF Rule Group ID

mode string

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

modifiedRulesCount number

The number of modified rules in the WAF Rule Group

name string

A regular expression matching the name of the WAF Rule Groups to lookup.

packageId string

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

rulesCount number

The number of rules in the WAF Rule Group

description str

The WAF Rule Group description

id str

The WAF Rule Group ID

mode str

Mode of the WAF Rule Groups to lookup. Valid values: on and off.

modified_rules_count int

The number of modified rules in the WAF Rule Group

name str

A regular expression matching the name of the WAF Rule Groups to lookup.

package_id str

The ID of the WAF Rule Package in which to search for the WAF Rule Groups.

rules_count int

The number of rules in the WAF Rule Group

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.