All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::CDDC::DedicatedHostGroups

Last Updated:Jun 05, 2023

DATASOURCE::CDDC::DedicatedHostGroups is used to query the resources in a dedicated cluster.

Syntax

{
  "Type": "DATASOURCE::CDDC::DedicatedHostGroups",
  "Properties": {
    "DedicatedHostGroupId": String,
    "Engine": 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 that is used to filter hosts.

None

Return values

Fn::GetAtt

  • DedicatedHostGroups: The dedicated host groups.

  • DedicatedHostGroupIds: The IDs of the dedicated host groups.

Property

Type

Description

Constraint

DedicatedHostGroupIds

List

The IDs of the dedicated host groups.

None

DedicatedHostGroups

List

The dedicated host groups.

None

DiskUtility

String

The disk usage of the host.

None

Category

String

The type of the dedicated cluster.

None

Text

String

The host description.

None

VpcId

String

The ID of the virtual private cloud (VPC) in which the dedicated cluster is deployed.

None

MemAllocationRatio

String

The memory overcommit ratio of the host.

None

DeployType

String

The instance deployment mode of the host.

None

DiskAllocatedAmount

String

The disk space allocated to the host.

None

HostNumber

String

The number of hosts.

None

DiskUsedAmount

String

The disk usage.

None

DedicatedHostGroupDesc

String

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

None

MemUsedAmount

String

The memory usage.

None

Engine

String

The database engine of the host.

None

BastionInstanceId

String

The ID of the primary instance deployed on the host.

None

InstanceNumber

String

The number of instances deployed on the host.

None

MemAllocateRation

String

The memory allocation ratio of the host.

None

CreateTime

String

The timestamp that indicates when the dedicated cluster was created.

None

DiskAllocationRatio

String

The disk overcommit ratio of the host.

None

CpuAllocationRatio

String

The CPU overcommit ratio of the host.

None

AllocationPolicy

String

The policy based on which the system allocates resources in the dedicated cluster.

None

DedicatedHostCountGroupByHostType

String

The type of storage media that is used for the hosts in the dedicated cluster.

None

MemAllocatedAmount

String

The amount of memory allocated to the host.

None

DiskAllocateRation

String

The disk allocation rate of the host.

None

OpenPermission

String

The permissions on the operating system of the host.

None

MemUtility

String

The memory usage of the host.

None

CpuAllocatedAmount

String

The number of CPU cores allocated to the host.

None

CpuAllocateRation

String

The CPU allocation ratio of the host.

None

DedicatedHostGroupId

String

The ID of the dedicated cluster.

None

ZoneIdList

String

The zones to which the hosts of the dedicated cluster belong.

None

HostReplacePolicy

String

The policy that is used for host troubleshooting.

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"
        ]
      }
    }
  }
}