huaweicloudsdkdcs 3.1.84__py2.py3-none-any.whl → 3.1.86__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.

@@ -19,6 +19,7 @@ class ClientInfo:
19
19
  openapi_types = {
20
20
  'id': 'str',
21
21
  'addr': 'str',
22
+ 'fd': 'str',
22
23
  'name': 'str',
23
24
  'cmd': 'str',
24
25
  'age': 'int',
@@ -33,12 +34,16 @@ class ClientInfo:
33
34
  'obl': 'int',
34
35
  'oll': 'int',
35
36
  'omem': 'int',
36
- 'events': 'str'
37
+ 'events': 'str',
38
+ 'network': 'str',
39
+ 'peer': 'str',
40
+ 'user': 'str'
37
41
  }
38
42
 
39
43
  attribute_map = {
40
44
  'id': 'id',
41
45
  'addr': 'addr',
46
+ 'fd': 'fd',
42
47
  'name': 'name',
43
48
  'cmd': 'cmd',
44
49
  'age': 'age',
@@ -53,10 +58,13 @@ class ClientInfo:
53
58
  'obl': 'obl',
54
59
  'oll': 'oll',
55
60
  'omem': 'omem',
56
- 'events': 'events'
61
+ 'events': 'events',
62
+ 'network': 'network',
63
+ 'peer': 'peer',
64
+ 'user': 'user'
57
65
  }
58
66
 
59
- def __init__(self, id=None, addr=None, name=None, cmd=None, age=None, idle=None, db=None, flags=None, sub=None, psub=None, multi=None, qbuf=None, qbuf_free=None, obl=None, oll=None, omem=None, events=None):
67
+ def __init__(self, id=None, addr=None, fd=None, name=None, cmd=None, age=None, idle=None, db=None, flags=None, sub=None, psub=None, multi=None, qbuf=None, qbuf_free=None, obl=None, oll=None, omem=None, events=None, network=None, peer=None, user=None):
60
68
  """ClientInfo
61
69
 
62
70
  The model defined in huaweicloud sdk
@@ -65,6 +73,8 @@ class ClientInfo:
65
73
  :type id: str
66
74
  :param addr: 客户端的地址和端口
67
75
  :type addr: str
76
+ :param fd: 套接字所使用的文件描述符。
77
+ :type fd: str
68
78
  :param name: 客户端的名称
69
79
  :type name: str
70
80
  :param cmd: 最近一次执行的命令
@@ -95,12 +105,19 @@ class ClientInfo:
95
105
  :type omem: int
96
106
  :param events: 文件描述符事件
97
107
  :type events: str
108
+ :param network: 客户端所使用的网络类型。
109
+ :type network: str
110
+ :param peer: 单机,主备和cluster实例地址和端口。
111
+ :type peer: str
112
+ :param user: 客户端用户。
113
+ :type user: str
98
114
  """
99
115
 
100
116
 
101
117
 
102
118
  self._id = None
103
119
  self._addr = None
120
+ self._fd = None
104
121
  self._name = None
105
122
  self._cmd = None
106
123
  self._age = None
@@ -116,12 +133,17 @@ class ClientInfo:
116
133
  self._oll = None
117
134
  self._omem = None
118
135
  self._events = None
136
+ self._network = None
137
+ self._peer = None
138
+ self._user = None
119
139
  self.discriminator = None
120
140
 
121
141
  if id is not None:
122
142
  self.id = id
123
143
  if addr is not None:
124
144
  self.addr = addr
145
+ if fd is not None:
146
+ self.fd = fd
125
147
  if name is not None:
126
148
  self.name = name
127
149
  if cmd is not None:
@@ -152,6 +174,12 @@ class ClientInfo:
152
174
  self.omem = omem
153
175
  if events is not None:
154
176
  self.events = events
177
+ if network is not None:
178
+ self.network = network
179
+ if peer is not None:
180
+ self.peer = peer
181
+ if user is not None:
182
+ self.user = user
155
183
 
156
184
  @property
157
185
  def id(self):
@@ -197,6 +225,28 @@ class ClientInfo:
197
225
  """
198
226
  self._addr = addr
199
227
 
228
+ @property
229
+ def fd(self):
230
+ """Gets the fd of this ClientInfo.
231
+
232
+ 套接字所使用的文件描述符。
233
+
234
+ :return: The fd of this ClientInfo.
235
+ :rtype: str
236
+ """
237
+ return self._fd
238
+
239
+ @fd.setter
240
+ def fd(self, fd):
241
+ """Sets the fd of this ClientInfo.
242
+
243
+ 套接字所使用的文件描述符。
244
+
245
+ :param fd: The fd of this ClientInfo.
246
+ :type fd: str
247
+ """
248
+ self._fd = fd
249
+
200
250
  @property
201
251
  def name(self):
202
252
  """Gets the name of this ClientInfo.
