All Products
Search
Document Center

CloudOps Orchestration Service:ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Last Updated:Jun 23, 2026

Nama templat

ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint: Memodifikasi titik waktu dalam kebijakan snapshot otomatis.

Execute now

Deskripsi templat

Memodifikasi titik waktu dalam kebijakan snapshot otomatis.

Jenis templat

Automation

Pemilik

Alibaba Cloud

Parameter input

Nama parameter

Deskripsi

Tipe

Wajib

Nilai default

Batasan

instanceIds

ID kebijakan snapshot otomatis yang akan dimodifikasi.

List

Yes

timePoints

Titik waktu pembuatan snapshot otomatis.

String

Yes

OOSAssumeRole

Peran RAM yang diasumsikan oleh OOS.

String

Yes

regionId

ID wilayah.

String

No

{{ ACS::RegionId }}

rateControl

Laju konkurensi untuk eksekusi task.

JSON

No

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

Parameter output

None

Kebijakan akses yang diperlukan

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

Detail

Detail untuk ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Konten templat

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