Skip to content

VCUInstanceProps

Properties for defining a VCUInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-vcuinstance

Initializer

import ros_cdk_ots
ros_cdk_ots.VCUInstanceProps(
  cluster_type: typing.Union[str, IResolvable],
  period_in_month: typing.Union[typing.Union[int, float], IResolvable],
  vcu: typing.Union[typing.Union[int, float], IResolvable],
  alias_name: typing.Union[str, IResolvable] = None,
  auto_renew_period_in_month: typing.Union[typing.Union[int, float], IResolvable] = None,
  enable_auto_renew: typing.Union[bool, IResolvable] = None,
  enable_elastic_vcu: typing.Union[bool, IResolvable] = None,
  instance_description: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.
period_in_month typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property periodInMonth: Purchase duration.
vcu typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property vcu: Number of VCU units.
alias_name typing.Union[str, ros_cdk_core.IResolvable] Property aliasName: Instance alias name.
auto_renew_period_in_month typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property autoRenewPeriodInMonth: Automatic renewal cycle.
enable_auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property enableAutoRenew: Whether to enable automatic renewal.
enable_elastic_vcu typing.Union[bool, ros_cdk_core.IResolvable] Property enableElasticVcu: Whether to enable instance elasticity.
instance_description typing.Union[str, ros_cdk_core.IResolvable] Property instanceDescription: Instance description.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource Group ID.
tags typing.List[TagsProperty] Property tags: The list of instance tags in the form of key\/value pairs.

cluster_typeRequired

cluster_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.


period_in_monthRequired

period_in_month: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property periodInMonth: Purchase duration.

Unit: month. Value range: 1~24.


vcuRequired

vcu: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property vcu: Number of VCU units.

Value range: 0~2000.


alias_nameOptional

alias_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property aliasName: Instance alias name.


auto_renew_period_in_monthOptional

auto_renew_period_in_month: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property autoRenewPeriodInMonth: Automatic renewal cycle.

When automatic renewal is enabled, it is required. Value range: 1~24.


enable_auto_renewOptional

enable_auto_renew: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableAutoRenew: Whether to enable automatic renewal.


enable_elastic_vcuOptional

enable_elastic_vcu: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableElasticVcu: Whether to enable instance elasticity.

If elasticity is enabled, the peak VCU usage of the instance can exceed the purchased VCU amount, but there will be additional charges.


instance_descriptionOptional

instance_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceDescription: Instance description.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: Resource Group ID.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: The list of instance tags in the form of key\/value pairs.

You can define a maximum of 20 tags for instance.