Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-instance

Initializer

import ros_cdk_rocketmq5
ros_cdk_rocketmq5.InstanceProps(
  internet_info: typing.Union[IResolvable, InternetInfoProperty],
  product_info: typing.Union[IResolvable, ProductInfoProperty],
  series_code: typing.Union[str, IResolvable],
  sub_series_code: typing.Union[str, IResolvable],
  vpc_info: typing.Union[IResolvable, VpcInfoProperty],
  auto_renew: typing.Union[bool, IResolvable] = None,
  auto_renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
  instance_name: typing.Union[str, IResolvable] = None,
  payment_type: typing.Union[str, IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  period_unit: typing.Union[str, IResolvable] = None,
  remark: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
internet_info typing.Union[ros_cdk_core.IResolvable, InternetInfoProperty] Property internetInfo: Public network configuration information.
product_info typing.Union[ros_cdk_core.IResolvable, ProductInfoProperty] Property productInfo: Instance specification information.
series_code typing.Union[str, ros_cdk_core.IResolvable] Property seriesCode: The primary series code of the instance.
sub_series_code typing.Union[str, ros_cdk_core.IResolvable] Property subSeriesCode: The sub series code of the instance.
vpc_info typing.Union[ros_cdk_core.IResolvable, VpcInfoProperty] Property vpcInfo: Private network configuration information.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: Whether to auto-renew.
auto_renew_period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property autoRenewPeriod: Automatic renewal period.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the instance to be created.
payment_type typing.Union[str, ros_cdk_core.IResolvable] Property paymentType: The sub series code of the instance.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The subscription duration.
period_unit typing.Union[str, ros_cdk_core.IResolvable] Property periodUnit: The period unit for the duration of the instance.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remark of instance.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group ID.

internet_infoRequired

internet_info: typing.Union[IResolvable, InternetInfoProperty]

Property internetInfo: Public network configuration information.


product_infoRequired

product_info: typing.Union[IResolvable, ProductInfoProperty]

Property productInfo: Instance specification information.


series_codeRequired

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

Property seriesCode: The primary series code of the instance.


sub_series_codeRequired

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

Property subSeriesCode: The sub series code of the instance.


vpc_infoRequired

vpc_info: typing.Union[IResolvable, VpcInfoProperty]

Property vpcInfo: Private network configuration information.


auto_renewOptional

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

Property autoRenew: Whether to auto-renew.

This parameter takes effect only when the PaymentType=Subscription.


auto_renew_periodOptional

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

Property autoRenewPeriod: Automatic renewal period.

This parameter is valid only when automatic renewal is enabled. Unit: Month.


instance_nameOptional

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

Property instanceName: The name of the instance to be created.


payment_typeOptional

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

Property paymentType: The sub series code of the instance.


periodOptional

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

Property period: The subscription duration.

Valid values: When Period is Month, it could be from 1 to 6, 12, 24, 36. When Period is Year, it could be from 1 to 3.


period_unitOptional

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

Property periodUnit: The period unit for the duration of the instance.


remarkOptional

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

Property remark: The remark of instance.


resource_group_idOptional

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

Property resourceGroupId: Resource group ID.