NetworkProps
Properties for defining a Network
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-network
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkens"
&alicloudroscdkens.NetworkProps {
CidrBlock: interface{},
EnsRegionId: interface{},
Description: interface{},
NetworkName: interface{},
}
Properties
Name | Type | Description |
---|---|---|
CidrBlock |
interface{} |
Property cidrBlock: The CIDR block of the network. |
EnsRegionId |
interface{} |
Property ensRegionId: The ID of the edge node. |
Description |
interface{} |
Property description: The description of the network. |
NetworkName |
interface{} |
Property networkName: The name of the network. |
CidrBlock
Required
CidrBlock interface{}
- Type: interface{}
Property cidrBlock: The CIDR block of the network.
You can use one of the following CIDR blocks or their subnets as the CIDR block of the network: 10.0.0.0/8 (default) 172.16.0.0/12 192.168.0.0/16
EnsRegionId
Required
EnsRegionId interface{}
- Type: interface{}
Property ensRegionId: The ID of the edge node.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the network.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
NetworkName
Optional
NetworkName interface{}
- Type: interface{}
Property networkName: The name of the network.
The name must meet the following requirements: The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).