Nom du modèle
ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint : modifie les heures de création d'une politique de snapshot automatique.
Description du modèle
Modifie les heures de création d'une politique de snapshot automatique.
Type de modèle
Automatisation
Propriétaire
Alibaba Cloud
Paramètres d'entrée
|
Nom du paramètre |
Description |
Type |
Obligatoire |
Valeur par défaut |
Contraintes |
|
instanceIds |
Les ID des politiques de snapshot automatique à modifier. |
List |
Oui |
||
|
timePoints |
Les heures de création des snapshots automatiques. |
String |
Oui |
||
|
OOSAssumeRole |
Le rôle RAM endossé par OOS. |
String |
Oui |
||
|
regionId |
L'ID de la région. |
String |
Non |
{{ ACS::RegionId }} |
|
|
rateControl |
Le taux de concurrence pour l'exécution des tâches. |
JSON |
Non |
{‘Mode’: ‘Concurrency’, ‘MaxErrors’: 0, ‘Concurrency’: 10} |
Paramètres de sortie
Aucun
Politique d'accès requise
{
"Version": "1",
"Statement": [
{
"Action": [
"ecs:ModifyAutoSnapshotPolicyEx"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
Détails
Détails pour ACS-ECS-BulkyModifyAutoSnapshotPolicyTimePoint
Contenu du modèle
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