Skip to content

NetworkAclsProps

Properties for defining a NetworkAcls.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-networkacls

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new NetworkAclsProps {
    object NetworkAclId = null,
    object NetworkAclName = null,
    object RefreshOptions = null,
    object ResourceId = null,
    object ResourceType = null,
    object VpcId = null
};

Properties

Name Type Description
NetworkAclId object Property networkAclId: The ID of the network ACL.
NetworkAclName object Property networkAclName: The name of the network ACL.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceId object Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set.
ResourceType object Property resourceType: The type of the associated instance.
VpcId object Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.

NetworkAclIdOptional

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

Property networkAclId: The ID of the network ACL.


NetworkAclNameOptional

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

Property networkAclName: The name of the network ACL.

The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.


RefreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceIdOptional

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

Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set.


ResourceTypeOptional

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

Property resourceType: The type of the associated instance.

Set the value to VSwitch. This parameter is valid only if ResourceType and ResourceId are both set.


VpcIdOptional

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

Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.