日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ACS-VPC-ScheduleToUpgradeEipBandwidth

模板名稱

ACS-VPC-ScheduleToUpgradeEipBandwidth 定時升級EIP實(shí)例臨時帶寬

立即執(zhí)行

模板描述

定時升級EIP實(shí)例臨時帶寬

模板類型

自動化

所有者

Alibaba Cloud

輸入?yún)?shù)

參數(shù)名稱

描述

類型

是否必填

默認(rèn)值

約束

TimerTrigger

定時類型

Json

AllocationId

目標(biāo)EIP實(shí)例

List

Bandwidth

帶寬

Number

RegionId

地域ID

String

{{ ACS::RegionId }}

DurationHour

帶寬升級持續(xù)時間

Number

1

RateControl

任務(wù)執(zhí)行的并發(fā)比率

Json

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

OOSAssumeRole

OOS扮演的RAM角色

String

""

輸出參數(shù)

執(zhí)行此模板需要的權(quán)限策略

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

詳情

ACS-VPC-ScheduleToUpgradeEipBandwidth詳情

模板內(nèi)容

FormatVersion: OOS-2019-06-01
Description:
  en: Schedule to upgrade EIP bandwidth
  zh-cn: 定時升級EIP實(shí)例臨時帶寬
  name-en: ACS-VPC-ScheduleToUpgradeEipBandwidth
  name-zh-cn: 定時升級EIP實(shí)例臨時帶寬
  categories:
    - time_trigger
Parameters:
  TimerTrigger:
    Type: Json
    Label:
      en: TimerTrigger
      zh-cn: 定時類型
    AssociationProperty: ALIYUN::OOS::Component::TimerTrigger
    AssociationPropertyMetadata:
      MinuteInterval: 30
  RegionId:
    Type: String
    Label:
      en: The id of region
      zh-cn: 地域ID
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  AllocationId:
    Type: List
    Label:
      en: TargetEIPInstance
      zh-cn: 目標(biāo)EIP實(shí)例
  Bandwidth:
    Label:
      en: Bandwidth
      zh-cn: 帶寬
    Description:
      en: The peak bandwidth of EIP needs to be modified. The value is:1~500. It is billed based on fixed bandwidth, in Mbps.
      zh-cn: 需要修改 EIP 的帶寬峰值,取值:1~500,按固定帶寬計(jì)費(fèi),單位為 Mbps。
    Type: Number
    MinValue: 1
    MaxValue: 500
  DurationHour:
    Label:
      en: DurationHour
      zh-cn: 帶寬升級持續(xù)時間
    Description:
      zh-cn: 單位:小時。持續(xù)時間最少1小時
      en: Unit:Hour. The bandwidth upgrade should last at least 1 hours
    Type: Number
    MinValue: 1
    MaxValue: 24
    Default: 1
  RateControl:
    Label:
      en: RateControl
      zh-cn: 任務(wù)執(zhí)行的并發(fā)比率
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 10
  OOSAssumeRole:
    Label:
      en: The RAM role to be assumed by OOS
      zh-cn: OOS扮演的RAM角色
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: GetEipInstance
  Description:
    en: Get the EIP instance
    zh-cn: 獲取EIP實(shí)例
  Action: ACS::ExecuteAPI
  Properties:
    Service: VPC
    API: DescribeEipAddresses
    Parameters:
      RegionId: '{{ RegionId }}'
      AllocationId:
        Fn::Join:
          - ','
          - '{{ AllocationId }}'
  Outputs:
    AllocationIds:
      Type: List
      ValueSelector: .EipAddresses.EipAddress[].AllocationId
- Name: UpgradeEipAddressBandwidth
  Action: ACS::VPC::UpgradeEipBandwidth
  Description:
    en: Upgrade EIP instance bandwidth
    zh-cn: 升級EIP實(shí)例的帶寬
  Properties:
    RegionId: '{{ RegionId }}'
    AllocationId: '{{ ACS::TaskLoopItem }}'
    Bandwidth: '{{ Bandwidth }}'
    DurationHour: '{{ DurationHour }}'
  Loop:
    RateControl: '{{ RateControl }}'
    Items: '{{ GetEipInstance.AllocationIds }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - TimerTrigger
        Label:
          default:
            zh-cn: 定時設(shè)置
            en: Timer Trigger Configure
      - Parameters:
          - RegionId
          - AllocationId
          - Bandwidth
          - DurationHour
        Label:
          default:
            zh-cn: 選擇實(shí)例
            en: Select ECS Instances
      - Parameters:
          - RateControl
          - OOSAssumeRole
        Label:
          default:
            zh-cn: 高級選項(xiàng)
            en: Control Options