cloud_firewall

package
v0.0.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfwAddressBook

type CfwAddressBook struct {
	pulumi.CustomResourceState

	// The address list of the address book.
	// When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
	// When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
	// When groupType is `domain`, fill in the domain name information in the address list.
	AddressLists pulumi.StringArrayOutput `pulumi:"addressLists"`
	// The description of the address book.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the address book.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The type of the address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringOutput `pulumi:"groupType"`
	// The reference count of the address book.
	RefCnt pulumi.IntOutput `pulumi:"refCnt"`
}

Provides a resource to manage cfw address book ## Example Usage

```go 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.NewCfwAddressBook(ctx, "foo", &cloud_firewall.CfwAddressBookArgs{
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
			Description: pulumi.String("acc-test"),
			GroupName:   pulumi.String("acc-test-address-book"),
			GroupType:   pulumi.String("ip"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AddressBook can be imported using the id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwAddressBook:CfwAddressBook default resource_id ```

func GetCfwAddressBook

func GetCfwAddressBook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwAddressBookState, opts ...pulumi.ResourceOption) (*CfwAddressBook, error)

GetCfwAddressBook gets an existing CfwAddressBook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwAddressBook

func NewCfwAddressBook(ctx *pulumi.Context,
	name string, args *CfwAddressBookArgs, opts ...pulumi.ResourceOption) (*CfwAddressBook, error)

NewCfwAddressBook registers a new resource with the given unique name, arguments, and options.

func (*CfwAddressBook) ElementType

func (*CfwAddressBook) ElementType() reflect.Type

func (*CfwAddressBook) ToCfwAddressBookOutput

func (i *CfwAddressBook) ToCfwAddressBookOutput() CfwAddressBookOutput

func (*CfwAddressBook) ToCfwAddressBookOutputWithContext

func (i *CfwAddressBook) ToCfwAddressBookOutputWithContext(ctx context.Context) CfwAddressBookOutput

type CfwAddressBookArgs

type CfwAddressBookArgs struct {
	// The address list of the address book.
	// When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
	// When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
	// When groupType is `domain`, fill in the domain name information in the address list.
	AddressLists pulumi.StringArrayInput
	// The description of the address book.
	Description pulumi.StringPtrInput
	// The name of the address book.
	GroupName pulumi.StringInput
	// The type of the address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringInput
}

The set of arguments for constructing a CfwAddressBook resource.

func (CfwAddressBookArgs) ElementType

func (CfwAddressBookArgs) ElementType() reflect.Type

type CfwAddressBookArray

type CfwAddressBookArray []CfwAddressBookInput

func (CfwAddressBookArray) ElementType

func (CfwAddressBookArray) ElementType() reflect.Type

func (CfwAddressBookArray) ToCfwAddressBookArrayOutput

func (i CfwAddressBookArray) ToCfwAddressBookArrayOutput() CfwAddressBookArrayOutput

func (CfwAddressBookArray) ToCfwAddressBookArrayOutputWithContext

func (i CfwAddressBookArray) ToCfwAddressBookArrayOutputWithContext(ctx context.Context) CfwAddressBookArrayOutput

type CfwAddressBookArrayInput

type CfwAddressBookArrayInput interface {
	pulumi.Input

	ToCfwAddressBookArrayOutput() CfwAddressBookArrayOutput
	ToCfwAddressBookArrayOutputWithContext(context.Context) CfwAddressBookArrayOutput
}

CfwAddressBookArrayInput is an input type that accepts CfwAddressBookArray and CfwAddressBookArrayOutput values. You can construct a concrete instance of `CfwAddressBookArrayInput` via:

CfwAddressBookArray{ CfwAddressBookArgs{...} }

type CfwAddressBookArrayOutput

type CfwAddressBookArrayOutput struct{ *pulumi.OutputState }

func (CfwAddressBookArrayOutput) ElementType

func (CfwAddressBookArrayOutput) ElementType() reflect.Type

func (CfwAddressBookArrayOutput) Index

func (CfwAddressBookArrayOutput) ToCfwAddressBookArrayOutput

func (o CfwAddressBookArrayOutput) ToCfwAddressBookArrayOutput() CfwAddressBookArrayOutput

func (CfwAddressBookArrayOutput) ToCfwAddressBookArrayOutputWithContext

func (o CfwAddressBookArrayOutput) ToCfwAddressBookArrayOutputWithContext(ctx context.Context) CfwAddressBookArrayOutput

type CfwAddressBookInput

type CfwAddressBookInput interface {
	pulumi.Input

	ToCfwAddressBookOutput() CfwAddressBookOutput
	ToCfwAddressBookOutputWithContext(ctx context.Context) CfwAddressBookOutput
}

type CfwAddressBookMap

type CfwAddressBookMap map[string]CfwAddressBookInput

func (CfwAddressBookMap) ElementType

func (CfwAddressBookMap) ElementType() reflect.Type

func (CfwAddressBookMap) ToCfwAddressBookMapOutput

func (i CfwAddressBookMap) ToCfwAddressBookMapOutput() CfwAddressBookMapOutput

func (CfwAddressBookMap) ToCfwAddressBookMapOutputWithContext

func (i CfwAddressBookMap) ToCfwAddressBookMapOutputWithContext(ctx context.Context) CfwAddressBookMapOutput

type CfwAddressBookMapInput

type CfwAddressBookMapInput interface {
	pulumi.Input

	ToCfwAddressBookMapOutput() CfwAddressBookMapOutput
	ToCfwAddressBookMapOutputWithContext(context.Context) CfwAddressBookMapOutput
}

CfwAddressBookMapInput is an input type that accepts CfwAddressBookMap and CfwAddressBookMapOutput values. You can construct a concrete instance of `CfwAddressBookMapInput` via:

CfwAddressBookMap{ "key": CfwAddressBookArgs{...} }

type CfwAddressBookMapOutput

type CfwAddressBookMapOutput struct{ *pulumi.OutputState }

func (CfwAddressBookMapOutput) ElementType

func (CfwAddressBookMapOutput) ElementType() reflect.Type

func (CfwAddressBookMapOutput) MapIndex

func (CfwAddressBookMapOutput) ToCfwAddressBookMapOutput

func (o CfwAddressBookMapOutput) ToCfwAddressBookMapOutput() CfwAddressBookMapOutput

func (CfwAddressBookMapOutput) ToCfwAddressBookMapOutputWithContext

func (o CfwAddressBookMapOutput) ToCfwAddressBookMapOutputWithContext(ctx context.Context) CfwAddressBookMapOutput

type CfwAddressBookOutput

type CfwAddressBookOutput struct{ *pulumi.OutputState }

func (CfwAddressBookOutput) AddressLists

The address list of the address book. When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list. When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200. When groupType is `domain`, fill in the domain name information in the address list.

func (CfwAddressBookOutput) Description

The description of the address book.

func (CfwAddressBookOutput) ElementType

func (CfwAddressBookOutput) ElementType() reflect.Type

func (CfwAddressBookOutput) GroupName

The name of the address book.

func (CfwAddressBookOutput) GroupType

The type of the address book. Valid values: `ip`, `port`, `domain`.

func (CfwAddressBookOutput) RefCnt

The reference count of the address book.

func (CfwAddressBookOutput) ToCfwAddressBookOutput

func (o CfwAddressBookOutput) ToCfwAddressBookOutput() CfwAddressBookOutput

func (CfwAddressBookOutput) ToCfwAddressBookOutputWithContext

func (o CfwAddressBookOutput) ToCfwAddressBookOutputWithContext(ctx context.Context) CfwAddressBookOutput

type CfwAddressBookState

type CfwAddressBookState struct {
	// The address list of the address book.
	// When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
	// When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
	// When groupType is `domain`, fill in the domain name information in the address list.
	AddressLists pulumi.StringArrayInput
	// The description of the address book.
	Description pulumi.StringPtrInput
	// The name of the address book.
	GroupName pulumi.StringPtrInput
	// The type of the address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringPtrInput
	// The reference count of the address book.
	RefCnt pulumi.IntPtrInput
}

func (CfwAddressBookState) ElementType

func (CfwAddressBookState) ElementType() reflect.Type

type CfwAddressBooksAddressBook

type CfwAddressBooksAddressBook struct {
	// The address list of the address book.
	AddressLists []string `pulumi:"addressLists"`
	// The group type of address book. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName string `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType string `pulumi:"groupType"`
	// The uuid of the address book.
	GroupUuid string `pulumi:"groupUuid"`
	// The uuid of the address book.
	Id string `pulumi:"id"`
	// The reference count of the address book.
	RefCnt int `pulumi:"refCnt"`
}

type CfwAddressBooksAddressBookArgs

type CfwAddressBooksAddressBookArgs struct {
	// The address list of the address book.
	AddressLists pulumi.StringArrayInput `pulumi:"addressLists"`
	// The group type of address book. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringInput `pulumi:"groupType"`
	// The uuid of the address book.
	GroupUuid pulumi.StringInput `pulumi:"groupUuid"`
	// The uuid of the address book.
	Id pulumi.StringInput `pulumi:"id"`
	// The reference count of the address book.
	RefCnt pulumi.IntInput `pulumi:"refCnt"`
}

func (CfwAddressBooksAddressBookArgs) ElementType

func (CfwAddressBooksAddressBookArgs) ToCfwAddressBooksAddressBookOutput

func (i CfwAddressBooksAddressBookArgs) ToCfwAddressBooksAddressBookOutput() CfwAddressBooksAddressBookOutput

func (CfwAddressBooksAddressBookArgs) ToCfwAddressBooksAddressBookOutputWithContext

func (i CfwAddressBooksAddressBookArgs) ToCfwAddressBooksAddressBookOutputWithContext(ctx context.Context) CfwAddressBooksAddressBookOutput

type CfwAddressBooksAddressBookArray

type CfwAddressBooksAddressBookArray []CfwAddressBooksAddressBookInput

func (CfwAddressBooksAddressBookArray) ElementType

func (CfwAddressBooksAddressBookArray) ToCfwAddressBooksAddressBookArrayOutput

func (i CfwAddressBooksAddressBookArray) ToCfwAddressBooksAddressBookArrayOutput() CfwAddressBooksAddressBookArrayOutput

func (CfwAddressBooksAddressBookArray) ToCfwAddressBooksAddressBookArrayOutputWithContext

func (i CfwAddressBooksAddressBookArray) ToCfwAddressBooksAddressBookArrayOutputWithContext(ctx context.Context) CfwAddressBooksAddressBookArrayOutput

type CfwAddressBooksAddressBookArrayInput

type CfwAddressBooksAddressBookArrayInput interface {
	pulumi.Input

	ToCfwAddressBooksAddressBookArrayOutput() CfwAddressBooksAddressBookArrayOutput
	ToCfwAddressBooksAddressBookArrayOutputWithContext(context.Context) CfwAddressBooksAddressBookArrayOutput
}

CfwAddressBooksAddressBookArrayInput is an input type that accepts CfwAddressBooksAddressBookArray and CfwAddressBooksAddressBookArrayOutput values. You can construct a concrete instance of `CfwAddressBooksAddressBookArrayInput` via:

CfwAddressBooksAddressBookArray{ CfwAddressBooksAddressBookArgs{...} }

type CfwAddressBooksAddressBookArrayOutput

type CfwAddressBooksAddressBookArrayOutput struct{ *pulumi.OutputState }

func (CfwAddressBooksAddressBookArrayOutput) ElementType

func (CfwAddressBooksAddressBookArrayOutput) Index

func (CfwAddressBooksAddressBookArrayOutput) ToCfwAddressBooksAddressBookArrayOutput

func (o CfwAddressBooksAddressBookArrayOutput) ToCfwAddressBooksAddressBookArrayOutput() CfwAddressBooksAddressBookArrayOutput

func (CfwAddressBooksAddressBookArrayOutput) ToCfwAddressBooksAddressBookArrayOutputWithContext

func (o CfwAddressBooksAddressBookArrayOutput) ToCfwAddressBooksAddressBookArrayOutputWithContext(ctx context.Context) CfwAddressBooksAddressBookArrayOutput

type CfwAddressBooksAddressBookInput

type CfwAddressBooksAddressBookInput interface {
	pulumi.Input

	ToCfwAddressBooksAddressBookOutput() CfwAddressBooksAddressBookOutput
	ToCfwAddressBooksAddressBookOutputWithContext(context.Context) CfwAddressBooksAddressBookOutput
}

CfwAddressBooksAddressBookInput is an input type that accepts CfwAddressBooksAddressBookArgs and CfwAddressBooksAddressBookOutput values. You can construct a concrete instance of `CfwAddressBooksAddressBookInput` via:

CfwAddressBooksAddressBookArgs{...}

type CfwAddressBooksAddressBookOutput

type CfwAddressBooksAddressBookOutput struct{ *pulumi.OutputState }

func (CfwAddressBooksAddressBookOutput) AddressLists

The address list of the address book.

func (CfwAddressBooksAddressBookOutput) Description

The group type of address book. This field support fuzzy query.

func (CfwAddressBooksAddressBookOutput) ElementType

func (CfwAddressBooksAddressBookOutput) GroupName

The group name of address book. This field support fuzzy query.

func (CfwAddressBooksAddressBookOutput) GroupType

The group type of address book. Valid values: `ip`, `port`, `domain`.

func (CfwAddressBooksAddressBookOutput) GroupUuid

The uuid of the address book.

func (CfwAddressBooksAddressBookOutput) Id

The uuid of the address book.

func (CfwAddressBooksAddressBookOutput) RefCnt

The reference count of the address book.

func (CfwAddressBooksAddressBookOutput) ToCfwAddressBooksAddressBookOutput

func (o CfwAddressBooksAddressBookOutput) ToCfwAddressBooksAddressBookOutput() CfwAddressBooksAddressBookOutput

func (CfwAddressBooksAddressBookOutput) ToCfwAddressBooksAddressBookOutputWithContext

func (o CfwAddressBooksAddressBookOutput) ToCfwAddressBooksAddressBookOutputWithContext(ctx context.Context) CfwAddressBooksAddressBookOutput

type CfwAddressBooksArgs

type CfwAddressBooksArgs struct {
	// The group type of address book. This field support fuzzy query.
	Address *string `pulumi:"address"`
	// The group type of address book. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName *string `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType *string `pulumi:"groupType"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking CfwAddressBooks.

type CfwAddressBooksOutputArgs

type CfwAddressBooksOutputArgs struct {
	// The group type of address book. This field support fuzzy query.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The group type of address book. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName pulumi.StringPtrInput `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringPtrInput `pulumi:"groupType"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking CfwAddressBooks.

func (CfwAddressBooksOutputArgs) ElementType

func (CfwAddressBooksOutputArgs) ElementType() reflect.Type

type CfwAddressBooksResult

type CfwAddressBooksResult struct {
	Address *string `pulumi:"address"`
	// The collection of query.
	AddressBooks []CfwAddressBooksAddressBook `pulumi:"addressBooks"`
	// The description of the address book.
	Description *string `pulumi:"description"`
	// The name of the address book.
	GroupName *string `pulumi:"groupName"`
	// The type of the address book.
	GroupType *string `pulumi:"groupType"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by CfwAddressBooks.

func CfwAddressBooks deprecated

func CfwAddressBooks(ctx *pulumi.Context, args *CfwAddressBooksArgs, opts ...pulumi.InvokeOption) (*CfwAddressBooksResult, error)

Use this data source to query detailed information of cfw address books ## Example Usage

```go 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.GetCfwAddressBooks(ctx, &cloud_firewall.GetCfwAddressBooksArgs{
			GroupName: pulumi.StringRef("acc-test"),
			GroupType: pulumi.StringRef("ip"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: volcengine.cloud_firewall.CfwAddressBooks has been deprecated in favor of volcengine.cloud_firewall.getCfwAddressBooks

type CfwAddressBooksResultOutput

type CfwAddressBooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CfwAddressBooks.

func (CfwAddressBooksResultOutput) Address

func (CfwAddressBooksResultOutput) AddressBooks

The collection of query.

func (CfwAddressBooksResultOutput) Description

The description of the address book.

func (CfwAddressBooksResultOutput) ElementType

func (CfwAddressBooksResultOutput) GroupName

The name of the address book.

func (CfwAddressBooksResultOutput) GroupType

The type of the address book.

func (CfwAddressBooksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CfwAddressBooksResultOutput) NameRegex

func (CfwAddressBooksResultOutput) OutputFile

func (CfwAddressBooksResultOutput) ToCfwAddressBooksResultOutput

func (o CfwAddressBooksResultOutput) ToCfwAddressBooksResultOutput() CfwAddressBooksResultOutput

func (CfwAddressBooksResultOutput) ToCfwAddressBooksResultOutputWithContext

func (o CfwAddressBooksResultOutput) ToCfwAddressBooksResultOutputWithContext(ctx context.Context) CfwAddressBooksResultOutput

func (CfwAddressBooksResultOutput) TotalCount

The total count of query.

type CfwControlPoliciesArgs

type CfwControlPoliciesArgs struct {
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination of the control policy. This field support fuzzy query.
	Destination *string `pulumi:"destination"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId *string `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source *string `pulumi:"source"`
	// The enable status list of the control policy.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking CfwControlPolicies.

type CfwControlPoliciesControlPolicy

type CfwControlPoliciesControlPolicy struct {
	// The account id of the control policy.
	AccountId string `pulumi:"accountId"`
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the control policy.
	DestPort string `pulumi:"destPort"`
	// The dest port group type of the control policy.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the control policy.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the control policy.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the control policy.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group type of the control policy.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the control policy.
	DestinationType string `pulumi:"destinationType"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the control policy. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the control policy.
	Id string `pulumi:"id"`
	// Whether the control policy is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The priority of the control policy.
	Prio int `pulumi:"prio"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the control policy.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the control policy.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the control policy.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the control policy.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group type of the control policy.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the control policy.
	SourceType string `pulumi:"sourceType"`
	// The start time of the control policy. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the control policy.
	Status bool `pulumi:"status"`
	// The update time of the control policy.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the control policy.
	UseCount int `pulumi:"useCount"`
}

type CfwControlPoliciesControlPolicyArgs

type CfwControlPoliciesControlPolicyArgs struct {
	// The account id of the control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the control policy.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group type of the control policy.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the control policy.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the control policy.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the control policy.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group type of the control policy.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the control policy. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the control policy is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The priority of the control policy.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the control policy.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the control policy.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the control policy.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the control policy.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group type of the control policy.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the control policy.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the control policy. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the control policy.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the control policy.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (CfwControlPoliciesControlPolicyArgs) ElementType

func (CfwControlPoliciesControlPolicyArgs) ToCfwControlPoliciesControlPolicyOutput

func (i CfwControlPoliciesControlPolicyArgs) ToCfwControlPoliciesControlPolicyOutput() CfwControlPoliciesControlPolicyOutput

func (CfwControlPoliciesControlPolicyArgs) ToCfwControlPoliciesControlPolicyOutputWithContext

func (i CfwControlPoliciesControlPolicyArgs) ToCfwControlPoliciesControlPolicyOutputWithContext(ctx context.Context) CfwControlPoliciesControlPolicyOutput

type CfwControlPoliciesControlPolicyArray

type CfwControlPoliciesControlPolicyArray []CfwControlPoliciesControlPolicyInput

func (CfwControlPoliciesControlPolicyArray) ElementType

func (CfwControlPoliciesControlPolicyArray) ToCfwControlPoliciesControlPolicyArrayOutput

func (i CfwControlPoliciesControlPolicyArray) ToCfwControlPoliciesControlPolicyArrayOutput() CfwControlPoliciesControlPolicyArrayOutput

func (CfwControlPoliciesControlPolicyArray) ToCfwControlPoliciesControlPolicyArrayOutputWithContext

func (i CfwControlPoliciesControlPolicyArray) ToCfwControlPoliciesControlPolicyArrayOutputWithContext(ctx context.Context) CfwControlPoliciesControlPolicyArrayOutput

type CfwControlPoliciesControlPolicyArrayInput

type CfwControlPoliciesControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwControlPoliciesControlPolicyArrayOutput() CfwControlPoliciesControlPolicyArrayOutput
	ToCfwControlPoliciesControlPolicyArrayOutputWithContext(context.Context) CfwControlPoliciesControlPolicyArrayOutput
}

CfwControlPoliciesControlPolicyArrayInput is an input type that accepts CfwControlPoliciesControlPolicyArray and CfwControlPoliciesControlPolicyArrayOutput values. You can construct a concrete instance of `CfwControlPoliciesControlPolicyArrayInput` via:

CfwControlPoliciesControlPolicyArray{ CfwControlPoliciesControlPolicyArgs{...} }

type CfwControlPoliciesControlPolicyArrayOutput

type CfwControlPoliciesControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwControlPoliciesControlPolicyArrayOutput) ElementType

func (CfwControlPoliciesControlPolicyArrayOutput) Index

func (CfwControlPoliciesControlPolicyArrayOutput) ToCfwControlPoliciesControlPolicyArrayOutput

func (o CfwControlPoliciesControlPolicyArrayOutput) ToCfwControlPoliciesControlPolicyArrayOutput() CfwControlPoliciesControlPolicyArrayOutput

func (CfwControlPoliciesControlPolicyArrayOutput) ToCfwControlPoliciesControlPolicyArrayOutputWithContext

func (o CfwControlPoliciesControlPolicyArrayOutput) ToCfwControlPoliciesControlPolicyArrayOutputWithContext(ctx context.Context) CfwControlPoliciesControlPolicyArrayOutput

type CfwControlPoliciesControlPolicyInput

type CfwControlPoliciesControlPolicyInput interface {
	pulumi.Input

	ToCfwControlPoliciesControlPolicyOutput() CfwControlPoliciesControlPolicyOutput
	ToCfwControlPoliciesControlPolicyOutputWithContext(context.Context) CfwControlPoliciesControlPolicyOutput
}

CfwControlPoliciesControlPolicyInput is an input type that accepts CfwControlPoliciesControlPolicyArgs and CfwControlPoliciesControlPolicyOutput values. You can construct a concrete instance of `CfwControlPoliciesControlPolicyInput` via:

CfwControlPoliciesControlPolicyArgs{...}

type CfwControlPoliciesControlPolicyOutput

type CfwControlPoliciesControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwControlPoliciesControlPolicyOutput) AccountId

The account id of the control policy.

func (CfwControlPoliciesControlPolicyOutput) Action

The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.

func (CfwControlPoliciesControlPolicyOutput) Description

The description of the control policy. This field support fuzzy query.

func (CfwControlPoliciesControlPolicyOutput) DestPort

The dest port of the control policy.

func (CfwControlPoliciesControlPolicyOutput) DestPortGroupType

The dest port group type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) DestPortLists

The dest port list of the control policy.

func (CfwControlPoliciesControlPolicyOutput) DestPortType

The dest port type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) Destination

The destination of the control policy. This field support fuzzy query.

func (CfwControlPoliciesControlPolicyOutput) DestinationCidrLists

The destination cidr list of the control policy.

func (CfwControlPoliciesControlPolicyOutput) DestinationGroupType

The destination group type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) DestinationType

The destination type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) Direction

The direction of control policy. Valid values: `in`, `out`.

func (CfwControlPoliciesControlPolicyOutput) EffectStatus

The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwControlPoliciesControlPolicyOutput) ElementType

func (CfwControlPoliciesControlPolicyOutput) EndTime

The end time of the control policy. Unix timestamp.

func (CfwControlPoliciesControlPolicyOutput) HitCnt

The hit count of the control policy.

func (CfwControlPoliciesControlPolicyOutput) Id

The id of the control policy.

func (CfwControlPoliciesControlPolicyOutput) IsEffected

Whether the control policy is effected.

func (CfwControlPoliciesControlPolicyOutput) Prio

The priority of the control policy.

func (CfwControlPoliciesControlPolicyOutput) Proto

The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwControlPoliciesControlPolicyOutput) RepeatDays

The repeat days of the control policy.

func (CfwControlPoliciesControlPolicyOutput) RepeatEndTime

The repeat end time of the control policy.

func (CfwControlPoliciesControlPolicyOutput) RepeatStartTime

The repeat start time of the control policy.

func (CfwControlPoliciesControlPolicyOutput) RepeatType

The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwControlPoliciesControlPolicyOutput) RuleId

The rule id of the control policy. This field support fuzzy query.

func (CfwControlPoliciesControlPolicyOutput) Source

The source of the control policy. This field support fuzzy query.

func (CfwControlPoliciesControlPolicyOutput) SourceCidrLists

The source cidr list of the control policy.

func (CfwControlPoliciesControlPolicyOutput) SourceGroupType

The source group type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) SourceType

The source type of the control policy.

func (CfwControlPoliciesControlPolicyOutput) StartTime

The start time of the control policy. Unix timestamp.

func (CfwControlPoliciesControlPolicyOutput) Status

The enable status list of the control policy.

func (CfwControlPoliciesControlPolicyOutput) ToCfwControlPoliciesControlPolicyOutput

func (o CfwControlPoliciesControlPolicyOutput) ToCfwControlPoliciesControlPolicyOutput() CfwControlPoliciesControlPolicyOutput

func (CfwControlPoliciesControlPolicyOutput) ToCfwControlPoliciesControlPolicyOutputWithContext

func (o CfwControlPoliciesControlPolicyOutput) ToCfwControlPoliciesControlPolicyOutputWithContext(ctx context.Context) CfwControlPoliciesControlPolicyOutput

func (CfwControlPoliciesControlPolicyOutput) UpdateTime

The update time of the control policy.

func (CfwControlPoliciesControlPolicyOutput) UseCount

The use count of the control policy.

type CfwControlPoliciesOutputArgs

