Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import { InstanceProps } from '@alicloud/ros-cdk-rocketmq5'
const instanceProps: InstanceProps = { ... }

Properties

Name Type Description
internetInfo @alicloud/ros-cdk-core.IResolvable | InternetInfoProperty Property internetInfo: Public network configuration information.
productInfo @alicloud/ros-cdk-core.IResolvable | ProductInfoProperty Property productInfo: Instance specification information.
seriesCode string | @alicloud/ros-cdk-core.IResolvable Property seriesCode: The primary series code of the instance.
subSeriesCode string | @alicloud/ros-cdk-core.IResolvable Property subSeriesCode: The sub series code of the instance.
vpcInfo @alicloud/ros-cdk-core.IResolvable | VpcInfoProperty Property vpcInfo: Private network configuration information.
autoRenew boolean | @alicloud/ros-cdk-core.IResolvable Property autoRenew: Whether to auto-renew.
autoRenewPeriod number | @alicloud/ros-cdk-core.IResolvable Property autoRenewPeriod: Automatic renewal period.
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: The name of the instance to be created.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: The sub series code of the instance.
period number | @alicloud/ros-cdk-core.IResolvable Property period: The subscription duration.
periodUnit string | @alicloud/ros-cdk-core.IResolvable Property periodUnit: The period unit for the duration of the instance.
remark string | @alicloud/ros-cdk-core.IResolvable Property remark: The remark of instance.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group ID.

internetInfoRequired

public readonly internetInfo: IResolvable | InternetInfoProperty;

Property internetInfo: Public network configuration information.


productInfoRequired

public readonly productInfo: IResolvable | ProductInfoProperty;

Property productInfo: Instance specification information.


seriesCodeRequired

public readonly seriesCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property seriesCode: The primary series code of the instance.


subSeriesCodeRequired

public readonly subSeriesCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property subSeriesCode: The sub series code of the instance.


vpcInfoRequired

public readonly vpcInfo: IResolvable | VpcInfoProperty;

Property vpcInfo: Private network configuration information.


autoRenewOptional

public readonly autoRenew: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property autoRenew: Whether to auto-renew.

This parameter takes effect only when the PaymentType=Subscription.


autoRenewPeriodOptional

public readonly autoRenewPeriod: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property autoRenewPeriod: Automatic renewal period.

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


instanceNameOptional

public readonly instanceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


paymentTypeOptional

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: The sub series code of the instance.


periodOptional

public readonly period: number | IResolvable;
  • Type: number | @alicloud/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.


periodUnitOptional

public readonly periodUnit: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: The remark of instance.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: Resource group ID.