閱讀59 返回首頁    go 敦煌網


ALIYUN::ESS::ScalingGroupEnable__資源列表_資源編排-阿裏雲

ALIYUN::ESS::ScalingGroupEnable 類型可用於啟用伸縮組。

語法

{
   "Type" : "ALIYUN::ESS::ScalingGroupEnable",
   "Properties" : {
         "ScalingGroupId" : Integer,
      "ScalingConfigurationId" : Integer,
      "InstanceIds" : String
   }
}

屬性

ScalingGroupId

伸縮組的ID。

ScalingConfigurationId

需要在伸縮組內激活的伸縮配置的ID。

InstanceIds

啟用後需要加入伸縮組的ECS實例的ID。最多可以輸入20個。

返回值

Fn::GetAtt

  • LifecycleState 伸縮組的狀態。

  • ScalingInstances 伸縮組自動創建的實例。

示例

{
  "ROSTemplateFormatVersion" : "2015-09-01",
  "Resources" : {
    "ScalingGroupEnable": {
      "Type": "ALIYUN::ESS::ScalingGroupEnable",
      "Properties": {
        "ScalingGroupId": "r0HUqbJ411cc2eQw8bUwyXI",
        "ScalingConfigurationId": "bJlLfdexm77LdsyptmelVWdS",
        "InstanceIds": "",
      }
    }
  },
  "Outputs": {
    "ScalingGroupEnable": {
         "Value" : {"get_attr": ["ScalingGroupEnable", "LifecycleState"]}
    }
  }
}

最後更新:2016-11-23 16:04:02

  上一篇:go ALIYUN::ESS::ScalingGroup__資源列表_資源編排-阿裏雲
  下一篇:go ALIYUN::KVSTORE::Instance__資源列表_資源編排-阿裏雲