type CfwControlPoliciesOutputArgs struct {
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination of the control policy. This field support fuzzy query.
	Destination pulumi.StringPtrInput `pulumi:"destination"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The enable status list of the control policy.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking CfwControlPolicies.

func (CfwControlPoliciesOutputArgs) ElementType

type CfwControlPoliciesResult

type CfwControlPoliciesResult struct {
	// The action of the control policy.
	Actions []string `pulumi:"actions"`
	// The collection of query.
	ControlPolicies []CfwControlPoliciesControlPolicy `pulumi:"controlPolicies"`
	// The description of the control policy.
	Description *string `pulumi:"description"`
	// The destination of the control policy.
	Destination *string `pulumi:"destination"`
	// The direction of the control policy.
	Direction string `pulumi:"direction"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The proto of the control policy.
	Protos []string `pulumi:"protos"`
	// The repeat type of the control policy.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the control policy.
	RuleId *string `pulumi:"ruleId"`
	// The source of the control policy.
	Source *string `pulumi:"source"`
	// Whether to enable the control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by CfwControlPolicies.

func CfwControlPolicies deprecated

func CfwControlPolicies(ctx *pulumi.Context, args *CfwControlPoliciesArgs, opts ...pulumi.InvokeOption) (*CfwControlPoliciesResult, error)

Use this data source to query detailed information of cfw control policies ## Example Usage

```go 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.GetCfwControlPolicies(ctx, &cloud_firewall.GetCfwControlPoliciesArgs{
			Actions: []string{
				"deny",
			},
			Direction: "in",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: volcengine.cloud_firewall.CfwControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwControlPolicies

type CfwControlPoliciesResultOutput

type CfwControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CfwControlPolicies.

func (CfwControlPoliciesResultOutput) Actions

The action of the control policy.

func (CfwControlPoliciesResultOutput) ControlPolicies

The collection of query.

func (CfwControlPoliciesResultOutput) Description

The description of the control policy.

func (CfwControlPoliciesResultOutput) Destination

The destination of the control policy.

func (CfwControlPoliciesResultOutput) Direction

The direction of the control policy.

func (CfwControlPoliciesResultOutput) ElementType

func (CfwControlPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CfwControlPoliciesResultOutput) OutputFile

func (CfwControlPoliciesResultOutput) Protos

The proto of the control policy.

func (CfwControlPoliciesResultOutput) RepeatTypes

The repeat type of the control policy.

func (CfwControlPoliciesResultOutput) RuleId

The id of the control policy.

func (CfwControlPoliciesResultOutput) Source

The source of the control policy.

func (CfwControlPoliciesResultOutput) Statuses

Whether to enable the control policy.

func (CfwControlPoliciesResultOutput) ToCfwControlPoliciesResultOutput

func (o CfwControlPoliciesResultOutput) ToCfwControlPoliciesResultOutput() CfwControlPoliciesResultOutput

func (CfwControlPoliciesResultOutput) ToCfwControlPoliciesResultOutputWithContext

func (o CfwControlPoliciesResultOutput) ToCfwControlPoliciesResultOutputWithContext(ctx context.Context) CfwControlPoliciesResultOutput

func (CfwControlPoliciesResultOutput) TotalCount

The total count of query.

type CfwControlPolicy

type CfwControlPolicy struct {
	pulumi.CustomResourceState

	// The account id of the control policy.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The action of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringOutput `pulumi:"action"`
	// The description of the control policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The dest port of the control policy.
	DestPort pulumi.StringOutput `pulumi:"destPort"`
	// The dest port type of the control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringOutput `pulumi:"destPortType"`
	// The destination of the control policy.
	Destination pulumi.StringOutput `pulumi:"destination"`
	// The destination type of the control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringOutput `pulumi:"destinationType"`
	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntOutput `pulumi:"effectStatus"`
	// The end time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrOutput `pulumi:"endTime"`
	// The hit count of the control policy.
	HitCnt pulumi.IntOutput `pulumi:"hitCnt"`
	// Whether the control policy is effected.
	IsEffected pulumi.BoolOutput `pulumi:"isEffected"`
	// The priority of the control policy.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The priority of the control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The proto of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringOutput `pulumi:"proto"`
	// The repeat days of the control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayOutput `pulumi:"repeatDays"`
	// The repeat end time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrOutput `pulumi:"repeatEndTime"`
	// The repeat start time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrOutput `pulumi:"repeatStartTime"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringOutput `pulumi:"repeatType"`
	// The rule id of the control policy.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The source of the control policy.
	Source pulumi.StringOutput `pulumi:"source"`
	// The source type of the control policy. Valid values: `net`, `group`, `location`.
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
	// The start time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrOutput `pulumi:"startTime"`
	// Whether to enable the control policy. Default is false.
	Status pulumi.BoolOutput `pulumi:"status"`
	// The update time of the control policy.
	UpdateTime pulumi.IntOutput `pulumi:"updateTime"`
	// The use count of the control policy.
	UseCount pulumi.IntOutput `pulumi:"useCount"`
}

Provides a resource to manage cfw control policy ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwControlPolicy(ctx, "fooCfwControlPolicy", &cloud_firewall.CfwControlPolicyArgs{
			Direction:       pulumi.String("in"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ControlPolicy can be imported using the direction:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwControlPolicy:CfwControlPolicy default resource_id ```

func GetCfwControlPolicy

func GetCfwControlPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwControlPolicyState, opts ...pulumi.ResourceOption) (*CfwControlPolicy, error)

GetCfwControlPolicy gets an existing CfwControlPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwControlPolicy

func NewCfwControlPolicy(ctx *pulumi.Context,
	name string, args *CfwControlPolicyArgs, opts ...pulumi.ResourceOption) (*CfwControlPolicy, error)

NewCfwControlPolicy registers a new resource with the given unique name, arguments, and options.

func (*CfwControlPolicy) ElementType

func (*CfwControlPolicy) ElementType() reflect.Type

func (*CfwControlPolicy) ToCfwControlPolicyOutput

func (i *CfwControlPolicy) ToCfwControlPolicyOutput() CfwControlPolicyOutput

func (*CfwControlPolicy) ToCfwControlPolicyOutputWithContext

func (i *CfwControlPolicy) ToCfwControlPolicyOutputWithContext(ctx context.Context) CfwControlPolicyOutput

type CfwControlPolicyArgs

type CfwControlPolicyArgs struct {
	// The action of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput
	// The description of the control policy.
	Description pulumi.StringPtrInput
	// The dest port of the control policy.
	DestPort pulumi.StringPtrInput
	// The dest port type of the control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the control policy.
	Destination pulumi.StringInput
	// The destination type of the control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringInput
	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The end time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The priority of the control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput
	// The repeat days of the control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The source of the control policy.
	Source pulumi.StringInput
	// The source type of the control policy. Valid values: `net`, `group`, `location`.
	SourceType pulumi.StringInput
	// The start time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the control policy. Default is false.
	Status pulumi.BoolPtrInput
}

The set of arguments for constructing a CfwControlPolicy resource.

func (CfwControlPolicyArgs) ElementType

func (CfwControlPolicyArgs) ElementType() reflect.Type

type CfwControlPolicyArray

type CfwControlPolicyArray []CfwControlPolicyInput

func (CfwControlPolicyArray) ElementType

func (CfwControlPolicyArray) ElementType() reflect.Type

func (CfwControlPolicyArray) ToCfwControlPolicyArrayOutput

func (i CfwControlPolicyArray) ToCfwControlPolicyArrayOutput() CfwControlPolicyArrayOutput

func (CfwControlPolicyArray) ToCfwControlPolicyArrayOutputWithContext

func (i CfwControlPolicyArray) ToCfwControlPolicyArrayOutputWithContext(ctx context.Context) CfwControlPolicyArrayOutput

type CfwControlPolicyArrayInput

type CfwControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwControlPolicyArrayOutput() CfwControlPolicyArrayOutput
	ToCfwControlPolicyArrayOutputWithContext(context.Context) CfwControlPolicyArrayOutput
}

CfwControlPolicyArrayInput is an input type that accepts CfwControlPolicyArray and CfwControlPolicyArrayOutput values. You can construct a concrete instance of `CfwControlPolicyArrayInput` via:

CfwControlPolicyArray{ CfwControlPolicyArgs{...} }

type CfwControlPolicyArrayOutput

type CfwControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyArrayOutput) ElementType

func (CfwControlPolicyArrayOutput) Index

func (CfwControlPolicyArrayOutput) ToCfwControlPolicyArrayOutput

func (o CfwControlPolicyArrayOutput) ToCfwControlPolicyArrayOutput() CfwControlPolicyArrayOutput

func (CfwControlPolicyArrayOutput) ToCfwControlPolicyArrayOutputWithContext

func (o CfwControlPolicyArrayOutput) ToCfwControlPolicyArrayOutputWithContext(ctx context.Context) CfwControlPolicyArrayOutput

type CfwControlPolicyInput

type CfwControlPolicyInput interface {
	pulumi.Input

	ToCfwControlPolicyOutput() CfwControlPolicyOutput
	ToCfwControlPolicyOutputWithContext(ctx context.Context) CfwControlPolicyOutput
}

type CfwControlPolicyMap

type CfwControlPolicyMap map[string]CfwControlPolicyInput

func (CfwControlPolicyMap) ElementType

func (CfwControlPolicyMap) ElementType() reflect.Type

func (CfwControlPolicyMap) ToCfwControlPolicyMapOutput

func (i CfwControlPolicyMap) ToCfwControlPolicyMapOutput() CfwControlPolicyMapOutput

func (CfwControlPolicyMap) ToCfwControlPolicyMapOutputWithContext

func (i CfwControlPolicyMap) ToCfwControlPolicyMapOutputWithContext(ctx context.Context) CfwControlPolicyMapOutput

type CfwControlPolicyMapInput

type CfwControlPolicyMapInput interface {
	pulumi.Input

	ToCfwControlPolicyMapOutput() CfwControlPolicyMapOutput
	ToCfwControlPolicyMapOutputWithContext(context.Context) CfwControlPolicyMapOutput
}

CfwControlPolicyMapInput is an input type that accepts CfwControlPolicyMap and CfwControlPolicyMapOutput values. You can construct a concrete instance of `CfwControlPolicyMapInput` via:

CfwControlPolicyMap{ "key": CfwControlPolicyArgs{...} }

type CfwControlPolicyMapOutput

type CfwControlPolicyMapOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyMapOutput) ElementType

func (CfwControlPolicyMapOutput) ElementType() reflect.Type

func (CfwControlPolicyMapOutput) MapIndex

func (CfwControlPolicyMapOutput) ToCfwControlPolicyMapOutput

func (o CfwControlPolicyMapOutput) ToCfwControlPolicyMapOutput() CfwControlPolicyMapOutput

func (CfwControlPolicyMapOutput) ToCfwControlPolicyMapOutputWithContext

func (o CfwControlPolicyMapOutput) ToCfwControlPolicyMapOutputWithContext(ctx context.Context) CfwControlPolicyMapOutput

type CfwControlPolicyOutput

type CfwControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyOutput) AccountId

The account id of the control policy.

func (CfwControlPolicyOutput) Action

The action of the control policy. Valid values: `accept`, `deny`, `monitor`.

func (CfwControlPolicyOutput) Description

The description of the control policy.

func (CfwControlPolicyOutput) DestPort

The dest port of the control policy.

func (CfwControlPolicyOutput) DestPortType

func (o CfwControlPolicyOutput) DestPortType() pulumi.StringOutput

The dest port type of the control policy. Valid values: `port`, `group`.

func (CfwControlPolicyOutput) Destination

func (o CfwControlPolicyOutput) Destination() pulumi.StringOutput

The destination of the control policy.

func (CfwControlPolicyOutput) DestinationType

func (o CfwControlPolicyOutput) DestinationType() pulumi.StringOutput

The destination type of the control policy. Valid values: `net`, `group`, `location`, `domain`.

func (CfwControlPolicyOutput) Direction

The direction of the control policy. Valid values: `in`, `out`.

func (CfwControlPolicyOutput) EffectStatus

func (o CfwControlPolicyOutput) EffectStatus() pulumi.IntOutput

The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwControlPolicyOutput) ElementType

func (CfwControlPolicyOutput) ElementType() reflect.Type

func (CfwControlPolicyOutput) EndTime

The end time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwControlPolicyOutput) HitCnt

The hit count of the control policy.

func (CfwControlPolicyOutput) IsEffected

func (o CfwControlPolicyOutput) IsEffected() pulumi.BoolOutput

Whether the control policy is effected.

func (CfwControlPolicyOutput) Prio

The priority of the control policy.

func (CfwControlPolicyOutput) Priority

The priority of the control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwControlPolicyOutput) Proto

The proto of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwControlPolicyOutput) RepeatDays

The repeat days of the control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required. When the repeatType is `Weekly`, the valid value range is 0~6. When the repeatType is `Monthly`, the valid value range is 1~31.

func (CfwControlPolicyOutput) RepeatEndTime

func (o CfwControlPolicyOutput) RepeatEndTime() pulumi.StringPtrOutput

The repeat end time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwControlPolicyOutput) RepeatStartTime

func (o CfwControlPolicyOutput) RepeatStartTime() pulumi.StringPtrOutput

The repeat start time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwControlPolicyOutput) RepeatType

The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwControlPolicyOutput) RuleId

The rule id of the control policy.

func (CfwControlPolicyOutput) Source

The source of the control policy.

func (CfwControlPolicyOutput) SourceType

The source type of the control policy. Valid values: `net`, `group`, `location`.

func (CfwControlPolicyOutput) StartTime

The start time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwControlPolicyOutput) Status

Whether to enable the control policy. Default is false.

func (CfwControlPolicyOutput) ToCfwControlPolicyOutput

func (o CfwControlPolicyOutput) ToCfwControlPolicyOutput() CfwControlPolicyOutput

func (CfwControlPolicyOutput) ToCfwControlPolicyOutputWithContext

func (o CfwControlPolicyOutput) ToCfwControlPolicyOutputWithContext(ctx context.Context) CfwControlPolicyOutput

func (CfwControlPolicyOutput) UpdateTime

func (o CfwControlPolicyOutput) UpdateTime() pulumi.IntOutput

The update time of the control policy.

func (CfwControlPolicyOutput) UseCount

The use count of the control policy.

type CfwControlPolicyPriority

type CfwControlPolicyPriority struct {
	pulumi.CustomResourceState

	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The new priority of the control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrOutput `pulumi:"newPrio"`
	// The priority of the control policy.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The rule id of the control policy.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
}

Provides a resource to manage cfw control policy priority ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		fooCfwControlPolicy, err := cloud_firewall.NewCfwControlPolicy(ctx, "fooCfwControlPolicy", &cloud_firewall.CfwControlPolicyArgs{
			Direction:       pulumi.String("in"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwControlPolicyPriority(ctx, "fooCfwControlPolicyPriority", &cloud_firewall.CfwControlPolicyPriorityArgs{
			Direction: pulumi.String("in"),
			RuleId:    fooCfwControlPolicy.RuleId,
			NewPrio:   pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ControlPolicyPriority can be imported using the direction:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwControlPolicyPriority:CfwControlPolicyPriority default resource_id ```

func GetCfwControlPolicyPriority

func GetCfwControlPolicyPriority(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwControlPolicyPriorityState, opts ...pulumi.ResourceOption) (*CfwControlPolicyPriority, error)

GetCfwControlPolicyPriority gets an existing CfwControlPolicyPriority resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwControlPolicyPriority

func NewCfwControlPolicyPriority(ctx *pulumi.Context,
	name string, args *CfwControlPolicyPriorityArgs, opts ...pulumi.ResourceOption) (*CfwControlPolicyPriority, error)

NewCfwControlPolicyPriority registers a new resource with the given unique name, arguments, and options.

func (*CfwControlPolicyPriority) ElementType

func (*CfwControlPolicyPriority) ElementType() reflect.Type

func (*CfwControlPolicyPriority) ToCfwControlPolicyPriorityOutput

func (i *CfwControlPolicyPriority) ToCfwControlPolicyPriorityOutput() CfwControlPolicyPriorityOutput

func (*CfwControlPolicyPriority) ToCfwControlPolicyPriorityOutputWithContext

func (i *CfwControlPolicyPriority) ToCfwControlPolicyPriorityOutputWithContext(ctx context.Context) CfwControlPolicyPriorityOutput

type CfwControlPolicyPriorityArgs

type CfwControlPolicyPriorityArgs struct {
	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The new priority of the control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The rule id of the control policy.
	RuleId pulumi.StringInput
}

The set of arguments for constructing a CfwControlPolicyPriority resource.

func (CfwControlPolicyPriorityArgs) ElementType

type CfwControlPolicyPriorityArray

type CfwControlPolicyPriorityArray []CfwControlPolicyPriorityInput

func (CfwControlPolicyPriorityArray) ElementType

func (CfwControlPolicyPriorityArray) ToCfwControlPolicyPriorityArrayOutput

func (i CfwControlPolicyPriorityArray) ToCfwControlPolicyPriorityArrayOutput() CfwControlPolicyPriorityArrayOutput

func (CfwControlPolicyPriorityArray) ToCfwControlPolicyPriorityArrayOutputWithContext

func (i CfwControlPolicyPriorityArray) ToCfwControlPolicyPriorityArrayOutputWithContext(ctx context.Context) CfwControlPolicyPriorityArrayOutput

type CfwControlPolicyPriorityArrayInput

type CfwControlPolicyPriorityArrayInput interface {
	pulumi.Input

	ToCfwControlPolicyPriorityArrayOutput() CfwControlPolicyPriorityArrayOutput
	ToCfwControlPolicyPriorityArrayOutputWithContext(context.Context) CfwControlPolicyPriorityArrayOutput
}

CfwControlPolicyPriorityArrayInput is an input type that accepts CfwControlPolicyPriorityArray and CfwControlPolicyPriorityArrayOutput values. You can construct a concrete instance of `CfwControlPolicyPriorityArrayInput` via:

CfwControlPolicyPriorityArray{ CfwControlPolicyPriorityArgs{...} }

type CfwControlPolicyPriorityArrayOutput

type CfwControlPolicyPriorityArrayOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyPriorityArrayOutput) ElementType

func (CfwControlPolicyPriorityArrayOutput) Index

func (CfwControlPolicyPriorityArrayOutput) ToCfwControlPolicyPriorityArrayOutput

func (o CfwControlPolicyPriorityArrayOutput) ToCfwControlPolicyPriorityArrayOutput() CfwControlPolicyPriorityArrayOutput

func (CfwControlPolicyPriorityArrayOutput) ToCfwControlPolicyPriorityArrayOutputWithContext

func (o CfwControlPolicyPriorityArrayOutput) ToCfwControlPolicyPriorityArrayOutputWithContext(ctx context.Context) CfwControlPolicyPriorityArrayOutput

type CfwControlPolicyPriorityInput

type CfwControlPolicyPriorityInput interface {
	pulumi.Input

	ToCfwControlPolicyPriorityOutput() CfwControlPolicyPriorityOutput
	ToCfwControlPolicyPriorityOutputWithContext(ctx context.Context) CfwControlPolicyPriorityOutput
}

type CfwControlPolicyPriorityMap

type CfwControlPolicyPriorityMap map[string]CfwControlPolicyPriorityInput

func (CfwControlPolicyPriorityMap) ElementType

func (CfwControlPolicyPriorityMap) ToCfwControlPolicyPriorityMapOutput

func (i CfwControlPolicyPriorityMap) ToCfwControlPolicyPriorityMapOutput() CfwControlPolicyPriorityMapOutput

func (CfwControlPolicyPriorityMap) ToCfwControlPolicyPriorityMapOutputWithContext

func (i CfwControlPolicyPriorityMap) ToCfwControlPolicyPriorityMapOutputWithContext(ctx context.Context) CfwControlPolicyPriorityMapOutput

type CfwControlPolicyPriorityMapInput

type CfwControlPolicyPriorityMapInput interface {
	pulumi.Input

	ToCfwControlPolicyPriorityMapOutput() CfwControlPolicyPriorityMapOutput
	ToCfwControlPolicyPriorityMapOutputWithContext(context.Context) CfwControlPolicyPriorityMapOutput
}

CfwControlPolicyPriorityMapInput is an input type that accepts CfwControlPolicyPriorityMap and CfwControlPolicyPriorityMapOutput values. You can construct a concrete instance of `CfwControlPolicyPriorityMapInput` via:

CfwControlPolicyPriorityMap{ "key": CfwControlPolicyPriorityArgs{...} }

type CfwControlPolicyPriorityMapOutput

type CfwControlPolicyPriorityMapOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyPriorityMapOutput) ElementType

func (CfwControlPolicyPriorityMapOutput) MapIndex

func (CfwControlPolicyPriorityMapOutput) ToCfwControlPolicyPriorityMapOutput

func (o CfwControlPolicyPriorityMapOutput) ToCfwControlPolicyPriorityMapOutput() CfwControlPolicyPriorityMapOutput

func (CfwControlPolicyPriorityMapOutput) ToCfwControlPolicyPriorityMapOutputWithContext

func (o CfwControlPolicyPriorityMapOutput) ToCfwControlPolicyPriorityMapOutputWithContext(ctx context.Context) CfwControlPolicyPriorityMapOutput

type CfwControlPolicyPriorityOutput

type CfwControlPolicyPriorityOutput struct{ *pulumi.OutputState }

func (CfwControlPolicyPriorityOutput) Direction

The direction of the control policy. Valid values: `in`, `out`.

func (CfwControlPolicyPriorityOutput) ElementType

func (CfwControlPolicyPriorityOutput) NewPrio

The new priority of the control policy. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwControlPolicyPriorityOutput) Prio

The priority of the control policy.

func (CfwControlPolicyPriorityOutput) RuleId

The rule id of the control policy.

func (CfwControlPolicyPriorityOutput) ToCfwControlPolicyPriorityOutput

func (o CfwControlPolicyPriorityOutput) ToCfwControlPolicyPriorityOutput() CfwControlPolicyPriorityOutput

func (CfwControlPolicyPriorityOutput) ToCfwControlPolicyPriorityOutputWithContext

func (o CfwControlPolicyPriorityOutput) ToCfwControlPolicyPriorityOutputWithContext(ctx context.Context) CfwControlPolicyPriorityOutput

type CfwControlPolicyPriorityState

type CfwControlPolicyPriorityState struct {
	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The new priority of the control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The priority of the control policy.
	Prio pulumi.IntPtrInput
	// The rule id of the control policy.
	RuleId pulumi.StringPtrInput
}

func (CfwControlPolicyPriorityState) ElementType

type CfwControlPolicyState

type CfwControlPolicyState struct {
	// The account id of the control policy.
	AccountId pulumi.StringPtrInput
	// The action of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringPtrInput
	// The description of the control policy.
	Description pulumi.StringPtrInput
	// The dest port of the control policy.
	DestPort pulumi.StringPtrInput
	// The dest port type of the control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the control policy.
	Destination pulumi.StringPtrInput
	// The destination type of the control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringPtrInput
	// The direction of the control policy. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntPtrInput
	// The end time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The hit count of the control policy.
	HitCnt pulumi.IntPtrInput
	// Whether the control policy is effected.
	IsEffected pulumi.BoolPtrInput
	// The priority of the control policy.
	Prio pulumi.IntPtrInput
	// The priority of the control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringPtrInput
	// The repeat days of the control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The rule id of the control policy.
	RuleId pulumi.StringPtrInput
	// The source of the control policy.
	Source pulumi.StringPtrInput
	// The source type of the control policy. Valid values: `net`, `group`, `location`.
	SourceType pulumi.StringPtrInput
	// The start time of the control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the control policy. Default is false.
	Status pulumi.BoolPtrInput
	// The update time of the control policy.
	UpdateTime pulumi.IntPtrInput
	// The use count of the control policy.
	UseCount pulumi.IntPtrInput
}

func (CfwControlPolicyState) ElementType

func (CfwControlPolicyState) ElementType() reflect.Type

type CfwDnsControlPoliciesArgs

type CfwDnsControlPoliciesArgs struct {
	// The description of the dns control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destinations []string `pulumi:"destinations"`
	// The rule id list of the dns control policy. This field support fuzzy query.
	Ids []string `pulumi:"ids"`
	// The internet firewall id of the dns control policy.
	InternetFirewallId *string `pulumi:"internetFirewallId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources []string `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking CfwDnsControlPolicies.

type CfwDnsControlPoliciesDnsControlPolicy

type CfwDnsControlPoliciesDnsControlPolicy struct {
	// The account id of the dns control policy.
	AccountId string `pulumi:"accountId"`
	// The description of the dns control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination group list of the dns control policy.
	DestinationGroupLists []string `pulumi:"destinationGroupLists"`
	// The destination type of the dns control policy.
	DestinationType string `pulumi:"destinationType"`
	// The destination domain list of the dns control policy.
	DomainLists []string `pulumi:"domainLists"`
	// The hit count of the dns control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the dns control policy.
	Id string `pulumi:"id"`
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime int `pulumi:"lastHitTime"`
	// The id of the dns control policy.
	RuleId string `pulumi:"ruleId"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources []CfwDnsControlPoliciesDnsControlPolicySource `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Status bool `pulumi:"status"`
	// The use count of the dns control policy.
	UseCount int `pulumi:"useCount"`
}

type CfwDnsControlPoliciesDnsControlPolicyArgs

type CfwDnsControlPoliciesDnsControlPolicyArgs struct {
	// The account id of the dns control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The description of the dns control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination group list of the dns control policy.
	DestinationGroupLists pulumi.StringArrayInput `pulumi:"destinationGroupLists"`
	// The destination type of the dns control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The destination domain list of the dns control policy.
	DomainLists pulumi.StringArrayInput `pulumi:"domainLists"`
	// The hit count of the dns control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the dns control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime pulumi.IntInput `pulumi:"lastHitTime"`
	// The id of the dns control policy.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources CfwDnsControlPoliciesDnsControlPolicySourceArrayInput `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Status pulumi.BoolInput `pulumi:"status"`
	// The use count of the dns control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (CfwDnsControlPoliciesDnsControlPolicyArgs) ElementType

func (CfwDnsControlPoliciesDnsControlPolicyArgs) ToCfwDnsControlPoliciesDnsControlPolicyOutput

func (i CfwDnsControlPoliciesDnsControlPolicyArgs) ToCfwDnsControlPoliciesDnsControlPolicyOutput() CfwDnsControlPoliciesDnsControlPolicyOutput

func (CfwDnsControlPoliciesDnsControlPolicyArgs) ToCfwDnsControlPoliciesDnsControlPolicyOutputWithContext

func (i CfwDnsControlPoliciesDnsControlPolicyArgs) ToCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicyOutput

type CfwDnsControlPoliciesDnsControlPolicyArray

type CfwDnsControlPoliciesDnsControlPolicyArray []CfwDnsControlPoliciesDnsControlPolicyInput

func (CfwDnsControlPoliciesDnsControlPolicyArray) ElementType

func (CfwDnsControlPoliciesDnsControlPolicyArray) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (i CfwDnsControlPoliciesDnsControlPolicyArray) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutput() CfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (CfwDnsControlPoliciesDnsControlPolicyArray) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext

func (i CfwDnsControlPoliciesDnsControlPolicyArray) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicyArrayOutput

type CfwDnsControlPoliciesDnsControlPolicyArrayInput

type CfwDnsControlPoliciesDnsControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwDnsControlPoliciesDnsControlPolicyArrayOutput() CfwDnsControlPoliciesDnsControlPolicyArrayOutput
	ToCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(context.Context) CfwDnsControlPoliciesDnsControlPolicyArrayOutput
}

CfwDnsControlPoliciesDnsControlPolicyArrayInput is an input type that accepts CfwDnsControlPoliciesDnsControlPolicyArray and CfwDnsControlPoliciesDnsControlPolicyArrayOutput values. You can construct a concrete instance of `CfwDnsControlPoliciesDnsControlPolicyArrayInput` via:

CfwDnsControlPoliciesDnsControlPolicyArray{ CfwDnsControlPoliciesDnsControlPolicyArgs{...} }

type CfwDnsControlPoliciesDnsControlPolicyArrayOutput

type CfwDnsControlPoliciesDnsControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPoliciesDnsControlPolicyArrayOutput) ElementType

