All Products
Search
Document Center

Resource Orchestration Service:InfluxDB Resource

Last Updated:Jun 22, 2026

Lists the AssociationProperty values for InfluxDB resources in ROS templates.

AssociationProperty values

Description

Corresponding AssociationPropertyMetadata

ALIYUN::InfluxDB::Instance::InstanceType

InfluxDB instance type.

  • RegionId: Region ID (defaults to the region where the stack is located).

  • ZoneId: Zone ID.

Examples:

  • Example code

    JSON example:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "RegionId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::RegionId"
        },
        "ZoneId": {
          "Type": "String",
          "AssociationProperty": "ZoneId"
        },
        "InfluxDB": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::InfluxDB::Instance::InstanceType",
          "AssociationPropertyMetadata": {
            "RegionId": "${RegionId}",
            "ZoneId": "${ZoneId}"
          }
        }
      }
    }

    YAML example:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      RegionId:
        Type: String
        AssociationProperty: ALIYUN::ECS::RegionId
      ZoneId:
        Type: String
        AssociationProperty: ZoneId
      InfluxDB:
        Type: String
        AssociationProperty: ALIYUN::InfluxDB::Instance::InstanceType
        AssociationPropertyMetadata:
          RegionId: ${RegionId}
          ZoneId: ${ZoneId}
  • Example description

    Sets the AssociationProperty to ALIYUN::InfluxDB::Instance::InstanceType to query available InfluxDB instance types.