All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::CDDC::DedicatedHostGroups

Last Updated:Jun 08, 2026

Queries resource information about dedicated clusters.

Syntax

{
  "Type": "DATASOURCE::CDDC::DedicatedHostGroups",
  "Properties": {
    "DedicatedHostGroupId": String,
    "Engine": String,
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

DedicatedHostGroupId

String

No

Yes

The ID of the dedicated cluster.

None.

Engine

String

No

Yes

The database engine type used to filter hosts.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources on stack update.

Valid values:

  • Never (default): does not refresh data source resources on stack update.

  • Always: refreshes data source resources on stack update.

Return values

Fn::GetAtt

  • DedicatedHostGroups: the details of dedicated clusters.

  • DedicatedHostGroupIds: the IDs of the dedicated clusters.

Property

Type

Description

Constraint

DedicatedHostGroupIds

List

The IDs of the dedicated clusters.

None.

DedicatedHostGroups

List

Details of the dedicated clusters.

None.

DiskUtility

String

The disk usage rate.

None.

Category

String

The dedicated cluster type.

None.

Text

String

The host description.

None.

VpcId

String

The ID of the VPC where the dedicated cluster resides.

None.

MemAllocationRatio

String

The memory overcommit ratio.

None.

DeployType

String

The instance deployment method.

None.

DiskAllocatedAmount

String

The allocated disk size.

None.

HostNumber

String

The number of hosts.

None.

DiskUsedAmount

String

The used disk size.

None.

DedicatedHostGroupDesc

String

The name of the dedicated cluster to which the host belongs.

None.

MemUsedAmount

String

The used memory size.

None.

Engine

String

The database engine type.

None.

BastionInstanceId

String

The ID of the primary instance on the host.

None.

InstanceNumber

String

The number of instances on the host.

None.

MemAllocateRation

String

The memory allocation rate.

None.

CreateTime

String

The timestamp when the dedicated cluster was created.

None.

DiskAllocationRatio

String

The storage overcommit ratio.

None.

CpuAllocationRatio

String

The CPU overcommit ratio.

None.

AllocationPolicy

String

The resource allocation policy.

None.

DedicatedHostCountGroupByHostType

String

The storage type of the host in the dedicated cluster.

None.

MemAllocatedAmount

String

The allocated memory size.

None.

DiskAllocateRation

String

The disk allocation rate.

None.

OpenPermission

String

The OS permission on the host.

None.

MemUtility

String

The memory usage rate.

None.

CpuAllocatedAmount

String

The allocated CPU cores.

None.

CpuAllocateRation

String

The CPU allocation rate.

None.

DedicatedHostGroupId

String

The ID of the dedicated cluster.

None.

ZoneIdList

String

The zone IDs of the dedicated cluster hosts.

None.

HostReplacePolicy

String

The host fault handling policy.

None.

Examples

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DedicatedHostGroupId:
    Description: Dedicated Host Group ID.
    Type: String
Resources:
  ExtensionDataSource:
    Properties:
      DedicatedHostGroupId:
        Ref: DedicatedHostGroupId
    Type: DATASOURCE::CDDC::DedicatedHostGroups
Outputs:
  DedicatedHostGroupIds:
    Description: The list of dedicated host group IDs.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - DedicatedHostGroupIds
  DedicatedHostGroups:
    Description: The list of dedicated host groups.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - DedicatedHostGroups

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DedicatedHostGroupId": {
      "Type": "String",
      "Description": "Dedicated Host Group ID."
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CDDC::DedicatedHostGroups",
      "Properties": {
        "DedicatedHostGroupId": {
          "Ref": "DedicatedHostGroupId"
        }
      }
    }
  },
  "Outputs": {
    "DedicatedHostGroups": {
      "Description": "The list of dedicated host groups.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostGroups"
        ]
      }
    },
    "DedicatedHostGroupIds": {
      "Description": "The list of dedicated host group IDs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostGroupIds"
        ]
      }
    }
  }
}