func (CfwDnsControlPoliciesDnsControlPolicyArrayOutput) Index

func (CfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (o CfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutput() CfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (CfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext

func (o CfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicyArrayOutput

type CfwDnsControlPoliciesDnsControlPolicyInput

type CfwDnsControlPoliciesDnsControlPolicyInput interface {
	pulumi.Input

	ToCfwDnsControlPoliciesDnsControlPolicyOutput() CfwDnsControlPoliciesDnsControlPolicyOutput
	ToCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(context.Context) CfwDnsControlPoliciesDnsControlPolicyOutput
}

CfwDnsControlPoliciesDnsControlPolicyInput is an input type that accepts CfwDnsControlPoliciesDnsControlPolicyArgs and CfwDnsControlPoliciesDnsControlPolicyOutput values. You can construct a concrete instance of `CfwDnsControlPoliciesDnsControlPolicyInput` via:

CfwDnsControlPoliciesDnsControlPolicyArgs{...}

type CfwDnsControlPoliciesDnsControlPolicyOutput

type CfwDnsControlPoliciesDnsControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPoliciesDnsControlPolicyOutput) AccountId

The account id of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) Description

The description of the dns control policy. This field support fuzzy query.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) Destination

The destination list of the dns control policy. This field support fuzzy query.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) DestinationGroupLists

The destination group list of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) DestinationType

The destination type of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) DomainLists

The destination domain list of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) ElementType

func (CfwDnsControlPoliciesDnsControlPolicyOutput) HitCnt

The hit count of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) Id

The id of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) LastHitTime

The last hit time of the dns control policy. Unix timestamp.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) RuleId

The id of the dns control policy.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) Sources

The source list of the dns control policy. This field support fuzzy query.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) Status

The enable status list of the dns control policy. This field support fuzzy query.

func (CfwDnsControlPoliciesDnsControlPolicyOutput) ToCfwDnsControlPoliciesDnsControlPolicyOutput

func (o CfwDnsControlPoliciesDnsControlPolicyOutput) ToCfwDnsControlPoliciesDnsControlPolicyOutput() CfwDnsControlPoliciesDnsControlPolicyOutput

func (CfwDnsControlPoliciesDnsControlPolicyOutput) ToCfwDnsControlPoliciesDnsControlPolicyOutputWithContext

func (o CfwDnsControlPoliciesDnsControlPolicyOutput) ToCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicyOutput

func (CfwDnsControlPoliciesDnsControlPolicyOutput) UseCount

The use count of the dns control policy.

type CfwDnsControlPoliciesDnsControlPolicySource

type CfwDnsControlPoliciesDnsControlPolicySource struct {
	// The region of the source vpc.
	Region string `pulumi:"region"`
	// The id of the source vpc.
	VpcId string `pulumi:"vpcId"`
}

type CfwDnsControlPoliciesDnsControlPolicySourceArgs

type CfwDnsControlPoliciesDnsControlPolicySourceArgs struct {
	// The region of the source vpc.
	Region pulumi.StringInput `pulumi:"region"`
	// The id of the source vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (CfwDnsControlPoliciesDnsControlPolicySourceArgs) ElementType

func (CfwDnsControlPoliciesDnsControlPolicySourceArgs) ToCfwDnsControlPoliciesDnsControlPolicySourceOutput

func (i CfwDnsControlPoliciesDnsControlPolicySourceArgs) ToCfwDnsControlPoliciesDnsControlPolicySourceOutput() CfwDnsControlPoliciesDnsControlPolicySourceOutput

func (CfwDnsControlPoliciesDnsControlPolicySourceArgs) ToCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext

func (i CfwDnsControlPoliciesDnsControlPolicySourceArgs) ToCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicySourceOutput

type CfwDnsControlPoliciesDnsControlPolicySourceArray

type CfwDnsControlPoliciesDnsControlPolicySourceArray []CfwDnsControlPoliciesDnsControlPolicySourceInput

func (CfwDnsControlPoliciesDnsControlPolicySourceArray) ElementType

func (CfwDnsControlPoliciesDnsControlPolicySourceArray) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

func (i CfwDnsControlPoliciesDnsControlPolicySourceArray) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput() CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

func (CfwDnsControlPoliciesDnsControlPolicySourceArray) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext

func (i CfwDnsControlPoliciesDnsControlPolicySourceArray) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

type CfwDnsControlPoliciesDnsControlPolicySourceArrayInput

type CfwDnsControlPoliciesDnsControlPolicySourceArrayInput interface {
	pulumi.Input

	ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput() CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput
	ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(context.Context) CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput
}

CfwDnsControlPoliciesDnsControlPolicySourceArrayInput is an input type that accepts CfwDnsControlPoliciesDnsControlPolicySourceArray and CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput values. You can construct a concrete instance of `CfwDnsControlPoliciesDnsControlPolicySourceArrayInput` via:

CfwDnsControlPoliciesDnsControlPolicySourceArray{ CfwDnsControlPoliciesDnsControlPolicySourceArgs{...} }

type CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

type CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ElementType

func (CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) Index

func (CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

func (CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext

func (o CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

type CfwDnsControlPoliciesDnsControlPolicySourceInput

type CfwDnsControlPoliciesDnsControlPolicySourceInput interface {
	pulumi.Input

	ToCfwDnsControlPoliciesDnsControlPolicySourceOutput() CfwDnsControlPoliciesDnsControlPolicySourceOutput
	ToCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(context.Context) CfwDnsControlPoliciesDnsControlPolicySourceOutput
}

CfwDnsControlPoliciesDnsControlPolicySourceInput is an input type that accepts CfwDnsControlPoliciesDnsControlPolicySourceArgs and CfwDnsControlPoliciesDnsControlPolicySourceOutput values. You can construct a concrete instance of `CfwDnsControlPoliciesDnsControlPolicySourceInput` via:

CfwDnsControlPoliciesDnsControlPolicySourceArgs{...}

type CfwDnsControlPoliciesDnsControlPolicySourceOutput

type CfwDnsControlPoliciesDnsControlPolicySourceOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPoliciesDnsControlPolicySourceOutput) ElementType

func (CfwDnsControlPoliciesDnsControlPolicySourceOutput) Region

The region of the source vpc.

func (CfwDnsControlPoliciesDnsControlPolicySourceOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceOutput

func (o CfwDnsControlPoliciesDnsControlPolicySourceOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceOutput() CfwDnsControlPoliciesDnsControlPolicySourceOutput

func (CfwDnsControlPoliciesDnsControlPolicySourceOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext

func (o CfwDnsControlPoliciesDnsControlPolicySourceOutput) ToCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(ctx context.Context) CfwDnsControlPoliciesDnsControlPolicySourceOutput

func (CfwDnsControlPoliciesDnsControlPolicySourceOutput) VpcId

The id of the source vpc.

type CfwDnsControlPoliciesOutputArgs

type CfwDnsControlPoliciesOutputArgs struct {
	// The description of the dns control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destinations pulumi.StringArrayInput `pulumi:"destinations"`
	// The rule id list of the dns control policy. This field support fuzzy query.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The internet firewall id of the dns control policy.
	InternetFirewallId pulumi.StringPtrInput `pulumi:"internetFirewallId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources pulumi.StringArrayInput `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking CfwDnsControlPolicies.

func (CfwDnsControlPoliciesOutputArgs) ElementType

type CfwDnsControlPoliciesResult

type CfwDnsControlPoliciesResult struct {
	// The description of the dns control policy.
	Description *string `pulumi:"description"`
	// The destination of the dns control policy.
	Destinations []string `pulumi:"destinations"`
	// The collection of query.
	DnsControlPolicies []CfwDnsControlPoliciesDnsControlPolicy `pulumi:"dnsControlPolicies"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string   `pulumi:"id"`
	Ids                []string `pulumi:"ids"`
	InternetFirewallId *string  `pulumi:"internetFirewallId"`
	OutputFile         *string  `pulumi:"outputFile"`
	// The source vpc list of the dns control policy.
	Sources []string `pulumi:"sources"`
	// Whether to enable the dns control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by CfwDnsControlPolicies.

func CfwDnsControlPolicies deprecated

func CfwDnsControlPolicies(ctx *pulumi.Context, args *CfwDnsControlPoliciesArgs, opts ...pulumi.InvokeOption) (*CfwDnsControlPoliciesResult, error)

Use this data source to query detailed information of cfw dns control policies ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_firewall"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooCfwDnsControlPolicy, err := cloud_firewall.NewCfwDnsControlPolicy(ctx, "fooCfwDnsControlPolicy", &cloud_firewall.CfwDnsControlPolicyArgs{
			Description:     pulumi.String("acc-test-dns-control-policy"),
			DestinationType: pulumi.String("domain"),
			Destination:     pulumi.String("www.test.com"),
			Sources: cloud_firewall.CfwDnsControlPolicySourceArray{
				&cloud_firewall.CfwDnsControlPolicySourceArgs{
					VpcId:  fooVpc.ID(),
					Region: pulumi.String("cn-beijing"),
				},
			},
		})
		if err != nil {
			return err
		}
		_ = cloud_firewall.GetCfwDnsControlPoliciesOutput(ctx, cloud_firewall.GetCfwDnsControlPoliciesOutputArgs{
			Ids: pulumi.StringArray{
				fooCfwDnsControlPolicy.ID(),
			},
		}, nil)
		return nil
	})
}

```

Deprecated: volcengine.cloud_firewall.CfwDnsControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwDnsControlPolicies

type CfwDnsControlPoliciesResultOutput

type CfwDnsControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CfwDnsControlPolicies.

func (CfwDnsControlPoliciesResultOutput) Description

The description of the dns control policy.

func (CfwDnsControlPoliciesResultOutput) Destinations

The destination of the dns control policy.

func (CfwDnsControlPoliciesResultOutput) DnsControlPolicies

The collection of query.

func (CfwDnsControlPoliciesResultOutput) ElementType

func (CfwDnsControlPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CfwDnsControlPoliciesResultOutput) Ids

func (CfwDnsControlPoliciesResultOutput) InternetFirewallId

func (CfwDnsControlPoliciesResultOutput) OutputFile

func (CfwDnsControlPoliciesResultOutput) Sources

The source vpc list of the dns control policy.

func (CfwDnsControlPoliciesResultOutput) Statuses

Whether to enable the dns control policy.

func (CfwDnsControlPoliciesResultOutput) ToCfwDnsControlPoliciesResultOutput

func (o CfwDnsControlPoliciesResultOutput) ToCfwDnsControlPoliciesResultOutput() CfwDnsControlPoliciesResultOutput

func (CfwDnsControlPoliciesResultOutput) ToCfwDnsControlPoliciesResultOutputWithContext

func (o CfwDnsControlPoliciesResultOutput) ToCfwDnsControlPoliciesResultOutputWithContext(ctx context.Context) CfwDnsControlPoliciesResultOutput

func (CfwDnsControlPoliciesResultOutput) TotalCount

The total count of query.

type CfwDnsControlPolicy

type CfwDnsControlPolicy struct {
	pulumi.CustomResourceState

	// The account id of the dns control policy.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The description of the dns control policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The destination of the dns control policy.
	Destination pulumi.StringOutput `pulumi:"destination"`
	// The destination type of the dns control policy. Valid values: `group`, `domain`.
	DestinationType pulumi.StringOutput `pulumi:"destinationType"`
	// The hit count of the dns control policy.
	HitCnt pulumi.IntOutput `pulumi:"hitCnt"`
	// The internet firewall id of the control policy.
	InternetFirewallId pulumi.StringOutput `pulumi:"internetFirewallId"`
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime pulumi.IntOutput `pulumi:"lastHitTime"`
	// The source vpc list of the dns control policy.
	Sources CfwDnsControlPolicySourceArrayOutput `pulumi:"sources"`
	// Whether to enable the dns control policy.
	Status pulumi.BoolOutput `pulumi:"status"`
	// The use count of the dns control policy.
	UseCount pulumi.IntOutput `pulumi:"useCount"`
}

Provides a resource to manage cfw dns control policy ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_firewall"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwDnsControlPolicy(ctx, "fooCfwDnsControlPolicy", &cloud_firewall.CfwDnsControlPolicyArgs{
			Description:     pulumi.String("acc-test-dns-control-policy"),
			DestinationType: pulumi.String("domain"),
			Destination:     pulumi.String("www.test.com"),
			Sources: cloud_firewall.CfwDnsControlPolicySourceArray{
				&cloud_firewall.CfwDnsControlPolicySourceArgs{
					VpcId:  fooVpc.ID(),
					Region: pulumi.String("cn-beijing"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DnsControlPolicy can be imported using the id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwDnsControlPolicy:CfwDnsControlPolicy default resource_id ```

func GetCfwDnsControlPolicy

func GetCfwDnsControlPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwDnsControlPolicyState, opts ...pulumi.ResourceOption) (*CfwDnsControlPolicy, error)

GetCfwDnsControlPolicy gets an existing CfwDnsControlPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwDnsControlPolicy

func NewCfwDnsControlPolicy(ctx *pulumi.Context,
	name string, args *CfwDnsControlPolicyArgs, opts ...pulumi.ResourceOption) (*CfwDnsControlPolicy, error)

NewCfwDnsControlPolicy registers a new resource with the given unique name, arguments, and options.

func (*CfwDnsControlPolicy) ElementType

func (*CfwDnsControlPolicy) ElementType() reflect.Type

func (*CfwDnsControlPolicy) ToCfwDnsControlPolicyOutput

func (i *CfwDnsControlPolicy) ToCfwDnsControlPolicyOutput() CfwDnsControlPolicyOutput

func (*CfwDnsControlPolicy) ToCfwDnsControlPolicyOutputWithContext

func (i *CfwDnsControlPolicy) ToCfwDnsControlPolicyOutputWithContext(ctx context.Context) CfwDnsControlPolicyOutput

type CfwDnsControlPolicyArgs

type CfwDnsControlPolicyArgs struct {
	// The description of the dns control policy.
	Description pulumi.StringPtrInput
	// The destination of the dns control policy.
	Destination pulumi.StringInput
	// The destination type of the dns control policy. Valid values: `group`, `domain`.
	DestinationType pulumi.StringInput
	// The internet firewall id of the control policy.
	InternetFirewallId pulumi.StringPtrInput
	// The source vpc list of the dns control policy.
	Sources CfwDnsControlPolicySourceArrayInput
	// Whether to enable the dns control policy.
	Status pulumi.BoolPtrInput
}

The set of arguments for constructing a CfwDnsControlPolicy resource.

func (CfwDnsControlPolicyArgs) ElementType

func (CfwDnsControlPolicyArgs) ElementType() reflect.Type

type CfwDnsControlPolicyArray

type CfwDnsControlPolicyArray []CfwDnsControlPolicyInput

func (CfwDnsControlPolicyArray) ElementType

func (CfwDnsControlPolicyArray) ElementType() reflect.Type

func (CfwDnsControlPolicyArray) ToCfwDnsControlPolicyArrayOutput

func (i CfwDnsControlPolicyArray) ToCfwDnsControlPolicyArrayOutput() CfwDnsControlPolicyArrayOutput

func (CfwDnsControlPolicyArray) ToCfwDnsControlPolicyArrayOutputWithContext

func (i CfwDnsControlPolicyArray) ToCfwDnsControlPolicyArrayOutputWithContext(ctx context.Context) CfwDnsControlPolicyArrayOutput

type CfwDnsControlPolicyArrayInput

type CfwDnsControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwDnsControlPolicyArrayOutput() CfwDnsControlPolicyArrayOutput
	ToCfwDnsControlPolicyArrayOutputWithContext(context.Context) CfwDnsControlPolicyArrayOutput
}

CfwDnsControlPolicyArrayInput is an input type that accepts CfwDnsControlPolicyArray and CfwDnsControlPolicyArrayOutput values. You can construct a concrete instance of `CfwDnsControlPolicyArrayInput` via:

CfwDnsControlPolicyArray{ CfwDnsControlPolicyArgs{...} }

type CfwDnsControlPolicyArrayOutput

type CfwDnsControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPolicyArrayOutput) ElementType

func (CfwDnsControlPolicyArrayOutput) Index

func (CfwDnsControlPolicyArrayOutput) ToCfwDnsControlPolicyArrayOutput

func (o CfwDnsControlPolicyArrayOutput) ToCfwDnsControlPolicyArrayOutput() CfwDnsControlPolicyArrayOutput

func (CfwDnsControlPolicyArrayOutput) ToCfwDnsControlPolicyArrayOutputWithContext

func (o CfwDnsControlPolicyArrayOutput) ToCfwDnsControlPolicyArrayOutputWithContext(ctx context.Context) CfwDnsControlPolicyArrayOutput

type CfwDnsControlPolicyInput

type CfwDnsControlPolicyInput interface {
	pulumi.Input

	ToCfwDnsControlPolicyOutput() CfwDnsControlPolicyOutput
	ToCfwDnsControlPolicyOutputWithContext(ctx context.Context) CfwDnsControlPolicyOutput
}

type CfwDnsControlPolicyMap

type CfwDnsControlPolicyMap map[string]CfwDnsControlPolicyInput

func (CfwDnsControlPolicyMap) ElementType

func (CfwDnsControlPolicyMap) ElementType() reflect.Type

func (CfwDnsControlPolicyMap) ToCfwDnsControlPolicyMapOutput

func (i CfwDnsControlPolicyMap) ToCfwDnsControlPolicyMapOutput() CfwDnsControlPolicyMapOutput

func (CfwDnsControlPolicyMap) ToCfwDnsControlPolicyMapOutputWithContext

func (i CfwDnsControlPolicyMap) ToCfwDnsControlPolicyMapOutputWithContext(ctx context.Context) CfwDnsControlPolicyMapOutput

type CfwDnsControlPolicyMapInput

type CfwDnsControlPolicyMapInput interface {
	pulumi.Input

	ToCfwDnsControlPolicyMapOutput() CfwDnsControlPolicyMapOutput
	ToCfwDnsControlPolicyMapOutputWithContext(context.Context) CfwDnsControlPolicyMapOutput
}

CfwDnsControlPolicyMapInput is an input type that accepts CfwDnsControlPolicyMap and CfwDnsControlPolicyMapOutput values. You can construct a concrete instance of `CfwDnsControlPolicyMapInput` via:

CfwDnsControlPolicyMap{ "key": CfwDnsControlPolicyArgs{...} }

type CfwDnsControlPolicyMapOutput

type CfwDnsControlPolicyMapOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPolicyMapOutput) ElementType

func (CfwDnsControlPolicyMapOutput) MapIndex

func (CfwDnsControlPolicyMapOutput) ToCfwDnsControlPolicyMapOutput

func (o CfwDnsControlPolicyMapOutput) ToCfwDnsControlPolicyMapOutput() CfwDnsControlPolicyMapOutput

func (CfwDnsControlPolicyMapOutput) ToCfwDnsControlPolicyMapOutputWithContext

func (o CfwDnsControlPolicyMapOutput) ToCfwDnsControlPolicyMapOutputWithContext(ctx context.Context) CfwDnsControlPolicyMapOutput

type CfwDnsControlPolicyOutput

type CfwDnsControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPolicyOutput) AccountId

The account id of the dns control policy.

func (CfwDnsControlPolicyOutput) Description

The description of the dns control policy.

func (CfwDnsControlPolicyOutput) Destination

The destination of the dns control policy.

func (CfwDnsControlPolicyOutput) DestinationType

func (o CfwDnsControlPolicyOutput) DestinationType() pulumi.StringOutput

The destination type of the dns control policy. Valid values: `group`, `domain`.

func (CfwDnsControlPolicyOutput) ElementType

func (CfwDnsControlPolicyOutput) ElementType() reflect.Type

func (CfwDnsControlPolicyOutput) HitCnt

The hit count of the dns control policy.

func (CfwDnsControlPolicyOutput) InternetFirewallId

func (o CfwDnsControlPolicyOutput) InternetFirewallId() pulumi.StringOutput

The internet firewall id of the control policy.

func (CfwDnsControlPolicyOutput) LastHitTime

func (o CfwDnsControlPolicyOutput) LastHitTime() pulumi.IntOutput

The last hit time of the dns control policy. Unix timestamp.

func (CfwDnsControlPolicyOutput) Sources

The source vpc list of the dns control policy.

func (CfwDnsControlPolicyOutput) Status

Whether to enable the dns control policy.

func (CfwDnsControlPolicyOutput) ToCfwDnsControlPolicyOutput

func (o CfwDnsControlPolicyOutput) ToCfwDnsControlPolicyOutput() CfwDnsControlPolicyOutput

func (CfwDnsControlPolicyOutput) ToCfwDnsControlPolicyOutputWithContext

func (o CfwDnsControlPolicyOutput) ToCfwDnsControlPolicyOutputWithContext(ctx context.Context) CfwDnsControlPolicyOutput

func (CfwDnsControlPolicyOutput) UseCount

The use count of the dns control policy.

type CfwDnsControlPolicySource

type CfwDnsControlPolicySource struct {
	// The region of the source vpc.
	Region string `pulumi:"region"`
	// The id of the source vpc.
	VpcId string `pulumi:"vpcId"`
}

type CfwDnsControlPolicySourceArgs

type CfwDnsControlPolicySourceArgs struct {
	// The region of the source vpc.
	Region pulumi.StringInput `pulumi:"region"`
	// The id of the source vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (CfwDnsControlPolicySourceArgs) ElementType

func (CfwDnsControlPolicySourceArgs) ToCfwDnsControlPolicySourceOutput

func (i CfwDnsControlPolicySourceArgs) ToCfwDnsControlPolicySourceOutput() CfwDnsControlPolicySourceOutput

func (CfwDnsControlPolicySourceArgs) ToCfwDnsControlPolicySourceOutputWithContext

func (i CfwDnsControlPolicySourceArgs) ToCfwDnsControlPolicySourceOutputWithContext(ctx context.Context) CfwDnsControlPolicySourceOutput

type CfwDnsControlPolicySourceArray

type CfwDnsControlPolicySourceArray []CfwDnsControlPolicySourceInput

func (CfwDnsControlPolicySourceArray) ElementType

func (CfwDnsControlPolicySourceArray) ToCfwDnsControlPolicySourceArrayOutput

func (i CfwDnsControlPolicySourceArray) ToCfwDnsControlPolicySourceArrayOutput() CfwDnsControlPolicySourceArrayOutput

func (CfwDnsControlPolicySourceArray) ToCfwDnsControlPolicySourceArrayOutputWithContext

func (i CfwDnsControlPolicySourceArray) ToCfwDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) CfwDnsControlPolicySourceArrayOutput

type CfwDnsControlPolicySourceArrayInput

type CfwDnsControlPolicySourceArrayInput interface {
	pulumi.Input

	ToCfwDnsControlPolicySourceArrayOutput() CfwDnsControlPolicySourceArrayOutput
	ToCfwDnsControlPolicySourceArrayOutputWithContext(context.Context) CfwDnsControlPolicySourceArrayOutput
}

CfwDnsControlPolicySourceArrayInput is an input type that accepts CfwDnsControlPolicySourceArray and CfwDnsControlPolicySourceArrayOutput values. You can construct a concrete instance of `CfwDnsControlPolicySourceArrayInput` via:

CfwDnsControlPolicySourceArray{ CfwDnsControlPolicySourceArgs{...} }

type CfwDnsControlPolicySourceArrayOutput

type CfwDnsControlPolicySourceArrayOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPolicySourceArrayOutput) ElementType

func (CfwDnsControlPolicySourceArrayOutput) Index

func (CfwDnsControlPolicySourceArrayOutput) ToCfwDnsControlPolicySourceArrayOutput

func (o CfwDnsControlPolicySourceArrayOutput) ToCfwDnsControlPolicySourceArrayOutput() CfwDnsControlPolicySourceArrayOutput

func (CfwDnsControlPolicySourceArrayOutput) ToCfwDnsControlPolicySourceArrayOutputWithContext

func (o CfwDnsControlPolicySourceArrayOutput) ToCfwDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) CfwDnsControlPolicySourceArrayOutput

type CfwDnsControlPolicySourceInput

type CfwDnsControlPolicySourceInput interface {
	pulumi.Input

	ToCfwDnsControlPolicySourceOutput() CfwDnsControlPolicySourceOutput
	ToCfwDnsControlPolicySourceOutputWithContext(context.Context) CfwDnsControlPolicySourceOutput
}

CfwDnsControlPolicySourceInput is an input type that accepts CfwDnsControlPolicySourceArgs and CfwDnsControlPolicySourceOutput values. You can construct a concrete instance of `CfwDnsControlPolicySourceInput` via:

CfwDnsControlPolicySourceArgs{...}

type CfwDnsControlPolicySourceOutput

type CfwDnsControlPolicySourceOutput struct{ *pulumi.OutputState }

func (CfwDnsControlPolicySourceOutput) ElementType

func (CfwDnsControlPolicySourceOutput) Region

The region of the source vpc.

func (CfwDnsControlPolicySourceOutput) ToCfwDnsControlPolicySourceOutput

func (o CfwDnsControlPolicySourceOutput) ToCfwDnsControlPolicySourceOutput() CfwDnsControlPolicySourceOutput

func (CfwDnsControlPolicySourceOutput) ToCfwDnsControlPolicySourceOutputWithContext

func (o CfwDnsControlPolicySourceOutput) ToCfwDnsControlPolicySourceOutputWithContext(ctx context.Context) CfwDnsControlPolicySourceOutput

func (CfwDnsControlPolicySourceOutput) VpcId

The id of the source vpc.

type CfwDnsControlPolicyState

type CfwDnsControlPolicyState struct {
	// The account id of the dns control policy.
	AccountId pulumi.StringPtrInput
	// The description of the dns control policy.
	Description pulumi.StringPtrInput
	// The destination of the dns control policy.
	Destination pulumi.StringPtrInput
	// The destination type of the dns control policy. Valid values: `group`, `domain`.
	DestinationType pulumi.StringPtrInput
	// The hit count of the dns control policy.
	HitCnt pulumi.IntPtrInput
	// The internet firewall id of the control policy.
	InternetFirewallId pulumi.StringPtrInput
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime pulumi.IntPtrInput
	// The source vpc list of the dns control policy.
	Sources CfwDnsControlPolicySourceArrayInput
	// Whether to enable the dns control policy.
	Status pulumi.BoolPtrInput
	// The use count of the dns control policy.
	UseCount pulumi.IntPtrInput
}

func (CfwDnsControlPolicyState) ElementType

func (CfwDnsControlPolicyState) ElementType() reflect.Type

type CfwNatFirewallControlPoliciesArgs

type CfwNatFirewallControlPoliciesArgs struct {
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts []string `pulumi:"destPorts"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destinations []string `pulumi:"destinations"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId string `pulumi:"natFirewallId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleIds []string `pulumi:"ruleIds"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Sources []string `pulumi:"sources"`
	// The enable status list of the nat firewall control policy.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking CfwNatFirewallControlPolicies.

type CfwNatFirewallControlPoliciesNatFirewallControlPolicy

type CfwNatFirewallControlPoliciesNatFirewallControlPolicy struct {
	// The account id of the nat firewall control policy.
	AccountId string `pulumi:"accountId"`
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPort string `pulumi:"destPort"`
	// The dest port group list of the nat firewall control policy.
	DestPortGroupLists []string `pulumi:"destPortGroupLists"`
	// The dest port group type of the nat firewall control policy.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the nat firewall control policy.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the nat firewall control policy.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the nat firewall control policy.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group list of the nat firewall control policy.
	DestinationGroupLists []string `pulumi:"destinationGroupLists"`
	// The destination group type of the nat firewall control policy.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the nat firewall control policy.
	DestinationType string `pulumi:"destinationType"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the nat firewall control policy. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the nat firewall control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the nat firewall control policy.
	Id string `pulumi:"id"`
	// Whether the nat firewall control policy is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId string `pulumi:"natFirewallId"`
	// The name of the nat firewall.
	NatFirewallName string `pulumi:"natFirewallName"`
	// The priority of the nat firewall control policy.
	Prio int `pulumi:"prio"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the nat firewall control policy.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the nat firewall control policy.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the nat firewall control policy.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the nat firewall control policy.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group list of the nat firewall control policy.
	SourceGroupLists []string `pulumi:"sourceGroupLists"`
	// The source group type of the nat firewall control policy.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the nat firewall control policy.
	SourceType string `pulumi:"sourceType"`
	// The start time of the nat firewall control policy. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the nat firewall control policy.
	Status bool `pulumi:"status"`
	// The update time of the nat firewall control policy.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the nat firewall control policy.
	UseCount int `pulumi:"useCount"`
}

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs struct {
	// The account id of the nat firewall control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group list of the nat firewall control policy.
	DestPortGroupLists pulumi.StringArrayInput `pulumi:"destPortGroupLists"`
	// The dest port group type of the nat firewall control policy.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the nat firewall control policy.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the nat firewall control policy.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the nat firewall control policy.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group list of the nat firewall control policy.
	DestinationGroupLists pulumi.StringArrayInput `pulumi:"destinationGroupLists"`
	// The destination group type of the nat firewall control policy.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the nat firewall control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the nat firewall control policy. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the nat firewall control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the nat firewall control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the nat firewall control policy is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId pulumi.StringInput `pulumi:"natFirewallId"`
	// The name of the nat firewall.
	NatFirewallName pulumi.StringInput `pulumi:"natFirewallName"`
	// The priority of the nat firewall control policy.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the nat firewall control policy.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the nat firewall control policy.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the nat firewall control policy.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the nat firewall control policy.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group list of the nat firewall control policy.
	SourceGroupLists pulumi.StringArrayInput `pulumi:"sourceGroupLists"`
	// The source group type of the nat firewall control policy.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the nat firewall control policy.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the nat firewall control policy. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the nat firewall control policy.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the nat firewall control policy.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the nat firewall control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ElementType

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext

func (i CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(ctx context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray []CfwNatFirewallControlPoliciesNatFirewallControlPolicyInput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ElementType

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext

func (i CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput() CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput
	ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput
}

CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput is an input type that accepts CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray and CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput values. You can construct a concrete instance of `CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput` via:

CfwNatFirewallControlPoliciesNatFirewallControlPolicyArray{ CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs{...} }

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ElementType

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) Index

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext

func (o CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyInput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput() CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput
	ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput
}

CfwNatFirewallControlPoliciesNatFirewallControlPolicyInput is an input type that accepts CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs and CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput values. You can construct a concrete instance of `CfwNatFirewallControlPoliciesNatFirewallControlPolicyInput` via:

CfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs{...}

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

type CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) AccountId

The account id of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Action

The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Description

The description of the nat firewall control policy. This field support fuzzy query.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPort

The dest port of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortGroupLists

The dest port group list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortGroupType

The dest port group type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortLists

The dest port list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortType

The dest port type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Destination

The destination of the nat firewall control policy. This field support fuzzy query.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationCidrLists

The destination cidr list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationGroupLists

The destination group list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationGroupType

The destination group type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationType

The destination type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Direction

The direction of nat firewall control policy. Valid values: `in`, `out`.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) EffectStatus

The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ElementType

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) EndTime

The end time of the nat firewall control policy. Unix timestamp.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) HitCnt

The hit count of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Id

The id of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) IsEffected

Whether the nat firewall control policy is effected.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) NatFirewallId

The nat firewall id of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) NatFirewallName

The name of the nat firewall.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Prio

The priority of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Proto

The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatDays

The repeat days of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatEndTime

The repeat end time of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatStartTime

The repeat start time of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatType

The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RuleId

The rule id of the nat firewall control policy. This field support fuzzy query.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Source

The source of the nat firewall control policy. This field support fuzzy query.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceCidrLists

The source cidr list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceGroupLists

The source group list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceGroupType

The source group type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceType

The source type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) StartTime

The start time of the nat firewall control policy. Unix timestamp.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Status

The enable status list of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext

func (o CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(ctx context.Context) CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) UpdateTime

The update time of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) UseCount

The use count of the nat firewall control policy.

type CfwNatFirewallControlPoliciesOutputArgs

type CfwNatFirewallControlPoliciesOutputArgs struct {
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts pulumi.StringArrayInput `pulumi:"destPorts"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destinations pulumi.StringArrayInput `pulumi:"destinations"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId pulumi.StringInput `pulumi:"natFirewallId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleIds pulumi.StringArrayInput `pulumi:"ruleIds"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Sources pulumi.StringArrayInput `pulumi:"sources"`
	// The enable status list of the nat firewall control policy.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking CfwNatFirewallControlPolicies.

func (CfwNatFirewallControlPoliciesOutputArgs) ElementType

type CfwNatFirewallControlPoliciesResult

type CfwNatFirewallControlPoliciesResult struct {
	// The action of the nat firewall control policy.
	Actions []string `pulumi:"actions"`
	// The description of the nat firewall control policy.
	Description *string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts []string `pulumi:"destPorts"`
	// The destination of the nat firewall control policy.
	Destinations []string `pulumi:"destinations"`
	// The direction of the nat firewall control policy.
	Direction string `pulumi:"direction"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The collection of query.
	NatFirewallControlPolicies []CfwNatFirewallControlPoliciesNatFirewallControlPolicy `pulumi:"natFirewallControlPolicies"`
	// The id of the nat firewall.
	NatFirewallId string  `pulumi:"natFirewallId"`
	OutputFile    *string `pulumi:"outputFile"`
	// The proto of the nat firewall control policy.
	Protos []string `pulumi:"protos"`
	// The repeat type of the nat firewall control policy.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the nat firewall control policy.
	RuleIds []string `pulumi:"ruleIds"`
	// The source of the nat firewall control policy.
	Sources []string `pulumi:"sources"`
	// Whether to enable the nat firewall control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by CfwNatFirewallControlPolicies.

func CfwNatFirewallControlPolicies deprecated

Use this data source to query detailed information of cfw nat firewall control policies ## Example Usage

```go 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.GetCfwNatFirewallControlPolicies(ctx, &cloud_firewall.GetCfwNatFirewallControlPoliciesArgs{
			Direction:     "in",
			NatFirewallId: "nfw-ydmkayvjsw2vsavx****",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: volcengine.cloud_firewall.CfwNatFirewallControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwNatFirewallControlPolicies

type CfwNatFirewallControlPoliciesResultOutput

type CfwNatFirewallControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CfwNatFirewallControlPolicies.

func (CfwNatFirewallControlPoliciesResultOutput) Actions

The action of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) Description

The description of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) DestPorts

The dest port of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) Destinations

The destination of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) Direction

The direction of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) ElementType

func (CfwNatFirewallControlPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CfwNatFirewallControlPoliciesResultOutput) NatFirewallControlPolicies

The collection of query.

func (CfwNatFirewallControlPoliciesResultOutput) NatFirewallId

The id of the nat firewall.

func (CfwNatFirewallControlPoliciesResultOutput) OutputFile

func (CfwNatFirewallControlPoliciesResultOutput) Protos

The proto of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) RepeatTypes

The repeat type of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) RuleIds

The id of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) Sources