@@ -527,6 +577,72 @@ class ClientInfo:
527
577
  """
528
578
  self._events = events
529
579
 
580
+ @property
581
+ def network(self):
582
+ """Gets the network of this ClientInfo.
583
+
584
+ 客户端所使用的网络类型。
585
+
586
+ :return: The network of this ClientInfo.
587
+ :rtype: str
588
+ """
589
+ return self._network
590
+
591
+ @network.setter
592
+ def network(self, network):
593
+ """Sets the network of this ClientInfo.
594
+
595
+ 客户端所使用的网络类型。
596
+
597
+ :param network: The network of this ClientInfo.
598
+ :type network: str
599
+ """
600
+ self._network = network
601
+
602
+ @property
603
+ def peer(self):
604
+ """Gets the peer of this ClientInfo.
605
+
606
+ 单机,主备和cluster实例地址和端口。
607
+
608
+ :return: The peer of this ClientInfo.
609
+ :rtype: str
610
+ """
611
+ return self._peer
612
+
613
+ @peer.setter
614
+ def peer(self, peer):
615
+ """Sets the peer of this ClientInfo.
616
+
617
+ 单机,主备和cluster实例地址和端口。
618
+
619
+ :param peer: The peer of this ClientInfo.
620
+ :type peer: str
621
+ """
622
+ self._peer = peer
623
+
624
+ @property
625
+ def user(self):
626
+ """Gets the user of this ClientInfo.
627
+
628
+ 客户端用户。
629
+
630
+ :return: The user of this ClientInfo.
631
+ :rtype: str
632
+ """
633
+ return self._user
634
+
635
+ @user.setter
636
+ def user(self, user):
637
+ """Sets the user of this ClientInfo.
638
+
639
+ 客户端用户。
640
+
641
+ :param user: The user of this ClientInfo.
642
+ :type user: str
643
+ """
644
+ self._user = user
645
+
530
646
  def to_dict(self):
531
647
  """Returns the model properties as a dict"""
532
648
  result = {}
@@ -18,29 +18,43 @@ class UpdateSslSwitchResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
- 'job_id': 'str'
21
+ 'job_id': 'str',
22
+ 'instance_id': 'str',
23
+ 'result': 'str'
22
24
  }
23
25
 
24
26
  attribute_map = {
25
- 'job_id': 'job_id'
27
+ 'job_id': 'job_id',
28
+ 'instance_id': 'instance_id',
29
+ 'result': 'result'
26
30
  }
27
31
 
28
- def __init__(self, job_id=None):
32
+ def __init__(self, job_id=None, instance_id=None, result=None):
29
33
  """UpdateSslSwitchResponse
30
34
 
31
35
  The model defined in huaweicloud sdk
32
36
 
33
37
  :param job_id: DCS任务ID。
34
38
  :type job_id: str
39
+ :param instance_id: 实例ID。
40
+ :type instance_id: str
41
+ :param result: 执行结果。
42
+ :type result: str
35
43
  """
36
44
 
37
45
  super(UpdateSslSwitchResponse, self).__init__()
38
46
 
39
47
  self._job_id = None
48
+ self._instance_id = None
49
+ self._result = None
40
50
  self.discriminator = None
41
51
 
42
52
  if job_id is not None:
43
53
  self.job_id = job_id
54
+ if instance_id is not None:
55
+ self.instance_id = instance_id
56
+ if result is not None:
57
+ self.result = result
44
58
 
45
59
  @property
46
60
  def job_id(self):
@@ -64,6 +78,50 @@ class UpdateSslSwitchResponse(SdkResponse):
64
78
  """
65
79
  self._job_id = job_id
66
80
 
81
+ @property
82
+ def instance_id(self):
83
+ """Gets the instance_id of this UpdateSslSwitchResponse.
84
+
85
+ 实例ID。
86
+
87
+ :return: The instance_id of this UpdateSslSwitchResponse.
88
+ :rtype: str
89
+ """
90
+ return self._instance_id
91
+
92
+ @instance_id.setter
93
+ def instance_id(self, instance_id):
94
+ """Sets the instance_id of this UpdateSslSwitchResponse.
95
+
96
+ 实例ID。
97
+
98
+ :param instance_id: The instance_id of this UpdateSslSwitchResponse.
99
+ :type instance_id: str
100
+ """
101
+ self._instance_id = instance_id
102
+
103
+ @property
104
+ def result(self):
105
+ """Gets the result of this UpdateSslSwitchResponse.
106
+
107
+ 执行结果。
108
+
109
+ :return: The result of this UpdateSslSwitchResponse.
110
+ :rtype: str
111
+ """
112
+ return self._result
113
+
114
+ @result.setter
115
+ def result(self, result):
116
+ """Sets the result of this UpdateSslSwitchResponse.
117
+
118
+ 执行结果。
119
+
120
+ :param result: The result of this UpdateSslSwitchResponse.
121
+ :type result: str
122
+ """
123
+ self._result = result
124
+
67
125
  def to_dict(self):
