InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-instance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ens;
new InstanceProps {
object DataDiskSize,
object EnsRegionId,
object ImageId,
object InstanceType,
object Period,
object Quantity,
object SystemDiskSize,
object AutoRenew = null,
object AutoRenewPeriod = null,
object HostName = null,
object InstanceName = null,
object InternetChargeType = null,
object IpType = null,
object KeyPairName = null,
object Password = null,
object PaymentType = null,
object PrivateIpAddress = null,
object UniqueSuffix = null,
object UserData = null,
object VSwitchId = null
};
Properties
Name | Type | Description |
---|---|---|
DataDiskSize |
object |
Property dataDiskSize: Disk size of the system disk, range from 20 to 500 GB. |
EnsRegionId |
object |
Property ensRegionId: ENS Region Id. |
ImageId |
object |
Property imageId: Image ID to create ens instance. |
InstanceType |
object |
Property instanceType: ENS instance supported instance type, make sure it should be correct. |
Period |
object |
Property period: Prepaid time period. |
Quantity |
object |
Property quantity: number of instances to create. |
SystemDiskSize |
object |
Property systemDiskSize: Disk size of the system disk. |
AutoRenew |
object |
Property autoRenew: Whether renew the fee automatically?it could be True,FalseDefault value is False. |
AutoRenewPeriod |
object |
Property autoRenewPeriod: The time period of auto renew. |
HostName |
object |
Property hostName: The hostname of the instance. |
InstanceName |
object |
Property instanceName: Instance name. |
InternetChargeType |
object |
Property internetChargeType: Instance Charge type.it could be 95BandwidthByMonth, PayByBandwidth4thMonth. |
IpType |
object |
Property ipType: ip type, It could be ipv4Andipv6,ipv4,ipv6.default value isi pv4. |
KeyPairName |
object |
Property keyPairName: SSH key pair name. |
Password |
object |
Property password: Password of created ens instance. |
PaymentType |
object |
Property paymentType: Payment Type.only support value Subscription. |
PrivateIpAddress |
object |
Property privateIpAddress: Private IP for the instance created. |
UniqueSuffix |
object |
Property uniqueSuffix: Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. |
UserData |
object |
Property userData: User data to pass to instance. |
VSwitchId |
object |
Property vSwitchId: The vSwitch Id to create ens instance. |
DataDiskSize
Required
public object DataDiskSize { get; set; }
- Type: object
Property dataDiskSize: Disk size of the system disk, range from 20 to 500 GB.
If you specify with your own image, make sure the system disk size bigger than image size.
EnsRegionId
Required
public object EnsRegionId { get; set; }
- Type: object
Property ensRegionId: ENS Region Id.
ImageId
Required
public object ImageId { get; set; }
- Type: object
Property imageId: Image ID to create ens instance.
InstanceType
Required
public object InstanceType { get; set; }
- Type: object
Property instanceType: ENS instance supported instance type, make sure it should be correct.
Period
Required
public object Period { get; set; }
- Type: object
Property period: Prepaid time period.
Unit is month, it could be from 1 to 9 or 12. Default value is 1.
Quantity
Required
public object Quantity { get; set; }
- Type: object
Property quantity: number of instances to create.
SystemDiskSize
Required
public object SystemDiskSize { get; set; }
- Type: object
Property systemDiskSize: Disk size of the system disk.
AutoRenew
Optional
public object AutoRenew { get; set; }
- Type: object
Property autoRenew: Whether renew the fee automatically?it could be True,FalseDefault value is False.
AutoRenewPeriod
Optional
public object AutoRenewPeriod { get; set; }
- Type: object
Property autoRenewPeriod: The time period of auto renew.
it will take effect.It could be 1, 2, 3, 6, 12. Default value is 1.
HostName
Optional
public object HostName { get; set; }
- Type: object
Property hostName: The hostname of the instance.
InstanceName
Optional
public object InstanceName { get; set; }
- Type: object
Property instanceName: Instance name.
InternetChargeType
Optional
public object InternetChargeType { get; set; }
- Type: object
Property internetChargeType: Instance Charge type.it could be 95BandwidthByMonth, PayByBandwidth4thMonth.
IpType
Optional
public object IpType { get; set; }
- Type: object
Property ipType: ip type, It could be ipv4Andipv6,ipv4,ipv6.default value isi pv4.
KeyPairName
Optional
public object KeyPairName { get; set; }
- Type: object
Property keyPairName: SSH key pair name.
Password
Optional
public object Password { get; set; }
- Type: object
Property password: Password of created ens instance.
Must contain at least 3 types of special character, lower character, upper character, number.
PaymentType
Optional
public object PaymentType { get; set; }
- Type: object
Property paymentType: Payment Type.only support value Subscription.
PrivateIpAddress
Optional
public object PrivateIpAddress { get; set; }
- Type: object
Property privateIpAddress: Private IP for the instance created.
UniqueSuffix
Optional
public object UniqueSuffix { get; set; }
- Type: object
Property uniqueSuffix: Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time.
The sequential suffix ranges from 001 to 999. Valid values: true false Default value: false.
UserData
Optional
public object UserData { get; set; }
- Type: object
Property userData: User data to pass to instance.
[1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
VSwitchId
Optional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The vSwitch Id to create ens instance.