All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::ApplyPatchBaseline

Last Updated:Jul 31, 2024

Description

Configures a patch baseline for an Elastic Compute Service (ECS) instance.

Syntax

Action: ACS::ECS::ApplyPatchBaseline
Properties:
 regionId: String
 instanceId: String
 action: String
 rebootIfNeed: Boolean
 timeout: Number

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ID of the ECS instance.

String

Yes

action

The operation to be performed on the patch baseline.

String

No

install

whetherCreateSnapshot

Specifies whether to create a snapshot.

Boolean

No

False

retentionDays

The retention period of the snapshot. Valid values: 1 to 65536. Unit: day.

String

No

""

rebootIfNeed

Specifies whether to restart the ECS instance if needed.

Boolean

No

False

timeout

The timeout period for running the command on the ECS instance.

Number

No

1800

Output

Output item

Description

Type

commandOutput

String

References

For more information, see ACS::ECS::ApplyPatchBaseline.yml at GitHub.