Skip to content

MyBaseProps

Properties for defining a MyBase.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cddc-mybase

Initializer

import { MyBaseProps } from '@alicloud/ros-cdk-cddc'
const myBaseProps: MyBaseProps = { ... }

Properties

Name Type Description
ecsClassList @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}[] Property ecsClassList: ECS Class List.
engine string | @alicloud/ros-cdk-core.IResolvable Property engine: Database type.
payType string | @alicloud/ros-cdk-core.IResolvable Property payType: Payment type, currently only supports PrePaid.
period number | @alicloud/ros-cdk-core.IResolvable Property period: The period of the subscription in months.
securityGroupId string | @alicloud/ros-cdk-core.IResolvable Property securityGroupId: The ID of the security group.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of the VPC.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: Virtual switch ID.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: Availability Zone ID.
autoRenew boolean | @alicloud/ros-cdk-core.IResolvable Property autoRenew: Whether to enable auto renew.
dedicatedHostGroupDescription string | @alicloud/ros-cdk-core.IResolvable Property dedicatedHostGroupDescription: The name of the dedicated cluster.
dedicatedHostGroupId string | @alicloud/ros-cdk-core.IResolvable Property dedicatedHostGroupId: The ID of the dedicated cluster.
ecsDeploymentSetId string | @alicloud/ros-cdk-core.IResolvable Property ecsDeploymentSetId: The ID of the deployment set.
ecsHostName string | @alicloud/ros-cdk-core.IResolvable Property ecsHostName: The host name of the ECS instance.
ecsInstanceName string | @alicloud/ros-cdk-core.IResolvable Property ecsInstanceName: The name of the ECS instance.
ecsUniqueSuffix boolean | @alicloud/ros-cdk-core.IResolvable Property ecsUniqueSuffix: The unique suffix of the ECS instance.
imageId string | @alicloud/ros-cdk-core.IResolvable Property imageId: The image ID.
internetChargeType string | @alicloud/ros-cdk-core.IResolvable Property internetChargeType: Network billing type.
internetMaxBandwidthOut number | @alicloud/ros-cdk-core.IResolvable Property internetMaxBandwidthOut: Set internet output bandwidth of instance.
keyPairName string | @alicloud/ros-cdk-core.IResolvable Property keyPairName: The name of the key pair.
osPassword string | @alicloud/ros-cdk-core.IResolvable Property osPassword: Password of created ecs instance.
passwordInherit boolean | @alicloud/ros-cdk-core.IResolvable Property passwordInherit: Whether to inherit the password from the parent cluster.
periodType string | @alicloud/ros-cdk-core.IResolvable Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group id.
userData string | @alicloud/ros-cdk-core.IResolvable Property userData: User-defined script data, the original data is up to 16KB.
userDataInBase64 boolean | @alicloud/ros-cdk-core.IResolvable Property userDataInBase64: The user data of the ECS instance.

ecsClassListRequired

public readonly ecsClassList: IResolvable | {[ key: string ]: any}[];
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}[]

Property ecsClassList: ECS Class List.


engineRequired

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

Property engine: Database type.


payTypeRequired

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

Property payType: Payment type, currently only supports PrePaid.


periodRequired

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

Property period: The period of the subscription in months.


securityGroupIdRequired

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

Property securityGroupId: The ID of the security group.


vpcIdRequired

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

Property vpcId: The ID of the VPC.


vSwitchIdRequired

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

Property vSwitchId: Virtual switch ID.


zoneIdRequired

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

Property zoneId: Availability Zone ID.


autoRenewOptional

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

Property autoRenew: Whether to enable auto renew.


dedicatedHostGroupDescriptionOptional

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

Property dedicatedHostGroupDescription: The name of the dedicated cluster.


dedicatedHostGroupIdOptional

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

Property dedicatedHostGroupId: The ID of the dedicated cluster.


ecsDeploymentSetIdOptional

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

Property ecsDeploymentSetId: The ID of the deployment set.


ecsHostNameOptional

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

Property ecsHostName: The host name of the ECS instance.


ecsInstanceNameOptional

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

Property ecsInstanceName: The name of the ECS instance.


ecsUniqueSuffixOptional

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

Property ecsUniqueSuffix: The unique suffix of the ECS instance.


imageIdOptional

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

Property imageId: The image ID.


internetChargeTypeOptional

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

Property internetChargeType: Network billing type.

Value range: PayByBandwidth: billed based on fixed bandwidth. PayByTraffic: Pay by traffic usage.


internetMaxBandwidthOutOptional

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

Property internetMaxBandwidthOut: Set internet output bandwidth of instance.

Unit is Mbps(Mega bit per second). Range is [0,200]. Default is 1. While the property is not 0, public ip will be assigned for instance.


keyPairNameOptional

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

Property keyPairName: The name of the key pair.


osPasswordOptional

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

Property osPassword: Password of created ecs instance.

Must contain at least 3 types of special character, lower character, upper character, number.


passwordInheritOptional

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

Property passwordInherit: Whether to inherit the password from the parent cluster.


periodTypeOptional

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

Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


userDataOptional

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

Property userData: User-defined script data, the original data is up to 16KB.


userDataInBase64Optional

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

Property userDataInBase64: The user data of the ECS instance.