DATASOURCE::CDDC::DedicatedHostGroup

DATASOURCE::CDDC::DedicatedHostGroup类型用于查询专有集群主机组信息。

语法

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

属性

属性名称

类型

必须

允许更新

描述

约束

DedicatedHostGroupId

String

专属集群 ID。

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

有效值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

Fn::GetAtt

  • DeployType:实例部署方式。

  • DiskAllocationRatio:主机空间超配比。

  • DiskUsedAmount:磁盘使用量。

  • InstanceNumber:主机上实例数量。

  • AllocationPolicy:主机资源分配策略

  • Category:主机所属的专属集群系列。

  • HostReplacePolicy:主机故障处理策略。

  • DedicatedHostGroupId:主机所属专属集群 ID。

  • BastionInstanceId:主机的主实例 ID。

  • MemAllocatedAmount:内存分配量。

  • ZoneIdList:主机可用区列表。

  • OpenPermission:主机 OS 权限。

  • MemAllocateRation:分配的内存比例。

  • DiskAllocatedAmount:磁盘分配容量。

  • Engine:主机数据库引擎类型。

  • MemUtility:内存利用率。

  • MemAllocationRatio:主机内存超配比。

  • CpuAllocateRation:CPU 申请比例。

  • CreateTime:主机创建时间。

  • Text:主机描述。

  • MemUsedAmount:内存使用量。

  • DedicatedHostGroupDesc:主机所属专属集群名称。

  • VpcId:主机所属专属集群专有网络 ID。

  • DiskUtility:磁盘利用率。

  • CpuAllocationRatio:主机 CPU 超配比。

  • DiskAllocateRation:磁盘分配率。

  • HostNumber:主机数量。

  • CpuAllocatedAmount:CPU 申请量。

  • DedicatedHostCountGroupByHostType:不同存储类型对应的主机数量。

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DedicatedHostGroupId:
    Type: String
    Description:
      en: Dedicated Host Group ID.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CDDC::DedicatedHostGroup
    Properties:
      DedicatedHostGroupId:
        Ref: DedicatedHostGroupId
