@@ -4992,6 +4992,7 @@ class UpdateInstanceRequest(TeaModel):
4992
4992
def __init__ (
4993
4993
self ,
4994
4994
client_token : str = None ,
4995
+ edition : str = None ,
4995
4996
encrypted_instance : bool = None ,
4996
4997
instance_id : str = None ,
4997
4998
instance_type : str = None ,
@@ -5000,6 +5001,7 @@ def __init__(
5000
5001
max_eip_tps : int = None ,
5001
5002
max_private_tps : int = None ,
5002
5003
modify_type : str = None ,
5004
+ provisioned_capacity : int = None ,
5003
5005
queue_capacity : int = None ,
5004
5006
serverless_charge_type : str = None ,
5005
5007
storage_size : int = None ,
@@ -5009,6 +5011,7 @@ def __init__(
5009
5011
):
5010
5012
# The client token.
5011
5013
self .client_token = client_token
5014
+ self .edition = edition
5012
5015
# 实例是否开通数据存储加密功能
5013
5016
self .encrypted_instance = encrypted_instance
5014
5017
# The ID of the ApsaraMQ for RabbitMQ instance.
@@ -5038,6 +5041,7 @@ def __init__(
5038
5041
#
5039
5042
# This parameter is required.
5040
5043
self .modify_type = modify_type
5044
+ self .provisioned_capacity = provisioned_capacity
5041
5045
# The maximum number of queues that can be created on the instance.
5042
5046
self .queue_capacity = queue_capacity
5043
5047
# The billing method of the serverless instance. Valid values:
@@ -5070,6 +5074,8 @@ def to_map(self):
5070
5074
result = dict ()
5071
5075
if self .client_token is not None :
5072
5076
result ['ClientToken' ] = self .client_token
5077
+ if self .edition is not None :
5078
+ result ['Edition' ] = self .edition
5073
5079
if self .encrypted_instance is not None :
5074
5080
result ['EncryptedInstance' ] = self .encrypted_instance
5075
5081
if self .instance_id is not None :
@@ -5086,6 +5092,8 @@ def to_map(self):
5086
5092
result ['MaxPrivateTps' ] = self .max_private_tps
5087
5093
if self .modify_type is not None :
5088
5094
result ['ModifyType' ] = self .modify_type
5095
+ if self .provisioned_capacity is not None :
5096
+ result ['ProvisionedCapacity' ] = self .provisioned_capacity
5089
5097
if self .queue_capacity is not None :
5090
5098
result ['QueueCapacity' ] = self .queue_capacity
5091
5099
if self .serverless_charge_type is not None :
@@ -5104,6 +5112,8 @@ def from_map(self, m: dict = None):
5104
5112
m = m or dict ()
5105
5113
if m .get ('ClientToken' ) is not None :
5106
5114
self .client_token = m .get ('ClientToken' )
5115
+ if m .get ('Edition' ) is not None :
5116
+ self .edition = m .get ('Edition' )
5107
5117
if m .get ('EncryptedInstance' ) is not None :
5108
5118
self .encrypted_instance = m .get ('EncryptedInstance' )
5109
5119
if m .get ('InstanceId' ) is not None :
@@ -5120,6 +5130,8 @@ def from_map(self, m: dict = None):
5120
5130
self .max_private_tps = m .get ('MaxPrivateTps' )
5121
5131
if m .get ('ModifyType' ) is not None :
5122
5132
self .modify_type = m .get ('ModifyType' )
5133
+ if m .get ('ProvisionedCapacity' ) is not None :
5134
+ self .provisioned_capacity = m .get ('ProvisionedCapacity' )
5123
5135
if m .get ('QueueCapacity' ) is not None :
5124
5136
self .queue_capacity = m .get ('QueueCapacity' )
5125
5137
if m .get ('ServerlessChargeType' ) is not None :
0 commit comments