全部產品
Search
文件中心

Resource Orchestration Service:Elasticsearch資源

更新時間:Mar 17, 2026

AssociationProperty取值

說明

對應的AssociationPropertyMetadata

ALIYUN::Elasticsearch::Instance::InstanceType

Elasticsearch執行個體規格。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "Elasticsearch": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::Elasticsearch::Instance::InstanceType"
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      Elasticsearch:
        Type: String
        AssociationProperty: ALIYUN::Elasticsearch::Instance::InstanceType
  • 樣本說明

    樣本中通過指定參數Elasticsearch的AssociationProperty屬性為ALIYUN::Elasticsearch::Instance::InstanceType,擷取Elasticsearch 執行個體規格。