@@ -355,75 +355,6 @@ def _deserialize(self, params):
355355 if params .get ("DBInstanceIdentifier" ):
356356 self .DBInstanceIdentifier = params .get ("DBInstanceIdentifier" )
357357
358-
359- class CreateDBInstanceReadReplicaRequest (AbstractModel ):
360- """CreateDBInstanceReadReplica请求参数结构体
361- """
362-
363- def __init__ (self ):
364- r"""create db instance read replica
365- :param DBInstanceIdentifier: 主实例ID。一个主实例最多只能有3个只读实例。
366- :type PathPrefix: String
367- :param DBInstanceName: 实例名称 不超过256个字节,仅支持中文、大小写字母、数字、减号和下划线
368- :type PathPrefix: String
369- :param AttachedVipId: 共享同一主实例下的只读实例IP,默认创建一个新的IP
370- :type PathPrefix: String
371- :param BillType: 计费方式 YEAR_MONTH(包年包月),DAY(按日计费),默认值:YEAR_MONTH
372- :type PathPrefix: String
373- :param Duration: 购买时长 时长 默认值:1(单位:月) 注:billType=1(包年包月)则必填
374- :type PathPrefix: String
375- :param DurationUnit: 购买时长单位 取值范围:M(月),默认值:M(区分大小写)
376- :type PathPrefix: String
377- :param AvailabilityZone.1: 可用区 示例(AvailabilityZone.1=cn-beijing-6a),默认情况下只读实例可用区与主实例一致,如果主实例是跨可用区实例,只读实例会随机分布。
378- :type PathPrefix: String
379- :param ProjectId: 项目ID 可从IAM获取ProjectId
380- :type PathPrefix: Int
381- :param Vip: 只读IP地址 选定的IP地址
382- :type PathPrefix: String
383- :param Mem: 实例内存 实例内存大小
384- :type PathPrefix: Int
385- :param Disk: 实例硬盘 实例硬盘大小
386- :type PathPrefix: Int
387- """
388- self .DBInstanceIdentifier = None
389- self .DBInstanceName = None
390- self .AttachedVipId = None
391- self .BillType = None
392- self .Duration = None
393- self .DurationUnit = None
394- self .AvailabilityZone
395- .1 = None
396- self .ProjectId = None
397- self .Vip = None
398- self .Mem = None
399- self .Disk = None
400-
401- def _deserialize (self , params ):
402- if params .get ("DBInstanceIdentifier" ):
403- self .DBInstanceIdentifier = params .get ("DBInstanceIdentifier" )
404- if params .get ("DBInstanceName" ):
405- self .DBInstanceName = params .get ("DBInstanceName" )
406- if params .get ("AttachedVipId" ):
407- self .AttachedVipId = params .get ("AttachedVipId" )
408- if params .get ("BillType" ):
409- self .BillType = params .get ("BillType" )
410- if params .get ("Duration" ):
411- self .Duration = params .get ("Duration" )
412- if params .get ("DurationUnit" ):
413- self .DurationUnit = params .get ("DurationUnit" )
414- if params .get ("AvailabilityZone.1" ):
415- self .AvailabilityZone
416- .1 = params .get ("AvailabilityZone.1" )
417- if params .get ("ProjectId" ):
418- self .ProjectId = params .get ("ProjectId" )
419- if params .get ("Vip" ):
420- self .Vip = params .get ("Vip" )
421- if params .get ("Mem" ):
422- self .Mem = params .get ("Mem" )
423- if params .get ("Disk" ):
424- self .Disk = params .get ("Disk" )
425-
426-
427358class RestoreDBInstanceToPointInTimeRequest (AbstractModel ):
428359 """RestoreDBInstanceToPointInTime请求参数结构体
429360 """
@@ -942,37 +873,6 @@ def _deserialize(self, params):
942873 if params .get ("DBInstanceIdentifier" ):
943874 self .DBInstanceIdentifier = params .get ("DBInstanceIdentifier" )
944875
945-
946- class ModifyDBInstanceAvailabilityZoneRequest (AbstractModel ):
947- """ModifyDBInstanceAvailabilityZone请求参数结构体
948- """
949-
950- def __init__ (self ):
951- r"""修改实例备库可用区
952- :param DBInstanceIdentifier: 实例ID
953- :type PathPrefix: String
954- :param AvailabilityZone.1: 主可用区 主所在可用区不可变
955- :type PathPrefix: String
956- :param AvailabilityZone.2: 备可用区
957- :type PathPrefix: String
958- """
959- self .DBInstanceIdentifier = None
960- self .AvailabilityZone
961- .1 = None
962- self .AvailabilityZone
963- .2 = None
964-
965- def _deserialize (self , params ):
966- if params .get ("DBInstanceIdentifier" ):
967- self .DBInstanceIdentifier = params .get ("DBInstanceIdentifier" )
968- if params .get ("AvailabilityZone.1" ):
969- self .AvailabilityZone
970- .1 = params .get ("AvailabilityZone.1" )
971- if params .get ("AvailabilityZone.2" ):
972- self .AvailabilityZone
973- .2 = params .get ("AvailabilityZone.2" )
974-
975-
976876class DescribeDBInstanceRegionsRequest (AbstractModel ):
977877 """DescribeDBInstanceRegions请求参数结构体
978878 """
0 commit comments