All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::UpdateLaunchTemplate

Last Updated:Jul 31, 2024

Description

Updates a launch template.

Syntax

Action: ACS::ECS::UpdateLaunchTemplate
Properties:
 regionId: String
 imageId: String
 launchTemplateName: String
 deleteSourceTemplateVersion: Boolean
 systemDiskSize: String
 systemDiskPerformanceLevel: String
 systemDiskDeleteWithInstance: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

imageId

The ID of the new image for the launch template to be updated.

String

Yes

launchTemplateName

The name of the launch template to be updated.

String

Yes

deleteSourceTemplateVersion

Specifies whether to delete the original launch template.

Boolean

No

True

systemDiskSize

The size of the system disk for the launch template to be updated.

String

No

""

systemDiskPerformanceLevel

The performance level of the system disk.

String

No

""

systemDiskDeleteWithInstance

Specifies whether to release the system disk if the instance is released.

String

No

""

Output

Output item

Description

Type

defaultVersionNumber

String

References

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