Todos los productos
Search
Centro de documentos

CloudOps Orchestration Service:ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Última actualización: Sep 05, 2026

Nombre de la plantilla

ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint: modifica los horarios de creación de una directiva de instantáneas automáticas.

Ejecutar ahora

Descripción de la plantilla

Modifica los horarios de creación de una directiva de instantáneas automáticas.

Tipo de plantilla

Automatización

Propietario

Alibaba Cloud

Parámetros de entrada

Nombre del parámetro

Descripción

Tipo

Obligatorio

Valor predeterminado

Restricciones

instanceIds

ID de las directivas de instantáneas automáticas por modificar.

List

Sí

timePoints

Horarios de creación de las instantáneas automáticas.

String

Sí

OOSAssumeRole

Rol de RAM que asume OOS.

String

Sí

regionId

ID de la región.

String

No

{{ ACS::RegionId }}

rateControl

Tasa de concurrencia para la ejecución de tareas.

JSON

No

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

Parámetros de salida

Ninguna

Directiva de acceso obligatoria

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

Detalles

Detalles de ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

Contenido de la plantilla

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