The source of the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) Statuses

Whether to enable the nat firewall control policy.

func (CfwNatFirewallControlPoliciesResultOutput) ToCfwNatFirewallControlPoliciesResultOutput

func (o CfwNatFirewallControlPoliciesResultOutput) ToCfwNatFirewallControlPoliciesResultOutput() CfwNatFirewallControlPoliciesResultOutput

func (CfwNatFirewallControlPoliciesResultOutput) ToCfwNatFirewallControlPoliciesResultOutputWithContext

func (o CfwNatFirewallControlPoliciesResultOutput) ToCfwNatFirewallControlPoliciesResultOutputWithContext(ctx context.Context) CfwNatFirewallControlPoliciesResultOutput

func (CfwNatFirewallControlPoliciesResultOutput) TotalCount

The total count of query.

type CfwNatFirewallControlPolicy

type CfwNatFirewallControlPolicy struct {
	pulumi.CustomResourceState

	// The account id of the nat firewall control policy.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The action of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringOutput `pulumi:"action"`
	// The description of the nat firewall control policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPort pulumi.StringOutput `pulumi:"destPort"`
	// The dest port type of the nat firewall control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringOutput `pulumi:"destPortType"`
	// The destination of the nat firewall control policy.
	Destination pulumi.StringOutput `pulumi:"destination"`
	// The destination type of the nat firewall control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringOutput `pulumi:"destinationType"`
	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntOutput `pulumi:"effectStatus"`
	// The end time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrOutput `pulumi:"endTime"`
	// The hit count of the nat firewall control policy.
	HitCnt pulumi.IntOutput `pulumi:"hitCnt"`
	// Whether the nat firewall control policy is effected.
	IsEffected pulumi.BoolOutput `pulumi:"isEffected"`
	// The id of the nat firewall.
	NatFirewallId pulumi.StringOutput `pulumi:"natFirewallId"`
	// The name of the nat firewall.
	NatFirewallName pulumi.StringOutput `pulumi:"natFirewallName"`
	// The priority of the nat firewall control policy.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The priority of the nat firewall control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The proto of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringOutput `pulumi:"proto"`
	// The repeat days of the nat firewall control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayOutput `pulumi:"repeatDays"`
	// The repeat end time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrOutput `pulumi:"repeatEndTime"`
	// The repeat start time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrOutput `pulumi:"repeatStartTime"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringOutput `pulumi:"repeatType"`
	// The rule id of the nat firewall control policy.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The source of the nat firewall control policy.
	Source pulumi.StringOutput `pulumi:"source"`
	// The source type of the nat firewall control policy. Valid values: `net`, `group`.
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
	// The start time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrOutput `pulumi:"startTime"`
	// Whether to enable the nat firewall control policy. Default is false.
	Status pulumi.BoolOutput `pulumi:"status"`
	// The update time of the nat firewall control policy.
	UpdateTime pulumi.IntOutput `pulumi:"updateTime"`
	// The use count of the nat firewall control policy.
	UseCount pulumi.IntOutput `pulumi:"useCount"`
}

Provides a resource to manage cfw nat firewall control policy ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwNatFirewallControlPolicy(ctx, "fooCfwNatFirewallControlPolicy", &cloud_firewall.CfwNatFirewallControlPolicyArgs{
			Direction:       pulumi.String("in"),
			NatFirewallId:   pulumi.String("nfw-ydmkayvjsw2vsavx****"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
				pulumi.Int(4),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NatFirewallControlPolicy can be imported using the direction_nat_firewall_id:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwNatFirewallControlPolicy:CfwNatFirewallControlPolicy default resource_id ```

func GetCfwNatFirewallControlPolicy

func GetCfwNatFirewallControlPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwNatFirewallControlPolicyState, opts ...pulumi.ResourceOption) (*CfwNatFirewallControlPolicy, error)

GetCfwNatFirewallControlPolicy gets an existing CfwNatFirewallControlPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwNatFirewallControlPolicy

func NewCfwNatFirewallControlPolicy(ctx *pulumi.Context,
	name string, args *CfwNatFirewallControlPolicyArgs, opts ...pulumi.ResourceOption) (*CfwNatFirewallControlPolicy, error)

NewCfwNatFirewallControlPolicy registers a new resource with the given unique name, arguments, and options.

func (*CfwNatFirewallControlPolicy) ElementType

func (*CfwNatFirewallControlPolicy) ElementType() reflect.Type

func (*CfwNatFirewallControlPolicy) ToCfwNatFirewallControlPolicyOutput

func (i *CfwNatFirewallControlPolicy) ToCfwNatFirewallControlPolicyOutput() CfwNatFirewallControlPolicyOutput

func (*CfwNatFirewallControlPolicy) ToCfwNatFirewallControlPolicyOutputWithContext

func (i *CfwNatFirewallControlPolicy) ToCfwNatFirewallControlPolicyOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyOutput

type CfwNatFirewallControlPolicyArgs

type CfwNatFirewallControlPolicyArgs struct {
	// The action of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput
	// The description of the nat firewall control policy.
	Description pulumi.StringPtrInput
	// The dest port of the nat firewall control policy.
	DestPort pulumi.StringPtrInput
	// The dest port type of the nat firewall control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the nat firewall control policy.
	Destination pulumi.StringInput
	// The destination type of the nat firewall control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringInput
	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The end time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The id of the nat firewall.
	NatFirewallId pulumi.StringInput
	// The priority of the nat firewall control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput
	// The repeat days of the nat firewall control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The source of the nat firewall control policy.
	Source pulumi.StringInput
	// The source type of the nat firewall control policy. Valid values: `net`, `group`.
	SourceType pulumi.StringInput
	// The start time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the nat firewall control policy. Default is false.
	Status pulumi.BoolPtrInput
}

The set of arguments for constructing a CfwNatFirewallControlPolicy resource.

func (CfwNatFirewallControlPolicyArgs) ElementType

type CfwNatFirewallControlPolicyArray

type CfwNatFirewallControlPolicyArray []CfwNatFirewallControlPolicyInput

func (CfwNatFirewallControlPolicyArray) ElementType

func (CfwNatFirewallControlPolicyArray) ToCfwNatFirewallControlPolicyArrayOutput

func (i CfwNatFirewallControlPolicyArray) ToCfwNatFirewallControlPolicyArrayOutput() CfwNatFirewallControlPolicyArrayOutput

func (CfwNatFirewallControlPolicyArray) ToCfwNatFirewallControlPolicyArrayOutputWithContext

func (i CfwNatFirewallControlPolicyArray) ToCfwNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPolicyArrayInput

type CfwNatFirewallControlPolicyArrayInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyArrayOutput() CfwNatFirewallControlPolicyArrayOutput
	ToCfwNatFirewallControlPolicyArrayOutputWithContext(context.Context) CfwNatFirewallControlPolicyArrayOutput
}

CfwNatFirewallControlPolicyArrayInput is an input type that accepts CfwNatFirewallControlPolicyArray and CfwNatFirewallControlPolicyArrayOutput values. You can construct a concrete instance of `CfwNatFirewallControlPolicyArrayInput` via:

CfwNatFirewallControlPolicyArray{ CfwNatFirewallControlPolicyArgs{...} }

type CfwNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyArrayOutput) ElementType

func (CfwNatFirewallControlPolicyArrayOutput) Index

func (CfwNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPolicyArrayOutput

func (o CfwNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPolicyArrayOutput() CfwNatFirewallControlPolicyArrayOutput

func (CfwNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPolicyArrayOutputWithContext

func (o CfwNatFirewallControlPolicyArrayOutput) ToCfwNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyArrayOutput

type CfwNatFirewallControlPolicyInput

type CfwNatFirewallControlPolicyInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyOutput() CfwNatFirewallControlPolicyOutput
	ToCfwNatFirewallControlPolicyOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyOutput
}

type CfwNatFirewallControlPolicyMap

type CfwNatFirewallControlPolicyMap map[string]CfwNatFirewallControlPolicyInput

func (CfwNatFirewallControlPolicyMap) ElementType

func (CfwNatFirewallControlPolicyMap) ToCfwNatFirewallControlPolicyMapOutput

func (i CfwNatFirewallControlPolicyMap) ToCfwNatFirewallControlPolicyMapOutput() CfwNatFirewallControlPolicyMapOutput

func (CfwNatFirewallControlPolicyMap) ToCfwNatFirewallControlPolicyMapOutputWithContext

func (i CfwNatFirewallControlPolicyMap) ToCfwNatFirewallControlPolicyMapOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyMapOutput

type CfwNatFirewallControlPolicyMapInput

type CfwNatFirewallControlPolicyMapInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyMapOutput() CfwNatFirewallControlPolicyMapOutput
	ToCfwNatFirewallControlPolicyMapOutputWithContext(context.Context) CfwNatFirewallControlPolicyMapOutput
}

CfwNatFirewallControlPolicyMapInput is an input type that accepts CfwNatFirewallControlPolicyMap and CfwNatFirewallControlPolicyMapOutput values. You can construct a concrete instance of `CfwNatFirewallControlPolicyMapInput` via:

CfwNatFirewallControlPolicyMap{ "key": CfwNatFirewallControlPolicyArgs{...} }

type CfwNatFirewallControlPolicyMapOutput

type CfwNatFirewallControlPolicyMapOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyMapOutput) ElementType

func (CfwNatFirewallControlPolicyMapOutput) MapIndex

func (CfwNatFirewallControlPolicyMapOutput) ToCfwNatFirewallControlPolicyMapOutput

func (o CfwNatFirewallControlPolicyMapOutput) ToCfwNatFirewallControlPolicyMapOutput() CfwNatFirewallControlPolicyMapOutput

func (CfwNatFirewallControlPolicyMapOutput) ToCfwNatFirewallControlPolicyMapOutputWithContext

func (o CfwNatFirewallControlPolicyMapOutput) ToCfwNatFirewallControlPolicyMapOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyMapOutput

type CfwNatFirewallControlPolicyOutput

type CfwNatFirewallControlPolicyOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyOutput) AccountId

The account id of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) Action

The action of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.

func (CfwNatFirewallControlPolicyOutput) Description

The description of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) DestPort

The dest port of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) DestPortType

The dest port type of the nat firewall control policy. Valid values: `port`, `group`.

func (CfwNatFirewallControlPolicyOutput) Destination

The destination of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) DestinationType

The destination type of the nat firewall control policy. Valid values: `net`, `group`, `location`, `domain`.

func (CfwNatFirewallControlPolicyOutput) Direction

The direction of the nat firewall control policy. Valid values: `in`, `out`.

func (CfwNatFirewallControlPolicyOutput) EffectStatus

The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwNatFirewallControlPolicyOutput) ElementType

func (CfwNatFirewallControlPolicyOutput) EndTime

The end time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwNatFirewallControlPolicyOutput) HitCnt

The hit count of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) IsEffected

Whether the nat firewall control policy is effected.

func (CfwNatFirewallControlPolicyOutput) NatFirewallId

The id of the nat firewall.

func (CfwNatFirewallControlPolicyOutput) NatFirewallName

The name of the nat firewall.

func (CfwNatFirewallControlPolicyOutput) Prio

The priority of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) Priority

The priority of the nat firewall control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwNatFirewallControlPolicyOutput) Proto

The proto of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwNatFirewallControlPolicyOutput) RepeatDays

The repeat days of the nat firewall control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required. When the repeatType is `Weekly`, the valid value range is 0~6. When the repeatType is `Monthly`, the valid value range is 1~31.

func (CfwNatFirewallControlPolicyOutput) RepeatEndTime

The repeat end time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwNatFirewallControlPolicyOutput) RepeatStartTime

The repeat start time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwNatFirewallControlPolicyOutput) RepeatType

The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwNatFirewallControlPolicyOutput) RuleId

The rule id of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) Source

The source of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) SourceType

The source type of the nat firewall control policy. Valid values: `net`, `group`.

func (CfwNatFirewallControlPolicyOutput) StartTime

The start time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwNatFirewallControlPolicyOutput) Status

Whether to enable the nat firewall control policy. Default is false.

func (CfwNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPolicyOutput

func (o CfwNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPolicyOutput() CfwNatFirewallControlPolicyOutput

func (CfwNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPolicyOutputWithContext

func (o CfwNatFirewallControlPolicyOutput) ToCfwNatFirewallControlPolicyOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyOutput

func (CfwNatFirewallControlPolicyOutput) UpdateTime

The update time of the nat firewall control policy.

func (CfwNatFirewallControlPolicyOutput) UseCount

The use count of the nat firewall control policy.

type CfwNatFirewallControlPolicyPriority

type CfwNatFirewallControlPolicyPriority struct {
	pulumi.CustomResourceState

	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The id of the nat firewall.
	NatFirewallId pulumi.StringOutput `pulumi:"natFirewallId"`
	// The new priority of the nat firewall control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrOutput `pulumi:"newPrio"`
	// The priority of the nat firewall control policy.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The rule id of the nat firewall control policy.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
}

Provides a resource to manage cfw nat firewall control policy priority ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		fooCfwNatFirewallControlPolicy, err := cloud_firewall.NewCfwNatFirewallControlPolicy(ctx, "fooCfwNatFirewallControlPolicy", &cloud_firewall.CfwNatFirewallControlPolicyArgs{
			Direction:       pulumi.String("in"),
			NatFirewallId:   pulumi.String("nfw-ydmkayvjsw2vsavx****"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
				pulumi.Int(4),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwNatFirewallControlPolicyPriority(ctx, "fooCfwNatFirewallControlPolicyPriority", &cloud_firewall.CfwNatFirewallControlPolicyPriorityArgs{
			Direction:     pulumi.String("in"),
			NatFirewallId: pulumi.String("nfw-ydmkayvjsw2vsavx****"),
			RuleId:        fooCfwNatFirewallControlPolicy.RuleId,
			NewPrio:       pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NatFirewallControlPolicyPriority can be imported using the direction_nat_firewall_id:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwNatFirewallControlPolicyPriority:CfwNatFirewallControlPolicyPriority default resource_id ```

func GetCfwNatFirewallControlPolicyPriority

func GetCfwNatFirewallControlPolicyPriority(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwNatFirewallControlPolicyPriorityState, opts ...pulumi.ResourceOption) (*CfwNatFirewallControlPolicyPriority, error)

GetCfwNatFirewallControlPolicyPriority gets an existing CfwNatFirewallControlPolicyPriority resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwNatFirewallControlPolicyPriority

func NewCfwNatFirewallControlPolicyPriority(ctx *pulumi.Context,
	name string, args *CfwNatFirewallControlPolicyPriorityArgs, opts ...pulumi.ResourceOption) (*CfwNatFirewallControlPolicyPriority, error)

NewCfwNatFirewallControlPolicyPriority registers a new resource with the given unique name, arguments, and options.

func (*CfwNatFirewallControlPolicyPriority) ElementType

func (*CfwNatFirewallControlPolicyPriority) ToCfwNatFirewallControlPolicyPriorityOutput

func (i *CfwNatFirewallControlPolicyPriority) ToCfwNatFirewallControlPolicyPriorityOutput() CfwNatFirewallControlPolicyPriorityOutput

func (*CfwNatFirewallControlPolicyPriority) ToCfwNatFirewallControlPolicyPriorityOutputWithContext

func (i *CfwNatFirewallControlPolicyPriority) ToCfwNatFirewallControlPolicyPriorityOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityOutput

type CfwNatFirewallControlPolicyPriorityArgs

type CfwNatFirewallControlPolicyPriorityArgs struct {
	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The id of the nat firewall.
	NatFirewallId pulumi.StringInput
	// The new priority of the nat firewall control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The rule id of the nat firewall control policy.
	RuleId pulumi.StringInput
}

The set of arguments for constructing a CfwNatFirewallControlPolicyPriority resource.

func (CfwNatFirewallControlPolicyPriorityArgs) ElementType

type CfwNatFirewallControlPolicyPriorityArray

type CfwNatFirewallControlPolicyPriorityArray []CfwNatFirewallControlPolicyPriorityInput

func (CfwNatFirewallControlPolicyPriorityArray) ElementType

func (CfwNatFirewallControlPolicyPriorityArray) ToCfwNatFirewallControlPolicyPriorityArrayOutput

func (i CfwNatFirewallControlPolicyPriorityArray) ToCfwNatFirewallControlPolicyPriorityArrayOutput() CfwNatFirewallControlPolicyPriorityArrayOutput

func (CfwNatFirewallControlPolicyPriorityArray) ToCfwNatFirewallControlPolicyPriorityArrayOutputWithContext

func (i CfwNatFirewallControlPolicyPriorityArray) ToCfwNatFirewallControlPolicyPriorityArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityArrayOutput

type CfwNatFirewallControlPolicyPriorityArrayInput

type CfwNatFirewallControlPolicyPriorityArrayInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyPriorityArrayOutput() CfwNatFirewallControlPolicyPriorityArrayOutput
	ToCfwNatFirewallControlPolicyPriorityArrayOutputWithContext(context.Context) CfwNatFirewallControlPolicyPriorityArrayOutput
}

CfwNatFirewallControlPolicyPriorityArrayInput is an input type that accepts CfwNatFirewallControlPolicyPriorityArray and CfwNatFirewallControlPolicyPriorityArrayOutput values. You can construct a concrete instance of `CfwNatFirewallControlPolicyPriorityArrayInput` via:

CfwNatFirewallControlPolicyPriorityArray{ CfwNatFirewallControlPolicyPriorityArgs{...} }

type CfwNatFirewallControlPolicyPriorityArrayOutput

type CfwNatFirewallControlPolicyPriorityArrayOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyPriorityArrayOutput) ElementType

func (CfwNatFirewallControlPolicyPriorityArrayOutput) Index

func (CfwNatFirewallControlPolicyPriorityArrayOutput) ToCfwNatFirewallControlPolicyPriorityArrayOutput

func (o CfwNatFirewallControlPolicyPriorityArrayOutput) ToCfwNatFirewallControlPolicyPriorityArrayOutput() CfwNatFirewallControlPolicyPriorityArrayOutput

func (CfwNatFirewallControlPolicyPriorityArrayOutput) ToCfwNatFirewallControlPolicyPriorityArrayOutputWithContext

func (o CfwNatFirewallControlPolicyPriorityArrayOutput) ToCfwNatFirewallControlPolicyPriorityArrayOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityArrayOutput

type CfwNatFirewallControlPolicyPriorityInput

type CfwNatFirewallControlPolicyPriorityInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyPriorityOutput() CfwNatFirewallControlPolicyPriorityOutput
	ToCfwNatFirewallControlPolicyPriorityOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityOutput
}

