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 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. |
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. |
AutoPay
Optional
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
AutoRenewDuration
Optional
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.
BackupPolicy
Optional
public object BackupPolicy { get; set; }
- Type: object
Property backupPolicy: Backup policy.
Connections
Optional
public object Connections { get; set; }
- Type: object
Property connections: Connection address.
DeletionForce
Optional
public object DeletionForce { get; set; }
- Type: object
Property deletionForce: Whether destroy instance when it is in recycle.
Default is false
EngineVersion
Optional
public object EngineVersion { get; set; }
- Type: object
Property engineVersion: Engine version.
Supported values: 2.8, 4.0, 5.0, 6.0 and 7.0
EvictionPolicy
Optional
public object EvictionPolicy { get; set; }
- Type: object
Property evictionPolicy: The eviction policy of cache data storage.
InstanceClass
Optional
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
InstanceMaintainTime
Optional
public object InstanceMaintainTime { get; set; }
- Type: object
Property instanceMaintainTime: Instance maintain time.
InstanceName
Optional
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 '.', '-'.
NodeType
Optional
public object NodeType { get; set; }
- Type: object
Property nodeType: The type of node.
Valid value:
- STAND_ALONE
- MASTER_SLAVE
- double
- single
Password
Optional
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.
Period
Optional
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.
PeriodUnit
Optional
public object PeriodUnit { get; set; }
- Type: object
Property periodUnit: The unit of the subscription duration.
Valid values: Month Year Default value: Month.
ProductType
Optional
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)
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
SecondaryZoneId
Optional
public object SecondaryZoneId { get; set; }
- Type: object
Property secondaryZoneId: The secondary zone ID of the instance.
SecurityGroupId
Optional
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.
ShardCount
Optional
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.
SslEnabled
Optional
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.
Tags
Optional
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.
TairConfig
Optional
public object TairConfig { get; set; }
- Type: object
Property tairConfig: Tair config.
This parameter is available only if the InstanceClass parameter is start with tair.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: The VPC id to create ecs instance.
VpcPasswordFree
Optional
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.
VSwitchId
Optional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The vSwitch Id to create ecs instance.
ZoneId
Optional
public object ZoneId { get; set; }
- Type: object
Property zoneId: The zone id of input region.