Skip to content

MyBaseProps

Properties for defining a MyBase.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cddc;
new MyBaseProps {
    object EcsClassList,
    object Engine,
    object PayType,
    object Period,
    object SecurityGroupId,
    object VpcId,
    object VSwitchId,
    object ZoneId,
    object AutoRenew = null,
    object DedicatedHostGroupDescription = null,
    object DedicatedHostGroupId = null,
    object EcsDeploymentSetId = null,
    object EcsHostName = null,
    object EcsInstanceName = null,
    object EcsUniqueSuffix = null,
    object ImageId = null,
    object InternetChargeType = null,
    object InternetMaxBandwidthOut = null,
    object KeyPairName = null,
    object OsPassword = null,
    object PasswordInherit = null,
    object PeriodType = null,
    object ResourceGroupId = null,
    object UserData = null,
    object UserDataInBase64 = null
};

Properties

Name Type Description
EcsClassList object Property ecsClassList: ECS Class List.
Engine object Property engine: The database type.
PayType object Property payType: Payment type, currently only supports PrePaid.
Period object Property period: The period of the subscription in months.
SecurityGroupId object Property securityGroupId: The security group ID.
VpcId object Property vpcId: The ID of the VPC.
VSwitchId object Property vSwitchId: Virtual switch ID.
ZoneId object Property zoneId: Availability Zone ID.
AutoRenew object Property autoRenew: Whether to enable auto renew.
DedicatedHostGroupDescription object Property dedicatedHostGroupDescription: The name of the dedicated cluster.
DedicatedHostGroupId object Property dedicatedHostGroupId: The ID of the dedicated cluster.
EcsDeploymentSetId object Property ecsDeploymentSetId: The ID of the deployment set.
EcsHostName object Property ecsHostName: For Windows operating systems: The host name must be 2 to 15 characters in length and can contain uppercase letters, lowercase letters, and digits.
EcsInstanceName object Property ecsInstanceName: The instance name.
EcsUniqueSuffix object Property ecsUniqueSuffix: Automatically add a sequential suffix to the HostName and InstanceName when you create multiple instances.
ImageId object Property imageId: The custom image ID.
InternetChargeType object Property internetChargeType: The network billing method.
InternetMaxBandwidthOut object Property internetMaxBandwidthOut: The maximum outbound public bandwidth, in Mbit\/s.
KeyPairName object Property keyPairName: The name of the key pair.
OsPassword object Property osPassword: The logon password for the host.
PasswordInherit object Property passwordInherit: Use the default password of the image.
PeriodType object Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).
ResourceGroupId object Property resourceGroupId: Resource group id.
UserData object Property userData: User-defined script data, the original data is up to 16KB.
UserDataInBase64 object Property userDataInBase64: Indicates whether the custom data is Base64-encoded.

EcsClassListRequired

public object EcsClassList { get; set; }
  • Type: object

Property ecsClassList: ECS Class List.


EngineRequired

public object Engine { get; set; }
  • Type: object

Property engine: The database type.

Valid values:

  • mysql
  • tair

PayTypeRequired

public object PayType { get; set; }
  • Type: object

Property payType: Payment type, currently only supports PrePaid.


PeriodRequired

public object Period { get; set; }
  • Type: object

Property period: The period of the subscription in months.


SecurityGroupIdRequired

public object SecurityGroupId { get; set; }
  • Type: object

Property securityGroupId: The security group ID.

Specify multiple security groups, separated by commas (,). Format: sg-t4neld965n89ocvt,sg-t4neld965n89ocvu


VpcIdRequired

public object VpcId { get; set; }
  • Type: object

Property vpcId: The ID of the VPC.


VSwitchIdRequired

public object VSwitchId { get; set; }
  • Type: object

Property vSwitchId: Virtual switch ID.


ZoneIdRequired

public object ZoneId { get; set; }
  • Type: object

Property zoneId: Availability Zone ID.


AutoRenewOptional