type CfwNatFirewallControlPolicyPriorityMap

type CfwNatFirewallControlPolicyPriorityMap map[string]CfwNatFirewallControlPolicyPriorityInput

func (CfwNatFirewallControlPolicyPriorityMap) ElementType

func (CfwNatFirewallControlPolicyPriorityMap) ToCfwNatFirewallControlPolicyPriorityMapOutput

func (i CfwNatFirewallControlPolicyPriorityMap) ToCfwNatFirewallControlPolicyPriorityMapOutput() CfwNatFirewallControlPolicyPriorityMapOutput

func (CfwNatFirewallControlPolicyPriorityMap) ToCfwNatFirewallControlPolicyPriorityMapOutputWithContext

func (i CfwNatFirewallControlPolicyPriorityMap) ToCfwNatFirewallControlPolicyPriorityMapOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityMapOutput

type CfwNatFirewallControlPolicyPriorityMapInput

type CfwNatFirewallControlPolicyPriorityMapInput interface {
	pulumi.Input

	ToCfwNatFirewallControlPolicyPriorityMapOutput() CfwNatFirewallControlPolicyPriorityMapOutput
	ToCfwNatFirewallControlPolicyPriorityMapOutputWithContext(context.Context) CfwNatFirewallControlPolicyPriorityMapOutput
}

CfwNatFirewallControlPolicyPriorityMapInput is an input type that accepts CfwNatFirewallControlPolicyPriorityMap and CfwNatFirewallControlPolicyPriorityMapOutput values. You can construct a concrete instance of `CfwNatFirewallControlPolicyPriorityMapInput` via:

CfwNatFirewallControlPolicyPriorityMap{ "key": CfwNatFirewallControlPolicyPriorityArgs{...} }

type CfwNatFirewallControlPolicyPriorityMapOutput

type CfwNatFirewallControlPolicyPriorityMapOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyPriorityMapOutput) ElementType

func (CfwNatFirewallControlPolicyPriorityMapOutput) MapIndex

func (CfwNatFirewallControlPolicyPriorityMapOutput) ToCfwNatFirewallControlPolicyPriorityMapOutput

func (o CfwNatFirewallControlPolicyPriorityMapOutput) ToCfwNatFirewallControlPolicyPriorityMapOutput() CfwNatFirewallControlPolicyPriorityMapOutput

func (CfwNatFirewallControlPolicyPriorityMapOutput) ToCfwNatFirewallControlPolicyPriorityMapOutputWithContext

func (o CfwNatFirewallControlPolicyPriorityMapOutput) ToCfwNatFirewallControlPolicyPriorityMapOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityMapOutput

type CfwNatFirewallControlPolicyPriorityOutput

type CfwNatFirewallControlPolicyPriorityOutput struct{ *pulumi.OutputState }

func (CfwNatFirewallControlPolicyPriorityOutput) Direction

The direction of the nat firewall control policy. Valid values: `in`, `out`.

func (CfwNatFirewallControlPolicyPriorityOutput) ElementType

func (CfwNatFirewallControlPolicyPriorityOutput) NatFirewallId

The id of the nat firewall.

func (CfwNatFirewallControlPolicyPriorityOutput) NewPrio

The new priority of the nat firewall control policy. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwNatFirewallControlPolicyPriorityOutput) Prio

The priority of the nat firewall control policy.

func (CfwNatFirewallControlPolicyPriorityOutput) RuleId

The rule id of the nat firewall control policy.

func (CfwNatFirewallControlPolicyPriorityOutput) ToCfwNatFirewallControlPolicyPriorityOutput

func (o CfwNatFirewallControlPolicyPriorityOutput) ToCfwNatFirewallControlPolicyPriorityOutput() CfwNatFirewallControlPolicyPriorityOutput

func (CfwNatFirewallControlPolicyPriorityOutput) ToCfwNatFirewallControlPolicyPriorityOutputWithContext

func (o CfwNatFirewallControlPolicyPriorityOutput) ToCfwNatFirewallControlPolicyPriorityOutputWithContext(ctx context.Context) CfwNatFirewallControlPolicyPriorityOutput

type CfwNatFirewallControlPolicyPriorityState

type CfwNatFirewallControlPolicyPriorityState struct {
	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The id of the nat firewall.
	NatFirewallId pulumi.StringPtrInput
	// The new priority of the nat firewall control policy. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The priority of the nat firewall control policy.
	Prio pulumi.IntPtrInput
	// The rule id of the nat firewall control policy.
	RuleId pulumi.StringPtrInput
}

func (CfwNatFirewallControlPolicyPriorityState) ElementType

type CfwNatFirewallControlPolicyState

type CfwNatFirewallControlPolicyState struct {
	// The account id of the nat firewall control policy.
	AccountId pulumi.StringPtrInput
	// The action of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringPtrInput
	// The description of the nat firewall control policy.
	Description pulumi.StringPtrInput
	// The dest port of the nat firewall control policy.
	DestPort pulumi.StringPtrInput
	// The dest port type of the nat firewall control policy. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the nat firewall control policy.
	Destination pulumi.StringPtrInput
	// The destination type of the nat firewall control policy. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringPtrInput
	// The direction of the nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntPtrInput
	// The end time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The hit count of the nat firewall control policy.
	HitCnt pulumi.IntPtrInput
	// Whether the nat firewall control policy is effected.
	IsEffected pulumi.BoolPtrInput
	// The id of the nat firewall.
	NatFirewallId pulumi.StringPtrInput
	// The name of the nat firewall.
	NatFirewallName pulumi.StringPtrInput
	// The priority of the nat firewall control policy.
	Prio pulumi.IntPtrInput
	// The priority of the nat firewall control policy. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringPtrInput
	// The repeat days of the nat firewall control policy. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the nat firewall control policy. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The rule id of the nat firewall control policy.
	RuleId pulumi.StringPtrInput
	// The source of the nat firewall control policy.
	Source pulumi.StringPtrInput
	// The source type of the nat firewall control policy. Valid values: `net`, `group`.
	SourceType pulumi.StringPtrInput
	// The start time of the nat firewall control policy. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the nat firewall control policy. Default is false.
	Status pulumi.BoolPtrInput
	// The update time of the nat firewall control policy.
	UpdateTime pulumi.IntPtrInput
	// The use count of the nat firewall control policy.
	UseCount pulumi.IntPtrInput
}

func (CfwNatFirewallControlPolicyState) ElementType

type CfwVpcFirewallAclRule

type CfwVpcFirewallAclRule struct {
	pulumi.CustomResourceState

	// The account id of the vpc firewall acl rule.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The action of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringOutput `pulumi:"action"`
	// The description of the vpc firewall acl rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The dest port of the vpc firewall acl rule.
	DestPort pulumi.StringOutput `pulumi:"destPort"`
	// The dest port type of the vpc firewall acl rule. Valid values: `port`, `group`.
	DestPortType pulumi.StringOutput `pulumi:"destPortType"`
	// The destination of the vpc firewall acl rule.
	Destination pulumi.StringOutput `pulumi:"destination"`
	// The destination type of the vpc firewall acl rule. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringOutput `pulumi:"destinationType"`
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntOutput `pulumi:"effectStatus"`
	// The end time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrOutput `pulumi:"endTime"`
	// The hit count of the vpc firewall acl rule.
	HitCnt pulumi.IntOutput `pulumi:"hitCnt"`
	// Whether the vpc firewall acl rule is effected.
	IsEffected pulumi.BoolOutput `pulumi:"isEffected"`
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The priority of the vpc firewall acl rule. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The proto of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringOutput `pulumi:"proto"`
	// The repeat days of the vpc firewall acl rule. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayOutput `pulumi:"repeatDays"`
	// The repeat end time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrOutput `pulumi:"repeatEndTime"`
	// The repeat start time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrOutput `pulumi:"repeatStartTime"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringOutput `pulumi:"repeatType"`
	// The rule id of the vpc firewall acl rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule.
	Source pulumi.StringOutput `pulumi:"source"`
	// The source type of the vpc firewall acl rule. Valid values: `net`, `group`.
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
	// The start time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrOutput `pulumi:"startTime"`
	// Whether to enable the vpc firewall acl rule. Default is false.
	Status pulumi.BoolOutput `pulumi:"status"`
	// The update time of the vpc firewall acl rule.
	UpdateTime pulumi.IntOutput `pulumi:"updateTime"`
	// The use count of the vpc firewall acl rule.
	UseCount pulumi.IntOutput `pulumi:"useCount"`
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringOutput `pulumi:"vpcFirewallId"`
	// The name of the vpc firewall.
	VpcFirewallName pulumi.StringOutput `pulumi:"vpcFirewallName"`
}

Provides a resource to manage cfw vpc firewall acl rule ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwVpcFirewallAclRule(ctx, "fooCfwVpcFirewallAclRule", &cloud_firewall.CfwVpcFirewallAclRuleArgs{
			VpcFirewallId:   pulumi.String("vfw-ydmjakzksgf7u99j****"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VpcFirewallAclRule can be imported using the vpc_firewall_id:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwVpcFirewallAclRule:CfwVpcFirewallAclRule default resource_id ```

func GetCfwVpcFirewallAclRule

func GetCfwVpcFirewallAclRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwVpcFirewallAclRuleState, opts ...pulumi.ResourceOption) (*CfwVpcFirewallAclRule, error)

GetCfwVpcFirewallAclRule gets an existing CfwVpcFirewallAclRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwVpcFirewallAclRule

func NewCfwVpcFirewallAclRule(ctx *pulumi.Context,
	name string, args *CfwVpcFirewallAclRuleArgs, opts ...pulumi.ResourceOption) (*CfwVpcFirewallAclRule, error)

NewCfwVpcFirewallAclRule registers a new resource with the given unique name, arguments, and options.

func (*CfwVpcFirewallAclRule) ElementType

func (*CfwVpcFirewallAclRule) ElementType() reflect.Type

func (*CfwVpcFirewallAclRule) ToCfwVpcFirewallAclRuleOutput

func (i *CfwVpcFirewallAclRule) ToCfwVpcFirewallAclRuleOutput() CfwVpcFirewallAclRuleOutput

func (*CfwVpcFirewallAclRule) ToCfwVpcFirewallAclRuleOutputWithContext

func (i *CfwVpcFirewallAclRule) ToCfwVpcFirewallAclRuleOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleOutput

type CfwVpcFirewallAclRuleArgs

type CfwVpcFirewallAclRuleArgs struct {
	// The action of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput
	// The description of the vpc firewall acl rule.
	Description pulumi.StringPtrInput
	// The dest port of the vpc firewall acl rule.
	DestPort pulumi.StringPtrInput
	// The dest port type of the vpc firewall acl rule. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the vpc firewall acl rule.
	Destination pulumi.StringInput
	// The destination type of the vpc firewall acl rule. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringInput
	// The end time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The priority of the vpc firewall acl rule. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput
	// The repeat days of the vpc firewall acl rule. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The source of the vpc firewall acl rule.
	Source pulumi.StringInput
	// The source type of the vpc firewall acl rule. Valid values: `net`, `group`.
	SourceType pulumi.StringInput
	// The start time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the vpc firewall acl rule. Default is false.
	Status pulumi.BoolPtrInput
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringInput
}

The set of arguments for constructing a CfwVpcFirewallAclRule resource.

func (CfwVpcFirewallAclRuleArgs) ElementType

func (CfwVpcFirewallAclRuleArgs) ElementType() reflect.Type

type CfwVpcFirewallAclRuleArray

type CfwVpcFirewallAclRuleArray []CfwVpcFirewallAclRuleInput

func (CfwVpcFirewallAclRuleArray) ElementType

func (CfwVpcFirewallAclRuleArray) ElementType() reflect.Type

func (CfwVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRuleArrayOutput

func (i CfwVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRuleArrayOutput

func (CfwVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRuleArrayOutputWithContext

func (i CfwVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRuleArrayInput

type CfwVpcFirewallAclRuleArrayInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRuleArrayOutput
	ToCfwVpcFirewallAclRuleArrayOutputWithContext(context.Context) CfwVpcFirewallAclRuleArrayOutput
}

CfwVpcFirewallAclRuleArrayInput is an input type that accepts CfwVpcFirewallAclRuleArray and CfwVpcFirewallAclRuleArrayOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRuleArrayInput` via:

CfwVpcFirewallAclRuleArray{ CfwVpcFirewallAclRuleArgs{...} }

type CfwVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRuleArrayOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRuleArrayOutput) ElementType

func (CfwVpcFirewallAclRuleArrayOutput) Index

func (CfwVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRuleArrayOutput

func (o CfwVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRuleArrayOutput

func (CfwVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRuleArrayOutputWithContext

func (o CfwVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRuleInput

type CfwVpcFirewallAclRuleInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRuleOutput() CfwVpcFirewallAclRuleOutput
	ToCfwVpcFirewallAclRuleOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleOutput
}

type CfwVpcFirewallAclRuleMap

type CfwVpcFirewallAclRuleMap map[string]CfwVpcFirewallAclRuleInput

func (CfwVpcFirewallAclRuleMap) ElementType

func (CfwVpcFirewallAclRuleMap) ElementType() reflect.Type

func (CfwVpcFirewallAclRuleMap) ToCfwVpcFirewallAclRuleMapOutput

func (i CfwVpcFirewallAclRuleMap) ToCfwVpcFirewallAclRuleMapOutput() CfwVpcFirewallAclRuleMapOutput

func (CfwVpcFirewallAclRuleMap) ToCfwVpcFirewallAclRuleMapOutputWithContext

func (i CfwVpcFirewallAclRuleMap) ToCfwVpcFirewallAclRuleMapOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleMapOutput

type CfwVpcFirewallAclRuleMapInput

type CfwVpcFirewallAclRuleMapInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRuleMapOutput() CfwVpcFirewallAclRuleMapOutput
	ToCfwVpcFirewallAclRuleMapOutputWithContext(context.Context) CfwVpcFirewallAclRuleMapOutput
}

CfwVpcFirewallAclRuleMapInput is an input type that accepts CfwVpcFirewallAclRuleMap and CfwVpcFirewallAclRuleMapOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRuleMapInput` via:

CfwVpcFirewallAclRuleMap{ "key": CfwVpcFirewallAclRuleArgs{...} }

type CfwVpcFirewallAclRuleMapOutput

type CfwVpcFirewallAclRuleMapOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRuleMapOutput) ElementType

func (CfwVpcFirewallAclRuleMapOutput) MapIndex

func (CfwVpcFirewallAclRuleMapOutput) ToCfwVpcFirewallAclRuleMapOutput

func (o CfwVpcFirewallAclRuleMapOutput) ToCfwVpcFirewallAclRuleMapOutput() CfwVpcFirewallAclRuleMapOutput

func (CfwVpcFirewallAclRuleMapOutput) ToCfwVpcFirewallAclRuleMapOutputWithContext

func (o CfwVpcFirewallAclRuleMapOutput) ToCfwVpcFirewallAclRuleMapOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleMapOutput

type CfwVpcFirewallAclRuleOutput

type CfwVpcFirewallAclRuleOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRuleOutput) AccountId

The account id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) Action

The action of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.

func (CfwVpcFirewallAclRuleOutput) Description

The description of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) DestPort

The dest port of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) DestPortType

The dest port type of the vpc firewall acl rule. Valid values: `port`, `group`.

func (CfwVpcFirewallAclRuleOutput) Destination

The destination of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) DestinationType

func (o CfwVpcFirewallAclRuleOutput) DestinationType() pulumi.StringOutput

The destination type of the vpc firewall acl rule. Valid values: `net`, `group`, `location`, `domain`.

func (CfwVpcFirewallAclRuleOutput) EffectStatus

func (o CfwVpcFirewallAclRuleOutput) EffectStatus() pulumi.IntOutput

The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwVpcFirewallAclRuleOutput) ElementType

func (CfwVpcFirewallAclRuleOutput) EndTime

The end time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwVpcFirewallAclRuleOutput) HitCnt

The hit count of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) IsEffected

Whether the vpc firewall acl rule is effected.

func (CfwVpcFirewallAclRuleOutput) Prio

The priority of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) Priority

The priority of the vpc firewall acl rule. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwVpcFirewallAclRuleOutput) Proto

The proto of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwVpcFirewallAclRuleOutput) RepeatDays

The repeat days of the vpc firewall acl rule. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required. When the repeatType is `Weekly`, the valid value range is 0~6. When the repeatType is `Monthly`, the valid value range is 1~31.

func (CfwVpcFirewallAclRuleOutput) RepeatEndTime

The repeat end time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwVpcFirewallAclRuleOutput) RepeatStartTime

The repeat start time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00. When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwVpcFirewallAclRuleOutput) RepeatType

The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwVpcFirewallAclRuleOutput) RuleId

The rule id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) Source

The source of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) SourceType

The source type of the vpc firewall acl rule. Valid values: `net`, `group`.

func (CfwVpcFirewallAclRuleOutput) StartTime

The start time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date. When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.

func (CfwVpcFirewallAclRuleOutput) Status

Whether to enable the vpc firewall acl rule. Default is false.

func (CfwVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRuleOutput

func (o CfwVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRuleOutput() CfwVpcFirewallAclRuleOutput

func (CfwVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRuleOutputWithContext

func (o CfwVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRuleOutputWithContext(ctx context.Context) CfwVpcFirewallAclRuleOutput

func (CfwVpcFirewallAclRuleOutput) UpdateTime

The update time of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) UseCount

The use count of the vpc firewall acl rule.

func (CfwVpcFirewallAclRuleOutput) VpcFirewallId

The id of the vpc firewall.

func (CfwVpcFirewallAclRuleOutput) VpcFirewallName

func (o CfwVpcFirewallAclRuleOutput) VpcFirewallName() pulumi.StringOutput

The name of the vpc firewall.

type CfwVpcFirewallAclRulePriority

type CfwVpcFirewallAclRulePriority struct {
	pulumi.CustomResourceState

	// The new priority of the vpc firewall acl rule. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrOutput `pulumi:"newPrio"`
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntOutput `pulumi:"prio"`
	// The rule id of the vpc firewall acl rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringOutput `pulumi:"vpcFirewallId"`
}

Provides a resource to manage cfw vpc firewall acl rule priority ## Example Usage

```go 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 {
		fooCfwAddressBook, err := cloud_firewall.NewCfwAddressBook(ctx, "fooCfwAddressBook", &cloud_firewall.CfwAddressBookArgs{
			GroupName:   pulumi.String("acc-test-address-book"),
			Description: pulumi.String("acc-test"),
			GroupType:   pulumi.String("ip"),
			AddressLists: pulumi.StringArray{
				pulumi.String("192.168.1.1"),
				pulumi.String("192.168.2.2"),
			},
		})
		if err != nil {
			return err
		}
		fooCfwVpcFirewallAclRule, err := cloud_firewall.NewCfwVpcFirewallAclRule(ctx, "fooCfwVpcFirewallAclRule", &cloud_firewall.CfwVpcFirewallAclRuleArgs{
			VpcFirewallId:   pulumi.String("vfw-ydmjakzksgf7u99j****"),
			Action:          pulumi.String("accept"),
			DestinationType: pulumi.String("group"),
			Destination:     fooCfwAddressBook.ID(),
			Proto:           pulumi.String("TCP"),
			SourceType:      pulumi.String("net"),
			Source:          pulumi.String("0.0.0.0/0"),
			Description:     pulumi.String("acc-test-control-policy"),
			DestPortType:    pulumi.String("port"),
			DestPort:        pulumi.String("300"),
			RepeatType:      pulumi.String("Weekly"),
			RepeatStartTime: pulumi.String("01:00"),
			RepeatEndTime:   pulumi.String("11:00"),
			RepeatDays: pulumi.IntArray{
				pulumi.Int(2),
				pulumi.Int(5),
			},
			StartTime: pulumi.Int(1736092800),
			EndTime:   pulumi.Int(1738339140),
			Priority:  pulumi.Int(1),
			Status:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cloud_firewall.NewCfwVpcFirewallAclRulePriority(ctx, "fooCfwVpcFirewallAclRulePriority", &cloud_firewall.CfwVpcFirewallAclRulePriorityArgs{
			VpcFirewallId: pulumi.String("vfw-ydmjakzksgf7u99j****"),
			RuleId:        fooCfwVpcFirewallAclRule.RuleId,
			NewPrio:       pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VpcFirewallAclRulePriority can be imported using the vpc_firewall_id:rule_id, e.g.

```sh $ pulumi import volcengine:cloud_firewall/cfwVpcFirewallAclRulePriority:CfwVpcFirewallAclRulePriority default resource_id ```

func GetCfwVpcFirewallAclRulePriority

func GetCfwVpcFirewallAclRulePriority(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CfwVpcFirewallAclRulePriorityState, opts ...pulumi.ResourceOption) (*CfwVpcFirewallAclRulePriority, error)

GetCfwVpcFirewallAclRulePriority gets an existing CfwVpcFirewallAclRulePriority resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCfwVpcFirewallAclRulePriority

func NewCfwVpcFirewallAclRulePriority(ctx *pulumi.Context,
	name string, args *CfwVpcFirewallAclRulePriorityArgs, opts ...pulumi.ResourceOption) (*CfwVpcFirewallAclRulePriority, error)

NewCfwVpcFirewallAclRulePriority registers a new resource with the given unique name, arguments, and options.

func (*CfwVpcFirewallAclRulePriority) ElementType

func (*CfwVpcFirewallAclRulePriority) ToCfwVpcFirewallAclRulePriorityOutput

func (i *CfwVpcFirewallAclRulePriority) ToCfwVpcFirewallAclRulePriorityOutput() CfwVpcFirewallAclRulePriorityOutput

func (*CfwVpcFirewallAclRulePriority) ToCfwVpcFirewallAclRulePriorityOutputWithContext

func (i *CfwVpcFirewallAclRulePriority) ToCfwVpcFirewallAclRulePriorityOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityOutput

type CfwVpcFirewallAclRulePriorityArgs

type CfwVpcFirewallAclRulePriorityArgs struct {
	// The new priority of the vpc firewall acl rule. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The rule id of the vpc firewall acl rule.
	RuleId pulumi.StringInput
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringInput
}

The set of arguments for constructing a CfwVpcFirewallAclRulePriority resource.

func (CfwVpcFirewallAclRulePriorityArgs) ElementType

type CfwVpcFirewallAclRulePriorityArray

type CfwVpcFirewallAclRulePriorityArray []CfwVpcFirewallAclRulePriorityInput

func (CfwVpcFirewallAclRulePriorityArray) ElementType

func (CfwVpcFirewallAclRulePriorityArray) ToCfwVpcFirewallAclRulePriorityArrayOutput

func (i CfwVpcFirewallAclRulePriorityArray) ToCfwVpcFirewallAclRulePriorityArrayOutput() CfwVpcFirewallAclRulePriorityArrayOutput

func (CfwVpcFirewallAclRulePriorityArray) ToCfwVpcFirewallAclRulePriorityArrayOutputWithContext

func (i CfwVpcFirewallAclRulePriorityArray) ToCfwVpcFirewallAclRulePriorityArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityArrayOutput

type CfwVpcFirewallAclRulePriorityArrayInput

type CfwVpcFirewallAclRulePriorityArrayInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRulePriorityArrayOutput() CfwVpcFirewallAclRulePriorityArrayOutput
	ToCfwVpcFirewallAclRulePriorityArrayOutputWithContext(context.Context) CfwVpcFirewallAclRulePriorityArrayOutput
}

CfwVpcFirewallAclRulePriorityArrayInput is an input type that accepts CfwVpcFirewallAclRulePriorityArray and CfwVpcFirewallAclRulePriorityArrayOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRulePriorityArrayInput` via:

CfwVpcFirewallAclRulePriorityArray{ CfwVpcFirewallAclRulePriorityArgs{...} }

type CfwVpcFirewallAclRulePriorityArrayOutput

type CfwVpcFirewallAclRulePriorityArrayOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRulePriorityArrayOutput) ElementType

func (CfwVpcFirewallAclRulePriorityArrayOutput) Index

func (CfwVpcFirewallAclRulePriorityArrayOutput) ToCfwVpcFirewallAclRulePriorityArrayOutput

func (o CfwVpcFirewallAclRulePriorityArrayOutput) ToCfwVpcFirewallAclRulePriorityArrayOutput() CfwVpcFirewallAclRulePriorityArrayOutput

func (CfwVpcFirewallAclRulePriorityArrayOutput) ToCfwVpcFirewallAclRulePriorityArrayOutputWithContext

func (o CfwVpcFirewallAclRulePriorityArrayOutput) ToCfwVpcFirewallAclRulePriorityArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityArrayOutput

type CfwVpcFirewallAclRulePriorityInput

type CfwVpcFirewallAclRulePriorityInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRulePriorityOutput() CfwVpcFirewallAclRulePriorityOutput
	ToCfwVpcFirewallAclRulePriorityOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityOutput
}

type CfwVpcFirewallAclRulePriorityMap

type CfwVpcFirewallAclRulePriorityMap map[string]CfwVpcFirewallAclRulePriorityInput

func (CfwVpcFirewallAclRulePriorityMap) ElementType

func (CfwVpcFirewallAclRulePriorityMap) ToCfwVpcFirewallAclRulePriorityMapOutput

func (i CfwVpcFirewallAclRulePriorityMap) ToCfwVpcFirewallAclRulePriorityMapOutput() CfwVpcFirewallAclRulePriorityMapOutput

func (CfwVpcFirewallAclRulePriorityMap) ToCfwVpcFirewallAclRulePriorityMapOutputWithContext

func (i CfwVpcFirewallAclRulePriorityMap) ToCfwVpcFirewallAclRulePriorityMapOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityMapOutput

type CfwVpcFirewallAclRulePriorityMapInput

type CfwVpcFirewallAclRulePriorityMapInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRulePriorityMapOutput() CfwVpcFirewallAclRulePriorityMapOutput
	ToCfwVpcFirewallAclRulePriorityMapOutputWithContext(context.Context) CfwVpcFirewallAclRulePriorityMapOutput
}

CfwVpcFirewallAclRulePriorityMapInput is an input type that accepts CfwVpcFirewallAclRulePriorityMap and CfwVpcFirewallAclRulePriorityMapOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRulePriorityMapInput` via:

CfwVpcFirewallAclRulePriorityMap{ "key": CfwVpcFirewallAclRulePriorityArgs{...} }

type CfwVpcFirewallAclRulePriorityMapOutput

type CfwVpcFirewallAclRulePriorityMapOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRulePriorityMapOutput) ElementType

func (CfwVpcFirewallAclRulePriorityMapOutput) MapIndex

func (CfwVpcFirewallAclRulePriorityMapOutput) ToCfwVpcFirewallAclRulePriorityMapOutput

func (o CfwVpcFirewallAclRulePriorityMapOutput) ToCfwVpcFirewallAclRulePriorityMapOutput() CfwVpcFirewallAclRulePriorityMapOutput

func (CfwVpcFirewallAclRulePriorityMapOutput) ToCfwVpcFirewallAclRulePriorityMapOutputWithContext

func (o CfwVpcFirewallAclRulePriorityMapOutput) ToCfwVpcFirewallAclRulePriorityMapOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityMapOutput

type CfwVpcFirewallAclRulePriorityOutput

type CfwVpcFirewallAclRulePriorityOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRulePriorityOutput) ElementType

func (CfwVpcFirewallAclRulePriorityOutput) NewPrio

The new priority of the vpc firewall acl rule. The priority increases in order from 1, with lower priority indicating higher priority.

func (CfwVpcFirewallAclRulePriorityOutput) Prio

The priority of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulePriorityOutput) RuleId

The rule id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulePriorityOutput) ToCfwVpcFirewallAclRulePriorityOutput

func (o CfwVpcFirewallAclRulePriorityOutput) ToCfwVpcFirewallAclRulePriorityOutput() CfwVpcFirewallAclRulePriorityOutput

func (CfwVpcFirewallAclRulePriorityOutput) ToCfwVpcFirewallAclRulePriorityOutputWithContext

func (o CfwVpcFirewallAclRulePriorityOutput) ToCfwVpcFirewallAclRulePriorityOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulePriorityOutput

func (CfwVpcFirewallAclRulePriorityOutput) VpcFirewallId

The id of the vpc firewall.

type CfwVpcFirewallAclRulePriorityState

type CfwVpcFirewallAclRulePriorityState struct {
	// The new priority of the vpc firewall acl rule. The priority increases in order from 1, with lower priority indicating higher priority.
	NewPrio pulumi.IntPtrInput
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntPtrInput
	// The rule id of the vpc firewall acl rule.
	RuleId pulumi.StringPtrInput
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringPtrInput
}

func (CfwVpcFirewallAclRulePriorityState) ElementType

type CfwVpcFirewallAclRuleState

type CfwVpcFirewallAclRuleState struct {
	// The account id of the vpc firewall acl rule.
	AccountId pulumi.StringPtrInput
	// The action of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringPtrInput
	// The description of the vpc firewall acl rule.
	Description pulumi.StringPtrInput
	// The dest port of the vpc firewall acl rule.
	DestPort pulumi.StringPtrInput
	// The dest port type of the vpc firewall acl rule. Valid values: `port`, `group`.
	DestPortType pulumi.StringPtrInput
	// The destination of the vpc firewall acl rule.
	Destination pulumi.StringPtrInput
	// The destination type of the vpc firewall acl rule. Valid values: `net`, `group`, `location`, `domain`.
	DestinationType pulumi.StringPtrInput
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntPtrInput
	// The end time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	EndTime pulumi.IntPtrInput
	// The hit count of the vpc firewall acl rule.
	HitCnt pulumi.IntPtrInput
	// Whether the vpc firewall acl rule is effected.
	IsEffected pulumi.BoolPtrInput
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntPtrInput
	// The priority of the vpc firewall acl rule. Default is 0. This field is only effective when creating a control policy.0 means lowest priority, 1 means highest priority. The priority increases in order from 1, with lower priority indicating higher priority.
	Priority pulumi.IntPtrInput
	// The proto of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringPtrInput
	// The repeat days of the vpc firewall acl rule. When the value of repeatType is one of `Weekly`, `Monthly`, this field is required.
	// When the repeatType is `Weekly`, the valid value range is 0~6.
	// When the repeatType is `Monthly`, the valid value range is 1~31.
	RepeatDays pulumi.IntArrayInput
	// The repeat end time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatEndTime pulumi.StringPtrInput
	// The repeat start time of the vpc firewall acl rule. Accurate to the minute, in the format of hh: mm. For example: 12:00.
	// When the value of repeatType is one of `Daily`, `Weekly`, `Monthly`, this field is required.
	RepeatStartTime pulumi.StringPtrInput
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringPtrInput
	// The rule id of the vpc firewall acl rule.
	RuleId pulumi.StringPtrInput
	// The source of the vpc firewall acl rule.
	Source pulumi.StringPtrInput
	// The source type of the vpc firewall acl rule. Valid values: `net`, `group`.
	SourceType pulumi.StringPtrInput
	// The start time of the vpc firewall acl rule. Unix timestamp, fields need to be precise to 23:59:00 of the set date.
	// When the value of repeatType is one of `Once`, `Daily`, `Weekly`, `Monthly`, this field is required.
	StartTime pulumi.IntPtrInput
	// Whether to enable the vpc firewall acl rule. Default is false.
	Status pulumi.BoolPtrInput
	// The update time of the vpc firewall acl rule.
	UpdateTime pulumi.IntPtrInput
	// The use count of the vpc firewall acl rule.
	UseCount pulumi.IntPtrInput
	// The id of the vpc firewall.
	VpcFirewallId pulumi.StringPtrInput
	// The name of the vpc firewall.
	VpcFirewallName pulumi.StringPtrInput
}

func (CfwVpcFirewallAclRuleState) ElementType

func (CfwVpcFirewallAclRuleState) ElementType() reflect.Type

type CfwVpcFirewallAclRulesArgs

type CfwVpcFirewallAclRulesArgs struct {
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination *string `pulumi:"destination"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId *string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source *string `pulumi:"source"`
	// The enable status list of the vpc firewall acl rule.
	Statuses []bool `pulumi:"statuses"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
}

A collection of arguments for invoking CfwVpcFirewallAclRules.

type CfwVpcFirewallAclRulesOutputArgs

type CfwVpcFirewallAclRulesOutputArgs struct {
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination pulumi.StringPtrInput `pulumi:"destination"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The enable status list of the vpc firewall acl rule.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId pulumi.StringInput `pulumi:"vpcFirewallId"`
}

A collection of arguments for invoking CfwVpcFirewallAclRules.

func (CfwVpcFirewallAclRulesOutputArgs) ElementType

type CfwVpcFirewallAclRulesResult

type CfwVpcFirewallAclRulesResult struct {
	// The action of the vpc firewall acl rule.
	Actions []string `pulumi:"actions"`
	// The description of the vpc firewall acl rule.
	Description *string `pulumi:"description"`
	// The destination of the vpc firewall acl rule.
	Destination *string `pulumi:"destination"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The proto of the vpc firewall acl rule.
	Protos []string `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the vpc firewall acl rule.
	RuleId *string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule.
	Source *string `pulumi:"source"`
	// Whether to enable the vpc firewall acl rule.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The collection of query.
	VpcFirewallAclRules []CfwVpcFirewallAclRulesVpcFirewallAclRule `pulumi:"vpcFirewallAclRules"`
	// The id of the vpc firewall.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
}

A collection of values returned by CfwVpcFirewallAclRules.

func CfwVpcFirewallAclRules deprecated

func CfwVpcFirewallAclRules(ctx *pulumi.Context, args *CfwVpcFirewallAclRulesArgs, opts ...pulumi.InvokeOption) (*CfwVpcFirewallAclRulesResult, error)

Use this data source to query detailed information of cfw vpc firewall acl rules ## Example Usage

```go 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.GetCfwVpcFirewallAclRules(ctx, &cloud_firewall.GetCfwVpcFirewallAclRulesArgs{
			Actions: []string{
				"accept",
				"deny",
			},
			VpcFirewallId: "vfw-ydmjakzksgf7u99j6sby",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: volcengine.cloud_firewall.CfwVpcFirewallAclRules has been deprecated in favor of volcengine.cloud_firewall.getCfwVpcFirewallAclRules

type CfwVpcFirewallAclRulesResultOutput

type CfwVpcFirewallAclRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CfwVpcFirewallAclRules.

func (CfwVpcFirewallAclRulesResultOutput) Actions

The action of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) Description

The description of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) Destination

The destination of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) ElementType

func (CfwVpcFirewallAclRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CfwVpcFirewallAclRulesResultOutput) OutputFile

func (CfwVpcFirewallAclRulesResultOutput) Protos

The proto of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) RepeatTypes

The repeat type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) RuleId

The id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) Source

The source of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) Statuses

