All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::GetIpAddressAndModifyInstanceName

Last Updated:Jun 12, 2024

Description

Queries the private IP address of an Elastic Compute Service (ECS) instance and modifies the name of the ECS instance.

Syntax

Action: ACS::ECS::GetIpAddressAndModifyInstanceName
Properties:
 regionId: String
 instanceId: String
 instanceNameFormat: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ECS instance ID.

String

Yes

instanceNameFormat

The format of the name of the ECS instance.

String

No

Prefix{PrivateIpAddress}Suffix

Output

None

References

For more information, see ACS::ECS::GetIpAddressAndModifyInstanceName at GitHub.