huaweicloudsdkdrs 3.1.93__py2.py3-none-any.whl → 3.1.95__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.
Files changed (62) hide show
  1. huaweicloudsdkdrs/v3/__init__.py +17 -0
  2. huaweicloudsdkdrs/v3/drs_async_client.py +434 -0
  3. huaweicloudsdkdrs/v3/drs_client.py +434 -0
  4. huaweicloudsdkdrs/v3/model/__init__.py +17 -0
  5. huaweicloudsdkdrs/v3/model/batch_job_action_req.py +3 -3
  6. huaweicloudsdkdrs/v3/model/compare_job_content_detail_info.py +202 -0
  7. huaweicloudsdkdrs/v3/model/create_compare_result_file_request.py +196 -0
  8. huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
  9. huaweicloudsdkdrs/v3/model/create_object_compare_job_req.py +115 -0
  10. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_request.py +168 -0
  11. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_response.py +116 -0
  12. huaweicloudsdkdrs/v3/model/download_compare_result_file_request.py +255 -0
  13. huaweicloudsdkdrs/v3/model/download_compare_result_file_response.py +85 -0
  14. huaweicloudsdkdrs/v3/model/endpoint.py +28 -3
  15. huaweicloudsdkdrs/v3/model/export_compare_result_req.py +172 -0
  16. huaweicloudsdkdrs/v3/model/kafka_security.py +290 -29
  17. huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +3 -3
  18. huaweicloudsdkdrs/v3/model/list_content_compare_difference_request.py +287 -0
  19. huaweicloudsdkdrs/v3/model/list_content_compare_difference_response.py +232 -0
  20. huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +3 -3
  21. huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +3 -3
  22. huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +3 -3
  23. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +3 -3
  24. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_request.py +258 -0
  25. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_response.py +145 -0
  26. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_request.py +143 -0
  27. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_response.py +319 -0
  28. huaweicloudsdkdrs/v3/model/objects_compare_detail_info.py +260 -0
  29. huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
  30. huaweicloudsdkdrs/v3/region/drs_region.py +9 -0
  31. huaweicloudsdkdrs/v5/__init__.py +11 -0
  32. huaweicloudsdkdrs/v5/drs_async_client.py +207 -0
  33. huaweicloudsdkdrs/v5/drs_client.py +207 -0
  34. huaweicloudsdkdrs/v5/model/__init__.py +11 -0
  35. huaweicloudsdkdrs/v5/model/action_params.py +28 -3
  36. huaweicloudsdkdrs/v5/model/action_req.py +3 -3
  37. huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
  38. huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
  39. huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
  40. huaweicloudsdkdrs/v5/model/content_diff_detail_info.py +231 -0
  41. huaweicloudsdkdrs/v5/model/content_diff_detail_vo.py +202 -0
  42. huaweicloudsdkdrs/v5/model/health_compare_job.py +9 -9
  43. huaweicloudsdkdrs/v5/model/job_detail_resp.py +32 -3
  44. huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
  45. huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
  46. huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
  47. huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
  48. huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -3
  49. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_request.py +171 -0
  50. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_response.py +261 -0
  51. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_request.py +171 -0
  52. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_response.py +116 -0
  53. huaweicloudsdkdrs/v5/model/show_job_detail_request.py +3 -3
  54. huaweicloudsdkdrs/v5/model/update_compare_policy_request.py +168 -0
  55. huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
  56. huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
  57. huaweicloudsdkdrs/v5/region/drs_region.py +9 -0
  58. {huaweicloudsdkdrs-3.1.93.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/METADATA +2 -2
  59. {huaweicloudsdkdrs-3.1.93.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/RECORD +62 -34
  60. {huaweicloudsdkdrs-3.1.93.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/LICENSE +0 -0
  61. {huaweicloudsdkdrs-3.1.93.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/WHEEL +0 -0
  62. {huaweicloudsdkdrs-3.1.93.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,172 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ExportCompareResultReq:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'compare_type': 'str',
21
+ 'compare_job_id': 'str',
22
+ 'time_zone': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'compare_type': 'compare_type',
27
+ 'compare_job_id': 'compare_job_id',
28
+ 'time_zone': 'time_zone'
29
+ }
30
+
31
+ def __init__(self, compare_type=None, compare_job_id=None, time_zone=None):
32
+ """ExportCompareResultReq
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param compare_type: 对比任务类型: - contents: 内容对比。 - lines:行数对比。 - random:抽样对比。 - objects_comparison:对象对比。
37
+ :type compare_type: str
38
+ :param compare_job_id: 对比任务的ID,内容对比、抽样对比、行数对比场景必填。
39
+ :type compare_job_id: str
40
+ :param time_zone: 时区,如GMT+08:00,用于生成当前时间标识,拼接到文件名称中。
41
+ :type time_zone: str
42
+ """
43
+
44
+
45
+
46
+ self._compare_type = None
47
+ self._compare_job_id = None
48
+ self._time_zone = None
49
+ self.discriminator = None
50
+
51
+ self.compare_type = compare_type
52
+ if compare_job_id is not None:
53
+ self.compare_job_id = compare_job_id
54
+ if time_zone is not None:
55
+ self.time_zone = time_zone
56
+
57
+ @property
58
+ def compare_type(self):
59
+ """Gets the compare_type of this ExportCompareResultReq.
60
+
61
+ 对比任务类型: - contents: 内容对比。 - lines:行数对比。 - random:抽样对比。 - objects_comparison:对象对比。
62
+
63
+ :return: The compare_type of this ExportCompareResultReq.
64
+ :rtype: str
65
+ """
66
+ return self._compare_type
67
+
68
+ @compare_type.setter
69
+ def compare_type(self, compare_type):
70
+ """Sets the compare_type of this ExportCompareResultReq.
71
+
72
+ 对比任务类型: - contents: 内容对比。 - lines:行数对比。 - random:抽样对比。 - objects_comparison:对象对比。
73
+
74
+ :param compare_type: The compare_type of this ExportCompareResultReq.
75
+ :type compare_type: str
76
+ """
77
+ self._compare_type = compare_type
78
+
79
+ @property
80
+ def compare_job_id(self):
81
+ """Gets the compare_job_id of this ExportCompareResultReq.
82
+
83
+ 对比任务的ID,内容对比、抽样对比、行数对比场景必填。
84
+
85
+ :return: The compare_job_id of this ExportCompareResultReq.
86
+ :rtype: str
87
+ """
88
+ return self._compare_job_id
89
+
90
+ @compare_job_id.setter
91
+ def compare_job_id(self, compare_job_id):
92
+ """Sets the compare_job_id of this ExportCompareResultReq.
93
+
94
+ 对比任务的ID,内容对比、抽样对比、行数对比场景必填。
95
+
96
+ :param compare_job_id: The compare_job_id of this ExportCompareResultReq.
97
+ :type compare_job_id: str
98
+ """
99
+ self._compare_job_id = compare_job_id
100
+
101
+ @property
102
+ def time_zone(self):
103
+ """Gets the time_zone of this ExportCompareResultReq.
104
+
105
+ 时区,如GMT+08:00,用于生成当前时间标识,拼接到文件名称中。
106
+
107
+ :return: The time_zone of this ExportCompareResultReq.
108
+ :rtype: str
109
+ """
110
+ return self._time_zone
111
+
112
+ @time_zone.setter
113
+ def time_zone(self, time_zone):
114
+ """Sets the time_zone of this ExportCompareResultReq.
115
+
116
+ 时区,如GMT+08:00,用于生成当前时间标识,拼接到文件名称中。
117
+
118
+ :param time_zone: The time_zone of this ExportCompareResultReq.
119
+ :type time_zone: str
120
+ """
121
+ self._time_zone = time_zone
122
+
123
+ def to_dict(self):
124
+ """Returns the model properties as a dict"""
125
+ result = {}
126
+
127
+ for attr, _ in six.iteritems(self.openapi_types):
128
+ value = getattr(self, attr)
129
+ if isinstance(value, list):
130
+ result[attr] = list(map(
131
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
132
+ value
133
+ ))
134
+ elif hasattr(value, "to_dict"):
135
+ result[attr] = value.to_dict()
136
+ elif isinstance(value, dict):
137
+ result[attr] = dict(map(
138
+ lambda item: (item[0], item[1].to_dict())
139
+ if hasattr(item[1], "to_dict") else item,
140
+ value.items()
141
+ ))
142
+ else:
143
+ if attr in self.sensitive_list:
144
+ result[attr] = "****"
145
+ else:
146
+ result[attr] = value
147
+
148
+ return result
149
+
150
+ def to_str(self):
151
+ """Returns the string representation of the model"""
152
+ import simplejson as json
153
+ if six.PY2:
154
+ import sys
155
+ reload(sys)
156
+ sys.setdefaultencoding("utf-8")
157
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
158
+
159
+ def __repr__(self):
160
+ """For `print`"""
161
+ return self.to_str()
162
+
163
+ def __eq__(self, other):
164
+ """Returns true if both objects are equal"""
165
+ if not isinstance(other, ExportCompareResultReq):
166
+ return False
167
+
168
+ return self.__dict__ == other.__dict__
169
+
170
+ def __ne__(self, other):
171
+ """Returns true if both objects are not equal"""
172
+ return not self == other
@@ -17,56 +17,141 @@ class KafkaSecurity:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
+ 'type': 'str',
20
21
  'trust_store_key_name': 'str',
21
22
  'trust_store_key': 'str',
22
23
  'trust_store_password': 'str',
23
- 'type': 'str'
24
+ 'endpoint_algorithm': 'str',
25
+ 'sasl_mechanism': 'str',
26
+ 'delegation_tokens': 'bool',
27
+ 'enable_key_store': 'bool',
28
+ 'key_store_key': 'str',
29
+ 'key_store_key_name': 'str',
30
+ 'key_store_password': 'str',
31
+ 'set_private_key_password': 'bool',
32
+ 'key_password': 'str'
24
33
  }
25
34
 
26
35
  attribute_map = {
36
+ 'type': 'type',
27
37
  'trust_store_key_name': 'trust_store_key_name',
28
38
  'trust_store_key': 'trust_store_key',
29
39
  'trust_store_password': 'trust_store_password',
30
- 'type': 'type'
40
+ 'endpoint_algorithm': 'endpoint_algorithm',
41
+ 'sasl_mechanism': 'sasl_mechanism',
42
+ 'delegation_tokens': 'delegation_tokens',
43
+ 'enable_key_store': 'enable_key_store',
44
+ 'key_store_key': 'key_store_key',
45
+ 'key_store_key_name': 'key_store_key_name',
46
+ 'key_store_password': 'key_store_password',
47
+ 'set_private_key_password': 'set_private_key_password',
48
+ 'key_password': 'key_password'
31
49
  }
32
50
 
33
- def __init__(self, trust_store_key_name=None, trust_store_key=None, trust_store_password=None, type=None):
51
+ def __init__(self, type=None, trust_store_key_name=None, trust_store_key=None, trust_store_password=None, endpoint_algorithm=None, sasl_mechanism=None, delegation_tokens=None, enable_key_store=None, key_store_key=None, key_store_key_name=None, key_store_password=None, set_private_key_password=None, key_password=None):
34
52
  """KafkaSecurity
35
53
 
36
54
  The model defined in huaweicloud sdk
37
55
 
38
- :param trust_store_key_name: 证书名称,使用安全认证时必填。
56
+ :param type: 安全协议,安全认证时必填,对应Kafka字段:security.protocol。 - PLAINTEXT:无安全认证方式,仅需输入IP和端口进行连接。 - SASL_PLAINTEXT:使用SASL机制连接Kafka,需要设置SASL相关配置。 - SSL:使用SSL加密方式连接Kafka,需要设置SSL相关配置。 - SASL_SSL:使用SASL及SSL加密认证方式,需要设置SSL及SASL相关参数配置信息。
57
+ :type type: str
58
+ :param trust_store_key_name: 证书名称,安全协议为SSL、SASL_SSL时必填。
39
59
  :type trust_store_key_name: str
40
- :param trust_store_key: 安全证书base64转码后的值,使用安全认证时必填。
60
+ :param trust_store_key: 安全证书base64转码后的值,安全协议为SSL、SASL_SSL时必填。
41
61
  :type trust_store_key: str
42
- :param trust_store_password: 证书密码,使用安全认证时必填。
62
+ :param trust_store_password: 证书密码,证书设置了密码时必填。
43
63
  :type trust_store_password: str
44
- :param type: 认证类型,PLAINTEXT为无认证,,使用安全认证时必填。
45
- :type type: str
64
+ :param endpoint_algorithm: 主机名端点识别算法,指定通过服务端证书验证服务端主机名的端点识别算法,不填表示禁用主机名验证。对应Kafka字段:ssl.endpoint.identification.algorithm。
65
+ :type endpoint_algorithm: str
66
+ :param sasl_mechanism: SASL机制,用于客户端连接的SASL机制,对应Kafka字段:sasl.mechanism,支持以下四项,取值: - GSSAPI - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512
67
+ :type sasl_mechanism: str
68
+ :param delegation_tokens: 是否为委托令牌鉴权,安全协议为SASL_SSL和SASL_PLAINTEXT时,SASL机制选择“SCRAM-SHA-256”或者“SCRAM-SHA-512”时生效。
69
+ :type delegation_tokens: bool
70
+ :param enable_key_store: 是否开启SSL双向认证。
71
+ :type enable_key_store: bool
72
+ :param key_store_key: Keystore证书,开启SSL双向认证时需要。
73
+ :type key_store_key: str
74
+ :param key_store_key_name: Keystore证书名称,开启SSL双向认证时需要。
75
+ :type key_store_key_name: str
76
+ :param key_store_password: Keystore证书密码,证书设置了密码时需要。对应Kafka字段:ssl.keystore.password。
77
+ :type key_store_password: str
78
+ :param set_private_key_password: 是否设置Keystore私钥密码,默认为false。
79
+ :type set_private_key_password: bool
80
+ :param key_password: Keystore私钥密码,开启SSL双向认证时,set_private_key_password为true时必填。对应Kafka字段:ssl.key.password。
81
+ :type key_password: str
46
82
  """
47
83
 
48
84
 
49
85
 
86
+ self._type = None
50
87
  self._trust_store_key_name = None
51
88
  self._trust_store_key = None
52
89
  self._trust_store_password = None
53
- self._type = None
90
+ self._endpoint_algorithm = None
91
+ self._sasl_mechanism = None
92
+ self._delegation_tokens = None
93
+ self._enable_key_store = None
94
+ self._key_store_key = None
95
+ self._key_store_key_name = None
96
+ self._key_store_password = None
97
+ self._set_private_key_password = None
98
+ self._key_password = None
54
99
  self.discriminator = None
55
100
 
101
+ if type is not None:
102
+ self.type = type
56
103
  if trust_store_key_name is not None:
57
104
  self.trust_store_key_name = trust_store_key_name
58
105
  if trust_store_key is not None:
59
106
  self.trust_store_key = trust_store_key
60
107
  if trust_store_password is not None:
61
108
  self.trust_store_password = trust_store_password
62
- if type is not None:
63
- self.type = type
109
+ if endpoint_algorithm is not None:
110
+ self.endpoint_algorithm = endpoint_algorithm
111
+ if sasl_mechanism is not None:
112
+ self.sasl_mechanism = sasl_mechanism
113
+ if delegation_tokens is not None:
114
+ self.delegation_tokens = delegation_tokens
115
+ if enable_key_store is not None:
116
+ self.enable_key_store = enable_key_store
117
+ if key_store_key is not None:
118
+ self.key_store_key = key_store_key
119
+ if key_store_key_name is not None:
120
+ self.key_store_key_name = key_store_key_name
121
+ if key_store_password is not None:
122
+ self.key_store_password = key_store_password
123
+ if set_private_key_password is not None:
124
+ self.set_private_key_password = set_private_key_password
125
+ if key_password is not None:
126
+ self.key_password = key_password
127
+
128
+ @property
129
+ def type(self):
130
+ """Gets the type of this KafkaSecurity.
131
+
132
+ 安全协议,安全认证时必填,对应Kafka字段:security.protocol。 - PLAINTEXT:无安全认证方式,仅需输入IP和端口进行连接。 - SASL_PLAINTEXT:使用SASL机制连接Kafka,需要设置SASL相关配置。 - SSL:使用SSL加密方式连接Kafka,需要设置SSL相关配置。 - SASL_SSL:使用SASL及SSL加密认证方式,需要设置SSL及SASL相关参数配置信息。
133
+
134
+ :return: The type of this KafkaSecurity.
135
+ :rtype: str
136
+ """
137
+ return self._type
138
+
139
+ @type.setter
140
+ def type(self, type):
141
+ """Sets the type of this KafkaSecurity.
142
+
143
+ 安全协议,安全认证时必填,对应Kafka字段:security.protocol。 - PLAINTEXT:无安全认证方式,仅需输入IP和端口进行连接。 - SASL_PLAINTEXT:使用SASL机制连接Kafka,需要设置SASL相关配置。 - SSL:使用SSL加密方式连接Kafka,需要设置SSL相关配置。 - SASL_SSL:使用SASL及SSL加密认证方式,需要设置SSL及SASL相关参数配置信息。
144
+
145
+ :param type: The type of this KafkaSecurity.
146
+ :type type: str
147
+ """
148
+ self._type = type
64
149
 
65
150
  @property
66
151
  def trust_store_key_name(self):
67
152
  """Gets the trust_store_key_name of this KafkaSecurity.
68
153
 
69
- 证书名称,使用安全认证时必填。
154
+ 证书名称,安全协议为SSL、SASL_SSL时必填。
70
155
 
71
156
  :return: The trust_store_key_name of this KafkaSecurity.
72
157
  :rtype: str
@@ -77,7 +162,7 @@ class KafkaSecurity:
77
162
  def trust_store_key_name(self, trust_store_key_name):
78
163
  """Sets the trust_store_key_name of this KafkaSecurity.
79
164
 
80
- 证书名称,使用安全认证时必填。
165
+ 证书名称,安全协议为SSL、SASL_SSL时必填。
81
166
 
82
167
  :param trust_store_key_name: The trust_store_key_name of this KafkaSecurity.
83
168
  :type trust_store_key_name: str
@@ -88,7 +173,7 @@ class KafkaSecurity:
88
173
  def trust_store_key(self):
89
174
  """Gets the trust_store_key of this KafkaSecurity.
90
175
 
91
- 安全证书base64转码后的值,使用安全认证时必填。
176
+ 安全证书base64转码后的值,安全协议为SSL、SASL_SSL时必填。
92
177
 
93
178
  :return: The trust_store_key of this KafkaSecurity.
94
179
  :rtype: str
@@ -99,7 +184,7 @@ class KafkaSecurity:
99
184
  def trust_store_key(self, trust_store_key):
100
185
  """Sets the trust_store_key of this KafkaSecurity.
101
186
 
102
- 安全证书base64转码后的值,使用安全认证时必填。
187
+ 安全证书base64转码后的值,安全协议为SSL、SASL_SSL时必填。
103
188
 
104
189
  :param trust_store_key: The trust_store_key of this KafkaSecurity.
105
190
  :type trust_store_key: str
@@ -110,7 +195,7 @@ class KafkaSecurity:
110
195
  def trust_store_password(self):
111
196
  """Gets the trust_store_password of this KafkaSecurity.
112
197
 
113
- 证书密码,使用安全认证时必填。
198
+ 证书密码,证书设置了密码时必填。
114
199
 
115
200
  :return: The trust_store_password of this KafkaSecurity.
116
201
  :rtype: str
@@ -121,7 +206,7 @@ class KafkaSecurity:
121
206
  def trust_store_password(self, trust_store_password):
122
207
  """Sets the trust_store_password of this KafkaSecurity.
123
208
 
124
- 证书密码,使用安全认证时必填。
209
+ 证书密码,证书设置了密码时必填。
125
210
 
126
211
  :param trust_store_password: The trust_store_password of this KafkaSecurity.
127
212
  :type trust_store_password: str
@@ -129,26 +214,202 @@ class KafkaSecurity:
129
214
  self._trust_store_password = trust_store_password
130
215
 
131
216
  @property
132
- def type(self):
133
- """Gets the type of this KafkaSecurity.
217
+ def endpoint_algorithm(self):
218
+ """Gets the endpoint_algorithm of this KafkaSecurity.
134
219
 
135
- 认证类型,PLAINTEXT为无认证,,使用安全认证时必填。
220
+ 主机名端点识别算法,指定通过服务端证书验证服务端主机名的端点识别算法,不填表示禁用主机名验证。对应Kafka字段:ssl.endpoint.identification.algorithm。
136
221
 
137
- :return: The type of this KafkaSecurity.
222
+ :return: The endpoint_algorithm of this KafkaSecurity.
138
223
  :rtype: str
139
224
  """
140
- return self._type
225
+ return self._endpoint_algorithm
141
226
 
142
- @type.setter
143
- def type(self, type):
144
- """Sets the type of this KafkaSecurity.
227
+ @endpoint_algorithm.setter
228
+ def endpoint_algorithm(self, endpoint_algorithm):
229
+ """Sets the endpoint_algorithm of this KafkaSecurity.
145
230
 
146
- 认证类型,PLAINTEXT为无认证,,使用安全认证时必填。
231
+ 主机名端点识别算法,指定通过服务端证书验证服务端主机名的端点识别算法,不填表示禁用主机名验证。对应Kafka字段:ssl.endpoint.identification.algorithm。
147
232
 
148
- :param type: The type of this KafkaSecurity.
149
- :type type: str
233
+ :param endpoint_algorithm: The endpoint_algorithm of this KafkaSecurity.
234
+ :type endpoint_algorithm: str
150
235
  """
151
- self._type = type
236
+ self._endpoint_algorithm = endpoint_algorithm
237
+
238
+ @property
239
+ def sasl_mechanism(self):
240
+ """Gets the sasl_mechanism of this KafkaSecurity.
241
+
242
+ SASL机制,用于客户端连接的SASL机制,对应Kafka字段:sasl.mechanism,支持以下四项,取值: - GSSAPI - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512
243
+
244
+ :return: The sasl_mechanism of this KafkaSecurity.
245
+ :rtype: str
246
+ """
247
+ return self._sasl_mechanism
248
+
249
+ @sasl_mechanism.setter
250
+ def sasl_mechanism(self, sasl_mechanism):
251
+ """Sets the sasl_mechanism of this KafkaSecurity.
252
+
253
+ SASL机制,用于客户端连接的SASL机制,对应Kafka字段:sasl.mechanism,支持以下四项,取值: - GSSAPI - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512
254
+
255
+ :param sasl_mechanism: The sasl_mechanism of this KafkaSecurity.
256
+ :type sasl_mechanism: str
257
+ """
258
+ self._sasl_mechanism = sasl_mechanism
259
+
260
+ @property
261
+ def delegation_tokens(self):
262
+ """Gets the delegation_tokens of this KafkaSecurity.
263
+
264
+ 是否为委托令牌鉴权,安全协议为SASL_SSL和SASL_PLAINTEXT时,SASL机制选择“SCRAM-SHA-256”或者“SCRAM-SHA-512”时生效。
265
+
266
+ :return: The delegation_tokens of this KafkaSecurity.
267
+ :rtype: bool
268
+ """
269
+ return self._delegation_tokens
270
+
271
+ @delegation_tokens.setter
272
+ def delegation_tokens(self, delegation_tokens):
273
+ """Sets the delegation_tokens of this KafkaSecurity.
274
+
275
+ 是否为委托令牌鉴权,安全协议为SASL_SSL和SASL_PLAINTEXT时,SASL机制选择“SCRAM-SHA-256”或者“SCRAM-SHA-512”时生效。
276
+
277
+ :param delegation_tokens: The delegation_tokens of this KafkaSecurity.
278
+ :type delegation_tokens: bool
279
+ """
280
+ self._delegation_tokens = delegation_tokens
281
+
282
+ @property
283
+ def enable_key_store(self):
284
+ """Gets the enable_key_store of this KafkaSecurity.
285
+
286
+ 是否开启SSL双向认证。
287
+
288
+ :return: The enable_key_store of this KafkaSecurity.
289
+ :rtype: bool
290
+ """
291
+ return self._enable_key_store
292
+
293
+ @enable_key_store.setter
294
+ def enable_key_store(self, enable_key_store):
295
+ """Sets the enable_key_store of this KafkaSecurity.
296
+
297
+ 是否开启SSL双向认证。
298
+
299
+ :param enable_key_store: The enable_key_store of this KafkaSecurity.
300
+ :type enable_key_store: bool
301
+ """
302
+ self._enable_key_store = enable_key_store
303
+
304
+ @property
305
+ def key_store_key(self):
306
+ """Gets the key_store_key of this KafkaSecurity.
307
+
308
+ Keystore证书,开启SSL双向认证时需要。
309
+
310
+ :return: The key_store_key of this KafkaSecurity.
311
+ :rtype: str
312
+ """
313
+ return self._key_store_key
314
+
315
+ @key_store_key.setter
316
+ def key_store_key(self, key_store_key):
317
+ """Sets the key_store_key of this KafkaSecurity.
318
+
319
+ Keystore证书,开启SSL双向认证时需要。
320
+
321
+ :param key_store_key: The key_store_key of this KafkaSecurity.
322
+ :type key_store_key: str
323
+ """
324
+ self._key_store_key = key_store_key
325
+
326
+ @property
327
+ def key_store_key_name(self):
328
+ """Gets the key_store_key_name of this KafkaSecurity.
329
+
330
+ Keystore证书名称,开启SSL双向认证时需要。
331
+
332
+ :return: The key_store_key_name of this KafkaSecurity.
333
+ :rtype: str
334
+ """
335
+ return self._key_store_key_name
336
+
337
+ @key_store_key_name.setter
338
+ def key_store_key_name(self, key_store_key_name):
339
+ """Sets the key_store_key_name of this KafkaSecurity.
340
+
341
+ Keystore证书名称,开启SSL双向认证时需要。
342
+
343
+ :param key_store_key_name: The key_store_key_name of this KafkaSecurity.
344
+ :type key_store_key_name: str
345
+ """
346
+ self._key_store_key_name = key_store_key_name
347
+
348
+ @property
349
+ def key_store_password(self):
350
+ """Gets the key_store_password of this KafkaSecurity.
351
+
352
+ Keystore证书密码,证书设置了密码时需要。对应Kafka字段:ssl.keystore.password。
353
+
354
+ :return: The key_store_password of this KafkaSecurity.
355
+ :rtype: str
356
+ """
357
+ return self._key_store_password
358
+
359
+ @key_store_password.setter
360
+ def key_store_password(self, key_store_password):
361
+ """Sets the key_store_password of this KafkaSecurity.
362
+
363
+ Keystore证书密码,证书设置了密码时需要。对应Kafka字段:ssl.keystore.password。
364
+
365
+ :param key_store_password: The key_store_password of this KafkaSecurity.
366
+ :type key_store_password: str
367
+ """
368
+ self._key_store_password = key_store_password
369
+
370
+ @property
371
+ def set_private_key_password(self):
372
+ """Gets the set_private_key_password of this KafkaSecurity.
373
+
374
+ 是否设置Keystore私钥密码,默认为false。
375
+
376
+ :return: The set_private_key_password of this KafkaSecurity.
377
+ :rtype: bool
378
+ """
379
+ return self._set_private_key_password
380
+
381
+ @set_private_key_password.setter
382
+ def set_private_key_password(self, set_private_key_password):
383
+ """Sets the set_private_key_password of this KafkaSecurity.
384
+
385
+ 是否设置Keystore私钥密码,默认为false。
386
+
387
+ :param set_private_key_password: The set_private_key_password of this KafkaSecurity.
388
+ :type set_private_key_password: bool
389
+ """
390
+ self._set_private_key_password = set_private_key_password
391
+
392
+ @property
393
+ def key_password(self):
394
+ """Gets the key_password of this KafkaSecurity.
395
+
396
+ Keystore私钥密码,开启SSL双向认证时,set_private_key_password为true时必填。对应Kafka字段:ssl.key.password。
397
+
398
+ :return: The key_password of this KafkaSecurity.
399
+ :rtype: str
400
+ """
401
+ return self._key_password
402
+
403
+ @key_password.setter
404
+ def key_password(self, key_password):
405
+ """Sets the key_password of this KafkaSecurity.
406
+
407
+ Keystore私钥密码,开启SSL双向认证时,set_private_key_password为true时必填。对应Kafka字段:ssl.key.password。
408
+
409
+ :param key_password: The key_password of this KafkaSecurity.
410
+ :type key_password: str
411
+ """
412
+ self._key_password = key_password
152
413
 
153
414
  def to_dict(self):
154
415
  """Returns the model properties as a dict"""
@@ -55,7 +55,7 @@ class ListContentCompareDetailRequest:
55
55
  :type db_name: str
56
56
  :param type: 类型。 compare:对比 unCompare:无法对比
57
57
  :type type: str
58
- :param limit: 每页显示的条目数量。
58
+ :param limit: 每页显示的条目数量,最大值1000。
59
59
  :type limit: int
60
60
  :param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
61
61
  :type offset: int
@@ -224,7 +224,7 @@ class ListContentCompareDetailRequest:
224
224
  def limit(self):
225
225
  """Gets the limit of this ListContentCompareDetailRequest.
226
226
 
227
- 每页显示的条目数量。
227
+ 每页显示的条目数量,最大值1000。
228
228
 
229
229
  :return: The limit of this ListContentCompareDetailRequest.
230
230
  :rtype: int
@@ -235,7 +235,7 @@ class ListContentCompareDetailRequest:
235
235
  def limit(self, limit):
236
236
  """Sets the limit of this ListContentCompareDetailRequest.
237
237
 
238
- 每页显示的条目数量。
238
+ 每页显示的条目数量,最大值1000。
239
239
 
240
240
  :param limit: The limit of this ListContentCompareDetailRequest.
241
241
  :type limit: int