Whether to enable the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesResultOutput) ToCfwVpcFirewallAclRulesResultOutput

func (o CfwVpcFirewallAclRulesResultOutput) ToCfwVpcFirewallAclRulesResultOutput() CfwVpcFirewallAclRulesResultOutput

func (CfwVpcFirewallAclRulesResultOutput) ToCfwVpcFirewallAclRulesResultOutputWithContext

func (o CfwVpcFirewallAclRulesResultOutput) ToCfwVpcFirewallAclRulesResultOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulesResultOutput

func (CfwVpcFirewallAclRulesResultOutput) TotalCount

The total count of query.

func (CfwVpcFirewallAclRulesResultOutput) VpcFirewallAclRules

The collection of query.

func (CfwVpcFirewallAclRulesResultOutput) VpcFirewallId

The id of the vpc firewall.

type CfwVpcFirewallAclRulesVpcFirewallAclRule

type CfwVpcFirewallAclRulesVpcFirewallAclRule struct {
	// The account id of the vpc firewall acl rule.
	AccountId string `pulumi:"accountId"`
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the vpc firewall acl rule.
	DestPort string `pulumi:"destPort"`
	// The dest port group type of the vpc firewall acl rule.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the vpc firewall acl rule.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the vpc firewall acl rule.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the vpc firewall acl rule.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group type of the vpc firewall acl rule.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the vpc firewall acl rule.
	DestinationType string `pulumi:"destinationType"`
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the vpc firewall acl rule. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the vpc firewall acl rule.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the vpc firewall acl rule.
	Id string `pulumi:"id"`
	// Whether the vpc firewall acl rule is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The priority of the vpc firewall acl rule.
	Prio int `pulumi:"prio"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the vpc firewall acl rule.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the vpc firewall acl rule.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the vpc firewall acl rule.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the vpc firewall acl rule.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group type of the vpc firewall acl rule.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the vpc firewall acl rule.
	SourceType string `pulumi:"sourceType"`
	// The start time of the vpc firewall acl rule. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the vpc firewall acl rule.
	Status bool `pulumi:"status"`
	// The update time of the vpc firewall acl rule.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the vpc firewall acl rule.
	UseCount int `pulumi:"useCount"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
	// The name of the vpc firewall.
	VpcFirewallName string `pulumi:"vpcFirewallName"`
}

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs struct {
	// The account id of the vpc firewall acl rule.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the vpc firewall acl rule.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group type of the vpc firewall acl rule.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the vpc firewall acl rule.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the vpc firewall acl rule.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the vpc firewall acl rule.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group type of the vpc firewall acl rule.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the vpc firewall acl rule.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the vpc firewall acl rule. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the vpc firewall acl rule.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the vpc firewall acl rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the vpc firewall acl rule is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the vpc firewall acl rule.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the vpc firewall acl rule.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the vpc firewall acl rule.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the vpc firewall acl rule.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group type of the vpc firewall acl rule.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the vpc firewall acl rule.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the vpc firewall acl rule. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the vpc firewall acl rule.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the vpc firewall acl rule.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the vpc firewall acl rule.
	UseCount pulumi.IntInput `pulumi:"useCount"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId pulumi.StringInput `pulumi:"vpcFirewallId"`
	// The name of the vpc firewall.
	VpcFirewallName pulumi.StringInput `pulumi:"vpcFirewallName"`
}

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ElementType

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (i CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext

func (i CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArray

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArray []CfwVpcFirewallAclRulesVpcFirewallAclRuleInput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ElementType

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

func (i CfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext

func (i CfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput
	ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput
}

CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput is an input type that accepts CfwVpcFirewallAclRulesVpcFirewallAclRuleArray and CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput` via:

CfwVpcFirewallAclRulesVpcFirewallAclRuleArray{ CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs{...} }

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ElementType

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) Index

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

func (o CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext

func (o CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleInput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleInput interface {
	pulumi.Input

	ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput
	ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput
}

CfwVpcFirewallAclRulesVpcFirewallAclRuleInput is an input type that accepts CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs and CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput values. You can construct a concrete instance of `CfwVpcFirewallAclRulesVpcFirewallAclRuleInput` via:

CfwVpcFirewallAclRulesVpcFirewallAclRuleArgs{...}

type CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

type CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput struct{ *pulumi.OutputState }

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) AccountId

The account id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Action

The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Description

The description of the vpc firewall acl rule. This field support fuzzy query.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPort

The dest port of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortGroupType

The dest port group type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortLists

The dest port list of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortType

The dest port type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Destination

The destination of the vpc firewall acl rule. This field support fuzzy query.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationCidrLists

The destination cidr list of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationGroupType

The destination group type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationType

The destination type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) EffectStatus

The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ElementType

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) EndTime

The end time of the vpc firewall acl rule. Unix timestamp.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) HitCnt

The hit count of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Id

The id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) IsEffected

Whether the vpc firewall acl rule is effected.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Prio

The priority of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Proto

The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatDays

The repeat days of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatEndTime

The repeat end time of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatStartTime

The repeat start time of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatType

The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RuleId

The rule id of the vpc firewall acl rule. This field support fuzzy query.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Source

The source of the vpc firewall acl rule. This field support fuzzy query.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceCidrLists

The source cidr list of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceGroupType

The source group type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceType

The source type of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) StartTime

The start time of the vpc firewall acl rule. Unix timestamp.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Status

The enable status list of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (o CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext

func (o CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(ctx context.Context) CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) UpdateTime

The update time of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) UseCount

The use count of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) VpcFirewallId

The vpc firewall id of the vpc firewall acl rule.

func (CfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) VpcFirewallName

The name of the vpc firewall.

type GetCfwAddressBooksAddressBook added in v0.0.30

type GetCfwAddressBooksAddressBook struct {
	// The address list of the address book.
	AddressLists []string `pulumi:"addressLists"`
	// The group type of address book. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName string `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType string `pulumi:"groupType"`
	// The uuid of the address book.
	GroupUuid string `pulumi:"groupUuid"`
	// The uuid of the address book.
	Id string `pulumi:"id"`
	// The reference count of the address book.
	RefCnt int `pulumi:"refCnt"`
}

type GetCfwAddressBooksAddressBookArgs added in v0.0.30

type GetCfwAddressBooksAddressBookArgs struct {
	// The address list of the address book.
	AddressLists pulumi.StringArrayInput `pulumi:"addressLists"`
	// The group type of address book. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringInput `pulumi:"groupType"`
	// The uuid of the address book.
	GroupUuid pulumi.StringInput `pulumi:"groupUuid"`
	// The uuid of the address book.
	Id pulumi.StringInput `pulumi:"id"`
	// The reference count of the address book.
	RefCnt pulumi.IntInput `pulumi:"refCnt"`
}

func (GetCfwAddressBooksAddressBookArgs) ElementType added in v0.0.30

func (GetCfwAddressBooksAddressBookArgs) ToGetCfwAddressBooksAddressBookOutput added in v0.0.30

func (i GetCfwAddressBooksAddressBookArgs) ToGetCfwAddressBooksAddressBookOutput() GetCfwAddressBooksAddressBookOutput

func (GetCfwAddressBooksAddressBookArgs) ToGetCfwAddressBooksAddressBookOutputWithContext added in v0.0.30

func (i GetCfwAddressBooksAddressBookArgs) ToGetCfwAddressBooksAddressBookOutputWithContext(ctx context.Context) GetCfwAddressBooksAddressBookOutput

type GetCfwAddressBooksAddressBookArray added in v0.0.30

type GetCfwAddressBooksAddressBookArray []GetCfwAddressBooksAddressBookInput

func (GetCfwAddressBooksAddressBookArray) ElementType added in v0.0.30

func (GetCfwAddressBooksAddressBookArray) ToGetCfwAddressBooksAddressBookArrayOutput added in v0.0.30

func (i GetCfwAddressBooksAddressBookArray) ToGetCfwAddressBooksAddressBookArrayOutput() GetCfwAddressBooksAddressBookArrayOutput

func (GetCfwAddressBooksAddressBookArray) ToGetCfwAddressBooksAddressBookArrayOutputWithContext added in v0.0.30

func (i GetCfwAddressBooksAddressBookArray) ToGetCfwAddressBooksAddressBookArrayOutputWithContext(ctx context.Context) GetCfwAddressBooksAddressBookArrayOutput

type GetCfwAddressBooksAddressBookArrayInput added in v0.0.30

type GetCfwAddressBooksAddressBookArrayInput interface {
	pulumi.Input

	ToGetCfwAddressBooksAddressBookArrayOutput() GetCfwAddressBooksAddressBookArrayOutput
	ToGetCfwAddressBooksAddressBookArrayOutputWithContext(context.Context) GetCfwAddressBooksAddressBookArrayOutput
}

GetCfwAddressBooksAddressBookArrayInput is an input type that accepts GetCfwAddressBooksAddressBookArray and GetCfwAddressBooksAddressBookArrayOutput values. You can construct a concrete instance of `GetCfwAddressBooksAddressBookArrayInput` via:

GetCfwAddressBooksAddressBookArray{ GetCfwAddressBooksAddressBookArgs{...} }

type GetCfwAddressBooksAddressBookArrayOutput added in v0.0.30

type GetCfwAddressBooksAddressBookArrayOutput struct{ *pulumi.OutputState }

func (GetCfwAddressBooksAddressBookArrayOutput) ElementType added in v0.0.30

func (GetCfwAddressBooksAddressBookArrayOutput) Index added in v0.0.30

func (GetCfwAddressBooksAddressBookArrayOutput) ToGetCfwAddressBooksAddressBookArrayOutput added in v0.0.30

func (o GetCfwAddressBooksAddressBookArrayOutput) ToGetCfwAddressBooksAddressBookArrayOutput() GetCfwAddressBooksAddressBookArrayOutput

func (GetCfwAddressBooksAddressBookArrayOutput) ToGetCfwAddressBooksAddressBookArrayOutputWithContext added in v0.0.30

func (o GetCfwAddressBooksAddressBookArrayOutput) ToGetCfwAddressBooksAddressBookArrayOutputWithContext(ctx context.Context) GetCfwAddressBooksAddressBookArrayOutput

type GetCfwAddressBooksAddressBookInput added in v0.0.30

type GetCfwAddressBooksAddressBookInput interface {
	pulumi.Input

	ToGetCfwAddressBooksAddressBookOutput() GetCfwAddressBooksAddressBookOutput
	ToGetCfwAddressBooksAddressBookOutputWithContext(context.Context) GetCfwAddressBooksAddressBookOutput
}

GetCfwAddressBooksAddressBookInput is an input type that accepts GetCfwAddressBooksAddressBookArgs and GetCfwAddressBooksAddressBookOutput values. You can construct a concrete instance of `GetCfwAddressBooksAddressBookInput` via:

GetCfwAddressBooksAddressBookArgs{...}

type GetCfwAddressBooksAddressBookOutput added in v0.0.30

type GetCfwAddressBooksAddressBookOutput struct{ *pulumi.OutputState }

func (GetCfwAddressBooksAddressBookOutput) AddressLists added in v0.0.30

The address list of the address book.

func (GetCfwAddressBooksAddressBookOutput) Description added in v0.0.30

The group type of address book. This field support fuzzy query.

func (GetCfwAddressBooksAddressBookOutput) ElementType added in v0.0.30

func (GetCfwAddressBooksAddressBookOutput) GroupName added in v0.0.30

The group name of address book. This field support fuzzy query.

func (GetCfwAddressBooksAddressBookOutput) GroupType added in v0.0.30

The group type of address book. Valid values: `ip`, `port`, `domain`.

func (GetCfwAddressBooksAddressBookOutput) GroupUuid added in v0.0.30

The uuid of the address book.

func (GetCfwAddressBooksAddressBookOutput) Id added in v0.0.30

The uuid of the address book.

func (GetCfwAddressBooksAddressBookOutput) RefCnt added in v0.0.30

The reference count of the address book.

func (GetCfwAddressBooksAddressBookOutput) ToGetCfwAddressBooksAddressBookOutput added in v0.0.30

func (o GetCfwAddressBooksAddressBookOutput) ToGetCfwAddressBooksAddressBookOutput() GetCfwAddressBooksAddressBookOutput

func (GetCfwAddressBooksAddressBookOutput) ToGetCfwAddressBooksAddressBookOutputWithContext added in v0.0.30

func (o GetCfwAddressBooksAddressBookOutput) ToGetCfwAddressBooksAddressBookOutputWithContext(ctx context.Context) GetCfwAddressBooksAddressBookOutput

type GetCfwAddressBooksArgs added in v0.0.30

