Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine
volcengine.cloud_firewall.CfwAddressBooks
Explore with Pulumi AI
Use this data source to query detailed information of cfw address books
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cloud_firewall.CfwAddressBooks({
groupName: "acc-test",
groupType: "ip",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cloud_firewall.cfw_address_books(group_name="acc-test",
group_type="ip")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_firewall"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloud_firewall.CfwAddressBooks(ctx, &cloud_firewall.CfwAddressBooksArgs{
GroupName: pulumi.StringRef("acc-test"),
GroupType: pulumi.StringRef("ip"),
}, 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.Cloud_firewall.CfwAddressBooks.Invoke(new()
{
GroupName = "acc-test",
GroupType = "ip",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cloud_firewall.Cloud_firewallFunctions;
import com.pulumi.volcengine.cloud_firewall.inputs.CfwAddressBooksArgs;
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 = Cloud_firewallFunctions.CfwAddressBooks(CfwAddressBooksArgs.builder()
.groupName("acc-test")
.groupType("ip")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cloud_firewall:CfwAddressBooks
Arguments:
groupName: acc-test
groupType: ip
Using CfwAddressBooks
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 cfwAddressBooks(args: CfwAddressBooksArgs, opts?: InvokeOptions): Promise<CfwAddressBooksResult>
function cfwAddressBooksOutput(args: CfwAddressBooksOutputArgs, opts?: InvokeOptions): Output<CfwAddressBooksResult>
def cfw_address_books(address: Optional[str] = None,
description: Optional[str] = None,
group_name: Optional[str] = None,
group_type: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> CfwAddressBooksResult
def cfw_address_books_output(address: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
group_name: Optional[pulumi.Input[str]] = None,
group_type: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[CfwAddressBooksResult]
func CfwAddressBooks(ctx *Context, args *CfwAddressBooksArgs, opts ...InvokeOption) (*CfwAddressBooksResult, error)
func CfwAddressBooksOutput(ctx *Context, args *CfwAddressBooksOutputArgs, opts ...InvokeOption) CfwAddressBooksResultOutput
public static class CfwAddressBooks
{
public static Task<CfwAddressBooksResult> InvokeAsync(CfwAddressBooksArgs args, InvokeOptions? opts = null)
public static Output<CfwAddressBooksResult> Invoke(CfwAddressBooksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<CfwAddressBooksResult> cfwAddressBooks(CfwAddressBooksArgs args, InvokeOptions options)
public static Output<CfwAddressBooksResult> cfwAddressBooks(CfwAddressBooksArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cloud_firewall:CfwAddressBooks
arguments:
# arguments dictionary
The following arguments are supported:
- Address string
- The group type of address book. This field support fuzzy query.
- Description string
- The group type of address book. This field support fuzzy query.
- Group
Name string - The group name of address book. This field support fuzzy query.
- Group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Address string
- The group type of address book. This field support fuzzy query.
- Description string
- The group type of address book. This field support fuzzy query.
- Group
Name string - The group name of address book. This field support fuzzy query.
- Group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- address String
- The group type of address book. This field support fuzzy query.
- description String
- The group type of address book. This field support fuzzy query.
- group
Name String - The group name of address book. This field support fuzzy query.
- group
Type String - The group type of address book. Valid values:
ip
,port
,domain
. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- address string
- The group type of address book. This field support fuzzy query.
- description string
- The group type of address book. This field support fuzzy query.
- group
Name string - The group name of address book. This field support fuzzy query.
- group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- address str
- The group type of address book. This field support fuzzy query.
- description str
- The group type of address book. This field support fuzzy query.
- group_
name str - The group name of address book. This field support fuzzy query.
- group_
type str - The group type of address book. Valid values:
ip
,port
,domain
. - name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- address String
- The group type of address book. This field support fuzzy query.
- description String
- The group type of address book. This field support fuzzy query.
- group
Name String - The group name of address book. This field support fuzzy query.
- group
Type String - The group type of address book. Valid values:
ip
,port
,domain
. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
CfwAddressBooks Result
The following output properties are available:
- Address
Books List<CfwAddress Books Address Book> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Address string
- Description string
- The description of the address book.
- Group
Name string - The name of the address book.
- Group
Type string - The type of the address book.
- Name
Regex string - Output
File string
- Address
Books []CfwAddress Books Address Book - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Address string
- Description string
- The description of the address book.
- Group
Name string - The name of the address book.
- Group
Type string - The type of the address book.
- Name
Regex string - Output
File string
- address
Books List<CfwAddress Books Address Book> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- address String
- description String
- The description of the address book.
- group
Name String - The name of the address book.
- group
Type String - The type of the address book.
- name
Regex String - output
File String
- address
Books CfwAddress Books Address Book[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- address string
- description string
- The description of the address book.
- group
Name string - The name of the address book.
- group
Type string - The type of the address book.
- name
Regex string - output
File string
- address_
books Sequence[CfwAddress Books Address Book] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- address str
- description str
- The description of the address book.
- group_
name str - The name of the address book.
- group_
type str - The type of the address book.
- name_
regex str - output_
file str
- address
Books List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- address String
- description String
- The description of the address book.
- group
Name String - The name of the address book.
- group
Type String - The type of the address book.
- name
Regex String - output
File String
Supporting Types
CfwAddressBooksAddressBook
- Address
Lists List<string> - The address list of the address book.
- Description string
- The group type of address book. This field support fuzzy query.
- Group
Name string - The group name of address book. This field support fuzzy query.
- Group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - Group
Uuid string - The uuid of the address book.
- Id string
- The uuid of the address book.
- Ref
Cnt int - The reference count of the address book.
- Address
Lists []string - The address list of the address book.
- Description string
- The group type of address book. This field support fuzzy query.
- Group
Name string - The group name of address book. This field support fuzzy query.
- Group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - Group
Uuid string - The uuid of the address book.
- Id string
- The uuid of the address book.
- Ref
Cnt int - The reference count of the address book.
- address
Lists List<String> - The address list of the address book.
- description String
- The group type of address book. This field support fuzzy query.
- group
Name String - The group name of address book. This field support fuzzy query.
- group
Type String - The group type of address book. Valid values:
ip
,port
,domain
. - group
Uuid String - The uuid of the address book.
- id String
- The uuid of the address book.
- ref
Cnt Integer - The reference count of the address book.
- address
Lists string[] - The address list of the address book.
- description string
- The group type of address book. This field support fuzzy query.
- group
Name string - The group name of address book. This field support fuzzy query.
- group
Type string - The group type of address book. Valid values:
ip
,port
,domain
. - group
Uuid string - The uuid of the address book.
- id string
- The uuid of the address book.
- ref
Cnt number - The reference count of the address book.
- address_
lists Sequence[str] - The address list of the address book.
- description str
- The group type of address book. This field support fuzzy query.
- group_
name str - The group name of address book. This field support fuzzy query.
- group_
type str - The group type of address book. Valid values:
ip
,port
,domain
. - group_
uuid str - The uuid of the address book.
- id str
- The uuid of the address book.
- ref_
cnt int - The reference count of the address book.
- address
Lists List<String> - The address list of the address book.
- description String
- The group type of address book. This field support fuzzy query.
- group
Name String - The group name of address book. This field support fuzzy query.
- group
Type String - The group type of address book. Valid values:
ip
,port
,domain
. - group
Uuid String - The uuid of the address book.
- id String
- The uuid of the address book.
- ref
Cnt Number - The reference count of the address book.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.