Template name
ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage
Template description
Disassociates multiple elastic IP addresses (EIPs) from an Internet Shared Bandwidth instance at a time.
Template type
Automated
Owner
Alibaba Cloud
Input parameters
Parameter | Description | Type | Required | Default value | Limit |
eipAddresses | The EIPs to be disassociated from the Internet Shared Bandwidth instance. | List | Yes | ||
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
rateControl | The rate control settings. | Json | No | {'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 15} | |
OOSAssumeRole | The Resource Access Management (RAM) role that is assumed by CloudOps Orchestration Service (OOS). | String | No | "" |
Output parameters
None
Permission policy that is required to execute the template
{
"Version": "1",
"Statement": [
{
"Action": [
"vpc:DescribeEipAddresses",
"vpc:RemoveCommonBandwidthPackageIp"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
References
For more information, see ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage.yml at GitHub.
Template content
FormatVersion: OOS-2019-06-01
Description:
en: Bulky remove EIPs from common bandwidth package
zh-cn: the description in Chinese
name-en: ACS-ECS-BulkyRemoveEipsFromCommonBandwidthPackage
name-zh-cn: the description in Chinese
categories:
- instance_manage
Parameters:
regionId:
Type: String
Label:
en: RegionId
zh-cn: the description in Chinese
AssociationProperty: RegionId
Default: '{{ ACS::RegionId }}'
eipAddresses:
Label:
en: EipAddresses
zh-cn: the description in Chinese
Type: List
rateControl:
Label:
en: RateControl
zh-cn: the description in Chinese
Type: Json
AssociationProperty: RateControl
Default:
Mode: Concurrency
MaxErrors: 0
Concurrency: 15
OOSAssumeRole:
Label:
en: OOSAssumeRole
zh-cn: the description in Chinese
Type: String
Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: removeCommonBandwidthPackageEip
Action: ACS::ECS::RemoveEipFromCommonBandwidthPackage
Description:
en: Removes Eip from CommonBandwidthPackage
zh-cn: the description in Chinese
Properties:
regionId: '{{ regionId }}'
eipAddress: '{{ ACS::TaskLoopItem }}'
Loop:
RateControl: '{{ rateControl }}'
Items: '{{ eipAddresses }}'
Metadata:
ALIYUN::OOS::Interface:
ParameterGroups:
- Parameters:
- regionId
- eipAddresses
Label:
default:
zh-cn: the description in Chinese
en: Select EIP Instances
- Parameters:
- rateControl
- OOSAssumeRole
Label:
default:
zh-cn: the description in Chinese
en: Control Options