Updated on 2023-08-11 GMT+08:00

ECS.NICS

Property Description

Table 1 Property description

Property

Required

Type

Description

subnetId

Yes

HuaweiCloud.VPC.Subnet.Id

Information about the NIC of the ECS

Value Description: Obtains the subnet ID from the VPC service or connects to the ECS.Subnet to automatically establish the dependency relationship.

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

Suggestion: 1. Use the get_input function to import this field. The value can be automatically selected on the AOS page. 2. Connect to the subnet object and use the get_reference function to obtain a new subnet ID. For details, see the ECS documentation at https://support.huaweicloud.com/eu/api-ecs/en-us_topic_0020212668.html.

allowedAddressPairs

No

ECS.AddressPair

Allow AddressPairs

Value Description: According to the actual situation

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 this parameter is specified, its value must be an unused IP address in the network segment of the subnet in this network.

Suggestion: For details, see the ECS documentation at https://support.huaweicloud.com/eu/api-ecs/en-us_topic_0020212668.html.

ipCheck

No

boolean

ip check

Value Description: According to the actual situation

Suggestion: None

portSecurityEnabled

No

boolean

Enable portSecurity

Value Description: According to the actual situation

Suggestion: None