Skip to content

HiTSDBInstanceProps

Properties for defining a HiTSDBInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-tsdb-hitsdbinstance

Initializer

import ros_cdk_tsdb
ros_cdk_tsdb.HiTSDBInstanceProps(
  instance_class: typing.Union[str, IResolvable],
  instance_storage: typing.Union[typing.Union[int, float], IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  zone_id: typing.Union[str, IResolvable],
  disk_category: typing.Union[str, IResolvable] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  instance_alias: typing.Union[str, IResolvable] = None,
  pay_type: typing.Union[str, IResolvable] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  security_ip_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
instance_class typing.Union[str, ros_cdk_core.IResolvable] Property instanceClass: The type of the instance.
instance_storage typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property instanceStorage: The storage capacity of the instance.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the virtual private cloud (VPC) that is connected to the instance.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: The ID of the VSwitch in the specified VPC.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: The zone ID of the instance.
disk_category typing.Union[str, ros_cdk_core.IResolvable] Property diskCategory: The category of disk.
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: The validity period of the instance.
instance_alias typing.Union[str, ros_cdk_core.IResolvable] Property instanceAlias: The alias of the instance.
pay_type typing.Union[str, ros_cdk_core.IResolvable] Property payType: The billing method.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: The unit of the validity period.
security_ip_list typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property securityIpList: List of the IP patterns.For example, ["127.0.0.1", "192.168.0.1\/24"].

instance_classRequired

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

Property instanceClass: The type of the instance.


instance_storageRequired

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

Property instanceStorage: The storage capacity of the instance.

Unit: GB. For example, the value 50 indicates 50 GB.


vpc_idRequired

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

Property vpcId: The ID of the virtual private cloud (VPC) that is connected to the instance.


v_switch_idRequired

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

Property vSwitchId: The ID of the VSwitch in the specified VPC.


zone_idRequired

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

Property zoneId: The zone ID of the instance.


disk_categoryOptional

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

Property diskCategory: The category of disk.


durationOptional

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

Property duration: The validity period of the instance.

This parameter is valid only when the PayType parameter is set to PREPAY. Default value: 1.


instance_aliasOptional

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

Property instanceAlias: The alias of the instance.


pay_typeOptional

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

Property payType: The billing method.

Valid values:

  • prepay: The prepay value indicates the subscription method.

pricing_cycleOptional

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

Property pricingCycle: The unit of the validity period.

This parameter is valid only when the PayType parameter is set to PREPAY. Default value: Month.


security_ip_listOptional

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

Property securityIpList: List of the IP patterns.For example, ["127.0.0.1", "192.168.0.1\/24"].