Queries the private IP address of an ECS instance and renames the instance.
Description
Queries the private IP address of an ECS instance and renames the instance.
Syntax
Action: ACS::ECS::GetIpAddressAndModifyInstanceName
Properties:
regionId: String
instanceId: String
instanceNameFormat: String
Properties
|
Property |
Description |
Type |
Required |
Default value |
Constraints |
|
regionId |
Region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
ECS instance ID. |
String |
Yes |
||
|
instanceNameFormat |
Instance name format. |
String |
No |
Prefix{PrivateIpAddress}Suffix |
Output
None
References
View the action template on GitHub.
该文章对您有帮助吗?