Todos os produtos
Search
Central de documentação

CloudOps Orchestration Service:ACS-VPC-ScheduleToUpgradeEipBandwidth

Última atualização: Jun 28, 2026

Agenda uma atualização temporária de largura de banda para um ou mais endereços IP elásticos (EIPs).

Nome do modelo

ACS-VPC-ScheduleToUpgradeEipBandwidth Agenda uma atualização temporária de largura de banda para um EIP

Executar agora

Descrição do modelo

Atualiza temporariamente a largura de banda de um endereço IP elástico (EIP) conforme agendamento.

Tipo de modelo

Automatizado

Proprietário

Alibaba Cloud

Parâmetros de entrada

Parâmetro

Descrição

Tipo

Obrigatório

Valor padrão

Limite

TimerTrigger

Configuração do acionador por temporizador.

Json

Sim

AllocationId

IDs dos EIPs a serem atualizados.

List

Sim

Bandwidth

Largura de banda máxima desejada. Unidade: Mbps.

Number

Sim

RegionId

ID da região.

String

Não

{{ ACS::RegionId }}

Duration

Duração da atualização temporária de largura de banda.

String

Não

PT1H

RateControl

Definições de concorrência para execução da tarefa.

Json

Não

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

OOSAssumeRole

Função RAM assumida pelo OOS.

String

Não

""

Parâmetros de saída

Nenhum

Política de permissões necessária

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

Detalhes

Para mais informações, consulte ACS-VPC-ScheduleToUpgradeEipBandwidth no GitHub.

Conteúdo do modelo

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

Instruções

  1. Leia o conteúdo em inglês para compreender O QUE precisa ser comunicado

  2. Escreva o português brasileiro DO ZERO — esqueça a estrutura das frases em inglês

  3. Preserve toda a formatação markdown, blocos de código, links e imagens exatamente como estão

  4. Tags xref (<a data-tag="xref" ...>texto</a>) — preserve a tag INTEIRA com todos os atributos na ordem e caixa originais, traduza APENAS o texto visível entre > e

  5. Aplique todas as regras específicas do idioma rigorosamente

  6. Aplique as regras de stopwords com tolerância zero

  7. Use o modo imperativo em passos numerados e listas de procedimentos

  8. Garanta consistência terminológica — mesmo termo = mesma tradução em todo o documento

  9. Varie os inícios de frase em listas/tabelas — nenhum início repetido 3+ vezes

  10. Retorne APENAS o documento markdown em português brasileiro, sem explicações