huaweicloudsdkgaussdb 3.1.94__py2.py3-none-any.whl → 3.1.96__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.
- huaweicloudsdkgaussdb/v3/__init__.py +97 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1591 -0
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +1591 -0
- huaweicloudsdkgaussdb/v3/model/__init__.py +97 -0
- huaweicloudsdkgaussdb/v3/model/check_data_base_config_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/check_data_base_config_response.py +232 -0
- huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/check_table_config_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/check_table_config_response.py +203 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication.py +227 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_database_user_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_database_user_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/create_starrocks_instance_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/create_starrocks_instance_response.py +141 -0
- huaweicloudsdkgaussdb/v3/model/data_base_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/db_config.py +144 -0
- huaweicloudsdkgaussdb/v3/model/db_config_check_request_v3.py +285 -0
- huaweicloudsdkgaussdb/v3/model/db_config_check_result.py +173 -0
- huaweicloudsdkgaussdb/v3/model/db_parameter.py +231 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication.py +115 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_database_user_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_database_user_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/delete_starrocks_instance_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/delete_starrocks_instance_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/htap_flavor_info_flavors.py +318 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_available_zones.py +173 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_instance_state.py +202 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_instances.py +832 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_network.py +173 -0
- huaweicloudsdkgaussdb/v3/model/htap_storage_type_storage_type.py +173 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_data_store_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_data_store_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_flavor_request.py +230 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_flavor_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_instance_info_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_instance_info_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_storage_type_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_storage_type_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_bases_request.py +229 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_bases_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_request.py +170 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_response.py +336 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replications_request.py +200 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replications_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_db_parameters_request.py +142 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_db_parameters_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_starrocks_instance_info_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/list_starrocks_instance_info_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/param_group.py +144 -0
- huaweicloudsdkgaussdb/v3/model/query_action.py +318 -0
- huaweicloudsdkgaussdb/v3/model/readable_node_infos.py +173 -0
- huaweicloudsdkgaussdb/v3/model/resource_check.py +138 -0
- huaweicloudsdkgaussdb/v3/model/resource_check_resource.py +367 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_instance_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_instance_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_node_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_node_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_request.py +228 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_users_user_details.py +198 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance.py +538 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_engine.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_pay_info.py +231 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info_sys_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_data_stores_datastores.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request.py +459 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_be_volume.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_engine.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_fe_volume.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_ha.py +114 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_tags_info.py +114 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_tags_info_sys_tags.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_info.py +228 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_p_sinfo.py +201 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_p_winfo.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_datastore.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_groups.py +231 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_instances.py +1292 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_nodes.py +1006 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_ops_window.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_port_info.py +115 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info_sys_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_volume.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_replication_info.py +318 -0
- huaweicloudsdkgaussdb/v3/model/table_config_check_request_v3.py +285 -0
- huaweicloudsdkgaussdb/v3/model/table_config_check_result.py +173 -0
- huaweicloudsdkgaussdb/v3/model/table_repl_config.py +173 -0
- huaweicloudsdkgaussdb/v3/model/tables_config.py +144 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_response.py +116 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/RECORD +106 -9
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksCreateRequestBeVolume:
|
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
|
+
'io_type': 'str',
|
21
|
+
'capacity_in_gb': 'int'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'io_type': 'io_type',
|
26
|
+
'capacity_in_gb': 'capacity_in_gb'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, io_type=None, capacity_in_gb=None):
|
30
|
+
"""StarRocksCreateRequestBeVolume
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param io_type: 磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
35
|
+
:type io_type: str
|
36
|
+
:param capacity_in_gb: 磁盘容量,单位GB 增长的步长:10GB。
|
37
|
+
:type capacity_in_gb: int
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._io_type = None
|
43
|
+
self._capacity_in_gb = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.io_type = io_type
|
47
|
+
self.capacity_in_gb = capacity_in_gb
|
48
|
+
|
49
|
+
@property
|
50
|
+
def io_type(self):
|
51
|
+
"""Gets the io_type of this StarRocksCreateRequestBeVolume.
|
52
|
+
|
53
|
+
磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
54
|
+
|
55
|
+
:return: The io_type of this StarRocksCreateRequestBeVolume.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._io_type
|
59
|
+
|
60
|
+
@io_type.setter
|
61
|
+
def io_type(self, io_type):
|
62
|
+
"""Sets the io_type of this StarRocksCreateRequestBeVolume.
|
63
|
+
|
64
|
+
磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
65
|
+
|
66
|
+
:param io_type: The io_type of this StarRocksCreateRequestBeVolume.
|
67
|
+
:type io_type: str
|
68
|
+
"""
|
69
|
+
self._io_type = io_type
|
70
|
+
|
71
|
+
@property
|
72
|
+
def capacity_in_gb(self):
|
73
|
+
"""Gets the capacity_in_gb of this StarRocksCreateRequestBeVolume.
|
74
|
+
|
75
|
+
磁盘容量,单位GB 增长的步长:10GB。
|
76
|
+
|
77
|
+
:return: The capacity_in_gb of this StarRocksCreateRequestBeVolume.
|
78
|
+
:rtype: int
|
79
|
+
"""
|
80
|
+
return self._capacity_in_gb
|
81
|
+
|
82
|
+
@capacity_in_gb.setter
|
83
|
+
def capacity_in_gb(self, capacity_in_gb):
|
84
|
+
"""Sets the capacity_in_gb of this StarRocksCreateRequestBeVolume.
|
85
|
+
|
86
|
+
磁盘容量,单位GB 增长的步长:10GB。
|
87
|
+
|
88
|
+
:param capacity_in_gb: The capacity_in_gb of this StarRocksCreateRequestBeVolume.
|
89
|
+
:type capacity_in_gb: int
|
90
|
+
"""
|
91
|
+
self._capacity_in_gb = capacity_in_gb
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, StarRocksCreateRequestBeVolume):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksCreateRequestEngine:
|
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
|
+
'type': 'str',
|
21
|
+
'version': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'type': 'type',
|
26
|
+
'version': 'version'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, type=None, version=None):
|
30
|
+
"""StarRocksCreateRequestEngine
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param type: 引擎类型。仅支持star-rocks。
|
35
|
+
:type type: str
|
36
|
+
:param version: 引擎大版本号。
|
37
|
+
:type version: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._type = None
|
43
|
+
self._version = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.type = type
|
47
|
+
self.version = version
|
48
|
+
|
49
|
+
@property
|
50
|
+
def type(self):
|
51
|
+
"""Gets the type of this StarRocksCreateRequestEngine.
|
52
|
+
|
53
|
+
引擎类型。仅支持star-rocks。
|
54
|
+
|
55
|
+
:return: The type of this StarRocksCreateRequestEngine.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._type
|
59
|
+
|
60
|
+
@type.setter
|
61
|
+
def type(self, type):
|
62
|
+
"""Sets the type of this StarRocksCreateRequestEngine.
|
63
|
+
|
64
|
+
引擎类型。仅支持star-rocks。
|
65
|
+
|
66
|
+
:param type: The type of this StarRocksCreateRequestEngine.
|
67
|
+
:type type: str
|
68
|
+
"""
|
69
|
+
self._type = type
|
70
|
+
|
71
|
+
@property
|
72
|
+
def version(self):
|
73
|
+
"""Gets the version of this StarRocksCreateRequestEngine.
|
74
|
+
|
75
|
+
引擎大版本号。
|
76
|
+
|
77
|
+
:return: The version of this StarRocksCreateRequestEngine.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._version
|
81
|
+
|
82
|
+
@version.setter
|
83
|
+
def version(self, version):
|
84
|
+
"""Sets the version of this StarRocksCreateRequestEngine.
|
85
|
+
|
86
|
+
引擎大版本号。
|
87
|
+
|
88
|
+
:param version: The version of this StarRocksCreateRequestEngine.
|
89
|
+
:type version: str
|
90
|
+
"""
|
91
|
+
self._version = version
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, StarRocksCreateRequestEngine):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksCreateRequestFeVolume:
|
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
|
+
'io_type': 'str',
|
21
|
+
'capacity_in_gb': 'int'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'io_type': 'io_type',
|
26
|
+
'capacity_in_gb': 'capacity_in_gb'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, io_type=None, capacity_in_gb=None):
|
30
|
+
"""StarRocksCreateRequestFeVolume
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param io_type: 磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
35
|
+
:type io_type: str
|
36
|
+
:param capacity_in_gb: 磁盘容量,单位GB 增长的步长:10GB。
|
37
|
+
:type capacity_in_gb: int
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._io_type = None
|
43
|
+
self._capacity_in_gb = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.io_type = io_type
|
47
|
+
self.capacity_in_gb = capacity_in_gb
|
48
|
+
|
49
|
+
@property
|
50
|
+
def io_type(self):
|
51
|
+
"""Gets the io_type of this StarRocksCreateRequestFeVolume.
|
52
|
+
|
53
|
+
磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
54
|
+
|
55
|
+
:return: The io_type of this StarRocksCreateRequestFeVolume.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._io_type
|
59
|
+
|
60
|
+
@io_type.setter
|
61
|
+
def io_type(self, io_type):
|
62
|
+
"""Sets the io_type of this StarRocksCreateRequestFeVolume.
|
63
|
+
|
64
|
+
磁盘类型。通过查询HTAP引擎资源返回消息获取。
|
65
|
+
|
66
|
+
:param io_type: The io_type of this StarRocksCreateRequestFeVolume.
|
67
|
+
:type io_type: str
|
68
|
+
"""
|
69
|
+
self._io_type = io_type
|
70
|
+
|
71
|
+
@property
|
72
|
+
def capacity_in_gb(self):
|
73
|
+
"""Gets the capacity_in_gb of this StarRocksCreateRequestFeVolume.
|
74
|
+
|
75
|
+
磁盘容量,单位GB 增长的步长:10GB。
|
76
|
+
|
77
|
+
:return: The capacity_in_gb of this StarRocksCreateRequestFeVolume.
|
78
|
+
:rtype: int
|
79
|
+
"""
|
80
|
+
return self._capacity_in_gb
|
81
|
+
|
82
|
+
@capacity_in_gb.setter
|
83
|
+
def capacity_in_gb(self, capacity_in_gb):
|
84
|
+
"""Sets the capacity_in_gb of this StarRocksCreateRequestFeVolume.
|
85
|
+
|
86
|
+
磁盘容量,单位GB 增长的步长:10GB。
|
87
|
+
|
88
|
+
:param capacity_in_gb: The capacity_in_gb of this StarRocksCreateRequestFeVolume.
|
89
|
+
:type capacity_in_gb: int
|
90
|
+
"""
|
91
|
+
self._capacity_in_gb = capacity_in_gb
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, StarRocksCreateRequestFeVolume):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksCreateRequestHa:
|
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
|
+
'mode': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'mode': 'mode'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, mode=None):
|
28
|
+
"""StarRocksCreateRequestHa
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param mode: 部署模式。
|
33
|
+
:type mode: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._mode = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.mode = mode
|
42
|
+
|
43
|
+
@property
|
44
|
+
def mode(self):
|
45
|
+
"""Gets the mode of this StarRocksCreateRequestHa.
|
46
|
+
|
47
|
+
部署模式。
|
48
|
+
|
49
|
+
:return: The mode of this StarRocksCreateRequestHa.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._mode
|
53
|
+
|
54
|
+
@mode.setter
|
55
|
+
def mode(self, mode):
|
56
|
+
"""Sets the mode of this StarRocksCreateRequestHa.
|
57
|
+
|
58
|
+
部署模式。
|
59
|
+
|
60
|
+
:param mode: The mode of this StarRocksCreateRequestHa.
|
61
|
+
:type mode: str
|
62
|
+
"""
|
63
|
+
self._mode = mode
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, StarRocksCreateRequestHa):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksCreateRequestTagsInfo:
|
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
|
+
'sys_tags': 'list[StarRocksCreateRequestTagsInfoSysTags]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'sys_tags': 'sys_tags'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, sys_tags=None):
|
28
|
+
"""StarRocksCreateRequestTagsInfo
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param sys_tags: 系统标签。
|
33
|
+
:type sys_tags: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksCreateRequestTagsInfoSysTags`]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._sys_tags = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.sys_tags = sys_tags
|
42
|
+
|
43
|
+
@property
|
44
|
+
def sys_tags(self):
|
45
|
+
"""Gets the sys_tags of this StarRocksCreateRequestTagsInfo.
|
46
|
+
|
47
|
+
系统标签。
|
48
|
+
|
49
|
+
:return: The sys_tags of this StarRocksCreateRequestTagsInfo.
|
50
|
+
:rtype: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksCreateRequestTagsInfoSysTags`]
|
51
|
+
"""
|
52
|
+
return self._sys_tags
|
53
|
+
|
54
|
+
@sys_tags.setter
|
55
|
+
def sys_tags(self, sys_tags):
|
56
|
+
"""Sets the sys_tags of this StarRocksCreateRequestTagsInfo.
|
57
|
+
|
58
|
+
系统标签。
|
59
|
+
|
60
|
+
:param sys_tags: The sys_tags of this StarRocksCreateRequestTagsInfo.
|
61
|
+
:type sys_tags: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksCreateRequestTagsInfoSysTags`]
|
62
|
+
"""
|
63
|
+
self._sys_tags = sys_tags
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, StarRocksCreateRequestTagsInfo):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|