Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::Hologram::Instance

Última atualização: Jun 27, 2026

Cria uma instância do Hologres.

Sintaxe

 {
  "Type": "ALIYUN::Hologram::Instance",
  "Properties": {
    "ColdStorageSize": Integer,
    "ResourceGroupId": String,
    "ZoneId": String,
    "ProductCode": String,
    "PricingCycle": String,
    "ScaleType": String,
    "StorageSize": Integer,
    "Cpu": Integer,
    "Duration": Integer,
    "AutoPay": Boolean,
    "Endpoints": List,
    "InstanceName": String,
    "GatewayCount": Integer,
    "PaymentType": String,
    "InstanceType": String,
    "Tags": List,
    "LeaderInstanceId": String,
    "InitialDatabases": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

ColdStorageSize

Integer

Não

Sim

Espaço de armazenamento de acesso pouco frequente (IA) da instância.

Unidade: GB.

Nota

Esta propriedade não se aplica a instâncias com pagamento conforme o uso.

ResourceGroupId

String

Não

Sim

ID do grupo de recursos.

Se esta propriedade estiver vazia, o sistema usa o grupo de recursos padrão da sua conta.

ZoneId

String

Sim

Não

ID da zona.

Para obter mais informações, consulte a seção "Operation Description" do tópico CreateInstance.

ProductCode

String

Não

Não

Código do produto.

Valores válidos:

  • hologram_maxcomputeAccelerate_public_cn: Site da China/Edição de Aceleração Lakehouse

  • hologram_combo_public_cn: Site da China/Assinatura

  • hologram_prepay_public_intl: Site Internacional/Assinatura

  • hologram_storage_dp_cn: Site da China/Plano de armazenamento

  • hologram_postpay_public_cn: Site da China/Pagamento conforme o uso

  • hologram_postpay_public_intl: Site Internacional/Pagamento conforme o uso

  • hologram_maxcomputeAccelerate_public_intl: Site Internacional/Edição de Aceleração Lakehouse

  • hologram_cu_dp_cn: Site da China/Plano de computação

PricingCycle

String

Não

Não

Unidade do ciclo de faturamento.

Valores válidos:

  • Month

    Nota

    Defina esta propriedade como Month para instâncias por assinatura.

  • Hour

    Nota

    Defina esta propriedade como Hour para instâncias com pagamento conforme o uso.

    O valor padrão é Hour quando InstanceType está definido como Shared.

ScaleType

String

Não

Não

Tipo de alteração de especificação.

Valores válidos:

  • UPGRADE

    Nota

    Se você definir esta propriedade como UPGRADE, pelo menos um item de configuração nas novas especificações deve ser superior ao das especificações originais. Um item de configuração vazio permanece inalterado.

  • DOWNGRADE

    Nota

    Se você definir esta propriedade como DOWNGRADE, pelo menos um item de configuração nas novas especificações deve ser inferior ao das especificações originais. Um item de configuração vazio permanece inalterado.

StorageSize

Integer

Não

Sim

Espaço de armazenamento padrão da instância.

Unidade: GB.

Nota

Esta propriedade não se aplica a instâncias com pagamento conforme o uso.

Cpu

Integer

Não

Sim

Especificações da instância.

As seguintes especificações de instância são suportadas:

  • 8 vCPUs e 32 GB de memória (número de nós de computação: 1)

  • 16 vCPUs e 64 GB de memória (número de nós de computação: 1)

  • 32 vCPUs e 128 GB de memória (número de nós de computação: 2)

  • 64 vCPUs e 256 GB de memória (número de nós de computação: 4)

  • 96 vCPUs e 384 GB de memória (número de nós de computação: 6)

  • 128 vCPUs e 512 GB de memória (número de nós de computação: 8)

Nota

Especifique o número de vCPUs para esta propriedade.

Para usar especificações de instância com mais de 1.024 GB de memória, envie um ticket.

Esta propriedade não é necessária quando InstanceType está definido como Shared.

A especificação de 8 vCPUs e 32 GB de memória é adequada apenas para testes e não pode ser usada em ambientes de produção.

Duration

Integer

Não

Não

Ciclo de faturamento.

Esta propriedade não é necessária para instâncias com pagamento conforme o uso.

Valores válidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36 e 60.

AutoPay

Boolean

Não

Não

Indica se o pagamento automático deve ser ativado.

Valores válidos:

  • true (padrão): ativa o pagamento automático.

  • false: gera um pedido não pago.

Nota

Se o saldo da sua conta for insuficiente, defina AutoPay como false para gerar um pedido não pago. Em seguida, faça login no console Expenses and Costs para concluir o pagamento.

Endpoints

List

Sim

Sim

Os endpoints.

Para obter mais informações, consulte Propriedades de Endpoints.

InstanceName

String

Sim

Sim

Nome da instância.

O nome deve ter entre 2 e 64 caracteres.

GatewayCount

Integer

Não

Sim

Número de gateways.

Valores válidos: 2 a 50.

Nota

Esta propriedade é necessária apenas quando InstanceType está definido como Warehouse.

PaymentType

String

Sim

Não

Método de faturamento.

  • Valores válidos para assinatura:

    Subscription, PrePaid, Prepaid, PrePay e PREPAY.

  • Valores válidos para pagamento conforme o uso:

    PayOnDemand, PayAsYouGo, PostPaid, Postpaid, PostPay e POSTPAY.

InstanceType

String

Sim

Não

Tipo da instância.

Valores válidos:

  • Standard: instância de uso geral

  • Follower: instância secundária somente leitura

  • Warehouse: instância de warehouse virtual

  • Shared: instância de Cluster Compartilhado do Hologres

Tags

List

Não

Sim

Tags da instância.

É possível adicionar até 20 tags. Para obter mais informações, consulte Propriedades de Tags.

LeaderInstanceId

String

Não

Não

ID da instância primária.

Nenhuma.

InitialDatabases

String

Não

Não

Nomes dos bancos de dados criados após a inicialização da instância.

Separe os nomes dos bancos de dados com vírgulas (,).

Sintaxe de Endpoints

"Endpoints": [
  {
    "Type": String,
    "Endpoint": String,
    "VpcId": String,
    "VSwitchId": String,
    "Enabled": Boolean,
    "VpcInstanceId": String,
    "AlternativeEndpoints": String
  }
]

Propriedades de Endpoints

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

Type

String

Não

Sim

Tipo de rede.

Valores válidos:

  • VPCSingleTunnel: virtual private cloud (VPC) no modo SingleTunnel.

  • Intranet: rede interna.

  • VPCAnyTunnel: VPC no modo AnyTunnel. Não é mais suportado para novas instâncias.

  • Internet: Internet.

Endpoint

String

Não

Não

O endpoint.

Exemplo: hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80.

VpcId

String

Não

Sim

ID da VPC.

Exemplo: vpc-uf6mrahzyu7uorlqq**.

VSwitchId

String

Não

Sim

ID do vSwitch.

Nenhuma.

Enabled

Boolean

Não

Não

Indica se o endpoint deve ser ativado.

Valores válidos:

  • true

  • false

VpcInstanceId

String

Não

Não

ID da instância VPC.

Exemplo: hgpostcn-cn-wwo3665tx004-frontend-**.

AlternativeEndpoints

String

Não

Não

Endpoints alternativos.

Algumas instâncias existentes têm os modos AnyTunnel e SingleTunnel ativados simultaneamente.

Ao alternar do modo AnyTunnel para o SingleTunnel, os endpoints de ambos os modos são mantidos. Use esta propriedade para especificar os endpoints.

Sintaxe de Tags

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

Propriedades de Tags

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

Value

String

Não

Não

Valor da tag.

Nenhuma.

Key

String

Sim

Não

Chave da tag.

Nenhuma.

Valores de retorno

Fn::GetAtt

  • ColdStorageSize: espaço de armazenamento IA da instância.

  • ResourceGroupId: ID do grupo de recursos.

  • SuspendReason: motivo da suspensão.

  • ZoneId: ID da zona.

  • InstanceId: ID da instância.

  • Memory: tamanho da memória.

  • InstanceOwner: proprietário da instância.

  • CreateTime: hora de criação da instância.

  • Cpu: número de vCPUs.

  • StorageSize: espaço de armazenamento padrão da instância.

  • EnableHiveAccess: indica se a aceleração de data lake está ativada.

  • ExpirationTime: tempo de expiração. Esta propriedade não se aplica a instâncias com pagamento conforme o uso.

  • GatewayCpu: recursos de CPU do gateway.

  • Endpoints: os endpoints.

  • InstanceName: nome da instância.

  • ComputeNodeCount: número de nós de computação.

  • GatewayCount: número de gateways.

  • AutoRenewal: indica se a renovação automática está ativada.

  • Version: versão da instância.

  • CommodityCode: código da mercadoria.

  • GatewayMemory: recursos de memória do gateway.

  • PaymentType: método de faturamento da instância.

  • InstanceType: tipo da instância.

  • Tags: tags da instância.

Exemplos

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      AutoPay:
        Description:
          en: 'Whether to pay automatically. The default value is true. Value:
    
            - true: automatic payment
    
            - false: only generate orders, not pay
    
            > The default value is true. If the balance of your payment method is insufficient,
            you can set the parameter AutoPay to false, and an unpaid order will be generated.
            You can log in to the user Center to pay by yourself.'
        Type: Boolean
      ColdStorageSize:
        Description:
          en: 'Instance low-frequency storage space. Unit: GB.
    
            > Pay-As-You-Go (PostPaid) instances ignore this parameter.'
        Type: Number
      Cpu:
        Description:
          en: 'Instance specifications. Value:
    
            - 8 cores 32 GB (number of compute nodes: 1)
    
            - 16 cores 64 GB (number of compute nodes: 1)
    
            - 32 core 128 GB (number of compute nodes: 2)
    
            - 64 core 256 GB (number of compute nodes: 4)
    
            - 96 core 384 GB (number of computing nodes: 6)
    
            - 128 core 512 GB (number of compute nodes: 8)
    
            - Wait
    
            >>
    
            >- just fill in the audit number.
    
            >- Please submit a work order application for purchasing 1024 or above specifications.
    
            >- Shared instance types do not need to specify specifications.
    
            > The specification of -8 core 32GB (number of computing nodes: 1) is only
            for experience use and cannot be used for production.'
        Type: Number
      Duration:
        AllowedValues:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 12
        - 24
        - 36
        - 60
        Description:
          en: 'The buying cycle. Buy for 2 months.
    
            > If the Payment type is PostPaid, you do not need to specify it.'
        Type: Number
      Endpoints:
        AssociationProperty: List[Parameter]
        AssociationPropertyMetadata:
          Parameter:
            AssociationPropertyMetadata:
              Parameters:
                AlternativeEndpoints:
                  Description:
                    en: Some old instances have both AnyTunnel and SingleTunnel enabled.
                      When switching from AnyTunnel to SingleTunnel, the endpoints of
                      both are retained. Therefore, one more field is required to store
                      the Endpoint.
                  Type: String
                Enabled:
                  Description:
                    en: Whether to turn on the network.
                  Type: Boolean
                Endpoint:
                  Description:
                    en: Domain name.
                  Type: String
                Type:
                  Description:
                    en: The network type.
                  Type: String
                VSwitchId:
                  AssociationProperty: ALIYUN::VPC::VSwitch::VSwitchId
                  AssociationPropertyMetadata:
                    VpcId: ${.VpcId}
                    ZoneId: ${.ZoneId}
                  Description:
                    en: The ID of the virtual switch.
                  Type: String
                VpcId:
                  AssociationProperty: ALIYUN::ECS::VPC::VPCId
                  Description:
                    en: VPC primary key.
                  Type: String
                VpcInstanceId:
                  Description:
                    en: The vpc instance ID.
                  Type: String
            Description:
              en: List of domain names.
            Type: Json
        Description:
          en: List of domain names.
        Type: Json
      GatewayCount:
        Description:
          en: Number of gateway nodes.
        Type: Number
      InstanceName:
        Description:
          en: The name of the resource.
        Type: String
      InstanceType:
        AllowedValues:
        - Standard
        - Follower
        - Warehouse
        - Shared
        Description:
          en: 'The instance type. Value:
    
            - Standard: Universal.
    
            - Follower: Read-only slave instance.
    
            - Warehouse: calculation group type.
    
            - Shared: Shared.'
        Type: String
      PaymentType:
        AllowedValues:
        - PayAsYouGo
        - PostPaid
        - PayOnDemand
        - Postpaid
        - PostPay
        - POSTPAY
        - Subscription
        - PrePaid
        - PrePay
        - Prepaid
        - PREPAY
        Description:
          en: The payment type of the resource.
        Type: String
      PricingCycle:
        AllowedValues:
        - Month
        - Hour
        Description:
          en: 'Billing cycle. Value:
    
            - Month: monthly billing
    
            - Hour: hourly billing
    
            >>
    
            > - PrePaid only supports Month
    
            > - PostPaid only supports Hour
    
            >- The Shared type is automatically set to Hour without specifying it.'
        Type: String
      ProductCode:
        Description:
          en: product code.
        Type: String
      ResourceGroupId:
        Description:
          en: The ID of the resource group.
        Type: String
      ScaleType:
        AllowedValues:
        - DOWNGRADE
        - UPGRADE
        Description:
          en: 'Change matching type. Value:
    
            - UPGRADE: UPGRADE
    
            - DOWNGRADE: Downgrading
    
            >>
    
            >- The upgrade specification cannot be less than the original specification.
            A blank field indicates that the original specification remains unchanged.
            On this basis, at least one specification is larger than the original specification.
    
            >- The downgrading specification cannot be greater than the original specification.
            A blank field indicates that the original specification remains unchanged.
            On this basis, at least one specification is smaller than the original specification.'
        Type: String
      StorageSize:
        Description:
          en: 'The standard storage space of the instance. Unit: GB.
    
            > Pay-As-You-Go instances (PostPaid) ignore this parameter.'
        Type: Number
      Tags:
        AssociationProperty: List[Parameter]
        AssociationPropertyMetadata:
          Parameter:
            AssociationPropertyMetadata:
              Parameters:
                Key:
                  Type: String
                Value:
                  Type: String
            Type: Json
        Description:
          en: Tags of instance.
        MaxLength: 20
        Type: Json
      ZoneId:
        AssociationProperty: ZoneId
        Description:
          en: The zone Id.
        Type: String
    Resources:
      ExtensionResource:
        Properties:
          AutoPay:
            Ref: AutoPay
          ColdStorageSize:
            Ref: ColdStorageSize
          Cpu:
            Ref: Cpu
          Duration:
            Ref: Duration
          Endpoints:
            Ref: Endpoints
          GatewayCount:
            Ref: GatewayCount
          InstanceName:
            Ref: InstanceName
          InstanceType:
            Ref: InstanceType
          PaymentType:
            Ref: PaymentType
          PricingCycle:
            Ref: PricingCycle
          ProductCode:
            Ref: ProductCode
          ResourceGroupId:
            Ref: ResourceGroupId
          ScaleType:
            Ref: ScaleType
          StorageSize:
            Ref: StorageSize
          Tags:
            Ref: Tags
          ZoneId:
            Ref: ZoneId
        Type: ALIYUN::Hologram::Instance
    Outputs:
      AutoRenewal:
        Description: Whether automatic renewal is enabled.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - AutoRenewal
      ColdStorageSize:
        Description: 'Instance low-frequency storage space. Unit: GB.'
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - ColdStorageSize
      CommodityCode:
        Description: The commodity code.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CommodityCode
      ComputeNodeCount:
        Description: Number of compute nodes.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - ComputeNodeCount
      Cpu:
        Description: Instance specifications.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - Cpu
      CreateTime:
        Description: The creation time of the resource.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CreateTime
      EnableHiveAccess:
        Description: Whether data Lake acceleration is enabled.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - EnableHiveAccess
      Endpoints:
        Description: List of domain names.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - Endpoints
      ExpirationTime:
        Description: Expiration time.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - ExpirationTime
      GatewayCount:
        Description: Number of gateway nodes.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - GatewayCount
      GatewayCpu:
        Description: Cpu resources of the Gateway.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - GatewayCpu
      GatewayMemory:
        Description: Gateway memory resources.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - GatewayMemory
      InstanceId:
        Description: Resource attribute fields that represent the resource's primary key.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - InstanceId
      InstanceName:
        Description: The name of the resource.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - InstanceName
      InstanceOwner:
        Description: The instance owner.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - InstanceOwner
      InstanceType:
        Description: The instance type.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - InstanceType
      Memory:
        Description: Memory.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - Memory
      PaymentType:
        Description: The payment type of the resource.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - PaymentType
      ResourceGroupId:
        Description: The ID of the resource group.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - ResourceGroupId
      StorageSize:
        Description: 'The standard storage space of the instance. Unit: GB.'
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - StorageSize
      SuspendReason:
        Description: Reason for suspension.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - SuspendReason
      Tags:
        Description: Instance tag.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - Tags
      Version:
        Description: The instance version.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - Version
      ZoneId:
        Description: The zone Id.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - ZoneId
                            
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "ColdStorageSize": {
          "Type": "Number",
          "Description": {
            "en": "Instance low-frequency storage space. Unit: GB.\n> Pay-As-You-Go (PostPaid) instances ignore this parameter."
          }
        },
        "ResourceGroupId": {
          "Type": "String",
          "Description": {
            "en": "The ID of the resource group."
          }
        },
        "ZoneId": {
          "AssociationProperty": "ZoneId",
          "Type": "String",
          "Description": {
            "en": "The zone Id."
          }
        },
        "ProductCode": {
          "Type": "String",
          "Description": {
            "en": "product code."
          }
        },
        "PricingCycle": {
          "Type": "String",
          "Description": {
            "en": "Billing cycle. Value:\n- Month: monthly billing\n- Hour: hourly billing\n>>\n> - PrePaid only supports Month\n> - PostPaid only supports Hour\n>- The Shared type is automatically set to Hour without specifying it."
          },
          "AllowedValues": [
            "Month",
            "Hour"
          ]
        },
        "ScaleType": {
          "Type": "String",
          "Description": {
            "en": "Change matching type. Value:\n- UPGRADE: UPGRADE\n- DOWNGRADE: Downgrading\n>>\n>- The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification.\n>- The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification."
          },
          "AllowedValues": [
            "DOWNGRADE",
            "UPGRADE"
          ]
        },
        "Cpu": {
          "Type": "Number",
          "Description": {
            "en": "Instance specifications. Value:\n- 8 cores 32 GB (number of compute nodes: 1)\n- 16 cores 64 GB (number of compute nodes: 1)\n- 32 core 128 GB (number of compute nodes: 2)\n- 64 core 256 GB (number of compute nodes: 4)\n- 96 core 384 GB (number of computing nodes: 6)\n- 128 core 512 GB (number of compute nodes: 8)\n- Wait\n>>\n>- just fill in the audit number.\n>- Please submit a work order application for purchasing 1024 or above specifications.\n>- Shared instance types do not need to specify specifications.\n> The specification of -8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production."
          }
        },
        "StorageSize": {
          "Type": "Number",
          "Description": {
            "en": "The standard storage space of the instance. Unit: GB.\n> Pay-As-You-Go instances (PostPaid) ignore this parameter."
          }
        },
        "Duration": {
          "Type": "Number",
          "Description": {
            "en": "The buying cycle. Buy for 2 months.\n> If the Payment type is PostPaid, you do not need to specify it."
          },
          "AllowedValues": [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            12,
            24,
            36,
            60
          ]
        },
        "AutoPay": {
          "Type": "Boolean",
          "Description": {
            "en": "Whether to pay automatically. The default value is true. Value:\n- true: automatic payment\n- false: only generate orders, not pay\n> The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself."
          }
        },
        "Endpoints": {
          "AssociationPropertyMetadata": {
            "Parameter": {
              "AssociationPropertyMetadata": {
                "Parameters": {
                  "Type": {
                    "Type": "String",
                    "Description": {
                      "en": "The network type."
                    }
                  },
                  "Endpoint": {
                    "Type": "String",
                    "Description": {
                      "en": "Domain name."
                    }
                  },
                  "VpcId": {
                    "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
                    "Type": "String",
                    "Description": {
                      "en": "VPC primary key."
                    }
                  },
                  "VSwitchId": {
                    "AssociationPropertyMetadata": {
                      "VpcId": "${.VpcId}",
                      "ZoneId": "${.ZoneId}"
                    },
                    "AssociationProperty": "ALIYUN::VPC::VSwitch::VSwitchId",
                    "Type": "String",
                    "Description": {
                      "en": "The ID of the virtual switch."
                    }
                  },
                  "Enabled": {
                    "Type": "Boolean",
                    "Description": {
                      "en": "Whether to turn on the network."
                    }
                  },
                  "VpcInstanceId": {
                    "Type": "String",
                    "Description": {
                      "en": "The vpc instance ID."
                    }
                  },
                  "AlternativeEndpoints": {
                    "Type": "String",
                    "Description": {
                      "en": "Some old instances have both AnyTunnel and SingleTunnel enabled. When switching from AnyTunnel to SingleTunnel, the endpoints of both are retained. Therefore, one more field is required to store the Endpoint."
                    }
                  }
                }
              },
              "Type": "Json",
              "Description": {
                "en": "List of domain names."
              }
            }
          },
          "AssociationProperty": "List[Parameter]",
          "Type": "Json",
          "Description": {
            "en": "List of domain names."
          }
        },
        "InstanceName": {
          "Type": "String",
          "Description": {
            "en": "The name of the resource."
          }
        },
        "GatewayCount": {
          "Type": "Number",
          "Description": {
            "en": "Number of gateway nodes."
          }
        },
        "PaymentType": {
          "Type": "String",
          "Description": {
            "en": "The payment type of the resource."
          },
          "AllowedValues": [
            "PayAsYouGo",
            "PostPaid",
            "PayOnDemand",
            "Postpaid",
            "PostPay",
            "POSTPAY",
            "Subscription",
            "PrePaid",
            "PrePay",
            "Prepaid",
            "PREPAY"
          ]
        },
        "InstanceType": {
          "Type": "String",
          "Description": {
            "en": "The instance type. Value:\n- Standard: Universal.\n- Follower: Read-only slave instance.\n- Warehouse: calculation group type.\n- Shared: Shared."
          },
          "AllowedValues": [
            "Standard",
            "Follower",
            "Warehouse",
            "Shared"
          ]
        },
        "Tags": {
          "AssociationPropertyMetadata": {
            "Parameter": {
              "AssociationPropertyMetadata": {
                "Parameters": {
                  "Value": {
                    "Type": "String"
                  },
                  "Key": {
                    "Type": "String"
                  }
                }
              },
              "Type": "Json"
            }
          },
          "AssociationProperty": "List[Parameter]",
          "Type": "Json",
          "Description": {
            "en": "Tags of instance."
          },
          "MaxLength": 20
        }
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::Hologram::Instance",
          "Properties": {
            "ColdStorageSize": {
              "Ref": "ColdStorageSize"
            },
            "ResourceGroupId": {
              "Ref": "ResourceGroupId"
            },
            "ZoneId": {
              "Ref": "ZoneId"
            },
            "ProductCode": {
              "Ref": "ProductCode"
            },
            "PricingCycle": {
              "Ref": "PricingCycle"
            },
            "ScaleType": {
              "Ref": "ScaleType"
            },
            "Cpu": {
              "Ref": "Cpu"
            },
            "StorageSize": {
              "Ref": "StorageSize"
            },
            "Duration": {
              "Ref": "Duration"
            },
            "AutoPay": {
              "Ref": "AutoPay"
            },
            "Endpoints": {
              "Ref": "Endpoints"
            },
            "InstanceName": {
              "Ref": "InstanceName"
            },
            "GatewayCount": {
              "Ref": "GatewayCount"
            },
            "PaymentType": {
              "Ref": "PaymentType"
            },
            "InstanceType": {
              "Ref": "InstanceType"
            },
            "Tags": {
              "Ref": "Tags"
            }
          }
        }
      },
      "Outputs": {
        "ColdStorageSize": {
          "Description": "Instance low-frequency storage space. Unit: GB.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ColdStorageSize"
            ]
          }
        },
        "ResourceGroupId": {
          "Description": "The ID of the resource group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ResourceGroupId"
            ]
          }
        },
        "SuspendReason": {
          "Description": "Reason for suspension.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SuspendReason"
            ]
          }
        },
        "ZoneId": {
          "Description": "The zone Id.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ZoneId"
            ]
          }
        },
        "InstanceId": {
          "Description": "Resource attribute fields that represent the resource's primary key.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "InstanceId"
            ]
          }
        },
        "Memory": {
          "Description": "Memory.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Memory"
            ]
          }
        },
        "InstanceOwner": {
          "Description": "The instance owner.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "InstanceOwner"
            ]
          }
        },
        "CreateTime": {
          "Description": "The creation time of the resource.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "Cpu": {
          "Description": "Instance specifications.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Cpu"
            ]
          }
        },
        "StorageSize": {
          "Description": "The standard storage space of the instance. Unit: GB.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "StorageSize"
            ]
          }
        },
        "EnableHiveAccess": {
          "Description": "Whether data Lake acceleration is enabled.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "EnableHiveAccess"
            ]
          }
        },
        "ExpirationTime": {
          "Description": "Expiration time.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ExpirationTime"
            ]
          }
        },
        "GatewayCpu": {
          "Description": "Cpu resources of the Gateway.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "GatewayCpu"
            ]
          }
        },
        "Endpoints": {
          "Description": "List of domain names.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Endpoints"
            ]
          }
        },
        "InstanceName": {
          "Description": "The name of the resource.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "InstanceName"
            ]
          }
        },
        "ComputeNodeCount": {
          "Description": "Number of compute nodes.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ComputeNodeCount"
            ]
          }
        },
        "GatewayCount": {
          "Description": "Number of gateway nodes.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "GatewayCount"
            ]
          }
        },
        "AutoRenewal": {
          "Description": "Whether automatic renewal is enabled.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "AutoRenewal"
            ]
          }
        },
        "Version": {
          "Description": "The instance version.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Version"
            ]
          }
        },
        "CommodityCode": {
          "Description": "The commodity code.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CommodityCode"
            ]
          }
        },
        "GatewayMemory": {
          "Description": "Gateway memory resources.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "GatewayMemory"
            ]
          }
        },
        "PaymentType": {
          "Description": "The payment type of the resource.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PaymentType"
            ]
          }
        },
        "InstanceType": {
          "Description": "The instance type.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "InstanceType"
            ]
          }
        },
        "Tags": {
          "Description": "Instance tag.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Tags"
            ]
          }
        }
      }
    }