文档

DATASOURCE::CDDC::DedicatedHostGroups

更新时间:

DATASOURCE::CDDC::DedicatedHostGroups类型用于查询专属集群的资源信息。

语法

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

属性

属性名称

类型

必须

允许更新

描述

约束

DedicatedHostGroupId

String

专属集群ID。

Engine

String

根据数据库引擎类型过滤主机列表。

返回值

Fn::GetAtt

  • DedicatedHostGroups:专用主机组详情列表。

  • DedicatedHostGroupIds:专用主机组ID列表。

属性名称

类型

描述

约束

DedicatedHostGroupIds

List

专用主机组ID列表。

DedicatedHostGroups

List

专用主机组详情列表。

DiskUtility

String

磁盘利用率。

Category

String

专属集群类型。

Text

String

主机的描述。

VpcId

String

主机所属专属集群的专有网络ID。

MemAllocationRatio

String

主机的内存超配比。

DeployType

String

实例部署方式。

DiskAllocatedAmount

String

磁盘分配容量。

HostNumber

String

主机的数量。

DiskUsedAmount

String

磁盘使用量。

DedicatedHostGroupDesc

String

主机所属的专属集群名称。

MemUsedAmount

String

内存使用量。

Engine

String

主机的数据库引擎类型。

BastionInstanceId

String

主机的主实例D。

InstanceNumber

String

主机的实例数量。

MemAllocateRation

String

分配的内存比例。

CreateTime

String

当前专属集群创建时间的时间戳。

DiskAllocationRatio

String

主机空间超配比。

CpuAllocationRatio

String

主机CPU超配比。

AllocationPolicy

String

主机资源分配策略。

DedicatedHostCountGroupByHostType

String

当前专属集群里的主机存储类型。

MemAllocatedAmount

String

内存分配量。

DiskAllocateRation

String

磁盘分配率。

OpenPermission

String

主机的操作系统权限。

MemUtility

String

内存利用率。

CpuAllocatedAmount

String

CPU申请量。

CpuAllocateRation

String

CPU申请比例。

DedicatedHostGroupId

String

专属集群ID。

ZoneIdList

String

当前专属集群主机所在的可用区列表。

HostReplacePolicy

String

主机故障处理策略。

示例

YAML格式

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格式

{
  "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"
        ]
      }
    }
  }
}
  • 本页导读 (1)
文档反馈