文档

DATASOURCE::Hologram::Instance

更新时间:

DATASOURCE::Hologram::Instance类型用于通过Hologres实例ID查询Hologres实例详细信息。

语法

{
  "Type": "DATASOURCE::Hologram::Instance",
  "Properties": {
    "InstanceId": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

InstanceId

String

实例ID。

返回值

Fn::GetAtt

  • Instance:Hologres实例信息。

属性名称

类型

描述

约束

Instance

Map

Hologres实例信息。

InstanceId

String

实例ID。

ZoneId

String

可用区ID。

Version

String

实例版本。

CommodityCode

String

商品code。

PaymentType

String

资源的支付类型。

SuspendReason

String

暂停原因。

ExpirationTime

String

到期时间。 按量付费类型没有到期时间。

Tags

String

实例标签。

Endpoints

String

域名列表。

InstanceType

String

实例类型。

Status

String

实例状态。

CreateTime

String

资源的创建时间。

LeaderInstanceId

String

主实例ID。

EnableHiveAccess

String

是否启用数据湖加速。

InstanceName

String

实例名称。

RegionId

String

地域ID。

ResourceGroupId

String

资源组ID。

Memory

Integer

内存。 单位:GB。

Cpu

Integer

CPU核数。

ComputeNodeCount

Integer

计算节点数量。 一个节点的典型配置:16核32G内存。

GatewayMemory

Integer

网关内存资源。 单位:GB。

ColdStorageSize

Integer

实例低频存储空间。

InstanceOwner

String

实例所有者。

GatewayCount

Integer

网关节点数量。

GatewayCpu

Integer

网关cpu资源。 单位:core。

StorageSize

Integer

实例标准存储空间。单位:GB。

AutoRenewal

Boolean

是否开启了自动续费。

取值:

  • true:已开启自动续费。

  • false:未开启自动续费。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      InstanceId:
        Description:
          en: The ID of the instance.
        Type: String
    Resources:
      ExtensionDataSource:
        Properties:
          InstanceId:
            Ref: InstanceId
        Type: DATASOURCE::Hologram::Instance
    Outputs:
      Instance:
        Description: The attributes of the instance.
        Value:
          Fn::GetAtt:
          - ExtensionDataSource
          - Instance
                            
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "InstanceId": {
          "Type": "String",
          "Description": {
            "en": "The ID of the instance."
          }
        }
      },
      "Resources": {
        "ExtensionDataSource": {
          "Type": "DATASOURCE::Hologram::Instance",
          "Properties": {
            "InstanceId": {
              "Ref": "InstanceId"
            }
          }
        }
      },
      "Outputs": {
        "Instance": {
          "Description": "The attributes of the instance.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Instance"
            ]
          }
        }
      }
    }
                            
  • 本页导读 (1)
文档反馈