Updated on 2023-12-13 GMT+08:00

ECS.PublicIP

Property Description

Table 1 Property description

Property

Required

Type

Description

eip

No

ECS.EIP

Configuration parameter for creating an elastic IP address that will be automatically assigned to the ECS

Value Description: Indicates the ECS.EIP type.

Value Constraint: The value must meet the ECS.EIP type.

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

id

No

string

ID of the existing elastic IP address assigned to the to-be-created ECS

Value Description: Must be in the UUID format. Only elastic IP addresses in the DOWN state can be assigned.

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

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

You can configure either but not both of id and eip in the publicip field.