type GetCfwAddressBooksArgs struct {
	// The group type of address book. This field support fuzzy query.
	Address *string `pulumi:"address"`
	// The group type of address book. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName *string `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType *string `pulumi:"groupType"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getCfwAddressBooks.

type GetCfwAddressBooksOutputArgs added in v0.0.30

type GetCfwAddressBooksOutputArgs struct {
	// The group type of address book. This field support fuzzy query.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The group type of address book. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The group name of address book. This field support fuzzy query.
	GroupName pulumi.StringPtrInput `pulumi:"groupName"`
	// The group type of address book. Valid values: `ip`, `port`, `domain`.
	GroupType pulumi.StringPtrInput `pulumi:"groupType"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getCfwAddressBooks.

func (GetCfwAddressBooksOutputArgs) ElementType added in v0.0.30

type GetCfwAddressBooksResult added in v0.0.30

type GetCfwAddressBooksResult struct {
	Address *string `pulumi:"address"`
	// The collection of query.
	AddressBooks []GetCfwAddressBooksAddressBook `pulumi:"addressBooks"`
	// The description of the address book.
	Description *string `pulumi:"description"`
	// The name of the address book.
	GroupName *string `pulumi:"groupName"`
	// The type of the address book.
	GroupType *string `pulumi:"groupType"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by getCfwAddressBooks.

func GetCfwAddressBooks added in v0.0.30

func GetCfwAddressBooks(ctx *pulumi.Context, args *GetCfwAddressBooksArgs, opts ...pulumi.InvokeOption) (*GetCfwAddressBooksResult, error)

Use this data source to query detailed information of cfw address books ## Example Usage

```go 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.GetCfwAddressBooks(ctx, &cloud_firewall.GetCfwAddressBooksArgs{
			GroupName: pulumi.StringRef("acc-test"),
			GroupType: pulumi.StringRef("ip"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCfwAddressBooksResultOutput added in v0.0.30

type GetCfwAddressBooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCfwAddressBooks.

func GetCfwAddressBooksOutput added in v0.0.30

func (GetCfwAddressBooksResultOutput) Address added in v0.0.30

func (GetCfwAddressBooksResultOutput) AddressBooks added in v0.0.30

The collection of query.

func (GetCfwAddressBooksResultOutput) Description added in v0.0.30

The description of the address book.

func (GetCfwAddressBooksResultOutput) ElementType added in v0.0.30

func (GetCfwAddressBooksResultOutput) GroupName added in v0.0.30

The name of the address book.

func (GetCfwAddressBooksResultOutput) GroupType added in v0.0.30

The type of the address book.

func (GetCfwAddressBooksResultOutput) Id added in v0.0.30

The provider-assigned unique ID for this managed resource.

func (GetCfwAddressBooksResultOutput) NameRegex added in v0.0.30

func (GetCfwAddressBooksResultOutput) OutputFile added in v0.0.30

func (GetCfwAddressBooksResultOutput) ToGetCfwAddressBooksResultOutput added in v0.0.30

func (o GetCfwAddressBooksResultOutput) ToGetCfwAddressBooksResultOutput() GetCfwAddressBooksResultOutput

func (GetCfwAddressBooksResultOutput) ToGetCfwAddressBooksResultOutputWithContext added in v0.0.30

func (o GetCfwAddressBooksResultOutput) ToGetCfwAddressBooksResultOutputWithContext(ctx context.Context) GetCfwAddressBooksResultOutput

func (GetCfwAddressBooksResultOutput) TotalCount added in v0.0.30

The total count of query.

type GetCfwControlPoliciesArgs added in v0.0.30

type GetCfwControlPoliciesArgs struct {
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination of the control policy. This field support fuzzy query.
	Destination *string `pulumi:"destination"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId *string `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source *string `pulumi:"source"`
	// The enable status list of the control policy.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwControlPolicies.

type GetCfwControlPoliciesControlPolicy added in v0.0.30

type GetCfwControlPoliciesControlPolicy struct {
	// The account id of the control policy.
	AccountId string `pulumi:"accountId"`
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the control policy.
	DestPort string `pulumi:"destPort"`
	// The dest port group type of the control policy.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the control policy.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the control policy.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the control policy.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group type of the control policy.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the control policy.
	DestinationType string `pulumi:"destinationType"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the control policy. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the control policy.
	Id string `pulumi:"id"`
	// Whether the control policy is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The priority of the control policy.
	Prio int `pulumi:"prio"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the control policy.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the control policy.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the control policy.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the control policy.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group type of the control policy.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the control policy.
	SourceType string `pulumi:"sourceType"`
	// The start time of the control policy. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the control policy.
	Status bool `pulumi:"status"`
	// The update time of the control policy.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the control policy.
	UseCount int `pulumi:"useCount"`
}

type GetCfwControlPoliciesControlPolicyArgs added in v0.0.30

type GetCfwControlPoliciesControlPolicyArgs struct {
	// The account id of the control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the control policy.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group type of the control policy.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the control policy.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the control policy.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the control policy.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group type of the control policy.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the control policy. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the control policy is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The priority of the control policy.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the control policy.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the control policy.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the control policy.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the control policy.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group type of the control policy.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the control policy.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the control policy. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the control policy.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the control policy.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (GetCfwControlPoliciesControlPolicyArgs) ElementType added in v0.0.30

func (GetCfwControlPoliciesControlPolicyArgs) ToGetCfwControlPoliciesControlPolicyOutput added in v0.0.30

func (i GetCfwControlPoliciesControlPolicyArgs) ToGetCfwControlPoliciesControlPolicyOutput() GetCfwControlPoliciesControlPolicyOutput

func (GetCfwControlPoliciesControlPolicyArgs) ToGetCfwControlPoliciesControlPolicyOutputWithContext added in v0.0.30

func (i GetCfwControlPoliciesControlPolicyArgs) ToGetCfwControlPoliciesControlPolicyOutputWithContext(ctx context.Context) GetCfwControlPoliciesControlPolicyOutput

type GetCfwControlPoliciesControlPolicyArray added in v0.0.30

type GetCfwControlPoliciesControlPolicyArray []GetCfwControlPoliciesControlPolicyInput

func (GetCfwControlPoliciesControlPolicyArray) ElementType added in v0.0.30

func (GetCfwControlPoliciesControlPolicyArray) ToGetCfwControlPoliciesControlPolicyArrayOutput added in v0.0.30

func (i GetCfwControlPoliciesControlPolicyArray) ToGetCfwControlPoliciesControlPolicyArrayOutput() GetCfwControlPoliciesControlPolicyArrayOutput

func (GetCfwControlPoliciesControlPolicyArray) ToGetCfwControlPoliciesControlPolicyArrayOutputWithContext added in v0.0.30

func (i GetCfwControlPoliciesControlPolicyArray) ToGetCfwControlPoliciesControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwControlPoliciesControlPolicyArrayOutput

type GetCfwControlPoliciesControlPolicyArrayInput added in v0.0.30

type GetCfwControlPoliciesControlPolicyArrayInput interface {
	pulumi.Input

	ToGetCfwControlPoliciesControlPolicyArrayOutput() GetCfwControlPoliciesControlPolicyArrayOutput
	ToGetCfwControlPoliciesControlPolicyArrayOutputWithContext(context.Context) GetCfwControlPoliciesControlPolicyArrayOutput
}

GetCfwControlPoliciesControlPolicyArrayInput is an input type that accepts GetCfwControlPoliciesControlPolicyArray and GetCfwControlPoliciesControlPolicyArrayOutput values. You can construct a concrete instance of `GetCfwControlPoliciesControlPolicyArrayInput` via:

GetCfwControlPoliciesControlPolicyArray{ GetCfwControlPoliciesControlPolicyArgs{...} }

type GetCfwControlPoliciesControlPolicyArrayOutput added in v0.0.30

type GetCfwControlPoliciesControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCfwControlPoliciesControlPolicyArrayOutput) ElementType added in v0.0.30

func (GetCfwControlPoliciesControlPolicyArrayOutput) Index added in v0.0.30

func (GetCfwControlPoliciesControlPolicyArrayOutput) ToGetCfwControlPoliciesControlPolicyArrayOutput added in v0.0.30

func (o GetCfwControlPoliciesControlPolicyArrayOutput) ToGetCfwControlPoliciesControlPolicyArrayOutput() GetCfwControlPoliciesControlPolicyArrayOutput

func (GetCfwControlPoliciesControlPolicyArrayOutput) ToGetCfwControlPoliciesControlPolicyArrayOutputWithContext added in v0.0.30

func (o GetCfwControlPoliciesControlPolicyArrayOutput) ToGetCfwControlPoliciesControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwControlPoliciesControlPolicyArrayOutput

type GetCfwControlPoliciesControlPolicyInput added in v0.0.30

type GetCfwControlPoliciesControlPolicyInput interface {
	pulumi.Input

	ToGetCfwControlPoliciesControlPolicyOutput() GetCfwControlPoliciesControlPolicyOutput
	ToGetCfwControlPoliciesControlPolicyOutputWithContext(context.Context) GetCfwControlPoliciesControlPolicyOutput
}

GetCfwControlPoliciesControlPolicyInput is an input type that accepts GetCfwControlPoliciesControlPolicyArgs and GetCfwControlPoliciesControlPolicyOutput values. You can construct a concrete instance of `GetCfwControlPoliciesControlPolicyInput` via:

GetCfwControlPoliciesControlPolicyArgs{...}

type GetCfwControlPoliciesControlPolicyOutput added in v0.0.30

type GetCfwControlPoliciesControlPolicyOutput struct{ *pulumi.OutputState }

func (GetCfwControlPoliciesControlPolicyOutput) AccountId added in v0.0.30

The account id of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) Action added in v0.0.30

The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.

func (GetCfwControlPoliciesControlPolicyOutput) Description added in v0.0.30

The description of the control policy. This field support fuzzy query.

func (GetCfwControlPoliciesControlPolicyOutput) DestPort added in v0.0.30

The dest port of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) DestPortGroupType added in v0.0.30

The dest port group type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) DestPortLists added in v0.0.30

The dest port list of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) DestPortType added in v0.0.30

The dest port type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) Destination added in v0.0.30

The destination of the control policy. This field support fuzzy query.

func (GetCfwControlPoliciesControlPolicyOutput) DestinationCidrLists added in v0.0.30

The destination cidr list of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) DestinationGroupType added in v0.0.30

The destination group type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) DestinationType added in v0.0.30

The destination type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) Direction added in v0.0.30

The direction of control policy. Valid values: `in`, `out`.

func (GetCfwControlPoliciesControlPolicyOutput) EffectStatus added in v0.0.30

The effect status of the control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (GetCfwControlPoliciesControlPolicyOutput) ElementType added in v0.0.30

func (GetCfwControlPoliciesControlPolicyOutput) EndTime added in v0.0.30

The end time of the control policy. Unix timestamp.

func (GetCfwControlPoliciesControlPolicyOutput) HitCnt added in v0.0.30

The hit count of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) Id added in v0.0.30

The id of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) IsEffected added in v0.0.30

Whether the control policy is effected.

func (GetCfwControlPoliciesControlPolicyOutput) Prio added in v0.0.30

The priority of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) Proto added in v0.0.30

The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (GetCfwControlPoliciesControlPolicyOutput) RepeatDays added in v0.0.30

The repeat days of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) RepeatEndTime added in v0.0.30

The repeat end time of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) RepeatStartTime added in v0.0.30

The repeat start time of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) RepeatType added in v0.0.30

The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (GetCfwControlPoliciesControlPolicyOutput) RuleId added in v0.0.30

The rule id of the control policy. This field support fuzzy query.

func (GetCfwControlPoliciesControlPolicyOutput) Source added in v0.0.30

The source of the control policy. This field support fuzzy query.

func (GetCfwControlPoliciesControlPolicyOutput) SourceCidrLists added in v0.0.30

The source cidr list of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) SourceGroupType added in v0.0.30

The source group type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) SourceType added in v0.0.30

The source type of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) StartTime added in v0.0.30

The start time of the control policy. Unix timestamp.

func (GetCfwControlPoliciesControlPolicyOutput) Status added in v0.0.30

The enable status list of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) ToGetCfwControlPoliciesControlPolicyOutput added in v0.0.30

func (o GetCfwControlPoliciesControlPolicyOutput) ToGetCfwControlPoliciesControlPolicyOutput() GetCfwControlPoliciesControlPolicyOutput

func (GetCfwControlPoliciesControlPolicyOutput) ToGetCfwControlPoliciesControlPolicyOutputWithContext added in v0.0.30

func (o GetCfwControlPoliciesControlPolicyOutput) ToGetCfwControlPoliciesControlPolicyOutputWithContext(ctx context.Context) GetCfwControlPoliciesControlPolicyOutput

func (GetCfwControlPoliciesControlPolicyOutput) UpdateTime added in v0.0.30

The update time of the control policy.

func (GetCfwControlPoliciesControlPolicyOutput) UseCount added in v0.0.30

The use count of the control policy.

type GetCfwControlPoliciesOutputArgs added in v0.0.30

type GetCfwControlPoliciesOutputArgs struct {
	// The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination of the control policy. This field support fuzzy query.
	Destination pulumi.StringPtrInput `pulumi:"destination"`
	// The direction of control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the control policy. This field support fuzzy query.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// The source of the control policy. This field support fuzzy query.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The enable status list of the control policy.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwControlPolicies.

func (GetCfwControlPoliciesOutputArgs) ElementType added in v0.0.30

type GetCfwControlPoliciesResult added in v0.0.30

type GetCfwControlPoliciesResult struct {
	// The action of the control policy.
	Actions []string `pulumi:"actions"`
	// The collection of query.
	ControlPolicies []GetCfwControlPoliciesControlPolicy `pulumi:"controlPolicies"`
	// The description of the control policy.
	Description *string `pulumi:"description"`
	// The destination of the control policy.
	Destination *string `pulumi:"destination"`
	// The direction of the control policy.
	Direction string `pulumi:"direction"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The proto of the control policy.
	Protos []string `pulumi:"protos"`
	// The repeat type of the control policy.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the control policy.
	RuleId *string `pulumi:"ruleId"`
	// The source of the control policy.
	Source *string `pulumi:"source"`
	// Whether to enable the control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by getCfwControlPolicies.

func GetCfwControlPolicies added in v0.0.30

func GetCfwControlPolicies(ctx *pulumi.Context, args *GetCfwControlPoliciesArgs, opts ...pulumi.InvokeOption) (*GetCfwControlPoliciesResult, error)

Use this data source to query detailed information of cfw control policies ## Example Usage

```go 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.GetCfwControlPolicies(ctx, &cloud_firewall.GetCfwControlPoliciesArgs{
			Actions: []string{
				"deny",
			},
			Direction: "in",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCfwControlPoliciesResultOutput added in v0.0.30

type GetCfwControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCfwControlPolicies.

func GetCfwControlPoliciesOutput added in v0.0.30

func (GetCfwControlPoliciesResultOutput) Actions added in v0.0.30

The action of the control policy.

func (GetCfwControlPoliciesResultOutput) ControlPolicies added in v0.0.30

The collection of query.

func (GetCfwControlPoliciesResultOutput) Description added in v0.0.30

The description of the control policy.

func (GetCfwControlPoliciesResultOutput) Destination added in v0.0.30

The destination of the control policy.

func (GetCfwControlPoliciesResultOutput) Direction added in v0.0.30

The direction of the control policy.

func (GetCfwControlPoliciesResultOutput) ElementType added in v0.0.30

func (GetCfwControlPoliciesResultOutput) Id added in v0.0.30

The provider-assigned unique ID for this managed resource.

func (GetCfwControlPoliciesResultOutput) OutputFile added in v0.0.30

func (GetCfwControlPoliciesResultOutput) Protos added in v0.0.30

The proto of the control policy.

func (GetCfwControlPoliciesResultOutput) RepeatTypes added in v0.0.30

The repeat type of the control policy.

func (GetCfwControlPoliciesResultOutput) RuleId added in v0.0.30

The id of the control policy.

func (GetCfwControlPoliciesResultOutput) Source added in v0.0.30

The source of the control policy.

func (GetCfwControlPoliciesResultOutput) Statuses added in v0.0.30

Whether to enable the control policy.

func (GetCfwControlPoliciesResultOutput) ToGetCfwControlPoliciesResultOutput added in v0.0.30

func (o GetCfwControlPoliciesResultOutput) ToGetCfwControlPoliciesResultOutput() GetCfwControlPoliciesResultOutput

func (GetCfwControlPoliciesResultOutput) ToGetCfwControlPoliciesResultOutputWithContext added in v0.0.30

func (o GetCfwControlPoliciesResultOutput) ToGetCfwControlPoliciesResultOutputWithContext(ctx context.Context) GetCfwControlPoliciesResultOutput

func (GetCfwControlPoliciesResultOutput) TotalCount added in v0.0.30

The total count of query.

type GetCfwDnsControlPoliciesArgs added in v0.0.30

type GetCfwDnsControlPoliciesArgs struct {
	// The description of the dns control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destinations []string `pulumi:"destinations"`
	// The rule id list of the dns control policy. This field support fuzzy query.
	Ids []string `pulumi:"ids"`
	// The internet firewall id of the dns control policy.
	InternetFirewallId *string `pulumi:"internetFirewallId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources []string `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwDnsControlPolicies.

type GetCfwDnsControlPoliciesDnsControlPolicy added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicy struct {
	// The account id of the dns control policy.
	AccountId string `pulumi:"accountId"`
	// The description of the dns control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination group list of the dns control policy.
	DestinationGroupLists []string `pulumi:"destinationGroupLists"`
	// The destination type of the dns control policy.
	DestinationType string `pulumi:"destinationType"`
	// The destination domain list of the dns control policy.
	DomainLists []string `pulumi:"domainLists"`
	// The hit count of the dns control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the dns control policy.
	Id string `pulumi:"id"`
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime int `pulumi:"lastHitTime"`
	// The id of the dns control policy.
	RuleId string `pulumi:"ruleId"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources []GetCfwDnsControlPoliciesDnsControlPolicySource `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Status bool `pulumi:"status"`
	// The use count of the dns control policy.
	UseCount int `pulumi:"useCount"`
}

type GetCfwDnsControlPoliciesDnsControlPolicyArgs added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyArgs struct {
	// The account id of the dns control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The description of the dns control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination group list of the dns control policy.
	DestinationGroupLists pulumi.StringArrayInput `pulumi:"destinationGroupLists"`
	// The destination type of the dns control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The destination domain list of the dns control policy.
	DomainLists pulumi.StringArrayInput `pulumi:"domainLists"`
	// The hit count of the dns control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the dns control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// The last hit time of the dns control policy. Unix timestamp.
	LastHitTime pulumi.IntInput `pulumi:"lastHitTime"`
	// The id of the dns control policy.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources GetCfwDnsControlPoliciesDnsControlPolicySourceArrayInput `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Status pulumi.BoolInput `pulumi:"status"`
	// The use count of the dns control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (GetCfwDnsControlPoliciesDnsControlPolicyArgs) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicyArgs) ToGetCfwDnsControlPoliciesDnsControlPolicyOutput added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicyArgs) ToGetCfwDnsControlPoliciesDnsControlPolicyOutput() GetCfwDnsControlPoliciesDnsControlPolicyOutput

func (GetCfwDnsControlPoliciesDnsControlPolicyArgs) ToGetCfwDnsControlPoliciesDnsControlPolicyOutputWithContext added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicyArgs) ToGetCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicyOutput

type GetCfwDnsControlPoliciesDnsControlPolicyArray added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyArray []GetCfwDnsControlPoliciesDnsControlPolicyInput

func (GetCfwDnsControlPoliciesDnsControlPolicyArray) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicyArray) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutput added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicyArray) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutput() GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (GetCfwDnsControlPoliciesDnsControlPolicyArray) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicyArray) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput

type GetCfwDnsControlPoliciesDnsControlPolicyArrayInput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyArrayInput interface {
	pulumi.Input

	ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutput() GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput
	ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(context.Context) GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput
}

GetCfwDnsControlPoliciesDnsControlPolicyArrayInput is an input type that accepts GetCfwDnsControlPoliciesDnsControlPolicyArray and GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput values. You can construct a concrete instance of `GetCfwDnsControlPoliciesDnsControlPolicyArrayInput` via:

GetCfwDnsControlPoliciesDnsControlPolicyArray{ GetCfwDnsControlPoliciesDnsControlPolicyArgs{...} }

type GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) Index added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutput added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutput() GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput

func (GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicyArrayOutput

type GetCfwDnsControlPoliciesDnsControlPolicyInput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyInput interface {
	pulumi.Input

	ToGetCfwDnsControlPoliciesDnsControlPolicyOutput() GetCfwDnsControlPoliciesDnsControlPolicyOutput
	ToGetCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(context.Context) GetCfwDnsControlPoliciesDnsControlPolicyOutput
}

GetCfwDnsControlPoliciesDnsControlPolicyInput is an input type that accepts GetCfwDnsControlPoliciesDnsControlPolicyArgs and GetCfwDnsControlPoliciesDnsControlPolicyOutput values. You can construct a concrete instance of `GetCfwDnsControlPoliciesDnsControlPolicyInput` via:

GetCfwDnsControlPoliciesDnsControlPolicyArgs{...}

type GetCfwDnsControlPoliciesDnsControlPolicyOutput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicyOutput struct{ *pulumi.OutputState }

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) AccountId added in v0.0.30

The account id of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) Description added in v0.0.30

The description of the dns control policy. This field support fuzzy query.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) Destination added in v0.0.30

The destination list of the dns control policy. This field support fuzzy query.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) DestinationGroupLists added in v0.0.30

The destination group list of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) DestinationType added in v0.0.30

The destination type of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) DomainLists added in v0.0.30

The destination domain list of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) HitCnt added in v0.0.30

The hit count of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) Id added in v0.0.30

The id of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) LastHitTime added in v0.0.30

The last hit time of the dns control policy. Unix timestamp.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) RuleId added in v0.0.30

The id of the dns control policy.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) Sources added in v0.0.30

The source list of the dns control policy. This field support fuzzy query.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) Status added in v0.0.30

The enable status list of the dns control policy. This field support fuzzy query.

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyOutput added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicyOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyOutput() GetCfwDnsControlPoliciesDnsControlPolicyOutput

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyOutputWithContext added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicyOutput) ToGetCfwDnsControlPoliciesDnsControlPolicyOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicyOutput

func (GetCfwDnsControlPoliciesDnsControlPolicyOutput) UseCount added in v0.0.30

The use count of the dns control policy.

type GetCfwDnsControlPoliciesDnsControlPolicySource added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySource struct {
	// The region of the source vpc.
	Region string `pulumi:"region"`
	// The id of the source vpc.
	VpcId string `pulumi:"vpcId"`
}

type GetCfwDnsControlPoliciesDnsControlPolicySourceArgs added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceArgs struct {
	// The region of the source vpc.
	Region pulumi.StringInput `pulumi:"region"`
	// The id of the source vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArgs) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArgs) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutput added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicySourceArgs) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutput() GetCfwDnsControlPoliciesDnsControlPolicySourceOutput

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArgs) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicySourceArgs) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceOutput

type GetCfwDnsControlPoliciesDnsControlPolicySourceArray added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceArray []GetCfwDnsControlPoliciesDnsControlPolicySourceInput

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArray) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArray) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicySourceArray) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput() GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArray) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext added in v0.0.30

func (i GetCfwDnsControlPoliciesDnsControlPolicySourceArray) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

type GetCfwDnsControlPoliciesDnsControlPolicySourceArrayInput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceArrayInput interface {
	pulumi.Input

	ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput() GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput
	ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput
}

GetCfwDnsControlPoliciesDnsControlPolicySourceArrayInput is an input type that accepts GetCfwDnsControlPoliciesDnsControlPolicySourceArray and GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput values. You can construct a concrete instance of `GetCfwDnsControlPoliciesDnsControlPolicySourceArrayInput` via:

GetCfwDnsControlPoliciesDnsControlPolicySourceArray{ GetCfwDnsControlPoliciesDnsControlPolicySourceArgs{...} }

type GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput struct{ *pulumi.OutputState }

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) Index added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceArrayOutput

type GetCfwDnsControlPoliciesDnsControlPolicySourceInput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceInput interface {
	pulumi.Input

	ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutput() GetCfwDnsControlPoliciesDnsControlPolicySourceOutput
	ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceOutput
}

GetCfwDnsControlPoliciesDnsControlPolicySourceInput is an input type that accepts GetCfwDnsControlPoliciesDnsControlPolicySourceArgs and GetCfwDnsControlPoliciesDnsControlPolicySourceOutput values. You can construct a concrete instance of `GetCfwDnsControlPoliciesDnsControlPolicySourceInput` via:

GetCfwDnsControlPoliciesDnsControlPolicySourceArgs{...}

type GetCfwDnsControlPoliciesDnsControlPolicySourceOutput added in v0.0.30

type GetCfwDnsControlPoliciesDnsControlPolicySourceOutput struct{ *pulumi.OutputState }

func (GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) Region added in v0.0.30

The region of the source vpc.

func (GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutput added in v0.0.30

func (GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext added in v0.0.30

func (o GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) ToGetCfwDnsControlPoliciesDnsControlPolicySourceOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesDnsControlPolicySourceOutput

func (GetCfwDnsControlPoliciesDnsControlPolicySourceOutput) VpcId added in v0.0.30

The id of the source vpc.

type GetCfwDnsControlPoliciesOutputArgs added in v0.0.30

type GetCfwDnsControlPoliciesOutputArgs struct {
	// The description of the dns control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination list of the dns control policy. This field support fuzzy query.
	Destinations pulumi.StringArrayInput `pulumi:"destinations"`
	// The rule id list of the dns control policy. This field support fuzzy query.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The internet firewall id of the dns control policy.
	InternetFirewallId pulumi.StringPtrInput `pulumi:"internetFirewallId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The source list of the dns control policy. This field support fuzzy query.
	Sources pulumi.StringArrayInput `pulumi:"sources"`
	// The enable status list of the dns control policy. This field support fuzzy query.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwDnsControlPolicies.

func (GetCfwDnsControlPoliciesOutputArgs) ElementType added in v0.0.30

type GetCfwDnsControlPoliciesResult added in v0.0.30

type GetCfwDnsControlPoliciesResult struct {
	// The description of the dns control policy.
	Description *string `pulumi:"description"`
	// The destination of the dns control policy.
	Destinations []string `pulumi:"destinations"`
	// The collection of query.
	DnsControlPolicies []GetCfwDnsControlPoliciesDnsControlPolicy `pulumi:"dnsControlPolicies"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string   `pulumi:"id"`
	Ids                []string `pulumi:"ids"`
	InternetFirewallId *string  `pulumi:"internetFirewallId"`
	OutputFile         *string  `pulumi:"outputFile"`
	// The source vpc list of the dns control policy.
	Sources []string `pulumi:"sources"`
	// Whether to enable the dns control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by getCfwDnsControlPolicies.

func GetCfwDnsControlPolicies added in v0.0.30

func GetCfwDnsControlPolicies(ctx *pulumi.Context, args *GetCfwDnsControlPoliciesArgs, opts ...pulumi.InvokeOption) (*GetCfwDnsControlPoliciesResult, error)

Use this data source to query detailed information of cfw dns control policies ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_firewall"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooCfwDnsControlPolicy, err := cloud_firewall.NewCfwDnsControlPolicy(ctx, "fooCfwDnsControlPolicy", &cloud_firewall.CfwDnsControlPolicyArgs{
			Description:     pulumi.String("acc-test-dns-control-policy"),
			DestinationType: pulumi.String("domain"),
			Destination:     pulumi.String("www.test.com"),
			Sources: cloud_firewall.CfwDnsControlPolicySourceArray{
				&cloud_firewall.CfwDnsControlPolicySourceArgs{
					VpcId:  fooVpc.ID(),
					Region: pulumi.String("cn-beijing"),
				},
			},
		})
		if err != nil {
			return err
		}
		_ = cloud_firewall.GetCfwDnsControlPoliciesOutput(ctx, cloud_firewall.GetCfwDnsControlPoliciesOutputArgs{
			Ids: pulumi.StringArray{
				fooCfwDnsControlPolicy.ID(),
			},
		}, nil)
		return nil
	})
}

