Skip to content

AccessControlProps

Properties for defining a AccessControl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-accesscontrol

Initializer

using AlibabaCloud.SDK.ROS.CDK.Apigateway;
new AccessControlProps {
    object AccessControlListName,
    object AclEntrys = null,
    object AddressIpVersion = null
};

Properties

Name Type Description
AccessControlListName object Property accessControlListName: The name of the ACL.
AclEntrys object Property aclEntrys: Information list of access control policies.
AddressIpVersion object Property addressIpVersion: The IP version.

AccessControlListNameRequired

public object AccessControlListName { get; set; }
  • Type: object

Property accessControlListName: The name of the ACL.

The name must be 1 to 30 characters in length, and can contain letters, digits, periods (.), hyphens (-), forward slashes (/), and underscores (_). The name must be unique within the region.


AclEntrysOptional

public object AclEntrys { get; set; }
  • Type: object

Property aclEntrys: Information list of access control policies.

You can add at most 50 IP addresses or CIDR blocks to an ACL in each call. If the IP address or CIDR block that you want to add to an ACL already exists, the IP address or CIDR block is not added. The entries that you add must be CIDR blocks.


AddressIpVersionOptional

public object AddressIpVersion { get; set; }
  • Type: object

Property addressIpVersion: The IP version.

Valid values: ipv4 and ipv6.