huaweicloudsdkdcs 3.1.91__py2.py3-none-any.whl → 3.1.93__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkdcs might be problematic. Click here for more details.
- huaweicloudsdkdcs/v2/model/details_body.py +549 -27
- huaweicloudsdkdcs/v2/model/migration_task_list.py +366 -18
- huaweicloudsdkdcs/v2/model/show_migration_task_response.py +264 -3
- huaweicloudsdkdcs/v2/model/source_instance_body.py +206 -3
- huaweicloudsdkdcs/v2/model/stop_migration_task_response.py +264 -3
- huaweicloudsdkdcs/v2/model/target_instance_body.py +148 -3
- {huaweicloudsdkdcs-3.1.91.dist-info → huaweicloudsdkdcs-3.1.93.dist-info}/METADATA +2 -2
- {huaweicloudsdkdcs-3.1.91.dist-info → huaweicloudsdkdcs-3.1.93.dist-info}/RECORD +11 -11
- {huaweicloudsdkdcs-3.1.91.dist-info → huaweicloudsdkdcs-3.1.93.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdcs-3.1.91.dist-info → huaweicloudsdkdcs-3.1.93.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdcs-3.1.91.dist-info → huaweicloudsdkdcs-3.1.93.dist-info}/top_level.txt +0 -0
|
@@ -30,7 +30,16 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
30
30
|
'source_instance': 'SourceInstanceBody',
|
|
31
31
|
'target_instance': 'TargetInstanceBody',
|
|
32
32
|
'created_at': 'str',
|
|
33
|
-
'updated_at': 'str'
|
|
33
|
+
'updated_at': 'str',
|
|
34
|
+
'released_at': 'str',
|
|
35
|
+
'version': 'str',
|
|
36
|
+
'resume_mode': 'str',
|
|
37
|
+
'supported_features': 'list[str]',
|
|
38
|
+
'tenant_vpc_id': 'str',
|
|
39
|
+
'tenant_subnet_id': 'str',
|
|
40
|
+
'tenant_security_group_id': 'str',
|
|
41
|
+
'bandwidth_limit_mb': 'str',
|
|
42
|
+
'task_status': 'str'
|
|
34
43
|
}
|
|
35
44
|
|
|
36
45
|
attribute_map = {
|
|
@@ -46,10 +55,19 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
46
55
|
'source_instance': 'source_instance',
|
|
47
56
|
'target_instance': 'target_instance',
|
|
48
57
|
'created_at': 'created_at',
|
|
49
|
-
'updated_at': 'updated_at'
|
|
58
|
+
'updated_at': 'updated_at',
|
|
59
|
+
'released_at': 'released_at',
|
|
60
|
+
'version': 'version',
|
|
61
|
+
'resume_mode': 'resume_mode',
|
|
62
|
+
'supported_features': 'supported_features',
|
|
63
|
+
'tenant_vpc_id': 'tenant_vpc_id',
|
|
64
|
+
'tenant_subnet_id': 'tenant_subnet_id',
|
|
65
|
+
'tenant_security_group_id': 'tenant_security_group_id',
|
|
66
|
+
'bandwidth_limit_mb': 'bandwidth_limit_mb',
|
|
67
|
+
'task_status': 'task_status'
|
|
50
68
|
}
|
|
51
69
|
|
|
52
|
-
def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None):
|
|
70
|
+
def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None, released_at=None, version=None, resume_mode=None, supported_features=None, tenant_vpc_id=None, tenant_subnet_id=None, tenant_security_group_id=None, bandwidth_limit_mb=None, task_status=None):
|
|
53
71
|
"""ShowMigrationTaskResponse
|
|
54
72
|
|
|
55
73
|
The model defined in huaweicloud sdk
|
|
@@ -80,6 +98,24 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
80
98
|
:type created_at: str
|
|
81
99
|
:param updated_at: 迁移任务完成时间。
|
|
82
100
|
:type updated_at: str
|
|
101
|
+
:param released_at: 迁移机释放时间。
|
|
102
|
+
:type released_at: str
|
|
103
|
+
:param version: 版本。
|
|
104
|
+
:type version: str
|
|
105
|
+
:param resume_mode: 操作模式,分为auto和manual。
|
|
106
|
+
:type resume_mode: str
|
|
107
|
+
:param supported_features: 支持的特性。
|
|
108
|
+
:type supported_features: list[str]
|
|
109
|
+
:param tenant_vpc_id: 租户VPC ID。
|
|
110
|
+
:type tenant_vpc_id: str
|
|
111
|
+
:param tenant_subnet_id: 租户子网ID。
|
|
112
|
+
:type tenant_subnet_id: str
|
|
113
|
+
:param tenant_security_group_id: 租户安全组ID。
|
|
114
|
+
:type tenant_security_group_id: str
|
|
115
|
+
:param bandwidth_limit_mb: 带宽限制速度。
|
|
116
|
+
:type bandwidth_limit_mb: str
|
|
117
|
+
:param task_status: 任务状态。
|
|
118
|
+
:type task_status: str
|
|
83
119
|
"""
|
|
84
120
|
|
|
85
121
|
super(ShowMigrationTaskResponse, self).__init__()
|
|
@@ -97,6 +133,15 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
97
133
|
self._target_instance = None
|
|
98
134
|
self._created_at = None
|
|
99
135
|
self._updated_at = None
|
|
136
|
+
self._released_at = None
|
|
137
|
+
self._version = None
|
|
138
|
+
self._resume_mode = None
|
|
139
|
+
self._supported_features = None
|
|
140
|
+
self._tenant_vpc_id = None
|
|
141
|
+
self._tenant_subnet_id = None
|
|
142
|
+
self._tenant_security_group_id = None
|
|
143
|
+
self._bandwidth_limit_mb = None
|
|
144
|
+
self._task_status = None
|
|
100
145
|
self.discriminator = None
|
|
101
146
|
|
|
102
147
|
if task_id is not None:
|
|
@@ -125,6 +170,24 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
125
170
|
self.created_at = created_at
|
|
126
171
|
if updated_at is not None:
|
|
127
172
|
self.updated_at = updated_at
|
|
173
|
+
if released_at is not None:
|
|
174
|
+
self.released_at = released_at
|
|
175
|
+
if version is not None:
|
|
176
|
+
self.version = version
|
|
177
|
+
if resume_mode is not None:
|
|
178
|
+
self.resume_mode = resume_mode
|
|
179
|
+
if supported_features is not None:
|
|
180
|
+
self.supported_features = supported_features
|
|
181
|
+
if tenant_vpc_id is not None:
|
|
182
|
+
self.tenant_vpc_id = tenant_vpc_id
|
|
183
|
+
if tenant_subnet_id is not None:
|
|
184
|
+
self.tenant_subnet_id = tenant_subnet_id
|
|
185
|
+
if tenant_security_group_id is not None:
|
|
186
|
+
self.tenant_security_group_id = tenant_security_group_id
|
|
187
|
+
if bandwidth_limit_mb is not None:
|
|
188
|
+
self.bandwidth_limit_mb = bandwidth_limit_mb
|
|
189
|
+
if task_status is not None:
|
|
190
|
+
self.task_status = task_status
|
|
128
191
|
|
|
129
192
|
@property
|
|
130
193
|
def task_id(self):
|
|
@@ -400,6 +463,204 @@ class ShowMigrationTaskResponse(SdkResponse):
|
|
|
400
463
|
"""
|
|
401
464
|
self._updated_at = updated_at
|
|
402
465
|
|
|
466
|
+
@property
|
|
467
|
+
def released_at(self):
|
|
468
|
+
"""Gets the released_at of this ShowMigrationTaskResponse.
|
|
469
|
+
|
|
470
|
+
迁移机释放时间。
|
|
471
|
+
|
|
472
|
+
:return: The released_at of this ShowMigrationTaskResponse.
|
|
473
|
+
:rtype: str
|
|
474
|
+
"""
|
|
475
|
+
return self._released_at
|
|
476
|
+
|
|
477
|
+
@released_at.setter
|
|
478
|
+
def released_at(self, released_at):
|
|
479
|
+
"""Sets the released_at of this ShowMigrationTaskResponse.
|
|
480
|
+
|
|
481
|
+
迁移机释放时间。
|
|
482
|
+
|
|
483
|
+
:param released_at: The released_at of this ShowMigrationTaskResponse.
|
|
484
|
+
:type released_at: str
|
|
485
|
+
"""
|
|
486
|
+
self._released_at = released_at
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
def version(self):
|
|
490
|
+
"""Gets the version of this ShowMigrationTaskResponse.
|
|
491
|
+
|
|
492
|
+
版本。
|
|
493
|
+
|
|
494
|
+
:return: The version of this ShowMigrationTaskResponse.
|
|
495
|
+
:rtype: str
|
|
496
|
+
"""
|
|
497
|
+
return self._version
|
|
498
|
+
|
|
499
|
+
@version.setter
|
|
500
|
+
def version(self, version):
|
|
501
|
+
"""Sets the version of this ShowMigrationTaskResponse.
|
|
502
|
+
|
|
503
|
+
版本。
|
|
504
|
+
|
|
505
|
+
:param version: The version of this ShowMigrationTaskResponse.
|
|
506
|
+
:type version: str
|
|
507
|
+
"""
|
|
508
|
+
self._version = version
|
|
509
|
+
|
|
510
|
+
@property
|
|
511
|
+
def resume_mode(self):
|
|
512
|
+
"""Gets the resume_mode of this ShowMigrationTaskResponse.
|
|
513
|
+
|
|
514
|
+
操作模式,分为auto和manual。
|
|
515
|
+
|
|
516
|
+
:return: The resume_mode of this ShowMigrationTaskResponse.
|
|
517
|
+
:rtype: str
|
|
518
|
+
"""
|
|
519
|
+
return self._resume_mode
|
|
520
|
+
|
|
521
|
+
@resume_mode.setter
|
|
522
|
+
def resume_mode(self, resume_mode):
|
|
523
|
+
"""Sets the resume_mode of this ShowMigrationTaskResponse.
|
|
524
|
+
|
|
525
|
+
操作模式,分为auto和manual。
|
|
526
|
+
|
|
527
|
+
:param resume_mode: The resume_mode of this ShowMigrationTaskResponse.
|
|
528
|
+
:type resume_mode: str
|
|
529
|
+
"""
|
|
530
|
+
self._resume_mode = resume_mode
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
def supported_features(self):
|
|
534
|
+
"""Gets the supported_features of this ShowMigrationTaskResponse.
|
|
535
|
+
|
|
536
|
+
支持的特性。
|
|
537
|
+
|
|
538
|
+
:return: The supported_features of this ShowMigrationTaskResponse.
|
|
539
|
+
:rtype: list[str]
|
|
540
|
+
"""
|
|
541
|
+
return self._supported_features
|
|
542
|
+
|
|
543
|
+
@supported_features.setter
|
|
544
|
+
def supported_features(self, supported_features):
|
|
545
|
+
"""Sets the supported_features of this ShowMigrationTaskResponse.
|
|
546
|
+
|
|
547
|
+
支持的特性。
|
|
548
|
+
|
|
549
|
+
:param supported_features: The supported_features of this ShowMigrationTaskResponse.
|
|
550
|
+
:type supported_features: list[str]
|
|
551
|
+
"""
|
|
552
|
+
self._supported_features = supported_features
|
|
553
|
+
|
|
554
|
+
@property
|
|
555
|
+
def tenant_vpc_id(self):
|
|
556
|
+
"""Gets the tenant_vpc_id of this ShowMigrationTaskResponse.
|
|
557
|
+
|
|
558
|
+
租户VPC ID。
|
|
559
|
+
|
|
560
|
+
:return: The tenant_vpc_id of this ShowMigrationTaskResponse.
|
|
561
|
+
:rtype: str
|
|
562
|
+
"""
|
|
563
|
+
return self._tenant_vpc_id
|
|
564
|
+
|
|
565
|
+
@tenant_vpc_id.setter
|
|
566
|
+
def tenant_vpc_id(self, tenant_vpc_id):
|
|
567
|
+
"""Sets the tenant_vpc_id of this ShowMigrationTaskResponse.
|
|
568
|
+
|
|
569
|
+
租户VPC ID。
|
|
570
|
+
|
|
571
|
+
:param tenant_vpc_id: The tenant_vpc_id of this ShowMigrationTaskResponse.
|
|
572
|
+
:type tenant_vpc_id: str
|
|
573
|
+
"""
|
|
574
|
+
self._tenant_vpc_id = tenant_vpc_id
|
|
575
|
+
|
|
576
|
+
@property
|
|
577
|
+
def tenant_subnet_id(self):
|
|
578
|
+
"""Gets the tenant_subnet_id of this ShowMigrationTaskResponse.
|
|
579
|
+
|
|
580
|
+
租户子网ID。
|
|
581
|
+
|
|
582
|
+
:return: The tenant_subnet_id of this ShowMigrationTaskResponse.
|
|
583
|
+
:rtype: str
|
|
584
|
+
"""
|
|
585
|
+
return self._tenant_subnet_id
|
|
586
|
+
|
|
587
|
+
@tenant_subnet_id.setter
|
|
588
|
+
def tenant_subnet_id(self, tenant_subnet_id):
|
|
589
|
+
"""Sets the tenant_subnet_id of this ShowMigrationTaskResponse.
|
|
590
|
+
|
|
591
|
+
租户子网ID。
|
|
592
|
+
|
|
593
|
+
:param tenant_subnet_id: The tenant_subnet_id of this ShowMigrationTaskResponse.
|
|
594
|
+
:type tenant_subnet_id: str
|
|
595
|
+
"""
|
|
596
|
+
self._tenant_subnet_id = tenant_subnet_id
|
|
597
|
+
|
|
598
|
+
@property
|
|
599
|
+
def tenant_security_group_id(self):
|
|
600
|
+
"""Gets the tenant_security_group_id of this ShowMigrationTaskResponse.
|
|
601
|
+
|
|
602
|
+
租户安全组ID。
|
|
603
|
+
|
|
604
|
+
:return: The tenant_security_group_id of this ShowMigrationTaskResponse.
|
|
605
|
+
:rtype: str
|
|
606
|
+
"""
|
|
607
|
+
return self._tenant_security_group_id
|
|
608
|
+
|
|
609
|
+
@tenant_security_group_id.setter
|
|
610
|
+
def tenant_security_group_id(self, tenant_security_group_id):
|
|
611
|
+
"""Sets the tenant_security_group_id of this ShowMigrationTaskResponse.
|
|
612
|
+
|
|
613
|
+
租户安全组ID。
|
|
614
|
+
|
|
615
|
+
:param tenant_security_group_id: The tenant_security_group_id of this ShowMigrationTaskResponse.
|
|
616
|
+
:type tenant_security_group_id: str
|
|
617
|
+
"""
|
|
618
|
+
self._tenant_security_group_id = tenant_security_group_id
|
|
619
|
+
|
|
620
|
+
@property
|
|
621
|
+
def bandwidth_limit_mb(self):
|
|
622
|
+
"""Gets the bandwidth_limit_mb of this ShowMigrationTaskResponse.
|
|
623
|
+
|
|
624
|
+
带宽限制速度。
|
|
625
|
+
|
|
626
|
+
:return: The bandwidth_limit_mb of this ShowMigrationTaskResponse.
|
|
627
|
+
:rtype: str
|
|
628
|
+
"""
|
|
629
|
+
return self._bandwidth_limit_mb
|
|
630
|
+
|
|
631
|
+
@bandwidth_limit_mb.setter
|
|
632
|
+
def bandwidth_limit_mb(self, bandwidth_limit_mb):
|
|
633
|
+
"""Sets the bandwidth_limit_mb of this ShowMigrationTaskResponse.
|
|
634
|
+
|
|
635
|
+
带宽限制速度。
|
|
636
|
+
|
|
637
|
+
:param bandwidth_limit_mb: The bandwidth_limit_mb of this ShowMigrationTaskResponse.
|
|
638
|
+
:type bandwidth_limit_mb: str
|
|
639
|
+
"""
|
|
640
|
+
self._bandwidth_limit_mb = bandwidth_limit_mb
|
|
641
|
+
|
|
642
|
+
@property
|
|
643
|
+
def task_status(self):
|
|
644
|
+
"""Gets the task_status of this ShowMigrationTaskResponse.
|
|
645
|
+
|
|
646
|
+
任务状态。
|
|
647
|
+
|
|
648
|
+
:return: The task_status of this ShowMigrationTaskResponse.
|
|
649
|
+
:rtype: str
|
|
650
|
+
"""
|
|
651
|
+
return self._task_status
|
|
652
|
+
|
|
653
|
+
@task_status.setter
|
|
654
|
+
def task_status(self, task_status):
|
|
655
|
+
"""Sets the task_status of this ShowMigrationTaskResponse.
|
|
656
|
+
|
|
657
|
+
任务状态。
|
|
658
|
+
|
|
659
|
+
:param task_status: The task_status of this ShowMigrationTaskResponse.
|
|
660
|
+
:type task_status: str
|
|
661
|
+
"""
|
|
662
|
+
self._task_status = task_status
|
|
663
|
+
|
|
403
664
|
def to_dict(self):
|
|
404
665
|
"""Returns the model properties as a dict"""
|
|
405
666
|
result = {}
|
|
@@ -18,15 +18,29 @@ class SourceInstanceBody:
|
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
20
|
'addrs': 'str',
|
|
21
|
-
'password': 'str'
|
|
21
|
+
'password': 'str',
|
|
22
|
+
'task_status': 'str',
|
|
23
|
+
'id': 'str',
|
|
24
|
+
'ip': 'str',
|
|
25
|
+
'port': 'str',
|
|
26
|
+
'name': 'str',
|
|
27
|
+
'proxy_multi_db': 'bool',
|
|
28
|
+
'db': 'str'
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
attribute_map = {
|
|
25
32
|
'addrs': 'addrs',
|
|
26
|
-
'password': 'password'
|
|
33
|
+
'password': 'password',
|
|
34
|
+
'task_status': 'task_status',
|
|
35
|
+
'id': 'id',
|
|
36
|
+
'ip': 'ip',
|
|
37
|
+
'port': 'port',
|
|
38
|
+
'name': 'name',
|
|
39
|
+
'proxy_multi_db': 'proxy_multi_db',
|
|
40
|
+
'db': 'db'
|
|
27
41
|
}
|
|
28
42
|
|
|
29
|
-
def __init__(self, addrs=None, password=None):
|
|
43
|
+
def __init__(self, addrs=None, password=None, task_status=None, id=None, ip=None, port=None, name=None, proxy_multi_db=None, db=None):
|
|
30
44
|
"""SourceInstanceBody
|
|
31
45
|
|
|
32
46
|
The model defined in huaweicloud sdk
|
|
@@ -35,17 +49,52 @@ class SourceInstanceBody:
|
|
|
35
49
|
:type addrs: str
|
|
36
50
|
:param password: Redis密码,如果设置了密码,则必须填写。
|
|
37
51
|
:type password: str
|
|
52
|
+
:param task_status: 任务状态。
|
|
53
|
+
:type task_status: str
|
|
54
|
+
:param id: Redis实例ID。
|
|
55
|
+
:type id: str
|
|
56
|
+
:param ip: Redis IP地址。
|
|
57
|
+
:type ip: str
|
|
58
|
+
:param port: Redis端口。
|
|
59
|
+
:type port: str
|
|
60
|
+
:param name: Redis名称。
|
|
61
|
+
:type name: str
|
|
62
|
+
:param proxy_multi_db: proxy实例是否开启了多DB。
|
|
63
|
+
:type proxy_multi_db: bool
|
|
64
|
+
:param db: Redis数据库。
|
|
65
|
+
:type db: str
|
|
38
66
|
"""
|
|
39
67
|
|
|
40
68
|
|
|
41
69
|
|
|
42
70
|
self._addrs = None
|
|
43
71
|
self._password = None
|
|
72
|
+
self._task_status = None
|
|
73
|
+
self._id = None
|
|
74
|
+
self._ip = None
|
|
75
|
+
self._port = None
|
|
76
|
+
self._name = None
|
|
77
|
+
self._proxy_multi_db = None
|
|
78
|
+
self._db = None
|
|
44
79
|
self.discriminator = None
|
|
45
80
|
|
|
46
81
|
self.addrs = addrs
|
|
47
82
|
if password is not None:
|
|
48
83
|
self.password = password
|
|
84
|
+
if task_status is not None:
|
|
85
|
+
self.task_status = task_status
|
|
86
|
+
if id is not None:
|
|
87
|
+
self.id = id
|
|
88
|
+
if ip is not None:
|
|
89
|
+
self.ip = ip
|
|
90
|
+
if port is not None:
|
|
91
|
+
self.port = port
|
|
92
|
+
if name is not None:
|
|
93
|
+
self.name = name
|
|
94
|
+
if proxy_multi_db is not None:
|
|
95
|
+
self.proxy_multi_db = proxy_multi_db
|
|
96
|
+
if db is not None:
|
|
97
|
+
self.db = db
|
|
49
98
|
|
|
50
99
|
@property
|
|
51
100
|
def addrs(self):
|
|
@@ -91,6 +140,160 @@ class SourceInstanceBody:
|
|
|
91
140
|
"""
|
|
92
141
|
self._password = password
|
|
93
142
|
|
|
143
|
+
@property
|
|
144
|
+
def task_status(self):
|
|
145
|
+
"""Gets the task_status of this SourceInstanceBody.
|
|
146
|
+
|
|
147
|
+
任务状态。
|
|
148
|
+
|
|
149
|
+
:return: The task_status of this SourceInstanceBody.
|
|
150
|
+
:rtype: str
|
|
151
|
+
"""
|
|
152
|
+
return self._task_status
|
|
153
|
+
|
|
154
|
+
@task_status.setter
|
|
155
|
+
def task_status(self, task_status):
|
|
156
|
+
"""Sets the task_status of this SourceInstanceBody.
|
|
157
|
+
|
|
158
|
+
任务状态。
|
|
159
|
+
|
|
160
|
+
:param task_status: The task_status of this SourceInstanceBody.
|
|
161
|
+
:type task_status: str
|
|
162
|
+
"""
|
|
163
|
+
self._task_status = task_status
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def id(self):
|
|
167
|
+
"""Gets the id of this SourceInstanceBody.
|
|
168
|
+
|
|
169
|
+
Redis实例ID。
|
|
170
|
+
|
|
171
|
+
:return: The id of this SourceInstanceBody.
|
|
172
|
+
:rtype: str
|
|
173
|
+
"""
|
|
174
|
+
return self._id
|
|
175
|
+
|
|
176
|
+
@id.setter
|
|
177
|
+
def id(self, id):
|
|
178
|
+
"""Sets the id of this SourceInstanceBody.
|
|
179
|
+
|
|
180
|
+
Redis实例ID。
|
|
181
|
+
|
|
182
|
+
:param id: The id of this SourceInstanceBody.
|
|
183
|
+
:type id: str
|
|
184
|
+
"""
|
|
185
|
+
self._id = id
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def ip(self):
|
|
189
|
+
"""Gets the ip of this SourceInstanceBody.
|
|
190
|
+
|
|
191
|
+
Redis IP地址。
|
|
192
|
+
|
|
193
|
+
:return: The ip of this SourceInstanceBody.
|
|
194
|
+
:rtype: str
|
|
195
|
+
"""
|
|
196
|
+
return self._ip
|
|
197
|
+
|
|
198
|
+
@ip.setter
|
|
199
|
+
def ip(self, ip):
|
|
200
|
+
"""Sets the ip of this SourceInstanceBody.
|
|
201
|
+
|
|
202
|
+
Redis IP地址。
|
|
203
|
+
|
|
204
|
+
:param ip: The ip of this SourceInstanceBody.
|
|
205
|
+
:type ip: str
|
|
206
|
+
"""
|
|
207
|
+
self._ip = ip
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def port(self):
|
|
211
|
+
"""Gets the port of this SourceInstanceBody.
|
|
212
|
+
|
|
213
|
+
Redis端口。
|
|
214
|
+
|
|
215
|
+
:return: The port of this SourceInstanceBody.
|
|
216
|
+
:rtype: str
|
|
217
|
+
"""
|
|
218
|
+
return self._port
|
|
219
|
+
|
|
220
|
+
@port.setter
|
|
221
|
+
def port(self, port):
|
|
222
|
+
"""Sets the port of this SourceInstanceBody.
|
|
223
|
+
|
|
224
|
+
Redis端口。
|
|
225
|
+
|
|
226
|
+
:param port: The port of this SourceInstanceBody.
|
|
227
|
+
:type port: str
|
|
228
|
+
"""
|
|
229
|
+
self._port = port
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
def name(self):
|
|
233
|
+
"""Gets the name of this SourceInstanceBody.
|
|
234
|
+
|
|
235
|
+
Redis名称。
|
|
236
|
+
|
|
237
|
+
:return: The name of this SourceInstanceBody.
|
|
238
|
+
:rtype: str
|
|
239
|
+
"""
|
|
240
|
+
return self._name
|
|
241
|
+
|
|
242
|
+
@name.setter
|
|
243
|
+
def name(self, name):
|
|
244
|
+
"""Sets the name of this SourceInstanceBody.
|
|
245
|
+
|
|
246
|
+
Redis名称。
|
|
247
|
+
|
|
248
|
+
:param name: The name of this SourceInstanceBody.
|
|
249
|
+
:type name: str
|
|
250
|
+
"""
|
|
251
|
+
self._name = name
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
def proxy_multi_db(self):
|
|
255
|
+
"""Gets the proxy_multi_db of this SourceInstanceBody.
|
|
256
|
+
|
|
257
|
+
proxy实例是否开启了多DB。
|
|
258
|
+
|
|
259
|
+
:return: The proxy_multi_db of this SourceInstanceBody.
|
|
260
|
+
:rtype: bool
|
|
261
|
+
"""
|
|
262
|
+
return self._proxy_multi_db
|
|
263
|
+
|
|
264
|
+
@proxy_multi_db.setter
|
|
265
|
+
def proxy_multi_db(self, proxy_multi_db):
|
|
266
|
+
"""Sets the proxy_multi_db of this SourceInstanceBody.
|
|
267
|
+
|
|
268
|
+
proxy实例是否开启了多DB。
|
|
269
|
+
|
|
270
|
+
:param proxy_multi_db: The proxy_multi_db of this SourceInstanceBody.
|
|
271
|
+
:type proxy_multi_db: bool
|
|
272
|
+
"""
|
|
273
|
+
self._proxy_multi_db = proxy_multi_db
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
def db(self):
|
|
277
|
+
"""Gets the db of this SourceInstanceBody.
|
|
278
|
+
|
|
279
|
+
Redis数据库。
|
|
280
|
+
|
|
281
|
+
:return: The db of this SourceInstanceBody.
|
|
282
|
+
:rtype: str
|
|
283
|
+
"""
|
|
284
|
+
return self._db
|
|
285
|
+
|
|
286
|
+
@db.setter
|
|
287
|
+
def db(self, db):
|
|
288
|
+
"""Sets the db of this SourceInstanceBody.
|
|
289
|
+
|
|
290
|
+
Redis数据库。
|
|
291
|
+
|
|
292
|
+
:param db: The db of this SourceInstanceBody.
|
|
293
|
+
:type db: str
|
|
294
|
+
"""
|
|
295
|
+
self._db = db
|
|
296
|
+
|
|
94
297
|
def to_dict(self):
|
|
95
298
|
"""Returns the model properties as a dict"""
|
|
96
299
|
result = {}
|