cloudfirewall

package
v3.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 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 AddressBook added in v3.26.0

type AddressBook struct {
	pulumi.CustomResourceState

	// The list of addresses.
	AddressLists pulumi.StringArrayOutput `pulumi:"addressLists"`
	// Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
	AutoAddTagEcs pulumi.IntPtrOutput `pulumi:"autoAddTagEcs"`
	// The description of the Address Book.
	Description pulumi.StringOutput `pulumi:"description"`
	// A list of ECS tags. See the following `Block ecsTags`.
	EcsTags AddressBookEcsTagArrayOutput `pulumi:"ecsTags"`
	// The name of the Address Book.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The type of the Address Book. Valid values:  `ip`, `tag`.
	GroupType pulumi.StringOutput `pulumi:"groupType"`
	// The language of the content within the request and response. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The logical relation among the ECS tags that to be matched. Valid values:
	// - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
	// - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
	TagRelation pulumi.StringPtrOutput `pulumi:"tagRelation"`
}

Provides a Cloud Firewall Address Book resource.

For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describeaddressbook).

> **NOTE:** Available in v1.178.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfirewall.NewAddressBook(ctx, "example", &cloudfirewall.AddressBookArgs{
			AutoAddTagEcs: pulumi.Int(0),
			Description:   pulumi.String("example_value"),
			EcsTags: cloudfirewall.AddressBookEcsTagArray{
				&cloudfirewall.AddressBookEcsTagArgs{
					TagKey:   pulumi.String("created"),
					TagValue: pulumi.String("tfTestAcc0"),
				},
			},
			GroupName:   pulumi.String("example_value"),
			GroupType:   pulumi.String("tag"),
			TagRelation: pulumi.String("and"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Firewall Address Book can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cloudfirewall/addressBook:AddressBook example <id>

```

func GetAddressBook added in v3.26.0

func GetAddressBook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddressBookState, opts ...pulumi.ResourceOption) (*AddressBook, error)

GetAddressBook gets an existing AddressBook 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 NewAddressBook added in v3.26.0

func NewAddressBook(ctx *pulumi.Context,
	name string, args *AddressBookArgs, opts ...pulumi.ResourceOption) (*AddressBook, error)

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

func (*AddressBook) ElementType added in v3.26.0

func (*AddressBook) ElementType() reflect.Type

func (*AddressBook) ToAddressBookOutput added in v3.26.0

func (i *AddressBook) ToAddressBookOutput() AddressBookOutput

func (*AddressBook) ToAddressBookOutputWithContext added in v3.26.0

func (i *AddressBook) ToAddressBookOutputWithContext(ctx context.Context) AddressBookOutput

type AddressBookArgs added in v3.26.0

type AddressBookArgs struct {
	// The list of addresses.
	AddressLists pulumi.StringArrayInput
	// Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
	AutoAddTagEcs pulumi.IntPtrInput
	// The description of the Address Book.
	Description pulumi.StringInput
	// A list of ECS tags. See the following `Block ecsTags`.
	EcsTags AddressBookEcsTagArrayInput
	// The name of the Address Book.
	GroupName pulumi.StringInput
	// The type of the Address Book. Valid values:  `ip`, `tag`.
	GroupType pulumi.StringInput
	// The language of the content within the request and response. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrInput
	// The logical relation among the ECS tags that to be matched. Valid values:
	// - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
	// - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
	TagRelation pulumi.StringPtrInput
}

The set of arguments for constructing a AddressBook resource.

func (AddressBookArgs) ElementType added in v3.26.0

func (AddressBookArgs) ElementType() reflect.Type

type AddressBookArray added in v3.26.0

type AddressBookArray []AddressBookInput

func (AddressBookArray) ElementType added in v3.26.0

func (AddressBookArray) ElementType() reflect.Type

func (AddressBookArray) ToAddressBookArrayOutput added in v3.26.0

func (i AddressBookArray) ToAddressBookArrayOutput() AddressBookArrayOutput

func (AddressBookArray) ToAddressBookArrayOutputWithContext added in v3.26.0

func (i AddressBookArray) ToAddressBookArrayOutputWithContext(ctx context.Context) AddressBookArrayOutput

type AddressBookArrayInput added in v3.26.0

type AddressBookArrayInput interface {
	pulumi.Input

	ToAddressBookArrayOutput() AddressBookArrayOutput
	ToAddressBookArrayOutputWithContext(context.Context) AddressBookArrayOutput
}

AddressBookArrayInput is an input type that accepts AddressBookArray and AddressBookArrayOutput values. You can construct a concrete instance of `AddressBookArrayInput` via:

AddressBookArray{ AddressBookArgs{...} }

type AddressBookArrayOutput added in v3.26.0

type AddressBookArrayOutput struct{ *pulumi.OutputState }

func (AddressBookArrayOutput) ElementType added in v3.26.0

func (AddressBookArrayOutput) ElementType() reflect.Type

func (AddressBookArrayOutput) Index added in v3.26.0

func (AddressBookArrayOutput) ToAddressBookArrayOutput added in v3.26.0

func (o AddressBookArrayOutput) ToAddressBookArrayOutput() AddressBookArrayOutput

func (AddressBookArrayOutput) ToAddressBookArrayOutputWithContext added in v3.26.0

func (o AddressBookArrayOutput) ToAddressBookArrayOutputWithContext(ctx context.Context) AddressBookArrayOutput

type AddressBookEcsTag added in v3.26.0

type AddressBookEcsTag struct {
	// The key of ECS tag that to be matched.
	TagKey *string `pulumi:"tagKey"`
	// The value of ECS tag that to be matched.
	TagValue *string `pulumi:"tagValue"`
}

type AddressBookEcsTagArgs added in v3.26.0

type AddressBookEcsTagArgs struct {
	// The key of ECS tag that to be matched.
	TagKey pulumi.StringPtrInput `pulumi:"tagKey"`
	// The value of ECS tag that to be matched.
	TagValue pulumi.StringPtrInput `pulumi:"tagValue"`
}

func (AddressBookEcsTagArgs) ElementType added in v3.26.0

func (AddressBookEcsTagArgs) ElementType() reflect.Type

func (AddressBookEcsTagArgs) ToAddressBookEcsTagOutput added in v3.26.0

func (i AddressBookEcsTagArgs) ToAddressBookEcsTagOutput() AddressBookEcsTagOutput

func (AddressBookEcsTagArgs) ToAddressBookEcsTagOutputWithContext added in v3.26.0

func (i AddressBookEcsTagArgs) ToAddressBookEcsTagOutputWithContext(ctx context.Context) AddressBookEcsTagOutput

type AddressBookEcsTagArray added in v3.26.0

type AddressBookEcsTagArray []AddressBookEcsTagInput

func (AddressBookEcsTagArray) ElementType added in v3.26.0

func (AddressBookEcsTagArray) ElementType() reflect.Type

func (AddressBookEcsTagArray) ToAddressBookEcsTagArrayOutput added in v3.26.0

func (i AddressBookEcsTagArray) ToAddressBookEcsTagArrayOutput() AddressBookEcsTagArrayOutput

func (AddressBookEcsTagArray) ToAddressBookEcsTagArrayOutputWithContext added in v3.26.0

func (i AddressBookEcsTagArray) ToAddressBookEcsTagArrayOutputWithContext(ctx context.Context) AddressBookEcsTagArrayOutput

type AddressBookEcsTagArrayInput added in v3.26.0

type AddressBookEcsTagArrayInput interface {
	pulumi.Input

	ToAddressBookEcsTagArrayOutput() AddressBookEcsTagArrayOutput
	ToAddressBookEcsTagArrayOutputWithContext(context.Context) AddressBookEcsTagArrayOutput
}

AddressBookEcsTagArrayInput is an input type that accepts AddressBookEcsTagArray and AddressBookEcsTagArrayOutput values. You can construct a concrete instance of `AddressBookEcsTagArrayInput` via:

AddressBookEcsTagArray{ AddressBookEcsTagArgs{...} }

type AddressBookEcsTagArrayOutput added in v3.26.0

type AddressBookEcsTagArrayOutput struct{ *pulumi.OutputState }

func (AddressBookEcsTagArrayOutput) ElementType added in v3.26.0

func (AddressBookEcsTagArrayOutput) Index added in v3.26.0

func (AddressBookEcsTagArrayOutput) ToAddressBookEcsTagArrayOutput added in v3.26.0

func (o AddressBookEcsTagArrayOutput) ToAddressBookEcsTagArrayOutput() AddressBookEcsTagArrayOutput

func (AddressBookEcsTagArrayOutput) ToAddressBookEcsTagArrayOutputWithContext added in v3.26.0

func (o AddressBookEcsTagArrayOutput) ToAddressBookEcsTagArrayOutputWithContext(ctx context.Context) AddressBookEcsTagArrayOutput

type AddressBookEcsTagInput added in v3.26.0

type AddressBookEcsTagInput interface {
	pulumi.Input

	ToAddressBookEcsTagOutput() AddressBookEcsTagOutput
	ToAddressBookEcsTagOutputWithContext(context.Context) AddressBookEcsTagOutput
}

AddressBookEcsTagInput is an input type that accepts AddressBookEcsTagArgs and AddressBookEcsTagOutput values. You can construct a concrete instance of `AddressBookEcsTagInput` via:

AddressBookEcsTagArgs{...}

type AddressBookEcsTagOutput added in v3.26.0

type AddressBookEcsTagOutput struct{ *pulumi.OutputState }

func (AddressBookEcsTagOutput) ElementType added in v3.26.0

func (AddressBookEcsTagOutput) ElementType() reflect.Type

func (AddressBookEcsTagOutput) TagKey added in v3.26.0

The key of ECS tag that to be matched.

func (AddressBookEcsTagOutput) TagValue added in v3.26.0

The value of ECS tag that to be matched.

func (AddressBookEcsTagOutput) ToAddressBookEcsTagOutput added in v3.26.0

func (o AddressBookEcsTagOutput) ToAddressBookEcsTagOutput() AddressBookEcsTagOutput

func (AddressBookEcsTagOutput) ToAddressBookEcsTagOutputWithContext added in v3.26.0

func (o AddressBookEcsTagOutput) ToAddressBookEcsTagOutputWithContext(ctx context.Context) AddressBookEcsTagOutput

type AddressBookInput added in v3.26.0

type AddressBookInput interface {
	pulumi.Input

	ToAddressBookOutput() AddressBookOutput
	ToAddressBookOutputWithContext(ctx context.Context) AddressBookOutput
}

type AddressBookMap added in v3.26.0

type AddressBookMap map[string]AddressBookInput

func (AddressBookMap) ElementType added in v3.26.0

func (AddressBookMap) ElementType() reflect.Type

func (AddressBookMap) ToAddressBookMapOutput added in v3.26.0

func (i AddressBookMap) ToAddressBookMapOutput() AddressBookMapOutput

func (AddressBookMap) ToAddressBookMapOutputWithContext added in v3.26.0

func (i AddressBookMap) ToAddressBookMapOutputWithContext(ctx context.Context) AddressBookMapOutput

type AddressBookMapInput added in v3.26.0

type AddressBookMapInput interface {
	pulumi.Input

	ToAddressBookMapOutput() AddressBookMapOutput
	ToAddressBookMapOutputWithContext(context.Context) AddressBookMapOutput
}

AddressBookMapInput is an input type that accepts AddressBookMap and AddressBookMapOutput values. You can construct a concrete instance of `AddressBookMapInput` via:

AddressBookMap{ "key": AddressBookArgs{...} }

type AddressBookMapOutput added in v3.26.0

type AddressBookMapOutput struct{ *pulumi.OutputState }

func (AddressBookMapOutput) ElementType added in v3.26.0

func (AddressBookMapOutput) ElementType() reflect.Type

func (AddressBookMapOutput) MapIndex added in v3.26.0

func (AddressBookMapOutput) ToAddressBookMapOutput added in v3.26.0

func (o AddressBookMapOutput) ToAddressBookMapOutput() AddressBookMapOutput

func (AddressBookMapOutput) ToAddressBookMapOutputWithContext added in v3.26.0

func (o AddressBookMapOutput) ToAddressBookMapOutputWithContext(ctx context.Context) AddressBookMapOutput

type AddressBookOutput added in v3.26.0

type AddressBookOutput struct{ *pulumi.OutputState }

func (AddressBookOutput) AddressLists added in v3.27.0

func (o AddressBookOutput) AddressLists() pulumi.StringArrayOutput

The list of addresses.

func (AddressBookOutput) AutoAddTagEcs added in v3.27.0

func (o AddressBookOutput) AutoAddTagEcs() pulumi.IntPtrOutput

Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.

func (AddressBookOutput) Description added in v3.27.0

func (o AddressBookOutput) Description() pulumi.StringOutput

The description of the Address Book.

func (AddressBookOutput) EcsTags added in v3.27.0

A list of ECS tags. See the following `Block ecsTags`.

func (AddressBookOutput) ElementType added in v3.26.0

func (AddressBookOutput) ElementType() reflect.Type

func (AddressBookOutput) GroupName added in v3.27.0

func (o AddressBookOutput) GroupName() pulumi.StringOutput

The name of the Address Book.

func (AddressBookOutput) GroupType added in v3.27.0

func (o AddressBookOutput) GroupType() pulumi.StringOutput

The type of the Address Book. Valid values: `ip`, `tag`.

func (AddressBookOutput) Lang added in v3.27.0

The language of the content within the request and response. Valid values: `en`, `zh`.

func (AddressBookOutput) TagRelation added in v3.27.0

func (o AddressBookOutput) TagRelation() pulumi.StringPtrOutput

The logical relation among the ECS tags that to be matched. Valid values: - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value. - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.

func (AddressBookOutput) ToAddressBookOutput added in v3.26.0

func (o AddressBookOutput) ToAddressBookOutput() AddressBookOutput

func (AddressBookOutput) ToAddressBookOutputWithContext added in v3.26.0

func (o AddressBookOutput) ToAddressBookOutputWithContext(ctx context.Context) AddressBookOutput

type AddressBookState added in v3.26.0

type AddressBookState struct {
	// The list of addresses.
	AddressLists pulumi.StringArrayInput
	// Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
	AutoAddTagEcs pulumi.IntPtrInput
	// The description of the Address Book.
	Description pulumi.StringPtrInput
	// A list of ECS tags. See the following `Block ecsTags`.
	EcsTags AddressBookEcsTagArrayInput
	// The name of the Address Book.
	GroupName pulumi.StringPtrInput
	// The type of the Address Book. Valid values:  `ip`, `tag`.
	GroupType pulumi.StringPtrInput
	// The language of the content within the request and response. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrInput
	// The logical relation among the ECS tags that to be matched. Valid values:
	// - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
	// - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
	TagRelation pulumi.StringPtrInput
}

func (AddressBookState) ElementType added in v3.26.0

func (AddressBookState) ElementType() reflect.Type

type ControlPolicy

type ControlPolicy struct {
	pulumi.CustomResourceState

	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction pulumi.StringOutput `pulumi:"aclAction"`
	// (Available in v1.148.0+) The unique ID of the access control policy.
	AclUuid pulumi.StringOutput `pulumi:"aclUuid"`
	// The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
	ApplicationName pulumi.StringOutput `pulumi:"applicationName"`
	// The description of the access control policy.
	Description pulumi.StringOutput `pulumi:"description"`
	// The destination port defined in the access control policy.
	DestPort pulumi.StringOutput `pulumi:"destPort"`
	// The destination port address book defined in the access control policy.
	DestPortGroup pulumi.StringOutput `pulumi:"destPortGroup"`
	// The destination port type defined in the access control policy. Valid values: `group`, `port`.
	DestPortType pulumi.StringOutput `pulumi:"destPortType"`
	// The destination address defined in the access control policy.
	Destination pulumi.StringOutput `pulumi:"destination"`
	// DestinationType. Valid values: If Direction is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.
	DestinationType pulumi.StringOutput `pulumi:"destinationType"`
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The ip version.
	IpVersion pulumi.StringPtrOutput `pulumi:"ipVersion"`
	// DestPortGroupPorts. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// Proto. Valid values: `  TCP `, `  UDP `, `ANY`, `ICMP`.
	Proto pulumi.StringOutput `pulumi:"proto"`
	// Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.
	Release pulumi.StringOutput `pulumi:"release"`
	// Source.
	Source pulumi.StringOutput `pulumi:"source"`
	// The source ip.
	SourceIp pulumi.StringOutput `pulumi:"sourceIp"`
	// SourceType. Valid values: If `direction` is `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
}

Provides a Cloud Firewall Control Policy resource.

For information about Cloud Firewall Control Policy and how to use it, see [What is Control Policy](https://www.alibabacloud.com/help/doc-detail/138867.htm).

> **NOTE:** Available in v1.129.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfirewall.NewControlPolicy(ctx, "example", &cloudfirewall.ControlPolicyArgs{
			AclAction:       pulumi.String("accept"),
			ApplicationName: pulumi.String("ANY"),
			Description:     pulumi.String("example"),
			Destination:     pulumi.String("100.1.1.0/24"),
			DestinationType: pulumi.String("net"),
			Direction:       pulumi.String("out"),
			Proto:           pulumi.String("ANY"),
			Source:          pulumi.String("1.2.3.0/24"),
			SourceType:      pulumi.String("net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Firewall Control Policy can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cloudfirewall/controlPolicy:ControlPolicy example <acl_uuid>:<direction>

```

func GetControlPolicy

func GetControlPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControlPolicyState, opts ...pulumi.ResourceOption) (*ControlPolicy, error)

GetControlPolicy gets an existing ControlPolicy 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 NewControlPolicy

func NewControlPolicy(ctx *pulumi.Context,
	name string, args *ControlPolicyArgs, opts ...pulumi.ResourceOption) (*ControlPolicy, error)

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

func (*ControlPolicy) ElementType

func (*ControlPolicy) ElementType() reflect.Type

func (*ControlPolicy) ToControlPolicyOutput

func (i *ControlPolicy) ToControlPolicyOutput() ControlPolicyOutput

func (*ControlPolicy) ToControlPolicyOutputWithContext

func (i *ControlPolicy) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput

type ControlPolicyArgs

type ControlPolicyArgs struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction pulumi.StringInput
	// The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
	ApplicationName pulumi.StringInput
	// The description of the access control policy.
	Description pulumi.StringInput
	// The destination port defined in the access control policy.
	DestPort pulumi.StringPtrInput
	// The destination port address book defined in the access control policy.
	DestPortGroup pulumi.StringPtrInput
	// The destination port type defined in the access control policy. Valid values: `group`, `port`.
	DestPortType pulumi.StringPtrInput
	// The destination address defined in the access control policy.
	Destination pulumi.StringInput
	// DestinationType. Valid values: If Direction is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.
	DestinationType pulumi.StringInput
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The ip version.
	IpVersion pulumi.StringPtrInput
	// DestPortGroupPorts. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrInput
	// Proto. Valid values: `  TCP `, `  UDP `, `ANY`, `ICMP`.
	Proto pulumi.StringInput
	// Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.
	Release pulumi.StringPtrInput
	// Source.
	Source pulumi.StringInput
	// The source ip.
	SourceIp pulumi.StringPtrInput
	// SourceType. Valid values: If `direction` is `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.
	SourceType pulumi.StringInput
}

The set of arguments for constructing a ControlPolicy resource.

func (ControlPolicyArgs) ElementType

func (ControlPolicyArgs) ElementType() reflect.Type

type ControlPolicyArray

type ControlPolicyArray []ControlPolicyInput

func (ControlPolicyArray) ElementType

func (ControlPolicyArray) ElementType() reflect.Type

func (ControlPolicyArray) ToControlPolicyArrayOutput

func (i ControlPolicyArray) ToControlPolicyArrayOutput() ControlPolicyArrayOutput

func (ControlPolicyArray) ToControlPolicyArrayOutputWithContext

func (i ControlPolicyArray) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput

type ControlPolicyArrayInput

type ControlPolicyArrayInput interface {
	pulumi.Input

	ToControlPolicyArrayOutput() ControlPolicyArrayOutput
	ToControlPolicyArrayOutputWithContext(context.Context) ControlPolicyArrayOutput
}

ControlPolicyArrayInput is an input type that accepts ControlPolicyArray and ControlPolicyArrayOutput values. You can construct a concrete instance of `ControlPolicyArrayInput` via:

ControlPolicyArray{ ControlPolicyArgs{...} }

type ControlPolicyArrayOutput

type ControlPolicyArrayOutput struct{ *pulumi.OutputState }

func (ControlPolicyArrayOutput) ElementType

func (ControlPolicyArrayOutput) ElementType() reflect.Type

func (ControlPolicyArrayOutput) Index

func (ControlPolicyArrayOutput) ToControlPolicyArrayOutput

func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutput() ControlPolicyArrayOutput

func (ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext

func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput

type ControlPolicyInput

type ControlPolicyInput interface {
	pulumi.Input

	ToControlPolicyOutput() ControlPolicyOutput
	ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
}

type ControlPolicyMap

type ControlPolicyMap map[string]ControlPolicyInput

func (ControlPolicyMap) ElementType

func (ControlPolicyMap) ElementType() reflect.Type

func (ControlPolicyMap) ToControlPolicyMapOutput

func (i ControlPolicyMap) ToControlPolicyMapOutput() ControlPolicyMapOutput

func (ControlPolicyMap) ToControlPolicyMapOutputWithContext

func (i ControlPolicyMap) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput

type ControlPolicyMapInput

type ControlPolicyMapInput interface {
	pulumi.Input

	ToControlPolicyMapOutput() ControlPolicyMapOutput
	ToControlPolicyMapOutputWithContext(context.Context) ControlPolicyMapOutput
}

ControlPolicyMapInput is an input type that accepts ControlPolicyMap and ControlPolicyMapOutput values. You can construct a concrete instance of `ControlPolicyMapInput` via:

ControlPolicyMap{ "key": ControlPolicyArgs{...} }

type ControlPolicyMapOutput

type ControlPolicyMapOutput struct{ *pulumi.OutputState }

func (ControlPolicyMapOutput) ElementType

func (ControlPolicyMapOutput) ElementType() reflect.Type

func (ControlPolicyMapOutput) MapIndex

func (ControlPolicyMapOutput) ToControlPolicyMapOutput

func (o ControlPolicyMapOutput) ToControlPolicyMapOutput() ControlPolicyMapOutput

func (ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext

func (o ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput

type ControlPolicyOrder added in v3.6.0

type ControlPolicyOrder struct {
	pulumi.CustomResourceState

	// The unique ID of the access control policy.
	AclUuid pulumi.StringOutput `pulumi:"aclUuid"`
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
	Order pulumi.IntPtrOutput `pulumi:"order"`
}

Provides a Cloud Firewall Control Policy resource.

For information about Cloud Firewall Control Policy Order and how to use it, see [What is Control Policy Order](https://www.alibabacloud.com/help/doc-detail/138867.htm).

> **NOTE:** Available in v1.130.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example1, err := cloudfirewall.NewControlPolicy(ctx, "example1", &cloudfirewall.ControlPolicyArgs{
			ApplicationName: pulumi.String("ANY"),
			AclAction:       pulumi.String("accept"),
			Description:     pulumi.String("example"),
			DestinationType: pulumi.String("net"),
			Destination:     pulumi.String("100.1.1.0/24"),
			Direction:       pulumi.String("out"),
			Proto:           pulumi.String("ANY"),
			Source:          pulumi.String("1.2.3.0/24"),
			SourceType:      pulumi.String("net"),
		})
		if err != nil {
			return err
		}
		_, err = cloudfirewall.NewControlPolicyOrder(ctx, "example2", &cloudfirewall.ControlPolicyOrderArgs{
			AclUuid:   example1.AclUuid,
			Direction: example1.Direction,
			Order:     pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Firewall Control Policy Order can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cloudfirewall/controlPolicyOrder:ControlPolicyOrder example <acl_uuid>:<direction>

```

func GetControlPolicyOrder added in v3.6.0

func GetControlPolicyOrder(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControlPolicyOrderState, opts ...pulumi.ResourceOption) (*ControlPolicyOrder, error)

GetControlPolicyOrder gets an existing ControlPolicyOrder 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 NewControlPolicyOrder added in v3.6.0

func NewControlPolicyOrder(ctx *pulumi.Context,
	name string, args *ControlPolicyOrderArgs, opts ...pulumi.ResourceOption) (*ControlPolicyOrder, error)

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

func (*ControlPolicyOrder) ElementType added in v3.6.0

func (*ControlPolicyOrder) ElementType() reflect.Type

func (*ControlPolicyOrder) ToControlPolicyOrderOutput added in v3.6.0

func (i *ControlPolicyOrder) ToControlPolicyOrderOutput() ControlPolicyOrderOutput

func (*ControlPolicyOrder) ToControlPolicyOrderOutputWithContext added in v3.6.0

func (i *ControlPolicyOrder) ToControlPolicyOrderOutputWithContext(ctx context.Context) ControlPolicyOrderOutput

type ControlPolicyOrderArgs added in v3.6.0

type ControlPolicyOrderArgs struct {
	// The unique ID of the access control policy.
	AclUuid pulumi.StringInput
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringInput
	// The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
	Order pulumi.IntPtrInput
}

The set of arguments for constructing a ControlPolicyOrder resource.

func (ControlPolicyOrderArgs) ElementType added in v3.6.0

func (ControlPolicyOrderArgs) ElementType() reflect.Type

type ControlPolicyOrderArray added in v3.6.0

type ControlPolicyOrderArray []ControlPolicyOrderInput

func (ControlPolicyOrderArray) ElementType added in v3.6.0

func (ControlPolicyOrderArray) ElementType() reflect.Type

func (ControlPolicyOrderArray) ToControlPolicyOrderArrayOutput added in v3.6.0

func (i ControlPolicyOrderArray) ToControlPolicyOrderArrayOutput() ControlPolicyOrderArrayOutput

func (ControlPolicyOrderArray) ToControlPolicyOrderArrayOutputWithContext added in v3.6.0

func (i ControlPolicyOrderArray) ToControlPolicyOrderArrayOutputWithContext(ctx context.Context) ControlPolicyOrderArrayOutput

type ControlPolicyOrderArrayInput added in v3.6.0

type ControlPolicyOrderArrayInput interface {
	pulumi.Input

	ToControlPolicyOrderArrayOutput() ControlPolicyOrderArrayOutput
	ToControlPolicyOrderArrayOutputWithContext(context.Context) ControlPolicyOrderArrayOutput
}

ControlPolicyOrderArrayInput is an input type that accepts ControlPolicyOrderArray and ControlPolicyOrderArrayOutput values. You can construct a concrete instance of `ControlPolicyOrderArrayInput` via:

ControlPolicyOrderArray{ ControlPolicyOrderArgs{...} }

type ControlPolicyOrderArrayOutput added in v3.6.0

type ControlPolicyOrderArrayOutput struct{ *pulumi.OutputState }

func (ControlPolicyOrderArrayOutput) ElementType added in v3.6.0

func (ControlPolicyOrderArrayOutput) Index added in v3.6.0

func (ControlPolicyOrderArrayOutput) ToControlPolicyOrderArrayOutput added in v3.6.0

func (o ControlPolicyOrderArrayOutput) ToControlPolicyOrderArrayOutput() ControlPolicyOrderArrayOutput

func (ControlPolicyOrderArrayOutput) ToControlPolicyOrderArrayOutputWithContext added in v3.6.0

func (o ControlPolicyOrderArrayOutput) ToControlPolicyOrderArrayOutputWithContext(ctx context.Context) ControlPolicyOrderArrayOutput

type ControlPolicyOrderInput added in v3.6.0

type ControlPolicyOrderInput interface {
	pulumi.Input

	ToControlPolicyOrderOutput() ControlPolicyOrderOutput
	ToControlPolicyOrderOutputWithContext(ctx context.Context) ControlPolicyOrderOutput
}

type ControlPolicyOrderMap added in v3.6.0

type ControlPolicyOrderMap map[string]ControlPolicyOrderInput

func (ControlPolicyOrderMap) ElementType added in v3.6.0

func (ControlPolicyOrderMap) ElementType() reflect.Type

func (ControlPolicyOrderMap) ToControlPolicyOrderMapOutput added in v3.6.0

func (i ControlPolicyOrderMap) ToControlPolicyOrderMapOutput() ControlPolicyOrderMapOutput

func (ControlPolicyOrderMap) ToControlPolicyOrderMapOutputWithContext added in v3.6.0

func (i ControlPolicyOrderMap) ToControlPolicyOrderMapOutputWithContext(ctx context.Context) ControlPolicyOrderMapOutput

type ControlPolicyOrderMapInput added in v3.6.0

type ControlPolicyOrderMapInput interface {
	pulumi.Input

	ToControlPolicyOrderMapOutput() ControlPolicyOrderMapOutput
	ToControlPolicyOrderMapOutputWithContext(context.Context) ControlPolicyOrderMapOutput
}

ControlPolicyOrderMapInput is an input type that accepts ControlPolicyOrderMap and ControlPolicyOrderMapOutput values. You can construct a concrete instance of `ControlPolicyOrderMapInput` via:

ControlPolicyOrderMap{ "key": ControlPolicyOrderArgs{...} }

type ControlPolicyOrderMapOutput added in v3.6.0

type ControlPolicyOrderMapOutput struct{ *pulumi.OutputState }

func (ControlPolicyOrderMapOutput) ElementType added in v3.6.0

func (ControlPolicyOrderMapOutput) MapIndex added in v3.6.0

func (ControlPolicyOrderMapOutput) ToControlPolicyOrderMapOutput added in v3.6.0

func (o ControlPolicyOrderMapOutput) ToControlPolicyOrderMapOutput() ControlPolicyOrderMapOutput

func (ControlPolicyOrderMapOutput) ToControlPolicyOrderMapOutputWithContext added in v3.6.0

func (o ControlPolicyOrderMapOutput) ToControlPolicyOrderMapOutputWithContext(ctx context.Context) ControlPolicyOrderMapOutput

type ControlPolicyOrderOutput added in v3.6.0

type ControlPolicyOrderOutput struct{ *pulumi.OutputState }

func (ControlPolicyOrderOutput) AclUuid added in v3.27.0

The unique ID of the access control policy.

func (ControlPolicyOrderOutput) Direction added in v3.27.0

Direction. Valid values: `in`, `out`.

func (ControlPolicyOrderOutput) ElementType added in v3.6.0

func (ControlPolicyOrderOutput) ElementType() reflect.Type

func (ControlPolicyOrderOutput) Order added in v3.27.0

The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.

func (ControlPolicyOrderOutput) ToControlPolicyOrderOutput added in v3.6.0

func (o ControlPolicyOrderOutput) ToControlPolicyOrderOutput() ControlPolicyOrderOutput

func (ControlPolicyOrderOutput) ToControlPolicyOrderOutputWithContext added in v3.6.0

func (o ControlPolicyOrderOutput) ToControlPolicyOrderOutputWithContext(ctx context.Context) ControlPolicyOrderOutput

type ControlPolicyOrderState added in v3.6.0

type ControlPolicyOrderState struct {
	// The unique ID of the access control policy.
	AclUuid pulumi.StringPtrInput
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
	Order pulumi.IntPtrInput
}

func (ControlPolicyOrderState) ElementType added in v3.6.0

func (ControlPolicyOrderState) ElementType() reflect.Type

type ControlPolicyOutput

type ControlPolicyOutput struct{ *pulumi.OutputState }

func (ControlPolicyOutput) AclAction added in v3.27.0

func (o ControlPolicyOutput) AclAction() pulumi.StringOutput

The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.

func (ControlPolicyOutput) AclUuid added in v3.27.0

(Available in v1.148.0+) The unique ID of the access control policy.

func (ControlPolicyOutput) ApplicationName added in v3.27.0

func (o ControlPolicyOutput) ApplicationName() pulumi.StringOutput

The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.

func (ControlPolicyOutput) Description added in v3.27.0

func (o ControlPolicyOutput) Description() pulumi.StringOutput

The description of the access control policy.

func (ControlPolicyOutput) DestPort added in v3.27.0

The destination port defined in the access control policy.

func (ControlPolicyOutput) DestPortGroup added in v3.27.0

func (o ControlPolicyOutput) DestPortGroup() pulumi.StringOutput

The destination port address book defined in the access control policy.

func (ControlPolicyOutput) DestPortType added in v3.27.0

func (o ControlPolicyOutput) DestPortType() pulumi.StringOutput

The destination port type defined in the access control policy. Valid values: `group`, `port`.

func (ControlPolicyOutput) Destination added in v3.27.0

func (o ControlPolicyOutput) Destination() pulumi.StringOutput

The destination address defined in the access control policy.

func (ControlPolicyOutput) DestinationType added in v3.27.0

func (o ControlPolicyOutput) DestinationType() pulumi.StringOutput

DestinationType. Valid values: If Direction is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.

func (ControlPolicyOutput) Direction added in v3.27.0

func (o ControlPolicyOutput) Direction() pulumi.StringOutput

Direction. Valid values: `in`, `out`.

func (ControlPolicyOutput) ElementType

func (ControlPolicyOutput) ElementType() reflect.Type

func (ControlPolicyOutput) IpVersion added in v3.27.0

The ip version.

func (ControlPolicyOutput) Lang added in v3.27.0

DestPortGroupPorts. Valid values: `en`, `zh`.

func (ControlPolicyOutput) Proto added in v3.27.0

Proto. Valid values: ` TCP `, ` UDP `, `ANY`, `ICMP`.

func (ControlPolicyOutput) Release added in v3.27.0

Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.

func (ControlPolicyOutput) Source added in v3.27.0

Source.

func (ControlPolicyOutput) SourceIp added in v3.27.0

The source ip.

func (ControlPolicyOutput) SourceType added in v3.27.0

func (o ControlPolicyOutput) SourceType() pulumi.StringOutput

SourceType. Valid values: If `direction` is `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.

func (ControlPolicyOutput) ToControlPolicyOutput

func (o ControlPolicyOutput) ToControlPolicyOutput() ControlPolicyOutput

func (ControlPolicyOutput) ToControlPolicyOutputWithContext

func (o ControlPolicyOutput) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput

type ControlPolicyState

type ControlPolicyState struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction pulumi.StringPtrInput
	// (Available in v1.148.0+) The unique ID of the access control policy.
	AclUuid pulumi.StringPtrInput
	// The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
	ApplicationName pulumi.StringPtrInput
	// The description of the access control policy.
	Description pulumi.StringPtrInput
	// The destination port defined in the access control policy.
	DestPort pulumi.StringPtrInput
	// The destination port address book defined in the access control policy.
	DestPortGroup pulumi.StringPtrInput
	// The destination port type defined in the access control policy. Valid values: `group`, `port`.
	DestPortType pulumi.StringPtrInput
	// The destination address defined in the access control policy.
	Destination pulumi.StringPtrInput
	// DestinationType. Valid values: If Direction is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.
	DestinationType pulumi.StringPtrInput
	// Direction. Valid values: `in`, `out`.
	Direction pulumi.StringPtrInput
	// The ip version.
	IpVersion pulumi.StringPtrInput
	// DestPortGroupPorts. Valid values: `en`, `zh`.
	Lang pulumi.StringPtrInput
	// Proto. Valid values: `  TCP `, `  UDP `, `ANY`, `ICMP`.
	Proto pulumi.StringPtrInput
	// Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.
	Release pulumi.StringPtrInput
	// Source.
	Source pulumi.StringPtrInput
	// The source ip.
	SourceIp pulumi.StringPtrInput
	// SourceType. Valid values: If `direction` is `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.
	SourceType pulumi.StringPtrInput
}

func (ControlPolicyState) ElementType

func (ControlPolicyState) ElementType() reflect.Type

type GetAddressBooksArgs added in v3.26.0

type GetAddressBooksArgs struct {
	// The type of the Address Book.
	GroupType *string `pulumi:"groupType"`
	// A list of Address Book IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results Address Book name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getAddressBooks.

type GetAddressBooksBook added in v3.26.0

type GetAddressBooksBook struct {
	// The addresses in the Address Book.
	AddressLists []string `pulumi:"addressLists"`
	// Whether you want to automatically add new matching tags of the ECS IP address to the Address Book.
	AutoAddTagEcs int `pulumi:"autoAddTagEcs"`
	// The description of the Address Book.
	Description string `pulumi:"description"`
	// The logical relation among the ECS tags that to be matchedh.
	EcsTags []GetAddressBooksBookEcsTag `pulumi:"ecsTags"`
	// The name of the Address Book.
	GroupName string `pulumi:"groupName"`
	// The type of the Address Book.
	GroupType string `pulumi:"groupType"`
	// The ID of the Address Book.
	GroupUuid string `pulumi:"groupUuid"`
	// The ID of the Address Book.
	Id string `pulumi:"id"`
	// One or more tags for the relationship between.
	TagRelation string `pulumi:"tagRelation"`
}

type GetAddressBooksBookArgs added in v3.26.0

type GetAddressBooksBookArgs struct {
	// The addresses in the Address Book.
	AddressLists pulumi.StringArrayInput `pulumi:"addressLists"`
	// Whether you want to automatically add new matching tags of the ECS IP address to the Address Book.
	AutoAddTagEcs pulumi.IntInput `pulumi:"autoAddTagEcs"`
	// The description of the Address Book.
	Description pulumi.StringInput `pulumi:"description"`
	// The logical relation among the ECS tags that to be matchedh.
	EcsTags GetAddressBooksBookEcsTagArrayInput `pulumi:"ecsTags"`
	// The name of the Address Book.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The type of the Address Book.
	GroupType pulumi.StringInput `pulumi:"groupType"`
	// The ID of the Address Book.
	GroupUuid pulumi.StringInput `pulumi:"groupUuid"`
	// The ID of the Address Book.
	Id pulumi.StringInput `pulumi:"id"`
	// One or more tags for the relationship between.
	TagRelation pulumi.StringInput `pulumi:"tagRelation"`
}

func (GetAddressBooksBookArgs) ElementType added in v3.26.0

func (GetAddressBooksBookArgs) ElementType() reflect.Type

func (GetAddressBooksBookArgs) ToGetAddressBooksBookOutput added in v3.26.0

func (i GetAddressBooksBookArgs) ToGetAddressBooksBookOutput() GetAddressBooksBookOutput

func (GetAddressBooksBookArgs) ToGetAddressBooksBookOutputWithContext added in v3.26.0

func (i GetAddressBooksBookArgs) ToGetAddressBooksBookOutputWithContext(ctx context.Context) GetAddressBooksBookOutput

type GetAddressBooksBookArray added in v3.26.0

type GetAddressBooksBookArray []GetAddressBooksBookInput

func (GetAddressBooksBookArray) ElementType added in v3.26.0

func (GetAddressBooksBookArray) ElementType() reflect.Type

func (GetAddressBooksBookArray) ToGetAddressBooksBookArrayOutput added in v3.26.0

func (i GetAddressBooksBookArray) ToGetAddressBooksBookArrayOutput() GetAddressBooksBookArrayOutput

func (GetAddressBooksBookArray) ToGetAddressBooksBookArrayOutputWithContext added in v3.26.0

func (i GetAddressBooksBookArray) ToGetAddressBooksBookArrayOutputWithContext(ctx context.Context) GetAddressBooksBookArrayOutput

type GetAddressBooksBookArrayInput added in v3.26.0

type GetAddressBooksBookArrayInput interface {
	pulumi.Input

	ToGetAddressBooksBookArrayOutput() GetAddressBooksBookArrayOutput
	ToGetAddressBooksBookArrayOutputWithContext(context.Context) GetAddressBooksBookArrayOutput
}

GetAddressBooksBookArrayInput is an input type that accepts GetAddressBooksBookArray and GetAddressBooksBookArrayOutput values. You can construct a concrete instance of `GetAddressBooksBookArrayInput` via:

GetAddressBooksBookArray{ GetAddressBooksBookArgs{...} }

type GetAddressBooksBookArrayOutput added in v3.26.0

type GetAddressBooksBookArrayOutput struct{ *pulumi.OutputState }

func (GetAddressBooksBookArrayOutput) ElementType added in v3.26.0

func (GetAddressBooksBookArrayOutput) Index added in v3.26.0

func (GetAddressBooksBookArrayOutput) ToGetAddressBooksBookArrayOutput added in v3.26.0

func (o GetAddressBooksBookArrayOutput) ToGetAddressBooksBookArrayOutput() GetAddressBooksBookArrayOutput

func (GetAddressBooksBookArrayOutput) ToGetAddressBooksBookArrayOutputWithContext added in v3.26.0

func (o GetAddressBooksBookArrayOutput) ToGetAddressBooksBookArrayOutputWithContext(ctx context.Context) GetAddressBooksBookArrayOutput

type GetAddressBooksBookEcsTag added in v3.26.0

type GetAddressBooksBookEcsTag struct {
	// The key of ECS tag that to be matched.
	TagKey *string `pulumi:"tagKey"`
	// The value of ECS tag that to be matched.
	TagValue *string `pulumi:"tagValue"`
}

type GetAddressBooksBookEcsTagArgs added in v3.26.0

type GetAddressBooksBookEcsTagArgs struct {
	// The key of ECS tag that to be matched.
	TagKey pulumi.StringPtrInput `pulumi:"tagKey"`
	// The value of ECS tag that to be matched.
	TagValue pulumi.StringPtrInput `pulumi:"tagValue"`
}

func (GetAddressBooksBookEcsTagArgs) ElementType added in v3.26.0

func (GetAddressBooksBookEcsTagArgs) ToGetAddressBooksBookEcsTagOutput added in v3.26.0

func (i GetAddressBooksBookEcsTagArgs) ToGetAddressBooksBookEcsTagOutput() GetAddressBooksBookEcsTagOutput

func (GetAddressBooksBookEcsTagArgs) ToGetAddressBooksBookEcsTagOutputWithContext added in v3.26.0

func (i GetAddressBooksBookEcsTagArgs) ToGetAddressBooksBookEcsTagOutputWithContext(ctx context.Context) GetAddressBooksBookEcsTagOutput

type GetAddressBooksBookEcsTagArray added in v3.26.0

type GetAddressBooksBookEcsTagArray []GetAddressBooksBookEcsTagInput

func (GetAddressBooksBookEcsTagArray) ElementType added in v3.26.0

func (GetAddressBooksBookEcsTagArray) ToGetAddressBooksBookEcsTagArrayOutput added in v3.26.0

func (i GetAddressBooksBookEcsTagArray) ToGetAddressBooksBookEcsTagArrayOutput() GetAddressBooksBookEcsTagArrayOutput

func (GetAddressBooksBookEcsTagArray) ToGetAddressBooksBookEcsTagArrayOutputWithContext added in v3.26.0

func (i GetAddressBooksBookEcsTagArray) ToGetAddressBooksBookEcsTagArrayOutputWithContext(ctx context.Context) GetAddressBooksBookEcsTagArrayOutput

type GetAddressBooksBookEcsTagArrayInput added in v3.26.0

type GetAddressBooksBookEcsTagArrayInput interface {
	pulumi.Input

	ToGetAddressBooksBookEcsTagArrayOutput() GetAddressBooksBookEcsTagArrayOutput
	ToGetAddressBooksBookEcsTagArrayOutputWithContext(context.Context) GetAddressBooksBookEcsTagArrayOutput
}

GetAddressBooksBookEcsTagArrayInput is an input type that accepts GetAddressBooksBookEcsTagArray and GetAddressBooksBookEcsTagArrayOutput values. You can construct a concrete instance of `GetAddressBooksBookEcsTagArrayInput` via:

GetAddressBooksBookEcsTagArray{ GetAddressBooksBookEcsTagArgs{...} }

type GetAddressBooksBookEcsTagArrayOutput added in v3.26.0

type GetAddressBooksBookEcsTagArrayOutput struct{ *pulumi.OutputState }

func (GetAddressBooksBookEcsTagArrayOutput) ElementType added in v3.26.0

func (GetAddressBooksBookEcsTagArrayOutput) Index added in v3.26.0

func (GetAddressBooksBookEcsTagArrayOutput) ToGetAddressBooksBookEcsTagArrayOutput added in v3.26.0

func (o GetAddressBooksBookEcsTagArrayOutput) ToGetAddressBooksBookEcsTagArrayOutput() GetAddressBooksBookEcsTagArrayOutput

func (GetAddressBooksBookEcsTagArrayOutput) ToGetAddressBooksBookEcsTagArrayOutputWithContext added in v3.26.0

func (o GetAddressBooksBookEcsTagArrayOutput) ToGetAddressBooksBookEcsTagArrayOutputWithContext(ctx context.Context) GetAddressBooksBookEcsTagArrayOutput

type GetAddressBooksBookEcsTagInput added in v3.26.0

type GetAddressBooksBookEcsTagInput interface {
	pulumi.Input

	ToGetAddressBooksBookEcsTagOutput() GetAddressBooksBookEcsTagOutput
	ToGetAddressBooksBookEcsTagOutputWithContext(context.Context) GetAddressBooksBookEcsTagOutput
}

GetAddressBooksBookEcsTagInput is an input type that accepts GetAddressBooksBookEcsTagArgs and GetAddressBooksBookEcsTagOutput values. You can construct a concrete instance of `GetAddressBooksBookEcsTagInput` via:

GetAddressBooksBookEcsTagArgs{...}

type GetAddressBooksBookEcsTagOutput added in v3.26.0

type GetAddressBooksBookEcsTagOutput struct{ *pulumi.OutputState }

func (GetAddressBooksBookEcsTagOutput) ElementType added in v3.26.0

func (GetAddressBooksBookEcsTagOutput) TagKey added in v3.26.0

The key of ECS tag that to be matched.

func (GetAddressBooksBookEcsTagOutput) TagValue added in v3.26.0

The value of ECS tag that to be matched.

func (GetAddressBooksBookEcsTagOutput) ToGetAddressBooksBookEcsTagOutput added in v3.26.0

func (o GetAddressBooksBookEcsTagOutput) ToGetAddressBooksBookEcsTagOutput() GetAddressBooksBookEcsTagOutput

func (GetAddressBooksBookEcsTagOutput) ToGetAddressBooksBookEcsTagOutputWithContext added in v3.26.0

func (o GetAddressBooksBookEcsTagOutput) ToGetAddressBooksBookEcsTagOutputWithContext(ctx context.Context) GetAddressBooksBookEcsTagOutput

type GetAddressBooksBookInput added in v3.26.0

type GetAddressBooksBookInput interface {
	pulumi.Input

	ToGetAddressBooksBookOutput() GetAddressBooksBookOutput
	ToGetAddressBooksBookOutputWithContext(context.Context) GetAddressBooksBookOutput
}

GetAddressBooksBookInput is an input type that accepts GetAddressBooksBookArgs and GetAddressBooksBookOutput values. You can construct a concrete instance of `GetAddressBooksBookInput` via:

GetAddressBooksBookArgs{...}

type GetAddressBooksBookOutput added in v3.26.0

type GetAddressBooksBookOutput struct{ *pulumi.OutputState }

func (GetAddressBooksBookOutput) AddressLists added in v3.26.0

The addresses in the Address Book.

func (GetAddressBooksBookOutput) AutoAddTagEcs added in v3.26.0

func (o GetAddressBooksBookOutput) AutoAddTagEcs() pulumi.IntOutput

Whether you want to automatically add new matching tags of the ECS IP address to the Address Book.

func (GetAddressBooksBookOutput) Description added in v3.26.0

The description of the Address Book.

func (GetAddressBooksBookOutput) EcsTags added in v3.26.0

The logical relation among the ECS tags that to be matchedh.

func (GetAddressBooksBookOutput) ElementType added in v3.26.0

func (GetAddressBooksBookOutput) ElementType() reflect.Type

func (GetAddressBooksBookOutput) GroupName added in v3.26.0

The name of the Address Book.

func (GetAddressBooksBookOutput) GroupType added in v3.26.0

The type of the Address Book.

func (GetAddressBooksBookOutput) GroupUuid added in v3.26.0

The ID of the Address Book.

func (GetAddressBooksBookOutput) Id added in v3.26.0

The ID of the Address Book.

func (GetAddressBooksBookOutput) TagRelation added in v3.26.0

One or more tags for the relationship between.

func (GetAddressBooksBookOutput) ToGetAddressBooksBookOutput added in v3.26.0

func (o GetAddressBooksBookOutput) ToGetAddressBooksBookOutput() GetAddressBooksBookOutput

func (GetAddressBooksBookOutput) ToGetAddressBooksBookOutputWithContext added in v3.26.0

func (o GetAddressBooksBookOutput) ToGetAddressBooksBookOutputWithContext(ctx context.Context) GetAddressBooksBookOutput

type GetAddressBooksOutputArgs added in v3.26.0

type GetAddressBooksOutputArgs struct {
	// The type of the Address Book.
	GroupType pulumi.StringPtrInput `pulumi:"groupType"`
	// A list of Address Book IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results Address Book name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getAddressBooks.

func (GetAddressBooksOutputArgs) ElementType added in v3.26.0

func (GetAddressBooksOutputArgs) ElementType() reflect.Type

type GetAddressBooksResult added in v3.26.0

type GetAddressBooksResult struct {
	Books     []GetAddressBooksBook `pulumi:"books"`
	GroupType *string               `pulumi:"groupType"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getAddressBooks.

func GetAddressBooks added in v3.26.0

func GetAddressBooks(ctx *pulumi.Context, args *GetAddressBooksArgs, opts ...pulumi.InvokeOption) (*GetAddressBooksResult, error)

This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.

> **NOTE:** Available in v1.178.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudfirewall.GetAddressBooks(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudFirewallAddressBookId1", ids.Books[0].Id)
		return nil
	})
}

```

type GetAddressBooksResultOutput added in v3.26.0

type GetAddressBooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAddressBooks.

func GetAddressBooksOutput added in v3.26.0

func (GetAddressBooksResultOutput) Books added in v3.26.0

func (GetAddressBooksResultOutput) ElementType added in v3.26.0

func (GetAddressBooksResultOutput) GroupType added in v3.26.0

func (GetAddressBooksResultOutput) Id added in v3.26.0

The provider-assigned unique ID for this managed resource.

func (GetAddressBooksResultOutput) Ids added in v3.26.0

func (GetAddressBooksResultOutput) NameRegex added in v3.26.0

func (GetAddressBooksResultOutput) Names added in v3.26.0

func (GetAddressBooksResultOutput) OutputFile added in v3.26.0

func (GetAddressBooksResultOutput) ToGetAddressBooksResultOutput added in v3.26.0

func (o GetAddressBooksResultOutput) ToGetAddressBooksResultOutput() GetAddressBooksResultOutput

func (GetAddressBooksResultOutput) ToGetAddressBooksResultOutputWithContext added in v3.26.0

func (o GetAddressBooksResultOutput) ToGetAddressBooksResultOutputWithContext(ctx context.Context) GetAddressBooksResultOutput

type GetControlPoliciesArgs

type GetControlPoliciesArgs struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction *string `pulumi:"aclAction"`
	// The unique ID of the access control policy.
	AclUuid *string `pulumi:"aclUuid"`
	// The description of the access control policy.
	Description *string `pulumi:"description"`
	// The destination address defined in the access control policy.
	Destination *string `pulumi:"destination"`
	// The direction of traffic to which the access control policy applies. Valid values: `in`, `out`.
	Direction string `pulumi:"direction"`
	// The ip version.
	IpVersion *string `pulumi:"ipVersion"`
	// DestPortGroupPorts. Valid values: `en`, `zh`.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// The protocol type of traffic to which the access control policy applies. Valid values: If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `TCP`, `UDP`, `ICMP`.
	Proto *string `pulumi:"proto"`
	// The source address defined in the access control policy.
	Source *string `pulumi:"source"`
	// The source IP address of the request.
	SourceIp *string `pulumi:"sourceIp"`
}

A collection of arguments for invoking getControlPolicies.

type GetControlPoliciesOutputArgs added in v3.9.0

type GetControlPoliciesOutputArgs struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction pulumi.StringPtrInput `pulumi:"aclAction"`
	// The unique ID of the access control policy.
	AclUuid pulumi.StringPtrInput `pulumi:"aclUuid"`
	// The description of the access control policy.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination address defined in the access control policy.
	Destination pulumi.StringPtrInput `pulumi:"destination"`
	// The direction of traffic to which the access control policy applies. Valid values: `in`, `out`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The ip version.
	IpVersion pulumi.StringPtrInput `pulumi:"ipVersion"`
	// DestPortGroupPorts. Valid values: `en`, `zh`.
	Lang       pulumi.StringPtrInput `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The protocol type of traffic to which the access control policy applies. Valid values: If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `TCP`, `UDP`, `ICMP`.
	Proto pulumi.StringPtrInput `pulumi:"proto"`
	// The source address defined in the access control policy.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The source IP address of the request.
	SourceIp pulumi.StringPtrInput `pulumi:"sourceIp"`
}

A collection of arguments for invoking getControlPolicies.

func (GetControlPoliciesOutputArgs) ElementType added in v3.9.0

type GetControlPoliciesPolicy

type GetControlPoliciesPolicy struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction string `pulumi:"aclAction"`
	// The unique ID of the access control policy.
	AclUuid       string `pulumi:"aclUuid"`
	ApplicationId string `pulumi:"applicationId"`
	// The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
	ApplicationName string `pulumi:"applicationName"`
	// The description of the access control policy.
	Description string `pulumi:"description"`
	// The destination port defined in the access control policy.
	DestPort string `pulumi:"destPort"`
	// The destination port address book defined in the access control policy.
	DestPortGroup      string   `pulumi:"destPortGroup"`
	DestPortGroupPorts []string `pulumi:"destPortGroupPorts"`
	// The destination port type defined in the access control policy. Valid values: `group`, `port`.
	DestPortType string `pulumi:"destPortType"`
	// The destination address defined in the access control policy.
	Destination           string   `pulumi:"destination"`
	DestinationGroupCidrs []string `pulumi:"destinationGroupCidrs"`
	DestinationGroupType  string   `pulumi:"destinationGroupType"`
	// The destination address type defined in the access control policy.Valid values: If `direction` is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.
	DestinationType string `pulumi:"destinationType"`
	// The direction of traffic to which the access control policy applies. Valid values: `in`, `out`.
	Direction     string `pulumi:"direction"`
	DnsResult     string `pulumi:"dnsResult"`
	DnsResultTime string `pulumi:"dnsResultTime"`
	HitTimes      string `pulumi:"hitTimes"`
	// The ID of the Control Policy.
	Id    string `pulumi:"id"`
	Order int    `pulumi:"order"`
	// The protocol type of traffic to which the access control policy applies. Valid values: If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `TCP`, `UDP`, `ICMP`.
	Proto string `pulumi:"proto"`
	// Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.
	Release bool `pulumi:"release"`
	// The source address defined in the access control policy.
	Source           string   `pulumi:"source"`
	SourceGroupCidrs []string `pulumi:"sourceGroupCidrs"`
	SourceGroupType  string   `pulumi:"sourceGroupType"`
	// The type of the source address book defined in the access control policy. Valid values: If `direction` is to `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.
	SourceType string `pulumi:"sourceType"`
}

type GetControlPoliciesPolicyArgs

type GetControlPoliciesPolicyArgs struct {
	// The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.
	AclAction pulumi.StringInput `pulumi:"aclAction"`
	// The unique ID of the access control policy.
	AclUuid       pulumi.StringInput `pulumi:"aclUuid"`
	ApplicationId pulumi.StringInput `pulumi:"applicationId"`
	// The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
	// The description of the access control policy.
	Description pulumi.StringInput `pulumi:"description"`
	// The destination port defined in the access control policy.
	DestPort pulumi.StringInput `pulumi:"destPort"`
	// The destination port address book defined in the access control policy.
	DestPortGroup      pulumi.StringInput      `pulumi:"destPortGroup"`
	DestPortGroupPorts pulumi.StringArrayInput `pulumi:"destPortGroupPorts"`
	// The destination port type defined in the access control policy. Valid values: `group`, `port`.
	DestPortType pulumi.StringInput `pulumi:"destPortType"`
	// The destination address defined in the access control policy.
	Destination           pulumi.StringInput      `pulumi:"destination"`
	DestinationGroupCidrs pulumi.StringArrayInput `pulumi:"destinationGroupCidrs"`
	DestinationGroupType  pulumi.StringInput      `pulumi:"destinationGroupType"`
	// The destination address type defined in the access control policy.Valid values: If `direction` is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
	// The direction of traffic to which the access control policy applies. Valid values: `in`, `out`.
	Direction     pulumi.StringInput `pulumi:"direction"`
	DnsResult     pulumi.StringInput `pulumi:"dnsResult"`
	DnsResultTime pulumi.StringInput `pulumi:"dnsResultTime"`
	HitTimes      pulumi.StringInput `pulumi:"hitTimes"`
	// The ID of the Control Policy.
	Id    pulumi.StringInput `pulumi:"id"`
	Order pulumi.IntInput    `pulumi:"order"`
	// The protocol type of traffic to which the access control policy applies. Valid values: If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `TCP`, `UDP`, `ICMP`.
	Proto pulumi.StringInput `pulumi:"proto"`
	// Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.
	Release pulumi.BoolInput `pulumi:"release"`
	// The source address defined in the access control policy.
	Source           pulumi.StringInput      `pulumi:"source"`
	SourceGroupCidrs pulumi.StringArrayInput `pulumi:"sourceGroupCidrs"`
	SourceGroupType  pulumi.StringInput      `pulumi:"sourceGroupType"`
	// The type of the source address book defined in the access control policy. Valid values: If `direction` is to `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
}

func (GetControlPoliciesPolicyArgs) ElementType

func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput

func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput

func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext

func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput

type GetControlPoliciesPolicyArray

type GetControlPoliciesPolicyArray []GetControlPoliciesPolicyInput

func (GetControlPoliciesPolicyArray) ElementType

func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput

func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput

func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext

func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput

type GetControlPoliciesPolicyArrayInput

type GetControlPoliciesPolicyArrayInput interface {
	pulumi.Input

	ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
	ToGetControlPoliciesPolicyArrayOutputWithContext(context.Context) GetControlPoliciesPolicyArrayOutput
}

GetControlPoliciesPolicyArrayInput is an input type that accepts GetControlPoliciesPolicyArray and GetControlPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetControlPoliciesPolicyArrayInput` via:

GetControlPoliciesPolicyArray{ GetControlPoliciesPolicyArgs{...} }

type GetControlPoliciesPolicyArrayOutput

type GetControlPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetControlPoliciesPolicyArrayOutput) ElementType

func (GetControlPoliciesPolicyArrayOutput) Index

func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput

func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput

func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext

func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput

type GetControlPoliciesPolicyInput

type GetControlPoliciesPolicyInput interface {
	pulumi.Input

	ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
	ToGetControlPoliciesPolicyOutputWithContext(context.Context) GetControlPoliciesPolicyOutput
}

GetControlPoliciesPolicyInput is an input type that accepts GetControlPoliciesPolicyArgs and GetControlPoliciesPolicyOutput values. You can construct a concrete instance of `GetControlPoliciesPolicyInput` via:

GetControlPoliciesPolicyArgs{...}

type GetControlPoliciesPolicyOutput

type GetControlPoliciesPolicyOutput struct{ *pulumi.OutputState }

func (GetControlPoliciesPolicyOutput) AclAction

The action that Cloud Firewall performs on the traffic. Valid values: `accept`, `drop`, `log`.

func (GetControlPoliciesPolicyOutput) AclUuid

The unique ID of the access control policy.

func (GetControlPoliciesPolicyOutput) ApplicationId

func (GetControlPoliciesPolicyOutput) ApplicationName

The application type that the access control policy supports.If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, `ANY`, `HTTP`, `HTTPS`, `MQTT`, `Memcache`, `MongoDB`, `MySQL`, `RDP`, `Redis`, `SMTP`, `SMTPS`, `SSH`, `SSL`, `VNC`.

func (GetControlPoliciesPolicyOutput) Description

The description of the access control policy.

func (GetControlPoliciesPolicyOutput) DestPort

The destination port defined in the access control policy.

func (GetControlPoliciesPolicyOutput) DestPortGroup

The destination port address book defined in the access control policy.

func (GetControlPoliciesPolicyOutput) DestPortGroupPorts

func (GetControlPoliciesPolicyOutput) DestPortType

The destination port type defined in the access control policy. Valid values: `group`, `port`.

func (GetControlPoliciesPolicyOutput) Destination

The destination address defined in the access control policy.

func (GetControlPoliciesPolicyOutput) DestinationGroupCidrs

func (o GetControlPoliciesPolicyOutput) DestinationGroupCidrs() pulumi.StringArrayOutput

func (GetControlPoliciesPolicyOutput) DestinationGroupType

func (o GetControlPoliciesPolicyOutput) DestinationGroupType() pulumi.StringOutput

func (GetControlPoliciesPolicyOutput) DestinationType

The destination address type defined in the access control policy.Valid values: If `direction` is `in`, the valid values are `net`, `group`. If `direction` is `out`, the valid values are `net`, `group`, `domain`, `location`.

func (GetControlPoliciesPolicyOutput) Direction

The direction of traffic to which the access control policy applies. Valid values: `in`, `out`.

func (GetControlPoliciesPolicyOutput) DnsResult

func (GetControlPoliciesPolicyOutput) DnsResultTime

func (GetControlPoliciesPolicyOutput) ElementType

func (GetControlPoliciesPolicyOutput) HitTimes

func (GetControlPoliciesPolicyOutput) Id

The ID of the Control Policy.

func (GetControlPoliciesPolicyOutput) Order

func (GetControlPoliciesPolicyOutput) Proto

The protocol type of traffic to which the access control policy applies. Valid values: If `direction` is `in`, the valid value is `ANY`. If `direction` is `out`, the valid values are `ANY`, `TCP`, `UDP`, `ICMP`.

func (GetControlPoliciesPolicyOutput) Release

Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values: `true`, `false`.

func (GetControlPoliciesPolicyOutput) Source

The source address defined in the access control policy.

func (GetControlPoliciesPolicyOutput) SourceGroupCidrs

func (GetControlPoliciesPolicyOutput) SourceGroupType

func (GetControlPoliciesPolicyOutput) SourceType

The type of the source address book defined in the access control policy. Valid values: If `direction` is to `in`, the valid values are `net`, `group`, `location`. If `direction` is `out`, the valid values are `net`, `group`.

func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput

func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput

func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext

func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput

type GetControlPoliciesResult

type GetControlPoliciesResult struct {
	AclAction   *string `pulumi:"aclAction"`
	AclUuid     *string `pulumi:"aclUuid"`
	Description *string `pulumi:"description"`
	Destination *string `pulumi:"destination"`
	Direction   string  `pulumi:"direction"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                     `pulumi:"id"`
	Ids        []string                   `pulumi:"ids"`
	IpVersion  *string                    `pulumi:"ipVersion"`
	Lang       *string                    `pulumi:"lang"`
	OutputFile *string                    `pulumi:"outputFile"`
	Policies   []GetControlPoliciesPolicy `pulumi:"policies"`
	Proto      *string                    `pulumi:"proto"`
	Source     *string                    `pulumi:"source"`
	SourceIp   *string                    `pulumi:"sourceIp"`
}

A collection of values returned by getControlPolicies.

func GetControlPolicies

func GetControlPolicies(ctx *pulumi.Context, args *GetControlPoliciesArgs, opts ...pulumi.InvokeOption) (*GetControlPoliciesResult, error)

This data source provides the Cloud Firewall Control Policies of the current Alibaba Cloud user.

> **NOTE:** Available in v1.129.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfirewall.GetControlPolicies(ctx, &cloudfirewall.GetControlPoliciesArgs{
			Direction: "in",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetControlPoliciesResultOutput added in v3.9.0

type GetControlPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getControlPolicies.

func GetControlPoliciesOutput added in v3.9.0

func (GetControlPoliciesResultOutput) AclAction added in v3.9.0

func (GetControlPoliciesResultOutput) AclUuid added in v3.9.0

func (GetControlPoliciesResultOutput) Description added in v3.9.0

func (GetControlPoliciesResultOutput) Destination added in v3.9.0

func (GetControlPoliciesResultOutput) Direction added in v3.9.0

func (GetControlPoliciesResultOutput) ElementType added in v3.9.0

func (GetControlPoliciesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetControlPoliciesResultOutput) Ids added in v3.9.0

func (GetControlPoliciesResultOutput) IpVersion added in v3.9.0

func (GetControlPoliciesResultOutput) Lang added in v3.9.0

func (GetControlPoliciesResultOutput) OutputFile added in v3.9.0

func (GetControlPoliciesResultOutput) Policies added in v3.9.0

func (GetControlPoliciesResultOutput) Proto added in v3.9.0

func (GetControlPoliciesResultOutput) Source added in v3.9.0

func (GetControlPoliciesResultOutput) SourceIp added in v3.9.0

func (GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutput added in v3.9.0

func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutput() GetControlPoliciesResultOutput

func (GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutputWithContext added in v3.9.0

func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutputWithContext(ctx context.Context) GetControlPoliciesResultOutput

type GetInstancesArgs added in v3.9.0

type GetInstancesArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance added in v3.9.0

type GetInstancesInstance struct {
	// The Creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The end time of the resource..
	EndTime string `pulumi:"endTime"`
	// The ID of the Instance.
	Id string `pulumi:"id"`
	// The first ID of the resource.
	InstanceId string `pulumi:"instanceId"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType string `pulumi:"paymentType"`
	// Automatic renewal period unit. Valid values: `Month`,`Year`.
	RenewalDurationUnit string `pulumi:"renewalDurationUnit"`
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus string `pulumi:"renewalStatus"`
	// The Status of Instance.
	Status string `pulumi:"status"`
}

type GetInstancesInstanceArgs added in v3.9.0

type GetInstancesInstanceArgs struct {
	// The Creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The end time of the resource..
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// The ID of the Instance.
	Id pulumi.StringInput `pulumi:"id"`
	// The first ID of the resource.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// Automatic renewal period unit. Valid values: `Month`,`Year`.
	RenewalDurationUnit pulumi.StringInput `pulumi:"renewalDurationUnit"`
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringInput `pulumi:"renewalStatus"`
	// The Status of Instance.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetInstancesInstanceArgs) ElementType added in v3.9.0

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput added in v3.9.0

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext added in v3.9.0

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray added in v3.9.0

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType added in v3.9.0

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput added in v3.9.0

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext added in v3.9.0

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput added in v3.9.0

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput added in v3.9.0

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType added in v3.9.0

func (GetInstancesInstanceArrayOutput) Index added in v3.9.0

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput added in v3.9.0

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext added in v3.9.0

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput added in v3.9.0

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput added in v3.9.0

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) CreateTime added in v3.9.0

The Creation time of the resource.

func (GetInstancesInstanceOutput) ElementType added in v3.9.0

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) EndTime added in v3.9.0

The end time of the resource..

func (GetInstancesInstanceOutput) Id added in v3.9.0

The ID of the Instance.

func (GetInstancesInstanceOutput) InstanceId added in v3.9.0

The first ID of the resource.

func (GetInstancesInstanceOutput) PaymentType added in v3.9.0

The payment type of the resource. Valid values: `Subscription`.

func (GetInstancesInstanceOutput) RenewalDurationUnit added in v3.9.0

func (o GetInstancesInstanceOutput) RenewalDurationUnit() pulumi.StringOutput

Automatic renewal period unit. Valid values: `Month`,`Year`.

func (GetInstancesInstanceOutput) RenewalStatus added in v3.9.0

Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.

func (GetInstancesInstanceOutput) Status added in v3.9.0

The Status of Instance.

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput added in v3.9.0

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext added in v3.9.0

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesOutputArgs added in v3.9.0

type GetInstancesOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType added in v3.9.0

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult added in v3.9.0

type GetInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Instances  []GetInstancesInstance `pulumi:"instances"`
	OutputFile *string                `pulumi:"outputFile"`
}

A collection of values returned by getInstances.

func GetInstances added in v3.9.0

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

This data source provides the Cloud Firewall Instances of the current Alibaba Cloud user.

> **NOTE:** Available in v1.139.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudfirewall.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudFirewallInstanceId1", ids.Instances[0].Id)
		return nil
	})
}

```

type GetInstancesResultOutput added in v3.9.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v3.9.0

func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v3.9.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Instances added in v3.9.0

func (GetInstancesResultOutput) OutputFile added in v3.9.0

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type Instance added in v3.9.0

type Instance struct {
	pulumi.CustomResourceState

	// Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
	BandWidth pulumi.IntOutput `pulumi:"bandWidth"`
	// Whether to use log audit. Valid values: `true`, `false`.
	CfwLog pulumi.BoolOutput `pulumi:"cfwLog"`
	// The log storage capacity.
	CfwLogStorage pulumi.IntOutput `pulumi:"cfwLogStorage"`
	// Whether to use expert service. Valid values: `true`, `false`.
	CfwService pulumi.BoolOutput `pulumi:"cfwService"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The end time.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// The number of protected VPCs. Valid values between 2 and 500.
	FwVpcNumber pulumi.IntPtrOutput `pulumi:"fwVpcNumber"`
	// The number of assets.
	InstanceCount pulumi.IntPtrOutput `pulumi:"instanceCount"`
	// The number of public IPs that can be protected. Valid values: 20 to 4000.
	IpNumber pulumi.IntOutput `pulumi:"ipNumber"`
	// The logistics.
	Logistics pulumi.StringPtrOutput `pulumi:"logistics"`
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute an update operation.
	ModifyType pulumi.StringPtrOutput `pulumi:"modifyType"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The prepaid period. Valid values: `6`, `12`, `24`, `36`.
	Period pulumi.IntOutput `pulumi:"period"`
	// The release time.
	ReleaseTime pulumi.StringOutput `pulumi:"releaseTime"`
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal period unit. Valid values: `Month`,`Year`.
	RenewalDurationUnit pulumi.StringOutput `pulumi:"renewalDurationUnit"`
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringOutput `pulumi:"renewalStatus"`
	// Current version. Valid values: `premiumVersion`, `enterpriseVersion`,`ultimateVersion`.
	Spec pulumi.StringOutput `pulumi:"spec"`
	// The status of Instance.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Firewall Instance resource.

For information about Cloud Firewall Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/product/90174.htm).

> **NOTE:** Available in v1.139.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfirewall.NewInstance(ctx, "example", &cloudfirewall.InstanceArgs{
			BandWidth:     pulumi.Int(10),
			CfwLog:        pulumi.Bool(false),
			CfwLogStorage: pulumi.Int(1000),
			CfwService:    pulumi.Bool(false),
			IpNumber:      pulumi.Int(20),
			PaymentType:   pulumi.String("Subscription"),
			Period:        pulumi.Int(6),
			Spec:          pulumi.String("premium_version"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Firewall Instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cloudfirewall/instance:Instance example <id>

```

func GetInstance added in v3.9.0

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance added in v3.9.0

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType added in v3.9.0

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v3.9.0

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v3.9.0

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs added in v3.9.0

type InstanceArgs struct {
	// Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
	BandWidth pulumi.IntInput
	// Whether to use log audit. Valid values: `true`, `false`.
	CfwLog pulumi.BoolInput
	// The log storage capacity.
	CfwLogStorage pulumi.IntInput
	// Whether to use expert service. Valid values: `true`, `false`.
	CfwService pulumi.BoolInput
	// The number of protected VPCs. Valid values between 2 and 500.
	FwVpcNumber pulumi.IntPtrInput
	// The number of assets.
	InstanceCount pulumi.IntPtrInput
	// The number of public IPs that can be protected. Valid values: 20 to 4000.
	IpNumber pulumi.IntInput
	// The logistics.
	Logistics pulumi.StringPtrInput
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute an update operation.
	ModifyType pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringInput
	// The prepaid period. Valid values: `6`, `12`, `24`, `36`.
	Period pulumi.IntInput
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Current version. Valid values: `premiumVersion`, `enterpriseVersion`,`ultimateVersion`.
	Spec pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v3.9.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v3.9.0

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v3.9.0

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v3.9.0

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v3.9.0

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput added in v3.9.0

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput added in v3.9.0

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v3.9.0

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v3.9.0

func (InstanceArrayOutput) ToInstanceArrayOutput added in v3.9.0

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v3.9.0

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput added in v3.9.0

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap added in v3.9.0

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v3.9.0

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v3.9.0

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v3.9.0

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput added in v3.9.0

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput added in v3.9.0

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v3.9.0

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v3.9.0

func (InstanceMapOutput) ToInstanceMapOutput added in v3.9.0

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v3.9.0

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput added in v3.9.0

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) BandWidth added in v3.27.0

func (o InstanceOutput) BandWidth() pulumi.IntOutput

Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.

func (InstanceOutput) CfwLog added in v3.27.0

func (o InstanceOutput) CfwLog() pulumi.BoolOutput

Whether to use log audit. Valid values: `true`, `false`.

func (InstanceOutput) CfwLogStorage added in v3.27.0

func (o InstanceOutput) CfwLogStorage() pulumi.IntOutput

The log storage capacity.

func (InstanceOutput) CfwService added in v3.27.0

func (o InstanceOutput) CfwService() pulumi.BoolOutput

Whether to use expert service. Valid values: `true`, `false`.

func (InstanceOutput) CreateTime added in v3.27.0

func (o InstanceOutput) CreateTime() pulumi.StringOutput

The creation time.

func (InstanceOutput) ElementType added in v3.9.0

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) EndTime added in v3.27.0

func (o InstanceOutput) EndTime() pulumi.StringOutput

The end time.

func (InstanceOutput) FwVpcNumber added in v3.27.0

func (o InstanceOutput) FwVpcNumber() pulumi.IntPtrOutput

The number of protected VPCs. Valid values between 2 and 500.

func (InstanceOutput) InstanceCount added in v3.27.0

func (o InstanceOutput) InstanceCount() pulumi.IntPtrOutput

The number of assets.

func (InstanceOutput) IpNumber added in v3.27.0

func (o InstanceOutput) IpNumber() pulumi.IntOutput

The number of public IPs that can be protected. Valid values: 20 to 4000.

func (InstanceOutput) Logistics added in v3.27.0

func (o InstanceOutput) Logistics() pulumi.StringPtrOutput

The logistics.

func (InstanceOutput) ModifyType added in v3.27.0

func (o InstanceOutput) ModifyType() pulumi.StringPtrOutput

The modify type. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modifyType` is required when you execute an update operation.

func (InstanceOutput) PaymentType added in v3.27.0

func (o InstanceOutput) PaymentType() pulumi.StringOutput

The payment type of the resource. Valid values: `Subscription`.

func (InstanceOutput) Period added in v3.27.0

func (o InstanceOutput) Period() pulumi.IntOutput

The prepaid period. Valid values: `6`, `12`, `24`, `36`.

func (InstanceOutput) ReleaseTime added in v3.27.0

func (o InstanceOutput) ReleaseTime() pulumi.StringOutput

The release time.

func (InstanceOutput) RenewPeriod added in v3.27.0

func (o InstanceOutput) RenewPeriod() pulumi.IntPtrOutput

Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`.

func (InstanceOutput) RenewalDurationUnit added in v3.27.0

func (o InstanceOutput) RenewalDurationUnit() pulumi.StringOutput

Automatic renewal period unit. Valid values: `Month`,`Year`.

func (InstanceOutput) RenewalStatus added in v3.27.0

func (o InstanceOutput) RenewalStatus() pulumi.StringOutput

Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.

func (InstanceOutput) Spec added in v3.27.0

Current version. Valid values: `premiumVersion`, `enterpriseVersion`,`ultimateVersion`.

func (InstanceOutput) Status added in v3.27.0

func (o InstanceOutput) Status() pulumi.StringOutput

The status of Instance.

func (InstanceOutput) ToInstanceOutput added in v3.9.0

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v3.9.0

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceState added in v3.9.0

type InstanceState struct {
	// Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
	BandWidth pulumi.IntPtrInput
	// Whether to use log audit. Valid values: `true`, `false`.
	CfwLog pulumi.BoolPtrInput
	// The log storage capacity.
	CfwLogStorage pulumi.IntPtrInput
	// Whether to use expert service. Valid values: `true`, `false`.
	CfwService pulumi.BoolPtrInput
	// The creation time.
	CreateTime pulumi.StringPtrInput
	// The end time.
	EndTime pulumi.StringPtrInput
	// The number of protected VPCs. Valid values between 2 and 500.
	FwVpcNumber pulumi.IntPtrInput
	// The number of assets.
	InstanceCount pulumi.IntPtrInput
	// The number of public IPs that can be protected. Valid values: 20 to 4000.
	IpNumber pulumi.IntPtrInput
	// The logistics.
	Logistics pulumi.StringPtrInput
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute an update operation.
	ModifyType pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringPtrInput
	// The prepaid period. Valid values: `6`, `12`, `24`, `36`.
	Period pulumi.IntPtrInput
	// The release time.
	ReleaseTime pulumi.StringPtrInput
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal period unit. Valid values: `Month`,`Year`.
	RenewalDurationUnit pulumi.StringPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Current version. Valid values: `premiumVersion`, `enterpriseVersion`,`ultimateVersion`.
	Spec pulumi.StringPtrInput
	// The status of Instance.
	Status pulumi.StringPtrInput
}

func (InstanceState) ElementType added in v3.9.0

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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