全部產品
Search
文件中心

Resource Orchestration Service:Hologres資源

更新時間:Mar 17, 2026

AssociationProperty取值

說明

對應的AssociationPropertyMetadata

ALIYUN::Hologres::Instance::InstanceId

查詢Hologres執行個體ID。

  • RegionId:地區ID(預設為資源棧所屬地區)。

  • cmsInstanceType:CloudMonitor執行個體類型。取值:

    • standard

    • follower

    • mc-acceleration

    • warehouse

    • high-memory

範例程式碼

JSON樣本:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RegionId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::RegionId"
    },
    "HologresInstanceId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::Hologres::Instance::InstanceId",
      "AssociationPropertyMetadata": {
        "RegionId": "${RegionId}",
        "cmsInstanceType": "standard"
      }
    }
  }
}

YAML樣本:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RegionId:
    Type: String
    AssociationProperty: ALIYUN::ECS::RegionId
  HologresInstanceId:
    Type: String
    AssociationProperty: ALIYUN::Hologres::Instance::InstanceId
    AssociationPropertyMetadata:
      RegionId: ${RegionId}
      cmsInstanceType: standard