すべてのプロダクト
Search
ドキュメントセンター

CloudOps Orchestration Service:ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint

最終更新日:Jun 23, 2026

テンプレート名

ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint:自動スナップショットポリシーの作成時点を変更します。

[今すぐ実行]

テンプレートの説明

自動スナップショットポリシーの作成時点を変更します。

テンプレートタイプ

Automation

所有者

Alibaba Cloud

入力パラメーター

パラメーター名

説明

タイプ

必須

デフォルト値

制約

instanceIds

変更する自動スナップショットポリシーの複数の ID。

List

はい

timePoints

自動スナップショットの作成時点。

String

はい

OOSAssumeRole

OOS が引き受けるロール。

String

はい

regionId

リージョン ID。

String

いいえ

{{ ACS::RegionId }}

rateControl

タスク実行の同時実行数。

JSON

いいえ

{'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10}

出力パラメーター

なし

必要なアクセスポリシー

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

詳細

ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint の詳細

テンプレートの内容:

FormatVersion: OOS-2019-06-01
Description:
  en: Modifies the creation time points of an automatic snapshot policy.
  zh-cn: Modifies the creation time points of an automatic snapshot policy.
  ja: 自動スナップショットポリシーの作成時点を変更します。
  name-en: ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint
  name-zh-cn: Modifies the creation time points of an automatic snapshot policy.
  name-ja: ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint
  categories:
    - security
Parameters:
  regionId:
    Label:
      en: Region ID
      zh-cn: Region ID
      ja: リージョン 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
      ja: 自動スナップショットポリシーの ID
    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.
      ja: 時刻は UTC+8 である必要があります。単位は時間です。有効値は 0~23 で、00:00:00 から 23:00:00 までの 24 の時点に対応します。たとえば、値 1 は 01:00:00 を示します。
    Label:
      en: The creation time points for automatic snapshots
      zh-cn: The creation time points for automatic snapshots.
      ja: 自動スナップショットの作成時点
    Type: String

  rateControl:
    Label:
      en: Rate Control
      zh-cn: The concurrency rate for task execution
      ja: レートコントロール
    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
      ja: OOS が引き受けるロール
    Type: String
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: ModifyAutoSnapshotPolicyEx
    Action: ACS::ExecuteAPI
    Description:
      en: Modifies the creation time points of an ECS automatic snapshot policy.
      zh-cn: Modifies the creation time points of an automatic snapshot.
      ja: ECS 自動スナップショットポリシーの作成時点を変更します。
    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
            ja: 時点の設定
      - Parameters:
          - regionId
          - instanceIds
        Label:
          default:
            zh-cn: Select automatic snapshot policies
            en: Select policies
            ja: ポリシーの選択
      - Parameters:
          - rateControl
          - OOSAssumeRole
        Label:
          default:
            zh-cn: Advanced options
            en: Advanced options
            ja: 詳細設定