public object AutoRenew { get; set; }
  • Type: object

Property autoRenew: Whether to enable auto renew.


DedicatedHostGroupDescriptionOptional

public object DedicatedHostGroupDescription { get; set; }
  • Type: object

Property dedicatedHostGroupDescription: The name of the dedicated cluster.


DedicatedHostGroupIdOptional

public object DedicatedHostGroupId { get; set; }
  • Type: object

Property dedicatedHostGroupId: The ID of the dedicated cluster.


EcsDeploymentSetIdOptional

public object EcsDeploymentSetId { get; set; }
  • Type: object

Property ecsDeploymentSetId: The ID of the deployment set.


EcsHostNameOptional

public object EcsHostName { get; set; }
  • Type: object

Property ecsHostName: For Windows operating systems: The host name must be 2 to 15 characters in length and can contain uppercase letters, lowercase letters, and digits.

It cannot consist of only digits. For other operating systems (such as Linux): The host name must be 2 to 64 characters in length and can contain periods (.) to separate multiple segments. Each segment can contain uppercase letters, lowercase letters, and digits. Consecutive periods (.) are not allowed. The host name cannot start or end with a period (.).


EcsInstanceNameOptional

public object EcsInstanceName { get; set; }
  • Type: object

Property ecsInstanceName: The instance name.

It must be 2 to 128 characters in length. It must start with an uppercase letter, a lowercase letter, or a Chinese character. It cannot start with http:// or https://. It can contain Chinese characters, English letters, digits, colons (:), underscores (_), periods (.), or hyphens (-). The default value is the instance ID.


EcsUniqueSuffixOptional

public object EcsUniqueSuffix { get; set; }
  • Type: object

Property ecsUniqueSuffix: Automatically add a sequential suffix to the HostName and InstanceName when you create multiple instances.

The sequential suffix starts from 001 and increments up to 999. Valid values:

  • true: Add.
  • false (default): Do not add. If HostName or InstanceName is set in a specific sorting format, and the name_suffix is not set (i.e., the naming format is name_prefix[begin_number,bits]), UniqueSuffix does not take effect. The names are sorted only in the specified order.

ImageIdOptional

public object ImageId { get; set; }
  • Type: object

Property imageId: The custom image ID.

If you want to use the default image, do not specify this parameter.


InternetChargeTypeOptional

public object InternetChargeType { get; set; }
  • Type: object

Property internetChargeType: The network billing method.

Valid values include the following:


InternetMaxBandwidthOutOptional

public object InternetMaxBandwidthOut { get; set; }
  • Type: object

Property internetMaxBandwidthOut: The maximum outbound public bandwidth, in Mbit\/s.

Valid values: 0 to 100. Default value: 0. If you set this parameter to a value greater than 0, a public IP address is automatically created.


KeyPairNameOptional

public object KeyPairName { get; set; }
  • Type: object

Property keyPairName: The name of the key pair.


OsPasswordOptional

public object OsPassword { get; set; }
  • Type: object

Property osPassword: The logon password for the host.

You can set it later. The password must meet the following requirements:

  • It must be 8 to 30 characters in length.
  • It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
  • Special characters: ()\~!@#$%^&*-_+=|{}[]:;'<>,.?/`
  • If you want to set the logon password later, leave this parameter empty.
  • If you want to set the logon password, use HTTPS to send requests to prevent password leakage.

PasswordInheritOptional

public object PasswordInherit { get; set; }
  • Type: object

Property passwordInherit: Use the default password of the image.

  • false (default): Do not use.
  • true: Use.

If you use the default password of the image, do not specify the OSPassword parameter.


PeriodTypeOptional

public object PeriodType { get; set; }
  • Type: object

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


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group id.


UserDataOptional

public object UserData { get; set; }
  • Type: object

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


UserDataInBase64Optional

public object UserDataInBase64 { get; set; }
  • Type: object

Property userDataInBase64: Indicates whether the custom data is Base64-encoded.