public class UpgradeProxyVersionRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpgradeProxyVersionRequest() | 
| UpgradeProxyVersionRequest(UpgradeProxyVersionRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCurrentProxyVersion()Get 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。 | 
| String | getInstanceId()Get 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。 | 
| Long | getInstanceTypeUpgradeNow()Get 指定是否立即升级。
- 1:立即升级。
- 0:维护时间窗口升级。 | 
| String | getUpgradeProxyVersion()Get 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。 | 
| void | setCurrentProxyVersion(String CurrentProxyVersion)Set 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。 | 
| void | setInstanceId(String InstanceId)Set 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。 | 
| void | setInstanceTypeUpgradeNow(Long InstanceTypeUpgradeNow)Set 指定是否立即升级。
- 1:立即升级。
- 0:维护时间窗口升级。 | 
| void | setUpgradeProxyVersion(String UpgradeProxyVersion)Set 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UpgradeProxyVersionRequest()
public UpgradeProxyVersionRequest(UpgradeProxyVersionRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。public String getCurrentProxyVersion()
public void setCurrentProxyVersion(String CurrentProxyVersion)
CurrentProxyVersion - 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。public String getUpgradeProxyVersion()
public void setUpgradeProxyVersion(String UpgradeProxyVersion)
UpgradeProxyVersion - 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。public Long getInstanceTypeUpgradeNow()
public void setInstanceTypeUpgradeNow(Long InstanceTypeUpgradeNow)
InstanceTypeUpgradeNow - 指定是否立即升级。
- 1:立即升级。
- 0:维护时间窗口升级。Copyright © 2025. All rights reserved.