Acl
Create a Acl Resource
new Acl(name: string, args?: AclArgs, opts?: CustomResourceOptions);def Acl(resource_name, opts=None, entry_lists=None, ip_version=None, name=None, resource_group_id=None, tags=None, __props__=None);public Acl(string name, AclArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args AclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Acl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Acl resource accepts the following input properties:
- Entry
Lists List<Pulumi.Ali Cloud. Slb. Inputs. Acl Entry List Args> A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- Ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- Name string
Name of the access control list.
- Resource
Group stringId Resource group ID.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Entry
Lists []AclEntry List A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- Ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- Name string
Name of the access control list.
- Resource
Group stringId Resource group ID.
- map[string]interface{}
A mapping of tags to assign to the resource.
- entry
Lists AclEntry List[] A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- name string
Name of the access control list.
- resource
Group stringId Resource group ID.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- entry_
lists List[AclEntry List] A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- ip_
version str The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- name str
Name of the access control list.
- resource_
group_ strid Resource group ID.
- Dict[str, Any]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Acl resource produces the following output properties:
Look up an Existing Acl Resource
Get an existing Acl 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?: AclState, opts?: CustomResourceOptions): Aclstatic get(resource_name, id, opts=None, entry_lists=None, ip_version=None, name=None, resource_group_id=None, tags=None, __props__=None);public static Acl Get(string name, Input<string> id, AclState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Entry
Lists List<Pulumi.Ali Cloud. Slb. Inputs. Acl Entry List Args> A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- Ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- Name string
Name of the access control list.
- Resource
Group stringId Resource group ID.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Entry
Lists []AclEntry List A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- Ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- Name string
Name of the access control list.
- Resource
Group stringId Resource group ID.
- map[string]interface{}
A mapping of tags to assign to the resource.
- entry
Lists AclEntry List[] A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- ip
Version string The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- name string
Name of the access control list.
- resource
Group stringId Resource group ID.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- entry_
lists List[AclEntry List] A list of entry (IP addresses or CIDR blocks) to be added. At most 50 etnry can be supported in one resource. It contains two sub-fields as
Entry Blockfollows.- ip_
version str The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: “ipv4”.
- name str
Name of the access control list.
- resource_
group_ strid Resource group ID.
- Dict[str, Any]
A mapping of tags to assign to the resource.
Supporting Types
AclEntryList
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.