Skip to content

NetworkAclsProps

Properties for defining a NetworkAcls.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.NetworkAclsProps {
    NetworkAclId: interface{},
    NetworkAclName: interface{},
    RefreshOptions: interface{},
    ResourceId: interface{},
    ResourceType: interface{},
    VpcId: interface{},
}

Properties

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

NetworkAclIdOptional

NetworkAclId interface{}
  • Type: interface{}

Property networkAclId: The ID of the network ACL.


NetworkAclNameOptional

NetworkAclName interface{}
  • Type: interface{}

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

RefreshOptions interface{}
  • Type: interface{}

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

ResourceId interface{}
  • Type: interface{}

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


ResourceTypeOptional

ResourceType interface{}
  • Type: interface{}

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

VpcId interface{}
  • Type: interface{}

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