Outputs:
  DeployType:
    Description: DeployType.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DeployType
  DiskAllocationRatio:
    Description: Disk Allocation Ratio.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskAllocationRatio
  DiskUsedAmount:
    Description: DiskUsedAmount.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskUsedAmount
  InstanceNumber:
    Description: Total Instance Number.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - InstanceNumber
  AllocationPolicy:
    Description: Allocation Policy.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - AllocationPolicy
  Category:
    Description: The dedicated cluster family to which the host belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Category
  HostReplacePolicy:
    Description: Host Replace Policy.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - HostReplacePolicy
  DedicatedHostGroupId:
    Description: Dedicated Host Group ID.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DedicatedHostGroupId
  BastionInstanceId:
    Description: BastionInstanceId.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - BastionInstanceId
  MemAllocatedAmount:
    Description: MemAllocatedAmount.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MemAllocatedAmount
  ZoneIdList:
    Description: ZoneIDList.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneIdList
  OpenPermission:
    Description: Whether Open OS Permission.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - OpenPermission
  MemAllocateRation:
    Description: MemAllocateRation.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MemAllocateRation
  DiskAllocatedAmount:
    Description: DiskAllocatedAmount.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskAllocatedAmount
  Engine:
    Description: Database Engine Type.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Engine
  MemUtility:
    Description: MemUtility.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MemUtility
  MemAllocationRatio:
    Description: Memory Allocation Ratio.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MemAllocationRatio
  CpuAllocateRation:
    Description: CpuAllocateRation.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CpuAllocateRation
  CreateTime:
    Description: Create Time.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  Text:
    Description: Text.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Text
  MemUsedAmount:
    Description: MemUsedAmount.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MemUsedAmount
  DedicatedHostGroupDesc:
    Description: Dedicated Host Group Description.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DedicatedHostGroupDesc
  VpcId:
    Description: VPC ID.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VpcId
  DiskUtility:
    Description: DiskUtility.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskUtility
  CpuAllocationRatio:
    Description: Cpu Allocation Ratio.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CpuAllocationRatio
  DiskAllocateRation:
    Description: DiskAllocateRation.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskAllocateRation
  HostNumber:
    Description: Total Host Number.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - HostNumber
  CpuAllocatedAmount:
    Description: CpuAllocatedAmount.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CpuAllocatedAmount
  DedicatedHostCountGroupByHostType:
    Description: DedicatedHostCountGroupByHostType.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DedicatedHostCountGroupByHostType
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DedicatedHostGroupId": {
      "Type": "String",
      "Description": {
        "en": "Dedicated Host Group ID."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CDDC::DedicatedHostGroup",
      "Properties": {
        "DedicatedHostGroupId": {
          "Ref": "DedicatedHostGroupId"
        }
      }
    }
  },
  "Outputs": {
    "DeployType": {
      "Description": "DeployType.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DeployType"
        ]
      }
    },
    "DiskAllocationRatio": {
      "Description": "Disk Allocation Ratio.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskAllocationRatio"
        ]
      }
    },
    "DiskUsedAmount": {
      "Description": "DiskUsedAmount.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskUsedAmount"
        ]
      }
    },
    "InstanceNumber": {
      "Description": "Total Instance Number.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "InstanceNumber"
        ]
      }
    },
    "AllocationPolicy": {
      "Description": "Allocation Policy.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "AllocationPolicy"
        ]
      }
    },
    "Category": {
      "Description": "The dedicated cluster family to which the host belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Category"
        ]
      }
    },
    "HostReplacePolicy": {
      "Description": "Host Replace Policy.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "HostReplacePolicy"
        ]
      }
    },
    "DedicatedHostGroupId": {
      "Description": "Dedicated Host Group ID.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostGroupId"
        ]
      }
    },
    "BastionInstanceId": {
      "Description": "BastionInstanceId.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "BastionInstanceId"
        ]
      }
    },
    "MemAllocatedAmount": {
      "Description": "MemAllocatedAmount.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MemAllocatedAmount"
        ]
      }
    },
    "ZoneIdList": {
      "Description": "ZoneIDList.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneIdList"
        ]
      }
    },
    "OpenPermission": {
      "Description": "Whether Open OS Permission.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "OpenPermission"
        ]
      }
    },
    "MemAllocateRation": {
      "Description": "MemAllocateRation.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MemAllocateRation"
        ]
      }
    },
    "DiskAllocatedAmount": {
      "Description": "DiskAllocatedAmount.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskAllocatedAmount"
        ]
      }
    },
    "Engine": {
      "Description": "Database Engine Type.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Engine"
        ]
      }
    },
    "MemUtility": {
      "Description": "MemUtility.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MemUtility"
        ]
      }
    },
    "MemAllocationRatio": {
      "Description": "Memory Allocation Ratio.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MemAllocationRatio"
        ]
      }
    },
    "CpuAllocateRation": {
      "Description": "CpuAllocateRation.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CpuAllocateRation"
        ]
      }
    },
    "CreateTime": {
      "Description": "Create Time.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "Text": {
      "Description": "Text.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Text"
        ]
      }
    },
    "MemUsedAmount": {
      "Description": "MemUsedAmount.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MemUsedAmount"
        ]
      }
    },
    "DedicatedHostGroupDesc": {
      "Description": "Dedicated Host Group Description.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostGroupDesc"
        ]
      }
    },
    "VpcId": {
      "Description": "VPC ID.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VpcId"
        ]
      }
    },
    "DiskUtility": {
      "Description": "DiskUtility.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskUtility"
        ]
      }
    },
    "CpuAllocationRatio": {
      "Description": "Cpu Allocation Ratio.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CpuAllocationRatio"
        ]
      }
    },
    "DiskAllocateRation": {
      "Description": "DiskAllocateRation.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskAllocateRation"
        ]
      }
    },
    "HostNumber": {
      "Description": "Total Host Number.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "HostNumber"
        ]
      }
    },
    "CpuAllocatedAmount": {
      "Description": "CpuAllocatedAmount.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CpuAllocatedAmount"
        ]
      }
    },
    "DedicatedHostCountGroupByHostType": {
      "Description": "DedicatedHostCountGroupByHostType.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostCountGroupByHostType"
        ]
      }
    }
  }
}