Template name
ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage: Removes multiple elastic IP addresses (EIPs) from a common bandwidth package.
Template description
Removes multiple EIPs from a common bandwidth package.
Template type
Automation
Owner
Alibaba Cloud
Input parameters
|
Parameter name |
Description |
Type |
Required |
Default value |
Constraints |
|
eipAddresses |
The EIP addresses to remove. |
List |
Yes |
||
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
rateControl |
The concurrency settings for task execution. |
Json |
No |
{‘Mode’: ‘Concurrency’, ‘MaxErrors’: 0, ‘Concurrency’: 15} |
|
|
OOSAssumeRole |
The RAM role that OOS assumes. |
String |
No |
“” |
Output parameters
None
Access policy required to execute this template
{
"Version": "1",
"Statement": [
{
"Action": [
"vpc:DescribeEipAddresses",
"vpc:RemoveCommonBandwidthPackageIp"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
Details
For more information, see the ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage template on GitHub.
Template content
FormatVersion: OOS-2019-06-01
Description:
en: Bulky remove EIPs from common bandwidth package
name-en: ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage
categories:
- instance_manage
Parameters:
regionId:
Type: String
Label:
en: RegionId
AssociationProperty: RegionId
Default: '{{ ACS::RegionId }}'
eipAddresses:
Label:
en: EipAddresses
Type: List
rateControl:
Label:
en: RateControl
Type: Json
AssociationProperty: RateControl
Default:
Mode: Concurrency
MaxErrors: 0
Concurrency: 15
OOSAssumeRole:
Label:
en: OOSAssumeRole
Type: String
Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: removeCommonBandwidthPackageEip
Action: ACS::ECS::RemoveEipFromCommonBandwidthPackage
Description:
en: Removes Eip from CommonBandwidthPackage
Properties:
regionId: '{{ regionId }}'
eipAddress: '{{ ACS::TaskLoopItem }}'
Loop:
RateControl: '{{ rateControl }}'
Items: '{{ eipAddresses }}'
Metadata:
ALIYUN::OOS::Interface:
ParameterGroups:
- Parameters:
- regionId
- eipAddresses
Label:
default:
en: Select EIP Instances
- Parameters:
- rateControl
- OOSAssumeRole
Label:
default:
en: Control Options