```

type GetCfwDnsControlPoliciesResultOutput added in v0.0.30

type GetCfwDnsControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCfwDnsControlPolicies.

func (GetCfwDnsControlPoliciesResultOutput) Description added in v0.0.30

The description of the dns control policy.

func (GetCfwDnsControlPoliciesResultOutput) Destinations added in v0.0.30

The destination of the dns control policy.

func (GetCfwDnsControlPoliciesResultOutput) DnsControlPolicies added in v0.0.30

The collection of query.

func (GetCfwDnsControlPoliciesResultOutput) ElementType added in v0.0.30

func (GetCfwDnsControlPoliciesResultOutput) Id added in v0.0.30

The provider-assigned unique ID for this managed resource.

func (GetCfwDnsControlPoliciesResultOutput) Ids added in v0.0.30

func (GetCfwDnsControlPoliciesResultOutput) InternetFirewallId added in v0.0.30

func (GetCfwDnsControlPoliciesResultOutput) OutputFile added in v0.0.30

func (GetCfwDnsControlPoliciesResultOutput) Sources added in v0.0.30

The source vpc list of the dns control policy.

func (GetCfwDnsControlPoliciesResultOutput) Statuses added in v0.0.30

Whether to enable the dns control policy.

func (GetCfwDnsControlPoliciesResultOutput) ToGetCfwDnsControlPoliciesResultOutput added in v0.0.30

func (o GetCfwDnsControlPoliciesResultOutput) ToGetCfwDnsControlPoliciesResultOutput() GetCfwDnsControlPoliciesResultOutput

func (GetCfwDnsControlPoliciesResultOutput) ToGetCfwDnsControlPoliciesResultOutputWithContext added in v0.0.30

func (o GetCfwDnsControlPoliciesResultOutput) ToGetCfwDnsControlPoliciesResultOutputWithContext(ctx context.Context) GetCfwDnsControlPoliciesResultOutput

func (GetCfwDnsControlPoliciesResultOutput) TotalCount added in v0.0.30

The total count of query.

type GetCfwNatFirewallControlPoliciesArgs added in v0.0.30

type GetCfwNatFirewallControlPoliciesArgs struct {
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts []string `pulumi:"destPorts"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destinations []string `pulumi:"destinations"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId string `pulumi:"natFirewallId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleIds []string `pulumi:"ruleIds"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Sources []string `pulumi:"sources"`
	// The enable status list of the nat firewall control policy.
	Statuses []bool `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwNatFirewallControlPolicies.

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicy added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicy struct {
	// The account id of the nat firewall control policy.
	AccountId string `pulumi:"accountId"`
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPort string `pulumi:"destPort"`
	// The dest port group list of the nat firewall control policy.
	DestPortGroupLists []string `pulumi:"destPortGroupLists"`
	// The dest port group type of the nat firewall control policy.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the nat firewall control policy.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the nat firewall control policy.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the nat firewall control policy.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group list of the nat firewall control policy.
	DestinationGroupLists []string `pulumi:"destinationGroupLists"`
	// The destination group type of the nat firewall control policy.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the nat firewall control policy.
	DestinationType string `pulumi:"destinationType"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the nat firewall control policy. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the nat firewall control policy.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the nat firewall control policy.
	Id string `pulumi:"id"`
	// Whether the nat firewall control policy is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId string `pulumi:"natFirewallId"`
	// The name of the nat firewall.
	NatFirewallName string `pulumi:"natFirewallName"`
	// The priority of the nat firewall control policy.
	Prio int `pulumi:"prio"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the nat firewall control policy.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the nat firewall control policy.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the nat firewall control policy.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the nat firewall control policy.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group list of the nat firewall control policy.
	SourceGroupLists []string `pulumi:"sourceGroupLists"`
	// The source group type of the nat firewall control policy.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the nat firewall control policy.
	SourceType string `pulumi:"sourceType"`
	// The start time of the nat firewall control policy. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the nat firewall control policy.
	Status bool `pulumi:"status"`
	// The update time of the nat firewall control policy.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the nat firewall control policy.
	UseCount int `pulumi:"useCount"`
}

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs struct {
	// The account id of the nat firewall control policy.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group list of the nat firewall control policy.
	DestPortGroupLists pulumi.StringArrayInput `pulumi:"destPortGroupLists"`
	// The dest port group type of the nat firewall control policy.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the nat firewall control policy.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the nat firewall control policy.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the nat firewall control policy.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group list of the nat firewall control policy.
	DestinationGroupLists pulumi.StringArrayInput `pulumi:"destinationGroupLists"`
	// The destination group type of the nat firewall control policy.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the nat firewall control policy.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the nat firewall control policy. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the nat firewall control policy.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the nat firewall control policy.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the nat firewall control policy is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId pulumi.StringInput `pulumi:"natFirewallId"`
	// The name of the nat firewall.
	NatFirewallName pulumi.StringInput `pulumi:"natFirewallName"`
	// The priority of the nat firewall control policy.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the nat firewall control policy.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the nat firewall control policy.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the nat firewall control policy.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the nat firewall control policy.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group list of the nat firewall control policy.
	SourceGroupLists pulumi.StringArrayInput `pulumi:"sourceGroupLists"`
	// The source group type of the nat firewall control policy.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the nat firewall control policy.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the nat firewall control policy. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the nat firewall control policy.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the nat firewall control policy.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the nat firewall control policy.
	UseCount pulumi.IntInput `pulumi:"useCount"`
}

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ElementType added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext added in v0.0.30

func (i GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(ctx context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray []GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyInput

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ElementType added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext added in v0.0.30

func (i GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput interface {
	pulumi.Input

	ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput() GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput
	ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput
}

GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput is an input type that accepts GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray and GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput values. You can construct a concrete instance of `GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayInput` via:

GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArray{ GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs{...} }

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ElementType added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) Index added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext added in v0.0.30

func (o GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutputWithContext(ctx context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArrayOutput

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyInput added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyInput interface {
	pulumi.Input

	ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput() GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput
	ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput
}

GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyInput is an input type that accepts GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs and GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput values. You can construct a concrete instance of `GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyInput` via:

GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyArgs{...}

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput added in v0.0.30

type GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput struct{ *pulumi.OutputState }

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) AccountId added in v0.0.30

The account id of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Action added in v0.0.30

The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Description added in v0.0.30

The description of the nat firewall control policy. This field support fuzzy query.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPort added in v0.0.30

The dest port of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortGroupLists added in v0.0.30

The dest port group list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortGroupType added in v0.0.30

The dest port group type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortLists added in v0.0.30

The dest port list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestPortType added in v0.0.30

The dest port type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Destination added in v0.0.30

The destination of the nat firewall control policy. This field support fuzzy query.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationCidrLists added in v0.0.30

The destination cidr list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationGroupLists added in v0.0.30

The destination group list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationGroupType added in v0.0.30

The destination group type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) DestinationType added in v0.0.30

The destination type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Direction added in v0.0.30

The direction of nat firewall control policy. Valid values: `in`, `out`.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) EffectStatus added in v0.0.30

The effect status of the nat firewall control policy. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ElementType added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) EndTime added in v0.0.30

The end time of the nat firewall control policy. Unix timestamp.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) HitCnt added in v0.0.30

The hit count of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Id added in v0.0.30

The id of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) IsEffected added in v0.0.30

Whether the nat firewall control policy is effected.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) NatFirewallId added in v0.0.30

The nat firewall id of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) NatFirewallName added in v0.0.30

The name of the nat firewall.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Prio added in v0.0.30

The priority of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Proto added in v0.0.30

The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatDays added in v0.0.30

The repeat days of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatEndTime added in v0.0.30

The repeat end time of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatStartTime added in v0.0.30

The repeat start time of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RepeatType added in v0.0.30

The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) RuleId added in v0.0.30

The rule id of the nat firewall control policy. This field support fuzzy query.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Source added in v0.0.30

The source of the nat firewall control policy. This field support fuzzy query.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceCidrLists added in v0.0.30

The source cidr list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceGroupLists added in v0.0.30

The source group list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceGroupType added in v0.0.30

The source group type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) SourceType added in v0.0.30

The source type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) StartTime added in v0.0.30

The start time of the nat firewall control policy. Unix timestamp.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) Status added in v0.0.30

The enable status list of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput added in v0.0.30

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext added in v0.0.30

func (o GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) ToGetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutputWithContext(ctx context.Context) GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) UpdateTime added in v0.0.30

The update time of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesNatFirewallControlPolicyOutput) UseCount added in v0.0.30

The use count of the nat firewall control policy.

type GetCfwNatFirewallControlPoliciesOutputArgs added in v0.0.30

type GetCfwNatFirewallControlPoliciesOutputArgs struct {
	// The action list of the nat firewall control policy. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the nat firewall control policy. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts pulumi.StringArrayInput `pulumi:"destPorts"`
	// The destination of the nat firewall control policy. This field support fuzzy query.
	Destinations pulumi.StringArrayInput `pulumi:"destinations"`
	// The direction of nat firewall control policy. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The nat firewall id of the nat firewall control policy.
	NatFirewallId pulumi.StringInput `pulumi:"natFirewallId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the nat firewall control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the nat firewall control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the nat firewall control policy. This field support fuzzy query.
	RuleIds pulumi.StringArrayInput `pulumi:"ruleIds"`
	// The source of the nat firewall control policy. This field support fuzzy query.
	Sources pulumi.StringArrayInput `pulumi:"sources"`
	// The enable status list of the nat firewall control policy.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
}

A collection of arguments for invoking getCfwNatFirewallControlPolicies.

func (GetCfwNatFirewallControlPoliciesOutputArgs) ElementType added in v0.0.30

type GetCfwNatFirewallControlPoliciesResult added in v0.0.30

type GetCfwNatFirewallControlPoliciesResult struct {
	// The action of the nat firewall control policy.
	Actions []string `pulumi:"actions"`
	// The description of the nat firewall control policy.
	Description *string `pulumi:"description"`
	// The dest port of the nat firewall control policy.
	DestPorts []string `pulumi:"destPorts"`
	// The destination of the nat firewall control policy.
	Destinations []string `pulumi:"destinations"`
	// The direction of the nat firewall control policy.
	Direction string `pulumi:"direction"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The collection of query.
	NatFirewallControlPolicies []GetCfwNatFirewallControlPoliciesNatFirewallControlPolicy `pulumi:"natFirewallControlPolicies"`
	// The id of the nat firewall.
	NatFirewallId string  `pulumi:"natFirewallId"`
	OutputFile    *string `pulumi:"outputFile"`
	// The proto of the nat firewall control policy.
	Protos []string `pulumi:"protos"`
	// The repeat type of the nat firewall control policy.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the nat firewall control policy.
	RuleIds []string `pulumi:"ruleIds"`
	// The source of the nat firewall control policy.
	Sources []string `pulumi:"sources"`
	// Whether to enable the nat firewall control policy.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by getCfwNatFirewallControlPolicies.

func GetCfwNatFirewallControlPolicies added in v0.0.30

Use this data source to query detailed information of cfw nat firewall control policies ## Example Usage

```go 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.GetCfwNatFirewallControlPolicies(ctx, &cloud_firewall.GetCfwNatFirewallControlPoliciesArgs{
			Direction:     "in",
			NatFirewallId: "nfw-ydmkayvjsw2vsavx****",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCfwNatFirewallControlPoliciesResultOutput added in v0.0.30

type GetCfwNatFirewallControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCfwNatFirewallControlPolicies.

func (GetCfwNatFirewallControlPoliciesResultOutput) Actions added in v0.0.30

The action of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) Description added in v0.0.30

The description of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) DestPorts added in v0.0.30

The dest port of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) Destinations added in v0.0.30

The destination of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) Direction added in v0.0.30

The direction of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) ElementType added in v0.0.30

func (GetCfwNatFirewallControlPoliciesResultOutput) Id added in v0.0.30

The provider-assigned unique ID for this managed resource.

func (GetCfwNatFirewallControlPoliciesResultOutput) NatFirewallControlPolicies added in v0.0.30

The collection of query.

func (GetCfwNatFirewallControlPoliciesResultOutput) NatFirewallId added in v0.0.30

The id of the nat firewall.

func (GetCfwNatFirewallControlPoliciesResultOutput) OutputFile added in v0.0.30

func (GetCfwNatFirewallControlPoliciesResultOutput) Protos added in v0.0.30

The proto of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) RepeatTypes added in v0.0.30

The repeat type of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) RuleIds added in v0.0.30

The id of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) Sources added in v0.0.30

The source of the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) Statuses added in v0.0.30

Whether to enable the nat firewall control policy.

func (GetCfwNatFirewallControlPoliciesResultOutput) ToGetCfwNatFirewallControlPoliciesResultOutput added in v0.0.30

func (o GetCfwNatFirewallControlPoliciesResultOutput) ToGetCfwNatFirewallControlPoliciesResultOutput() GetCfwNatFirewallControlPoliciesResultOutput

func (GetCfwNatFirewallControlPoliciesResultOutput) ToGetCfwNatFirewallControlPoliciesResultOutputWithContext added in v0.0.30

func (o GetCfwNatFirewallControlPoliciesResultOutput) ToGetCfwNatFirewallControlPoliciesResultOutputWithContext(ctx context.Context) GetCfwNatFirewallControlPoliciesResultOutput

func (GetCfwNatFirewallControlPoliciesResultOutput) TotalCount added in v0.0.30

The total count of query.

type GetCfwVpcFirewallAclRulesArgs added in v0.0.30

type GetCfwVpcFirewallAclRulesArgs struct {
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Actions []string `pulumi:"actions"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description *string `pulumi:"description"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination *string `pulumi:"destination"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos []string `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId *string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source *string `pulumi:"source"`
	// The enable status list of the vpc firewall acl rule.
	Statuses []bool `pulumi:"statuses"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
}

A collection of arguments for invoking getCfwVpcFirewallAclRules.

type GetCfwVpcFirewallAclRulesOutputArgs added in v0.0.30

type GetCfwVpcFirewallAclRulesOutputArgs struct {
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination pulumi.StringPtrInput `pulumi:"destination"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Protos pulumi.StringArrayInput `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatTypes pulumi.StringArrayInput `pulumi:"repeatTypes"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The enable status list of the vpc firewall acl rule.
	Statuses pulumi.BoolArrayInput `pulumi:"statuses"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId pulumi.StringInput `pulumi:"vpcFirewallId"`
}

A collection of arguments for invoking getCfwVpcFirewallAclRules.

func (GetCfwVpcFirewallAclRulesOutputArgs) ElementType added in v0.0.30

type GetCfwVpcFirewallAclRulesResult added in v0.0.30

type GetCfwVpcFirewallAclRulesResult struct {
	// The action of the vpc firewall acl rule.
	Actions []string `pulumi:"actions"`
	// The description of the vpc firewall acl rule.
	Description *string `pulumi:"description"`
	// The destination of the vpc firewall acl rule.
	Destination *string `pulumi:"destination"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The proto of the vpc firewall acl rule.
	Protos []string `pulumi:"protos"`
	// The repeat type of the vpc firewall acl rule.
	RepeatTypes []string `pulumi:"repeatTypes"`
	// The id of the vpc firewall acl rule.
	RuleId *string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule.
	Source *string `pulumi:"source"`
	// Whether to enable the vpc firewall acl rule.
	Statuses []bool `pulumi:"statuses"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The collection of query.
	VpcFirewallAclRules []GetCfwVpcFirewallAclRulesVpcFirewallAclRule `pulumi:"vpcFirewallAclRules"`
	// The id of the vpc firewall.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
}

A collection of values returned by getCfwVpcFirewallAclRules.

func GetCfwVpcFirewallAclRules added in v0.0.30

func GetCfwVpcFirewallAclRules(ctx *pulumi.Context, args *GetCfwVpcFirewallAclRulesArgs, opts ...pulumi.InvokeOption) (*GetCfwVpcFirewallAclRulesResult, error)

Use this data source to query detailed information of cfw vpc firewall acl rules ## Example Usage

```go 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.GetCfwVpcFirewallAclRules(ctx, &cloud_firewall.GetCfwVpcFirewallAclRulesArgs{
			Actions: []string{
				"accept",
				"deny",
			},
			VpcFirewallId: "vfw-ydmjakzksgf7u99j6sby",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCfwVpcFirewallAclRulesResultOutput added in v0.0.30

type GetCfwVpcFirewallAclRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCfwVpcFirewallAclRules.

func (GetCfwVpcFirewallAclRulesResultOutput) Actions added in v0.0.30

The action of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) Description added in v0.0.30

The description of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) Destination added in v0.0.30

The destination of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) ElementType added in v0.0.30

func (GetCfwVpcFirewallAclRulesResultOutput) Id added in v0.0.30

The provider-assigned unique ID for this managed resource.

func (GetCfwVpcFirewallAclRulesResultOutput) OutputFile added in v0.0.30

func (GetCfwVpcFirewallAclRulesResultOutput) Protos added in v0.0.30

The proto of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) RepeatTypes added in v0.0.30

The repeat type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) RuleId added in v0.0.30

The id of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) Source added in v0.0.30

The source of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) Statuses added in v0.0.30

Whether to enable the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesResultOutput) ToGetCfwVpcFirewallAclRulesResultOutput added in v0.0.30

func (o GetCfwVpcFirewallAclRulesResultOutput) ToGetCfwVpcFirewallAclRulesResultOutput() GetCfwVpcFirewallAclRulesResultOutput

func (GetCfwVpcFirewallAclRulesResultOutput) ToGetCfwVpcFirewallAclRulesResultOutputWithContext added in v0.0.30

func (o GetCfwVpcFirewallAclRulesResultOutput) ToGetCfwVpcFirewallAclRulesResultOutputWithContext(ctx context.Context) GetCfwVpcFirewallAclRulesResultOutput

func (GetCfwVpcFirewallAclRulesResultOutput) TotalCount added in v0.0.30

The total count of query.

func (GetCfwVpcFirewallAclRulesResultOutput) VpcFirewallAclRules added in v0.0.30

The collection of query.

func (GetCfwVpcFirewallAclRulesResultOutput) VpcFirewallId added in v0.0.30

The id of the vpc firewall.

type GetCfwVpcFirewallAclRulesVpcFirewallAclRule added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRule struct {
	// The account id of the vpc firewall acl rule.
	AccountId string `pulumi:"accountId"`
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action string `pulumi:"action"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description string `pulumi:"description"`
	// The dest port of the vpc firewall acl rule.
	DestPort string `pulumi:"destPort"`
	// The dest port group type of the vpc firewall acl rule.
	DestPortGroupType string `pulumi:"destPortGroupType"`
	// The dest port list of the vpc firewall acl rule.
	DestPortLists []string `pulumi:"destPortLists"`
	// The dest port type of the vpc firewall acl rule.
	DestPortType string `pulumi:"destPortType"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination string `pulumi:"destination"`
	// The destination cidr list of the vpc firewall acl rule.
	DestinationCidrLists []string `pulumi:"destinationCidrLists"`
	// The destination group type of the vpc firewall acl rule.
	DestinationGroupType string `pulumi:"destinationGroupType"`
	// The destination type of the vpc firewall acl rule.
	DestinationType string `pulumi:"destinationType"`
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus int `pulumi:"effectStatus"`
	// The end time of the vpc firewall acl rule. Unix timestamp.
	EndTime int `pulumi:"endTime"`
	// The hit count of the vpc firewall acl rule.
	HitCnt int `pulumi:"hitCnt"`
	// The id of the vpc firewall acl rule.
	Id string `pulumi:"id"`
	// Whether the vpc firewall acl rule is effected.
	IsEffected bool `pulumi:"isEffected"`
	// The priority of the vpc firewall acl rule.
	Prio int `pulumi:"prio"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto string `pulumi:"proto"`
	// The repeat days of the vpc firewall acl rule.
	RepeatDays []int `pulumi:"repeatDays"`
	// The repeat end time of the vpc firewall acl rule.
	RepeatEndTime string `pulumi:"repeatEndTime"`
	// The repeat start time of the vpc firewall acl rule.
	RepeatStartTime string `pulumi:"repeatStartTime"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType string `pulumi:"repeatType"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId string `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source string `pulumi:"source"`
	// The source cidr list of the vpc firewall acl rule.
	SourceCidrLists []string `pulumi:"sourceCidrLists"`
	// The source group type of the vpc firewall acl rule.
	SourceGroupType string `pulumi:"sourceGroupType"`
	// The source type of the vpc firewall acl rule.
	SourceType string `pulumi:"sourceType"`
	// The start time of the vpc firewall acl rule. Unix timestamp.
	StartTime int `pulumi:"startTime"`
	// The enable status list of the vpc firewall acl rule.
	Status bool `pulumi:"status"`
	// The update time of the vpc firewall acl rule.
	UpdateTime int `pulumi:"updateTime"`
	// The use count of the vpc firewall acl rule.
	UseCount int `pulumi:"useCount"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId string `pulumi:"vpcFirewallId"`
	// The name of the vpc firewall.
	VpcFirewallName string `pulumi:"vpcFirewallName"`
}

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs struct {
	// The account id of the vpc firewall acl rule.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.
	Action pulumi.StringInput `pulumi:"action"`
	// The description of the vpc firewall acl rule. This field support fuzzy query.
	Description pulumi.StringInput `pulumi:"description"`
	// The dest port of the vpc firewall acl rule.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The dest port group type of the vpc firewall acl rule.
	DestPortGroupType pulumi.StringInput `pulumi:"destPortGroupType"`
	// The dest port list of the vpc firewall acl rule.
	DestPortLists pulumi.StringArrayInput `pulumi:"destPortLists"`
	// The dest port type of the vpc firewall acl rule.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination of the vpc firewall acl rule. This field support fuzzy query.
	Destination pulumi.StringInput `pulumi:"destination"`
	// The destination cidr list of the vpc firewall acl rule.
	DestinationCidrLists pulumi.StringArrayInput `pulumi:"destinationCidrLists"`
	// The destination group type of the vpc firewall acl rule.
	DestinationGroupType pulumi.StringInput `pulumi:"destinationGroupType"`
	// The destination type of the vpc firewall acl rule.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.
	EffectStatus pulumi.IntInput `pulumi:"effectStatus"`
	// The end time of the vpc firewall acl rule. Unix timestamp.
	EndTime pulumi.IntInput `pulumi:"endTime"`
	// The hit count of the vpc firewall acl rule.
	HitCnt pulumi.IntInput `pulumi:"hitCnt"`
	// The id of the vpc firewall acl rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the vpc firewall acl rule is effected.
	IsEffected pulumi.BoolInput `pulumi:"isEffected"`
	// The priority of the vpc firewall acl rule.
	Prio pulumi.IntInput `pulumi:"prio"`
	// The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// The repeat days of the vpc firewall acl rule.
	RepeatDays pulumi.IntArrayInput `pulumi:"repeatDays"`
	// The repeat end time of the vpc firewall acl rule.
	RepeatEndTime pulumi.StringInput `pulumi:"repeatEndTime"`
	// The repeat start time of the vpc firewall acl rule.
	RepeatStartTime pulumi.StringInput `pulumi:"repeatStartTime"`
	// The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
	RepeatType pulumi.StringInput `pulumi:"repeatType"`
	// The rule id of the vpc firewall acl rule. This field support fuzzy query.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The source of the vpc firewall acl rule. This field support fuzzy query.
	Source pulumi.StringInput `pulumi:"source"`
	// The source cidr list of the vpc firewall acl rule.
	SourceCidrLists pulumi.StringArrayInput `pulumi:"sourceCidrLists"`
	// The source group type of the vpc firewall acl rule.
	SourceGroupType pulumi.StringInput `pulumi:"sourceGroupType"`
	// The source type of the vpc firewall acl rule.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// The start time of the vpc firewall acl rule. Unix timestamp.
	StartTime pulumi.IntInput `pulumi:"startTime"`
	// The enable status list of the vpc firewall acl rule.
	Status pulumi.BoolInput `pulumi:"status"`
	// The update time of the vpc firewall acl rule.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The use count of the vpc firewall acl rule.
	UseCount pulumi.IntInput `pulumi:"useCount"`
	// The vpc firewall id of the vpc firewall acl rule.
	VpcFirewallId pulumi.StringInput `pulumi:"vpcFirewallId"`
	// The name of the vpc firewall.
	VpcFirewallName pulumi.StringInput `pulumi:"vpcFirewallName"`
}

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ElementType added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput added in v0.0.30

func (i GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext added in v0.0.30

func (i GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(ctx context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray []GetCfwVpcFirewallAclRulesVpcFirewallAclRuleInput

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ElementType added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput added in v0.0.30

func (i GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput() GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext added in v0.0.30

func (i GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput interface {
	pulumi.Input

	ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput() GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput
	ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput
}

GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput is an input type that accepts GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray and GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput values. You can construct a concrete instance of `GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayInput` via:

GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArray{ GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs{...} }

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput struct{ *pulumi.OutputState }

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ElementType added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) Index added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext added in v0.0.30

func (o GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutputWithContext(ctx context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArrayOutput

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleInput added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleInput interface {
	pulumi.Input

	ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput
	ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput
}

GetCfwVpcFirewallAclRulesVpcFirewallAclRuleInput is an input type that accepts GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs and GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput values. You can construct a concrete instance of `GetCfwVpcFirewallAclRulesVpcFirewallAclRuleInput` via:

GetCfwVpcFirewallAclRulesVpcFirewallAclRuleArgs{...}

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput added in v0.0.30

type GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput struct{ *pulumi.OutputState }

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) AccountId added in v0.0.30

The account id of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Action added in v0.0.30

The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Description added in v0.0.30

The description of the vpc firewall acl rule. This field support fuzzy query.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPort added in v0.0.30

The dest port of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortGroupType added in v0.0.30

The dest port group type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortLists added in v0.0.30

The dest port list of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestPortType added in v0.0.30

The dest port type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Destination added in v0.0.30

The destination of the vpc firewall acl rule. This field support fuzzy query.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationCidrLists added in v0.0.30

The destination cidr list of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationGroupType added in v0.0.30

The destination group type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) DestinationType added in v0.0.30

The destination type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) EffectStatus added in v0.0.30

The effect status of the vpc firewall acl rule. 1: Not yet effective, 2: Issued in progress, 3: Effective.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ElementType added in v0.0.30

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) EndTime added in v0.0.30

The end time of the vpc firewall acl rule. Unix timestamp.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) HitCnt added in v0.0.30

The hit count of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Id added in v0.0.30

The id of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) IsEffected added in v0.0.30

Whether the vpc firewall acl rule is effected.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Prio added in v0.0.30

The priority of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Proto added in v0.0.30

The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatDays added in v0.0.30

The repeat days of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatEndTime added in v0.0.30

The repeat end time of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatStartTime added in v0.0.30

The repeat start time of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RepeatType added in v0.0.30

The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) RuleId added in v0.0.30

The rule id of the vpc firewall acl rule. This field support fuzzy query.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Source added in v0.0.30

The source of the vpc firewall acl rule. This field support fuzzy query.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceCidrLists added in v0.0.30

The source cidr list of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceGroupType added in v0.0.30

The source group type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) SourceType added in v0.0.30

The source type of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) StartTime added in v0.0.30

The start time of the vpc firewall acl rule. Unix timestamp.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) Status added in v0.0.30

The enable status list of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput added in v0.0.30

func (o GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput() GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext added in v0.0.30

func (o GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) ToGetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutputWithContext(ctx context.Context) GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) UpdateTime added in v0.0.30

The update time of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) UseCount added in v0.0.30

The use count of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) VpcFirewallId added in v0.0.30

The vpc firewall id of the vpc firewall acl rule.

func (GetCfwVpcFirewallAclRulesVpcFirewallAclRuleOutput) VpcFirewallName added in v0.0.30

The name of the vpc firewall.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL