すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ECI リソース

最終更新日:Mar 18, 2026

AssociationProperty の値

説明

対応する AssociationPropertyMetadata

ALIYUN::ECI::ContainerGroup::ContainerGroupId

Elastic Container Instance (ECI) コンテナグループに関する情報を照会します。

  • RegionId:リージョン ID。デフォルト:スタックが存在するリージョン。

  • VSwitchId:インスタンスをホストする vSwitch の ID。

  • ZoneId:インスタンスが存在するゾーン。

  • SecurityGroupId:インスタンスをホストするセキュリティグループの ID。

  • ComputeCategory:コンピューティング能力カテゴリ。

  • Status:インスタンスステータス。有効な値:

    • Pending:起動中。

    • Running:実行中。

    • 操作は成功しました。

    • Failed:実行が正常に完了しませんでした。

    • Scheduling:作成中。

    • ScheduleFailed:作成に失敗しました。

    • Restarting:再起動中。

    • Updating:更新中。

    • Terminating:終了中。

    • Expired:期限切れです。

コード例

JSON の例:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RegionId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::RegionId"
    },
    "ECIContainerGroupId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECI::ContainerGroup::ContainerGroupId",
      "AssociationPropertyMetadata": {
        "RegionId": "${RegionId}",
        "Status": "Running"
      }
    }
  }
}

YAML の例:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RegionId:
    Type: String
    AssociationProperty: ALIYUN::ECS::RegionId
  ECIContainerGroupId:
    Type: String
    AssociationProperty: ALIYUN::ECI::ContainerGroup::ContainerGroupId
    AssociationPropertyMetadata:
      RegionId: ${RegionId}
      Status: Running