Import
Cloud Firewall Vpc Firewall Acl Engine Mode can be imported using the id, e.g.
$ pulumi import alicloud:cloudfirewall/vpcFirewallAclEngineMode:VpcFirewallAclEngineMode example <vpc_firewall_id>
Create VpcFirewallAclEngineMode Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcFirewallAclEngineMode(name: string, args: VpcFirewallAclEngineModeArgs, opts?: CustomResourceOptions);@overload
def VpcFirewallAclEngineMode(resource_name: str,
args: VpcFirewallAclEngineModeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcFirewallAclEngineMode(resource_name: str,
opts: Optional[ResourceOptions] = None,
strict_mode: Optional[int] = None,
vpc_firewall_id: Optional[str] = None,
member_uid: Optional[str] = None)func NewVpcFirewallAclEngineMode(ctx *Context, name string, args VpcFirewallAclEngineModeArgs, opts ...ResourceOption) (*VpcFirewallAclEngineMode, error)public VpcFirewallAclEngineMode(string name, VpcFirewallAclEngineModeArgs args, CustomResourceOptions? opts = null)
public VpcFirewallAclEngineMode(String name, VpcFirewallAclEngineModeArgs args)
public VpcFirewallAclEngineMode(String name, VpcFirewallAclEngineModeArgs args, CustomResourceOptions options)
type: alicloud:cloudfirewall:VpcFirewallAclEngineMode
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcFirewallAclEngineModeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcFirewallAclEngineModeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcFirewallAclEngineModeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcFirewallAclEngineModeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcFirewallAclEngineModeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcFirewallAclEngineModeResource = new AliCloud.CloudFirewall.VpcFirewallAclEngineMode("vpcFirewallAclEngineModeResource", new()
{
StrictMode = 0,
VpcFirewallId = "string",
MemberUid = "string",
});
example, err := cloudfirewall.NewVpcFirewallAclEngineMode(ctx, "vpcFirewallAclEngineModeResource", &cloudfirewall.VpcFirewallAclEngineModeArgs{
StrictMode: pulumi.Int(0),
VpcFirewallId: pulumi.String("string"),
MemberUid: pulumi.String("string"),
})
var vpcFirewallAclEngineModeResource = new VpcFirewallAclEngineMode("vpcFirewallAclEngineModeResource", VpcFirewallAclEngineModeArgs.builder()
.strictMode(0)
.vpcFirewallId("string")
.memberUid("string")
.build());
vpc_firewall_acl_engine_mode_resource = alicloud.cloudfirewall.VpcFirewallAclEngineMode("vpcFirewallAclEngineModeResource",
strict_mode=0,
vpc_firewall_id="string",
member_uid="string")
const vpcFirewallAclEngineModeResource = new alicloud.cloudfirewall.VpcFirewallAclEngineMode("vpcFirewallAclEngineModeResource", {
strictMode: 0,
vpcFirewallId: "string",
memberUid: "string",
});
type: alicloud:cloudfirewall:VpcFirewallAclEngineMode
properties:
memberUid: string
strictMode: 0
vpcFirewallId: string
VpcFirewallAclEngineMode Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcFirewallAclEngineMode resource accepts the following input properties:
- Strict
Mode int - The mode of the ACL engine. Possible values are
0,1. - Vpc
Firewall stringId - The ID of the VPC firewall.
- Member
Uid string - The ID of member account.
- Strict
Mode int - The mode of the ACL engine. Possible values are
0,1. - Vpc
Firewall stringId - The ID of the VPC firewall.
- Member
Uid string - The ID of member account.
- strict
Mode Integer - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall StringId - The ID of the VPC firewall.
- member
Uid String - The ID of member account.
- strict
Mode number - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall stringId - The ID of the VPC firewall.
- member
Uid string - The ID of member account.
- strict_
mode int - The mode of the ACL engine. Possible values are
0,1. - vpc_
firewall_ strid - The ID of the VPC firewall.
- member_
uid str - The ID of member account.
- strict
Mode Number - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall StringId - The ID of the VPC firewall.
- member
Uid String - The ID of member account.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcFirewallAclEngineMode resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VpcFirewallAclEngineMode Resource
Get an existing VpcFirewallAclEngineMode resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcFirewallAclEngineModeState, opts?: CustomResourceOptions): VpcFirewallAclEngineMode@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
member_uid: Optional[str] = None,
strict_mode: Optional[int] = None,
vpc_firewall_id: Optional[str] = None) -> VpcFirewallAclEngineModefunc GetVpcFirewallAclEngineMode(ctx *Context, name string, id IDInput, state *VpcFirewallAclEngineModeState, opts ...ResourceOption) (*VpcFirewallAclEngineMode, error)public static VpcFirewallAclEngineMode Get(string name, Input<string> id, VpcFirewallAclEngineModeState? state, CustomResourceOptions? opts = null)public static VpcFirewallAclEngineMode get(String name, Output<String> id, VpcFirewallAclEngineModeState state, CustomResourceOptions options)resources: _: type: alicloud:cloudfirewall:VpcFirewallAclEngineMode get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Member
Uid string - The ID of member account.
- Strict
Mode int - The mode of the ACL engine. Possible values are
0,1. - Vpc
Firewall stringId - The ID of the VPC firewall.
- Member
Uid string - The ID of member account.
- Strict
Mode int - The mode of the ACL engine. Possible values are
0,1. - Vpc
Firewall stringId - The ID of the VPC firewall.
- member
Uid String - The ID of member account.
- strict
Mode Integer - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall StringId - The ID of the VPC firewall.
- member
Uid string - The ID of member account.
- strict
Mode number - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall stringId - The ID of the VPC firewall.
- member_
uid str - The ID of member account.
- strict_
mode int - The mode of the ACL engine. Possible values are
0,1. - vpc_
firewall_ strid - The ID of the VPC firewall.
- member
Uid String - The ID of member account.
- strict
Mode Number - The mode of the ACL engine. Possible values are
0,1. - vpc
Firewall StringId - The ID of the VPC firewall.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
