Updated on 2022-02-22 GMT+08:00

ECS.NICS

Property Description

Table 1 Property description

Property

Mandatory

Type

Description

subnetId

Yes

Cloud.VPC.Subnet.Id

Information about the NIC of the to-be-created ECS

Value Description: Obtain the subnet ID from the VPC service or connect to the ECS.Subnet to automatically establish the dependency.

Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters.

Suggestion: 1. Use the get_input function to import the subnetId field. The value of this field can be automatically selected on the AOS console. 2. Connect to a subnet and use the get_reference function to obtain the subnet ID.

allowedAddressPairs

No

ECS.AddressPair

Address pairs

Value Description: Set this parameter based on the live network.

Suggestion: None

ipAddress

No

ip

IP address of the NIC of the to-be-created ECS

Value Description: Indicates an IP address. If this field is left blank or is set to an empty string, an IP address will be automatically assigned.

Value Constraint: IPv4 format. If this parameter is left blank or is an empty string, an unused IP address in the subnet of this network is automatically assigned as the IP address of the NIC. If an IP address is specified, the IP address must be in the network segment of the subnet corresponding to the network and is not in use.

ipCheck

No

boolean

Whether to perform IP check

Value Description: Set this parameter based on the live network.

Suggestion: None

portSecurityEnabled

No

boolean

Whether to enable portSecurity

Value Description: Set this parameter based on the live network.

Suggestion: None