Tous les produits
Search
Centre de documentation

CloudOps Orchestration Service:ACS-VPC-ScheduleToUpgradeEipBandwidth

Dernière mise à jour :Aug 11, 2026

Planifie une augmentation temporaire de la bande passante pour une ou plusieurs adresses IP élastiques (EIP).

Nom du modèle

ACS-VPC-ScheduleToUpgradeEipBandwidth planifie une augmentation temporaire de la bande passante pour une EIP.

Exécuter maintenant

Description du modèle

Augmente temporairement la bande passante d'une adresse IP élastique (EIP) selon une planification définie.

Type de modèle

Automatisé

Propriétaire

Alibaba Cloud

Paramètres d'entrée

Paramètre

Description

Type

Obligatoire

Valeur par défaut

Limite

TimerTrigger

Configuration du déclencheur temporel.

Json

Oui

AllocationId

Identifiants des EIP à mettre à niveau.

List

Oui

Bandwidth

Bande passante de pointe cible. Unité : Mbps.

Number

Oui

RegionId

ID de la région.

String

Non

{{ ACS::RegionId }}

Duration

Durée de l'augmentation temporaire de la bande passante.

String

Non

PT1H

RateControl

Paramètres de concurrence pour l'exécution des tâches.

Json

Non

{'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10}

OOSAssumeRole

Rôle RAM endossé par OOS.

String

Non

""

Paramètres de sortie

Aucun

Politique d'autorisation requise

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

Détails

Pour plus d'informations, consultez le fichier ACS-VPC-ScheduleToUpgradeEipBandwidth sur GitHub.

Contenu du modèle

FormatVersion: OOS-2019-06-01
Description:
  en: Temporarily upgrades the bandwidth of an EIP on a schedule.
  name-en: ACS-VPC-ScheduleToUpgradeEipBandwidth
  categories:
    - time_trigger
Parameters:
  TimerTrigger:
    Type: Json
    Label:
      en: TimerTrigger
    AssociationProperty: ALIYUN::OOS::Component::TimerTrigger
    AssociationPropertyMetadata:
      MinuteInterval: 30
  RegionId:
    Type: String
    Label:
      en: The id of region
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  AllocationId:
    Type: List
    Label:
      en: TargetEIPInstance
  Bandwidth:
    Label:
      en: Bandwidth
    Description:
      en: The target peak bandwidth for the EIP. The EIP is billed on a pay-by-bandwidth basis. Valid values: 1 to 500. Unit: Mbps.
    Type: Number
    MinValue: 1
    MaxValue: 500
  Duration:
    Label:
      en: Duration
    Description:
      en: The minimum duration is 1 second.
    Type: String
    AssociationProperty: ALIYUN::OOS::Component::DurationExpression
    Default: 'PT1H'
  RateControl:
    Label:
      en: RateControl
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 10
  OOSAssumeRole:
    Label:
      en: The RAM role to be assumed by OOS
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: timerTrigger
    Action: ACS::TimerTrigger
    Description:
      en: Triggers the execution at a scheduled time.
    Properties:
      Type:
        Fn::Select:
          - type
          - '{{timerTrigger}}'
      Expression:
        Fn::Select:
          - expression
          - '{{timerTrigger}}'
      StartDate:
        Fn::Select:
          - startDate
          - '{{ timerTrigger }}'
      EndDate:
        Fn::Select:
          - endDate
          - '{{ timerTrigger }}'
      TimeZone:
        Fn::Select:
          - timeZone
          - '{{ timerTrigger }}'
    Outputs: {}
  - Name: GetEipInstance
    Description:
      en: Retrieves the EIP instance.
    Action: ACS::ExecuteAPI
    Properties:
      Service: VPC
      API: DescribeEipAddresses
      Parameters:
        RegionId: '{{ RegionId }}'
        AllocationId:
          Fn::Join:
            - ','
            - '{{ AllocationId }}'
      Headers: {}
      Body: {}
    Outputs: {}
  - Name: UpgradeEipAddressBandwidth
    Action: ACS::VPC::UpgradeEipBandwidth
    Description:
      en: Upgrades the bandwidth of the EIP instance.
    Properties:
      RegionId: '{{ RegionId }}'
      AllocationId: '{{ ACS::TaskLoopItem }}'
      Bandwidth: '{{ Bandwidth }}'
      Duration: '{{ Duration }}'
    Outputs: {}
    Loop:
      Items: '{{ GetEipInstance.EipAddresses.EipAddress[]?.AllocationId }}'
      RateControl: '{{ RateControl }}'
      Outputs: {}
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - TimerTrigger
        Label:
          default:
            en: Timer Trigger Configure
      - Parameters:
          - RegionId
          - AllocationId
          - Bandwidth
          - Duration
        Label:
          default:
            en: Select Instance
      - Parameters:
          - RateControl
          - OOSAssumeRole
        Label:
          default:
            en: Control Options