PrepayInstanceProps
Properties for defining a PrepayInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-prepayinstance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Redis;
new PrepayInstanceProps {
    object AutoPay = null,
    object AutoRenewDuration = null,
    object BackupPolicy = null,
    object Connections = null,
    object DeletionForce = null,
    object DeletionProtection = null,
    object EngineVersion = null,
    object EvictionPolicy = null,
    object InstanceClass = null,
    object InstanceMaintainTime = null,
    object InstanceName = null,
    object NodeType = null,
    object Password = null,
    object Period = null,
    object PeriodUnit = null,
    object ProductType = null,
    object ResourceGroupId = null,
    object SecondaryZoneId = null,
    object SecurityGroupId = null,
    object ShardCount = null,
    object SslEnabled = null,
    TagsProperty[] Tags = null,
    object TairConfig = null,
    object VpcId = null,
    object VpcPasswordFree = null,
    object VSwitchId = null,
    object ZoneId = null
};
Properties
| Name | Type | Description | 
|---|---|---|
| AutoPay | object | Property autoPay: Indicates whether automatic payment is enabled. | 
| AutoRenewDuration | object | Property autoRenewDuration: The auto-renewal period. | 
| BackupPolicy | object | Property backupPolicy: Backup policy. | 
| Connections | object | Property connections: Connection address. | 
| DeletionForce | object | Property deletionForce: Whether destroy instance when it is in recycle. | 
| DeletionProtection | object | Property deletionProtection: Specifies whether to enable the release protection feature for the instance. | 
| EngineVersion | object | Property engineVersion: Engine version. | 
| EvictionPolicy | object | Property evictionPolicy: The eviction policy of cache data storage. | 
| InstanceClass | object | Property instanceClass: Redis instance type. | 
| InstanceMaintainTime | object | Property instanceMaintainTime: Instance maintain time. | 
| InstanceName | object | Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. | 
| NodeType | object | Property nodeType: The type of node. | 
| Password | object | Property password: The password of redis instance.length 8 to 30 characters, need to contain both uppercase and lowercase letters and numbers. | 
| Period | object | Property period: The period of order, when choose Prepaid required.optional value 1-9, 12, 24, 36, 60 Unit in month. | 
| PeriodUnit | object | Property periodUnit: The unit of the subscription duration. | 
| ProductType | object | Property productType: Product type. | 
| ResourceGroupId | object | Property resourceGroupId: Resource group id. | 
| SecondaryZoneId | object | Property secondaryZoneId: The secondary zone ID of the instance. | 
| SecurityGroupId | object | Property securityGroupId: The IDs of security groups. | 
| ShardCount | object | Property shardCount: The number of data nodes in the instance. | 
| SslEnabled | object | Property sslEnabled: Modifies the SSL status. | 
| Tags | TagsProperty[] | Property tags: Tags to attach to redis. | 
| TairConfig | object | Property tairConfig: Tair config. | 
| VpcId | object | Property vpcId: The VPC id to create ecs instance. | 
| VpcPasswordFree | object | Property vpcPasswordFree: Specifies whether to enable password free for access within the VPC. | 
| VSwitchId | object | Property vSwitchId: The vSwitch Id to create ecs instance. | 
| ZoneId | object | Property zoneId: The zone id of input region. | 
AutoPayOptional 
public object AutoPay { get; set; }
- Type: object
Property autoPay: Indicates whether automatic payment is enabled.
Valid values: false: Automatic payment is disabled. You need to go to Orders to make the payment once an order is generated. true: Automatic payment is enabled. The payment is automatically made. Default is False
AutoRenewDurationOptional 
public object AutoRenewDuration { get; set; }
- Type: object
Property autoRenewDuration: The auto-renewal period.
Valid values: 1 to 12. When the instance is about to expire, the instance is automatically renewed based on the number of months specified by this parameter. Note This parameter is valid only when ChargeType is set to PrePaid.
BackupPolicyOptional 
public object BackupPolicy { get; set; }
- Type: object
Property backupPolicy: Backup policy.
ConnectionsOptional 
public object Connections { get; set; }
- Type: object
Property connections: Connection address.
DeletionForceOptional 
public object DeletionForce { get; set; }
- Type: object
Property deletionForce: Whether destroy instance when it is in recycle.
Default is false
DeletionProtectionOptional 
public object DeletionProtection { get; set; }
- Type: object
Property deletionProtection: Specifies whether to enable the release protection feature for the instance.
Default is false.
EngineVersionOptional 
public object EngineVersion { get; set; }
- Type: object
Property engineVersion: Engine version.
Supported values: 2.8, 4.0, 5.0, 6.0 and 7.0
EvictionPolicyOptional 
public object EvictionPolicy { get; set; }
- Type: object
Property evictionPolicy: The eviction policy of cache data storage.
InstanceClassOptional 
public object InstanceClass { get; set; }
- Type: object
Property instanceClass: Redis instance type.
Refer the Redis instance type reference, such as 'redis.master.small.default', 'redis.master.4xlarge.default', 'redis.sharding.mid.default' etc
InstanceMaintainTimeOptional 
public object InstanceMaintainTime { get; set; }
- Type: object
Property instanceMaintainTime: Instance maintain time.
InstanceNameOptional 
public object InstanceName { get; set; }
- Type: object
Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
NodeTypeOptional 
public object NodeType { get; set; }
- Type: object
Property nodeType: The type of node.
Valid value:
- STAND_ALONE
- MASTER_SLAVE
- double
- single
PasswordOptional 
public object Password { get; set; }
- Type: object
Property password: The password of redis instance.length 8 to 30 characters, need to contain both uppercase and lowercase letters and numbers.
PeriodOptional 
public object Period { get; set; }
- Type: object
Property period: The period of order, when choose Prepaid required.optional value 1-9, 12, 24, 36, 60 Unit in month.
PeriodUnitOptional 
public object PeriodUnit { get; set; }
- Type: object
Property periodUnit: The unit of the subscription duration.
Valid values: Month Year Default value: Month.
ProductTypeOptional 
public object ProductType { get; set; }
- Type: object
Property productType: Product type.
Valid values:Local: Community Edition(Local) or Enhanced Edition(Local)Tair_rdb: Performance Enhanced(Cloud Disk)Tair_scm: Persistent Memory(Cloud Disk)Tair_essd: Capacity Storage(Cloud Disk)OnECS: Community Edition(Cloud Disk)
ResourceGroupIdOptional 
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
SecondaryZoneIdOptional 
public object SecondaryZoneId { get; set; }
- Type: object
Property secondaryZoneId: The secondary zone ID of the instance.
SecurityGroupIdOptional 
public object SecurityGroupId { get; set; }
- Type: object
Property securityGroupId: The IDs of security groups.
Separate multiple security group IDs with commas (,) and up to 10 can be set.
ShardCountOptional 
public object ShardCount { get; set; }
- Type: object
Property shardCount: The number of data nodes in the instance.
Default value: 1. Valid values: 1: You can create an instance in the standard architecture that contains only a single data node. For more information about the standard architecture, see Cluster master-replica instances. 2 to 32: You can create an instance in the cluster architecturethat contains the specified number of data nodes. For more information about the cluster architecture, see Cluster master-replica instances.
SslEnabledOptional 
public object SslEnabled { get; set; }
- Type: object
Property sslEnabled: Modifies the SSL status.
Valid values: Disable: disables SSL encryption. Enable: enables SSL encryption. Update: updates the SSL certificate.
TagsOptional 
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to redis.
Max support 20 tags to add during create redis. Each tag with two properties Key and Value, and Key is required.
TairConfigOptional 
public object TairConfig { get; set; }
- Type: object
Property tairConfig: Tair config.
This parameter is available only if the InstanceClass parameter is start with tair.
VpcIdOptional 
public object VpcId { get; set; }
- Type: object
Property vpcId: The VPC id to create ecs instance.
VpcPasswordFreeOptional 
public object VpcPasswordFree { get; set; }
- Type: object
Property vpcPasswordFree: Specifies whether to enable password free for access within the VPC.
If set to:
- true: enables password free.
- false: disables password free.
VSwitchIdOptional 
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The vSwitch Id to create ecs instance.
ZoneIdOptional 
public object ZoneId { get; set; }
- Type: object
Property zoneId: The zone id of input region.