All Products
Search
Document Center

CloudOps Orchestration Service:ACS-ECS-BulkyAddEipsToCommonBandwidthPackage

Last Updated:Jun 22, 2026

Template name

ACS-ECS-BulkyAddEipsToCommonBandwidthPackage: Adds multiple elastic IP addresses (EIPs) to an Internet Shared Bandwidth instance in a batch.

Execute now

Template description

Adds multiple EIPs to an Internet Shared Bandwidth instance in a batch.

Template type

Automation

Owner

Alibaba Cloud

Input parameters

Parameter name

Description

Type

Required

Default value

Constraints

eipAddresses

The EIP addresses to add.

List

Yes

bandwidthPackageId

The ID of the Internet Shared Bandwidth instance.

String

Yes

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 policies required to execute this template

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "vpc:AddCommonBandwidthPackageIp",
                "vpc:DescribeEipAddresses",
                "vpc:RemoveCommonBandwidthPackageIp"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

Details

ACS-ECS-BulkyAddEipsToCommonBandwidthPackage details

Template content

FormatVersion: OOS-2019-06-01
Description:
  en: Adds multiple EIPs to an Internet Shared Bandwidth instance in a batch.
  name-en: ACS-ECS-BulkyAddEipsToCommonBandwidthPackage
  categories:
    - instance_manage
Parameters:
  eipAddresses:
    Label:
      en: EIPs
    Type: List
  bandwidthPackageId:
    Label:
      en: Internet Shared Bandwidth ID
    Type: String
  rateControl:
    Label:
      en: Rate Control
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 15
  OOSAssumeRole:
    Label:
      en: OOS Assume Role
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: addCommonBandwidthPackageIp
    Action: ACS::ECS::AddEipToCommonBandwidthPackage
    Description:
      en: Adds an EIP to the Internet Shared Bandwidth instance.
    Properties:
      bandwidthPackageId: '{{ bandwidthPackageId }}'
      eipAddress: '{{ ACS::TaskLoopItem }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ eipAddresses }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - eipAddresses
          - bandwidthPackageId
        Label:
          default:
            en: Configure Parameters
      - Parameters:
          - rateControl
          - OOSAssumeRole
        Label:
          default:
            en: Control Options