Skip to content

MyBaseProps

Properties for defining a MyBase.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcddc"
&alicloudroscdkcddc.MyBaseProps {
    EcsClassList: interface{},
    Engine: interface{},
    PayType: interface{},
    Period: interface{},
    SecurityGroupId: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
    AutoRenew: interface{},
    DedicatedHostGroupDescription: interface{},
    DedicatedHostGroupId: interface{},
    EcsDeploymentSetId: interface{},
    EcsHostName: interface{},
    EcsInstanceName: interface{},
    EcsUniqueSuffix: interface{},
    ImageId: interface{},
    InternetChargeType: interface{},
    InternetMaxBandwidthOut: interface{},
    KeyPairName: interface{},
    OsPassword: interface{},
    PasswordInherit: interface{},
    PeriodType: interface{},
    ResourceGroupId: interface{},
    UserData: interface{},
    UserDataInBase64: interface{},
}

Properties

Name Type Description
EcsClassList interface{} Property ecsClassList: ECS Class List.
Engine interface{} Property engine: Database type.
PayType interface{} Property payType: Payment type, currently only supports PrePaid.
Period interface{} Property period: The period of the subscription in months.
SecurityGroupId interface{} Property securityGroupId: The ID of the security group.
VpcId interface{} Property vpcId: The ID of the VPC.
VSwitchId interface{} Property vSwitchId: Virtual switch ID.
ZoneId interface{} Property zoneId: Availability Zone ID.
AutoRenew interface{} Property autoRenew: Whether to enable auto renew.
DedicatedHostGroupDescription interface{} Property dedicatedHostGroupDescription: The name of the dedicated cluster.
DedicatedHostGroupId interface{} Property dedicatedHostGroupId: The ID of the dedicated cluster.
EcsDeploymentSetId interface{} Property ecsDeploymentSetId: The ID of the deployment set.
EcsHostName interface{} Property ecsHostName: The host name of the ECS instance.
EcsInstanceName interface{} Property ecsInstanceName: The name of the ECS instance.
EcsUniqueSuffix interface{} Property ecsUniqueSuffix: The unique suffix of the ECS instance.
ImageId interface{} Property imageId: The image ID.
InternetChargeType interface{} Property internetChargeType: Network billing type.
InternetMaxBandwidthOut interface{} Property internetMaxBandwidthOut: Set internet output bandwidth of instance.
KeyPairName interface{} Property keyPairName: The name of the key pair.
OsPassword interface{} Property osPassword: Password of created ecs instance.
PasswordInherit interface{} Property passwordInherit: Whether to inherit the password from the parent cluster.
PeriodType interface{} Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).
ResourceGroupId interface{} Property resourceGroupId: Resource group id.
UserData interface{} Property userData: User-defined script data, the original data is up to 16KB.
UserDataInBase64 interface{} Property userDataInBase64: The user data of the ECS instance.

EcsClassListRequired

EcsClassList interface{}
  • Type: interface{}

Property ecsClassList: ECS Class List.


EngineRequired

Engine interface{}
  • Type: interface{}

Property engine: Database type.


PayTypeRequired

PayType interface{}
  • Type: interface{}

Property payType: Payment type, currently only supports PrePaid.


PeriodRequired

Period interface{}
  • Type: interface{}

Property period: The period of the subscription in months.


SecurityGroupIdRequired

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: The ID of the security group.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC.


VSwitchIdRequired

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: Virtual switch ID.


ZoneIdRequired

ZoneId interface{}
  • Type: interface{}

Property zoneId: Availability Zone ID.


AutoRenewOptional

AutoRenew interface{}
  • Type: interface{}

Property autoRenew: Whether to enable auto renew.


DedicatedHostGroupDescriptionOptional

DedicatedHostGroupDescription interface{}
  • Type: interface{}

Property dedicatedHostGroupDescription: The name of the dedicated cluster.


DedicatedHostGroupIdOptional

DedicatedHostGroupId interface{}
  • Type: interface{}

Property dedicatedHostGroupId: The ID of the dedicated cluster.


EcsDeploymentSetIdOptional

EcsDeploymentSetId interface{}
  • Type: interface{}

Property ecsDeploymentSetId: The ID of the deployment set.


EcsHostNameOptional

EcsHostName interface{}
  • Type: interface{}

Property ecsHostName: The host name of the ECS instance.


EcsInstanceNameOptional

EcsInstanceName interface{}
  • Type: interface{}

Property ecsInstanceName: The name of the ECS instance.


EcsUniqueSuffixOptional

EcsUniqueSuffix interface{}
  • Type: interface{}

Property ecsUniqueSuffix: The unique suffix of the ECS instance.


ImageIdOptional

ImageId interface{}
  • Type: interface{}

Property imageId: The image ID.


InternetChargeTypeOptional

InternetChargeType interface{}
  • Type: interface{}

Property internetChargeType: Network billing type.

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


InternetMaxBandwidthOutOptional

InternetMaxBandwidthOut interface{}
  • Type: interface{}

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

KeyPairName interface{}
  • Type: interface{}

Property keyPairName: The name of the key pair.


OsPasswordOptional

OsPassword interface{}
  • Type: interface{}

Property osPassword: Password of created ecs instance.

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


PasswordInheritOptional

PasswordInherit interface{}
  • Type: interface{}

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


PeriodTypeOptional

PeriodType interface{}
  • Type: interface{}

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


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.


UserDataOptional

UserData interface{}
  • Type: interface{}

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


UserDataInBase64Optional

UserDataInBase64 interface{}
  • Type: interface{}

Property userDataInBase64: The user data of the ECS instance.