UpgradeVersionProps
Properties for defining a UpgradeVersion.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-upgradeversion
Initializer
import ros_cdk_redis
ros_cdk_redis.UpgradeVersionProps(
instance_id: typing.Union[str, IResolvable],
auto_upgrade_open: typing.Union[bool, IResolvable] = None,
effective_time: typing.Union[str, IResolvable] = None,
major_version: typing.Union[str, IResolvable] = None,
minor_version: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceId: The id of the instance. |
auto_upgrade_open | typing.Union[bool, ros_cdk_core.IResolvable] | Property autoUpgradeOpen: Whether to enable automatic upgrade. |
effective_time | typing.Union[str, ros_cdk_core.IResolvable] | Property effectiveTime: The time when the upgrade is effective. |
major_version | typing.Union[str, ros_cdk_core.IResolvable] | Property majorVersion: Upgrade the major version of the instance. |
minor_version | typing.Union[str, ros_cdk_core.IResolvable] | Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version. |
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The id of the instance.
auto_upgrade_openOptional
auto_upgrade_open: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property autoUpgradeOpen: Whether to enable automatic upgrade.
effective_timeOptional
effective_time: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property effectiveTime: The time when the upgrade is effective.
Value: Immediately|MaintainTime, default: Immediately.
major_versionOptional
major_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property majorVersion: Upgrade the major version of the instance.
minor_versionOptional
minor_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version.