All Products
Search
Document Center

CloudOps Orchestration Service:ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Last Updated:Jun 22, 2026

Template name

ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint: Modifies the creation time points of an automatic snapshot policy.

Execute now

Template description

Modifies the creation time points of an automatic snapshot policy.

Template type

Automation

Owner

Alibaba Cloud

Input parameters

Parameter name

Description

Type

Required

Default value

Constraints

instanceIds

The IDs of the automatic snapshot policies to modify.

List

Yes

timePoints

The creation time points for automatic snapshots.

String

Yes

OOSAssumeRole

The RAM role that OOS assumes.

String

Yes

regionId

The region ID.

String

No

{{ ACS::RegionId }}

rateControl

The concurrency rate for task execution.

JSON

No

{‘Mode’: ‘Concurrency’, ‘MaxErrors’: 0, ‘Concurrency’: 10}

Output parameters

None

Required access policy

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:ModifyAutoSnapshotPolicyEx"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

Details

Details for ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Template content

FormatVersion: OOS-2019-06-01
Description:
  en: Modifies the time points of an automatic snapshot policy.
  zh-cn: Modifies the creation time points of an automatic snapshot policy.
  name-en: ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint
  name-zh-cn: Modifies the creation time points of an automatic snapshot policy.
  categories:
    - security
Parameters:
  regionId:
    Label:
      en: Region ID
      zh-cn: Region ID
    Type: String
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  instanceIds:
    Label:
      en: The IDs of the automatic snapshot policies
      zh-cn: A list of target automatic snapshot policy IDs
    Type: List
  timePoints:
    Description:
      en: The time must be in UTC+8. Unit hours. Valid values are 0 to 23, which correspond to the 24 points in time on the hour from 00:00:00 to 23:00:00. For example, a value of 1 indicates 01:00:00.
      zh-cn: The time is in UTC+8. The unit is hours. The value can be 0 to 23, which represents the 24 time points on the hour from 00:00 to 23:00. For example, 1 indicates 01:00.
    Label:
      en: The creation time points for automatic snapshots
      zh-cn: The creation time points for automatic snapshots.
    Type: String

  rateControl:
    Label:
      en: Rate Control
      zh-cn: The concurrency rate for task execution
    Type: JSON
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 10
  OOSAssumeRole:
    Label:
      en: OOS Assume Role
      zh-cn: The RAM role that OOS assumes
    Type: String
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: ModifyAutoSnapshotPolicyEx
    Action: ACS::ExecuteAPI
    Description:
      en: Modifies the time points of an ECS automatic snapshot policy.
      zh-cn: Modifies the creation time points of an automatic snapshot.
    Properties:
      Service: ECS
      API: ModifyAutoSnapshotPolicyEx
      Parameters:
        RegionId: '{{ RegionId }}'
        autoSnapshotPolicyId: '{{ ACS::TaskLoopItem }}'
        timePoints: '{{ timePoints }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ instanceIds }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - timePoints
        Label:
          default:
            zh-cn: Creation time points for automatic snapshots
            en: Configure time points
      - Parameters:
          - regionId
          - instanceIds
        Label:
          default:
            zh-cn: Select automatic snapshot policies
            en: Select policies
      - Parameters:
          - rateControl
          - OOSAssumeRole
        Label:
          default:
            zh-cn: Advanced options
            en: Advanced options