Skip to content

UpgradeVersionProps

Properties for defining a UpgradeVersion.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-upgradeversion

Initializer

import { UpgradeVersionProps } from '@alicloud/ros-cdk-redis'
const upgradeVersionProps: UpgradeVersionProps = { ... }

Properties

Name Type Description
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The id of the instance.
autoUpgradeOpen boolean | @alicloud/ros-cdk-core.IResolvable Property autoUpgradeOpen: Whether to enable automatic upgrade.
effectiveTime string | @alicloud/ros-cdk-core.IResolvable Property effectiveTime: The time when the upgrade is effective.
majorVersion string | @alicloud/ros-cdk-core.IResolvable Property majorVersion: Upgrade the major version of the instance.
minorVersion string | @alicloud/ros-cdk-core.IResolvable Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version.

instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The id of the instance.


autoUpgradeOpenOptional

public readonly autoUpgradeOpen: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property autoUpgradeOpen: Whether to enable automatic upgrade.


effectiveTimeOptional

public readonly effectiveTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property effectiveTime: The time when the upgrade is effective.

Value: Immediately|MaintainTime, default: Immediately.


majorVersionOptional

public readonly majorVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property majorVersion: Upgrade the major version of the instance.


minorVersionOptional

public readonly minorVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version.