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

ACS-ECS-ScheduleToCollectInventoryData

模板名稱

ACS-ECS-ScheduleToCollectInventoryData 定時(shí)收集inventory數(shù)據(jù)

立即執(zhí)行

模板描述

定時(shí)收集inventory數(shù)據(jù)

模板類型

自動(dòng)化

所有者

Alibaba Cloud

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

參數(shù)名稱

描述

類型

是否必填

默認(rèn)值

約束

linuxOptions

Linux實(shí)例中收集inventory的選項(xiàng)字符串

String

windowsOptions

Windows實(shí)例中收集inventory的選項(xiàng)字符串

String

targets

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

Json

regionId

實(shí)例所在地域ID

String

{{ ACS::RegionId }}

cron

Cron表達(dá)式

String

0 15/30 * ? * *

rateControl

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

Json

{‘Mode’: ‘Concurrency’, ‘MaxErrors’: ‘100%’, ‘Concurrency’: 20}

OOSAssumeRole

OOS扮演的RAM角色

String

OOSServiceRole

輸出參數(shù)

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

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:DescribeInstances",
                "ecs:DescribeInvocationResults",
                "ecs:DescribeInvocations",
                "ecs:RunCommand"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

詳情

ACS-ECS-ScheduleToCollectInventoryData詳情

模板內(nèi)容

FormatVersion: OOS-2019-06-01
Description:
  en: Collect inventory data periodically
  zh-cn: 定時(shí)收集inventory數(shù)據(jù)
  name-en: ACS-ECS-ScheduleToCollectInventoryData
  name-zh-cn: 定時(shí)收集inventory數(shù)據(jù)
  categories:
    - time_trigger
Parameters:
  regionId:
    Type: String
    Label:
      en: RegionId
      zh-cn: 實(shí)例所在地域ID
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  linuxOptions:
    Label:
      en: LinuxOptions
      zh-cn: Linux實(shí)例中收集inventory的選項(xiàng)字符串
    Type: String
  windowsOptions:
    Label:
      en: WindowsOptions
      zh-cn: Windows實(shí)例中收集inventory的選項(xiàng)字符串
    Type: String
  cron:
    Description:
      en: 'Refer them here: http://m.bestwisewords.com/document_detail/169784.html'
      zh-cn: '詳情參考:http://m.bestwisewords.com/document_detail/169784.html'
    Label:
      en: CronExpression
      zh-cn: Cron表達(dá)式
    Type: String
    AssociationProperty: Cron
    Default: 0 15/30 * ? * *
  targets:
    Type: Json
    Label:
      en: TargetInstance
      zh-cn: 目標(biāo)實(shí)例
    AssociationProperty: Targets
    AssociationPropertyMetadata:
      ResourceType: 'ALIYUN::ECS::Instance'
      RegionId: regionId
  rateControl:
    Label:
      en: RateControl
      zh-cn: 任務(wù)執(zhí)行的并發(fā)比率
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 100%
      Concurrency: 20
  OOSAssumeRole:
    Label:
      en: OOSAssumeRole
      zh-cn: OOS扮演的RAM角色
    Type: String
    Default: OOSServiceRole
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: timerTrigger
    Action: 'ACS::TimerTrigger'
    Description:
      en: Triggers a task as scheduled by specifying Cron expression
      zh-cn: 通過指定Cron表達(dá)式按計(jì)劃觸發(fā)任務(wù)
    Properties:
      Type: cron
      Expression: '{{ cron }}'
      EndDate: '2099-01-01T00:00:00Z'
      TimeZone: UTC
  - Name: getInstance
    Description:
      en: Views the ECS instances
      zh-cn: 獲取ECS實(shí)例
    Action: 'ACS::SelectTargets'
    Properties:
      ResourceType: 'ALIYUN::ECS::Instance'
      RegionId: '{{ regionId }}'
      Filters:
        - '{{ targets }}'
    Outputs:
      instanceIds:
        Type: List
        ValueSelector: 'Instances.Instance[].InstanceId'
  - Name: putInventory
    Action: 'ACS::ECS::PutInventory'
    Description:
      en: Collect inventory data
      zh-cn: 收集inventory數(shù)據(jù)
    Properties:
      regionId: '{{ regionId }}'
      instanceId: '{{ ACS::TaskLoopItem }}'
      linuxOptions: '{{ linuxOptions }}'
      windowsOptions: '{{ windowsOptions }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ getInstance.instanceIds }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - cron
        Label:
          default:
            zh-cn: 定時(shí)設(shè)置
            en: Timer Trigger Configure
      - Parameters:
          - linuxOptions
          - windowsOptions
        Label:
          default:
            zh-cn: 設(shè)置參數(shù)
            en: Configure Parameters
      - Parameters:
          - regionId
          - targets
        Label:
          default:
            zh-cn: 選擇實(shí)例
            en: Select Instances
      - Parameters:
          - rateControl
          - OOSAssumeRole
        Label:
          default:
            zh-cn: 高級選項(xiàng)
            en: Control Options