-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Github actions auto update oos templates
- Loading branch information
Showing
13 changed files
with
449 additions
and
253 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +0,0 @@ | ||
FormatVersion: OOS-2019-06-01 | ||
Description: | ||
en: Bulky set loadbalancer deletion protection | ||
zh-cn: 批量启用应用型负载均衡实例删除保护 | ||
name-en: ACS-ALB-BulkyEnableDeletionProtection | ||
name-zh-cn: 批量启用应用型负载均衡实例删除保护 | ||
categories: | ||
- security | ||
Parameters: | ||
regionId: | ||
Type: String | ||
Label: | ||
en: RegionId | ||
zh-cn: 地域ID | ||
AssociationProperty: RegionId | ||
Default: '{{ ACS::RegionId }}' | ||
loadBalancerIds: | ||
Label: | ||
en: LoadBalancerIds | ||
zh-cn: 应用型负载均衡实例ID列表 | ||
Type: List | ||
rateControl: | ||
Label: | ||
en: RateControl | ||
zh-cn: 任务执行的并发比率 | ||
Type: Json | ||
AssociationProperty: RateControl | ||
Default: | ||
Mode: Concurrency | ||
MaxErrors: 0 | ||
Concurrency: 10 | ||
OOSAssumeRole: | ||
Label: | ||
en: OOSAssumeRole | ||
zh-cn: OOS扮演的RAM角色 | ||
Type: String | ||
RamRole: '{{ OOSAssumeRole }}' | ||
Tasks: | ||
- Name: enableDeletionProtection | ||
Action: ACS::ExecuteAPI | ||
Description: | ||
en: Set loadBalancer deletion protection | ||
zh-cn: 应用负载均衡实例启用实例保护 | ||
Properties: | ||
Service: ALB | ||
API: EnableDeletionProtection | ||
Parameters: | ||
RegionId: '{{ regionId }}' | ||
ResourceId: '{{ ACS::TaskLoopItem }}' | ||
Loop: | ||
RateControl: '{{ rateControl }}' | ||
Items: '{{ loadBalancerIds }}' | ||
Metadata: | ||
ALIYUN::OOS::Interface: | ||
ParameterGroups: | ||
- Parameters: | ||
- regionId | ||
- loadBalancerIds | ||
Label: | ||
default: | ||
zh-cn: 选择实例 | ||
en: Select Loadbalancer | ||
- Parameters: | ||
- rateControl | ||
- OOSAssumeRole | ||
Label: | ||
default: | ||
zh-cn: 高级选项 | ||
en: Control Options | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.