68
126
  """Returns the model properties as a dict"""
69
127
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkdcs
3
- Version: 3.1.84
3
+ Version: 3.1.86
4
4
  Summary: DCS
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.84
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.86
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -35,7 +35,7 @@ huaweicloudsdkdcs/v2/model/change_master_standby_async_request.py,sha256=zTSQagW
35
35
  huaweicloudsdkdcs/v2/model/change_master_standby_async_response.py,sha256=PHCZigJbPrgV-jh9_7KeShttR3n77VuwNuF-N2ryzwA,3268
36
36
  huaweicloudsdkdcs/v2/model/change_master_standby_request.py,sha256=sJ1LLmhM03zYzHtetB56mGGzBWmiV3gOcVY86uC6wLI,3149
37
37
  huaweicloudsdkdcs/v2/model/change_master_standby_response.py,sha256=MKfbgh3tONMOm8Oheu2VA4krMV9OSd4XrbSTVYn1wow,2459
38
- huaweicloudsdkdcs/v2/model/client_info.py,sha256=GRGfy0o8zjlKY1P5w6vor7Bax0jUV43He0_Sg39DLug,14686
38
+ huaweicloudsdkdcs/v2/model/client_info.py,sha256=ie26GEoFJHMu96eLgYGTLW16tDw4nsjMkheAOQv-7g8,17515
39
39
  huaweicloudsdkdcs/v2/model/cluster_redis_node_monitored_object.py,sha256=szX9fNX-lFA6uaED7kaSJdaWaeVWZ8zWnwZHn4d3nOo,6257
40
40
  huaweicloudsdkdcs/v2/model/command_time_taken.py,sha256=ziaTvHuodK3dp2zANoDr9KQ4jOUe76-7OL2if9OzPt4,6106
41
41
  huaweicloudsdkdcs/v2/model/command_time_taken_list.py,sha256=YZrHX5bYt_CAqHI_52DLxORQb7cczQFmH6vLgGkhxrM,5720
@@ -350,14 +350,14 @@ huaweicloudsdkdcs/v2/model/update_slave_priority_request.py,sha256=dcEzC2uvQDYvD
350
350
  huaweicloudsdkdcs/v2/model/update_slave_priority_response.py,sha256=S388jxueltMGlHyqGhySgbTWgh6paAQV-N9sIPcUgwo,2459
351
351
  huaweicloudsdkdcs/v2/model/update_ssl_switch_request.py,sha256=o84Kfne_xL64QA41bX01UflaN57YMCkrYESroMv5Nkk,3960
352
352
  huaweicloudsdkdcs/v2/model/update_ssl_switch_request_body.py,sha256=cp1YworW_aaXAJ-qF8S1a-6N-PoNz_OKDzOuRNBfcuU,3179
353
- huaweicloudsdkdcs/v2/model/update_ssl_switch_response.py,sha256=2DENcmCwsvijBdjVj_445nZKFl5v3czhPeBP-yLPfRE,3178
353
+ huaweicloudsdkdcs/v2/model/update_ssl_switch_response.py,sha256=XMmPA8oDP1b_Y1pI5oQKPjIKE85E3lD03b8KmLqEZ3o,4757
354
354
  huaweicloudsdkdcs/v2/model/validate_deletable_replica_request.py,sha256=lG8XKqCUFDEjfDdYNkj1X_Cx0-Gkg35zeTroEjV_tqk,3175
355
355
  huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py,sha256=kadAH-PhZuoFMeCk8eLqi6MVDrZ5FdONCdwrHQRaA-M,5687
356
356
  huaweicloudsdkdcs/v2/model/whitelist.py,sha256=o3qGT2_1ARJ2RG6mEKaqXJHAT4eY9nTa6X_yLMzXdqQ,4334
357
357
  huaweicloudsdkdcs/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
358
  huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=1pjf4oIocoktsa-3_N1gZIOUwHj0iDh6NoTtL9sdhjI,4581
359
- huaweicloudsdkdcs-3.1.84.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
360
- huaweicloudsdkdcs-3.1.84.dist-info/METADATA,sha256=KlEkSQ8n5C4CcfxOi37YnDb7UeLLNZ9qbVmB_FzinY0,1134
361
- huaweicloudsdkdcs-3.1.84.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
362
- huaweicloudsdkdcs-3.1.84.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
363
- huaweicloudsdkdcs-3.1.84.dist-info/RECORD,,
359
+ huaweicloudsdkdcs-3.1.86.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
360
+ huaweicloudsdkdcs-3.1.86.dist-info/METADATA,sha256=7dtNcWQMXV-OGvgwD4T3Nx4hWcARdNQ_D42QVSiH9vI,1134
361
+ huaweicloudsdkdcs-3.1.86.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
362
+ huaweicloudsdkdcs-3.1.86.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
363
+ huaweicloudsdkdcs-3.1.86.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any