Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::OTS::VCUInstance

Última atualização: Jun 27, 2026

Cria uma instância de Virtual Compute Unit (VCU) do Tablestore.

Sintaxe

{
  "Type": "ALIYUN::OTS::VCUInstance",
  "Properties": {
    "ClusterType": String,
    "PeriodInMonth": Integer,
    "VCU": Integer,
    "AliasName": String,
    "AutoRenewPeriodInMonth": Integer,
    "EnableElasticVCU": Boolean,
    "EnableAutoRenew": Boolean,
    "InstanceDescription": String,
    "ResourceGroupId": String,
    "Tags": List
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatório

Atualizável

Descrição

Restrições

ClusterType

String

Sim

Não

Tipo do cluster.

Valores válidos:

  • SSD: alto desempenho.

  • HYBRID: capacidade.

PeriodInMonth

Integer

Sim

Não

Duração da assinatura.

Unidade: mês.

Valores válidos: 1 a 24.

VCU

Integer

Sim

Não

Tipo da instância.

Quantidade de VCUs.

Valores válidos: 0 a 2000.

AliasName

String

Não

Sim

Alias da instância.

Nenhuma

AutoRenewPeriodInMonth

Integer

Não

Não

Ciclo de renovação automática.

Unidade: mês.

Valores válidos: 1 a 24.

EnableElasticVCU

Boolean

Não

Não

Indica se as VCUs elásticas devem ser ativadas para a instância.

Se ativado, o uso de VCU no pico pode exceder a quantidade adquirida e gerar cobranças adicionais.

EnableAutoRenew

Boolean

Não

Não

Indica se a renovação automática deve ser ativada.

Nenhuma

InstanceDescription

String

Não

Sim

Descrição da instância.

Nenhuma

ResourceGroupId

String

Não

Sim

ID do grupo de recursos.

Nenhuma

Tags

List

Não

Sim

Tags.

Limite de 20 tags por instância.

Para mais informações, consulte Propriedade Tags.

Sintaxe de Tags

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

Propriedade Tags

Nome da propriedade

Tipo

Obrigatório

Permite atualizações

Descrição

Restrição

Key

String

Sim

Não

Chave da tag.

Nenhuma

Value

String

Sim

Não

Valor da tag.

Nenhuma

Valor de retorno

Fn::GetAtt

InstanceName: nome da instância VCU.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  PeriodInMonth:
    Type: Number
    Description:
      en: 'Purchase duration. Unit: month. Value range: 1~24.'
    Required: true
    MinValue: 1
    MaxValue: 24
  VCU:
    Type: Number
    Description:
      en: 'Number of VCU units. Value range: 0~2000.'
    Required: true
    MinValue: 0
    MaxValue: 2000
  ClusterType:
    Type: String
    Description:
      en: |-
        Cluster type (i.e. instance specification).
        Enumeration values:
        SSD: High performance.
        HYBRID: Capacity type.
    AllowedValues:
      - SSD
      - HYBRID
    Required: true
Resources:
  VCUInstance:
    Type: ALIYUN::OTS::VCUInstance
    Properties:
      PeriodInMonth:
        Ref: PeriodInMonth
      VCU:
        Ref: VCU
      ClusterType:
        Ref: ClusterType
Outputs:
  InstanceName:
    Description: Name of the tablestore VCU instance.
    Value:
      Fn::GetAtt:
        - VCUInstance
        - InstanceName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "PeriodInMonth": {
      "Type": "Number",
      "Description": {
        "en": "Purchase duration. Unit: month. Value range: 1~24."
      },
      "Required": true,
      "MinValue": 1,
      "MaxValue": 24
    },
    "VCU": {
      "Type": "Number",
      "Description": {
        "en": "Number of VCU units. Value range: 0~2000."
      },
      "Required": true,
      "MinValue": 0,
      "MaxValue": 2000
    },
    "ClusterType": {
      "Type": "String",
      "Description": {
        "en": "Cluster type (i.e. instance specification).\nEnumeration values:\nSSD: High performance.\nHYBRID: Capacity type."
      },
      "AllowedValues": [
        "SSD",
        "HYBRID"
      ],
      "Required": true
    }
  },
  "Resources": {
    "VCUInstance": {
      "Type": "ALIYUN::OTS::VCUInstance",
      "Properties": {
        "PeriodInMonth": {
          "Ref": "PeriodInMonth"
        },
        "VCU": {
          "Ref": "VCU"
        },
        "ClusterType": {
          "Ref": "ClusterType"
        }
      }
    }
  },
  "Outputs": {
    "InstanceName": {
      "Description": "Name of the tablestore VCU instance.",
      "Value": {
        "Fn::GetAtt": [
          "VCUInstance",
          "InstanceName"
        ]
      }
    }
  }
}