huaweicloudsdkgaussdbforopengauss 3.1.97__py2.py3-none-any.whl → 3.1.99__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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +3 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +3 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +18 -18
- huaweicloudsdkgaussdbforopengauss/v3/model/components.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +50 -21
- huaweicloudsdkgaussdbforopengauss/v3/model/{gauss_d_bfor_open_gauss_user_for_list_attributes.py → gauss_d_bfor_open_gauss_user_for_list_attribute.py} +67 -38
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_upgrade_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_response.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +53 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +59 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +32 -3
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/RECORD +28 -26
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.97.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.99.dist-info}/top_level.txt +0 -0
@@ -83,9 +83,11 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_grant_re
|
|
83
83
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_list_database import GaussDBforOpenGaussListDatabase
|
84
84
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_creation import GaussDBforOpenGaussUserForCreation
|
85
85
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_list import GaussDBforOpenGaussUserForList
|
86
|
-
from huaweicloudsdkgaussdbforopengauss.v3.model.
|
86
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_list_attribute import GaussDBforOpenGaussUserForListAttribute
|
87
87
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_with_privilege import GaussDBforOpenGaussUserWithPrivilege
|
88
88
|
from huaweicloudsdkgaussdbforopengauss.v3.model.get_restore_time_response_restore_time import GetRestoreTimeResponseRestoreTime
|
89
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_rollback_infos import HotfixRollbackInfos
|
90
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_upgrade_infos import HotfixUpgradeInfos
|
89
91
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_info_result import InstanceInfoResult
|
90
92
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_log_file import InstanceLogFile
|
91
93
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instances_list_result import InstancesListResult
|
@@ -81,9 +81,11 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_grant_re
|
|
81
81
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_list_database import GaussDBforOpenGaussListDatabase
|
82
82
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_creation import GaussDBforOpenGaussUserForCreation
|
83
83
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_list import GaussDBforOpenGaussUserForList
|
84
|
-
from huaweicloudsdkgaussdbforopengauss.v3.model.
|
84
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_for_list_attribute import GaussDBforOpenGaussUserForListAttribute
|
85
85
|
from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_with_privilege import GaussDBforOpenGaussUserWithPrivilege
|
86
86
|
from huaweicloudsdkgaussdbforopengauss.v3.model.get_restore_time_response_restore_time import GetRestoreTimeResponseRestoreTime
|
87
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_rollback_infos import HotfixRollbackInfos
|
88
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_upgrade_infos import HotfixUpgradeInfos
|
87
89
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_info_result import InstanceInfoResult
|
88
90
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_log_file import InstanceLogFile
|
89
91
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instances_list_result import InstancesListResult
|
@@ -17,26 +17,26 @@ class AvailableFlavorInfoResult:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'
|
20
|
+
'spec_code': 'str',
|
21
21
|
'vcpus': 'str',
|
22
22
|
'ram': 'str',
|
23
23
|
'az_status': 'dict(str, str)'
|
24
24
|
}
|
25
25
|
|
26
26
|
attribute_map = {
|
27
|
-
'
|
27
|
+
'spec_code': 'spec_code',
|
28
28
|
'vcpus': 'vcpus',
|
29
29
|
'ram': 'ram',
|
30
30
|
'az_status': 'az_status'
|
31
31
|
}
|
32
32
|
|
33
|
-
def __init__(self,
|
33
|
+
def __init__(self, spec_code=None, vcpus=None, ram=None, az_status=None):
|
34
34
|
"""AvailableFlavorInfoResult
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param
|
39
|
-
:type
|
38
|
+
:param spec_code: 资源规格编码。
|
39
|
+
:type spec_code: str
|
40
40
|
:param vcpus: CPU核数。
|
41
41
|
:type vcpus: str
|
42
42
|
:param ram: 内存大小,单位:GB。
|
@@ -47,14 +47,14 @@ class AvailableFlavorInfoResult:
|
|
47
47
|
|
48
48
|
|
49
49
|
|
50
|
-
self.
|
50
|
+
self._spec_code = None
|
51
51
|
self._vcpus = None
|
52
52
|
self._ram = None
|
53
53
|
self._az_status = None
|
54
54
|
self.discriminator = None
|
55
55
|
|
56
|
-
if
|
57
|
-
self.
|
56
|
+
if spec_code is not None:
|
57
|
+
self.spec_code = spec_code
|
58
58
|
if vcpus is not None:
|
59
59
|
self.vcpus = vcpus
|
60
60
|
if ram is not None:
|
@@ -63,26 +63,26 @@ class AvailableFlavorInfoResult:
|
|
63
63
|
self.az_status = az_status
|
64
64
|
|
65
65
|
@property
|
66
|
-
def
|
67
|
-
"""Gets the
|
66
|
+
def spec_code(self):
|
67
|
+
"""Gets the spec_code of this AvailableFlavorInfoResult.
|
68
68
|
|
69
69
|
资源规格编码。
|
70
70
|
|
71
|
-
:return: The
|
71
|
+
:return: The spec_code of this AvailableFlavorInfoResult.
|
72
72
|
:rtype: str
|
73
73
|
"""
|
74
|
-
return self.
|
74
|
+
return self._spec_code
|
75
75
|
|
76
|
-
@
|
77
|
-
def
|
78
|
-
"""Sets the
|
76
|
+
@spec_code.setter
|
77
|
+
def spec_code(self, spec_code):
|
78
|
+
"""Sets the spec_code of this AvailableFlavorInfoResult.
|
79
79
|
|
80
80
|
资源规格编码。
|
81
81
|
|
82
|
-
:param
|
83
|
-
:type
|
82
|
+
:param spec_code: The spec_code of this AvailableFlavorInfoResult.
|
83
|
+
:type spec_code: str
|
84
84
|
"""
|
85
|
-
self.
|
85
|
+
self._spec_code = spec_code
|
86
86
|
|
87
87
|
@property
|
88
88
|
def vcpus(self):
|
@@ -20,17 +20,21 @@ class Components:
|
|
20
20
|
'id': 'str',
|
21
21
|
'role': 'str',
|
22
22
|
'status': 'str',
|
23
|
-
'distributed_id': 'str'
|
23
|
+
'distributed_id': 'str',
|
24
|
+
'type': 'str',
|
25
|
+
'detail': 'str'
|
24
26
|
}
|
25
27
|
|
26
28
|
attribute_map = {
|
27
29
|
'id': 'id',
|
28
30
|
'role': 'role',
|
29
31
|
'status': 'status',
|
30
|
-
'distributed_id': 'distributed_id'
|
32
|
+
'distributed_id': 'distributed_id',
|
33
|
+
'type': 'type',
|
34
|
+
'detail': 'detail'
|
31
35
|
}
|
32
36
|
|
33
|
-
def __init__(self, id=None, role=None, status=None, distributed_id=None):
|
37
|
+
def __init__(self, id=None, role=None, status=None, distributed_id=None, type=None, detail=None):
|
34
38
|
"""Components
|
35
39
|
|
36
40
|
The model defined in huaweicloud sdk
|
@@ -43,6 +47,10 @@ class Components:
|
|
43
47
|
:type status: str
|
44
48
|
:param distributed_id: 分组id,只有dn组件有分组id,用于区分是否是同一个分片下的组件。其他组件为空字符串。
|
45
49
|
:type distributed_id: str
|
50
|
+
:param type: 节点类型,包括:DN, CN, GTM, CM, ETCD。
|
51
|
+
:type type: str
|
52
|
+
:param detail: 详情。
|
53
|
+
:type detail: str
|
46
54
|
"""
|
47
55
|
|
48
56
|
|
@@ -51,6 +59,8 @@ class Components:
|
|
51
59
|
self._role = None
|
52
60
|
self._status = None
|
53
61
|
self._distributed_id = None
|
62
|
+
self._type = None
|
63
|
+
self._detail = None
|
54
64
|
self.discriminator = None
|
55
65
|
|
56
66
|
if id is not None:
|
@@ -61,6 +71,10 @@ class Components:
|
|
61
71
|
self.status = status
|
62
72
|
if distributed_id is not None:
|
63
73
|
self.distributed_id = distributed_id
|
74
|
+
if type is not None:
|
75
|
+
self.type = type
|
76
|
+
if detail is not None:
|
77
|
+
self.detail = detail
|
64
78
|
|
65
79
|
@property
|
66
80
|
def id(self):
|
@@ -150,6 +164,50 @@ class Components:
|
|
150
164
|
"""
|
151
165
|
self._distributed_id = distributed_id
|
152
166
|
|
167
|
+
@property
|
168
|
+
def type(self):
|
169
|
+
"""Gets the type of this Components.
|
170
|
+
|
171
|
+
节点类型,包括:DN, CN, GTM, CM, ETCD。
|
172
|
+
|
173
|
+
:return: The type of this Components.
|
174
|
+
:rtype: str
|
175
|
+
"""
|
176
|
+
return self._type
|
177
|
+
|
178
|
+
@type.setter
|
179
|
+
def type(self, type):
|
180
|
+
"""Sets the type of this Components.
|
181
|
+
|
182
|
+
节点类型,包括:DN, CN, GTM, CM, ETCD。
|
183
|
+
|
184
|
+
:param type: The type of this Components.
|
185
|
+
:type type: str
|
186
|
+
"""
|
187
|
+
self._type = type
|
188
|
+
|
189
|
+
@property
|
190
|
+
def detail(self):
|
191
|
+
"""Gets the detail of this Components.
|
192
|
+
|
193
|
+
详情。
|
194
|
+
|
195
|
+
:return: The detail of this Components.
|
196
|
+
:rtype: str
|
197
|
+
"""
|
198
|
+
return self._detail
|
199
|
+
|
200
|
+
@detail.setter
|
201
|
+
def detail(self, detail):
|
202
|
+
"""Sets the detail of this Components.
|
203
|
+
|
204
|
+
详情。
|
205
|
+
|
206
|
+
:param detail: The detail of this Components.
|
207
|
+
:type detail: str
|
208
|
+
"""
|
209
|
+
self._detail = detail
|
210
|
+
|
153
211
|
def to_dict(self):
|
154
212
|
"""Returns the model properties as a dict"""
|
155
213
|
result = {}
|
@@ -35,7 +35,7 @@ class CreateConfigurationTemplateRequestBody:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param name:
|
38
|
+
:param name: 参数模板名称,不可与已有参数模板名称重复。 取值范围:长度1到64位之间,区分大小写字母,可包含字母、数字、中划线、下划线或句点,不能包含其他特殊字符。
|
39
39
|
:type name: str
|
40
40
|
:param description: 参数模板描述,默认为空。 取值范围:长度不超过256,不能包含回车<>!&等特殊字符。
|
41
41
|
:type description: str
|
@@ -64,7 +64,7 @@ class CreateConfigurationTemplateRequestBody:
|
|
64
64
|
def name(self):
|
65
65
|
"""Gets the name of this CreateConfigurationTemplateRequestBody.
|
66
66
|
|
67
|
-
|
67
|
+
参数模板名称,不可与已有参数模板名称重复。 取值范围:长度1到64位之间,区分大小写字母,可包含字母、数字、中划线、下划线或句点,不能包含其他特殊字符。
|
68
68
|
|
69
69
|
:return: The name of this CreateConfigurationTemplateRequestBody.
|
70
70
|
:rtype: str
|
@@ -75,7 +75,7 @@ class CreateConfigurationTemplateRequestBody:
|
|
75
75
|
def name(self, name):
|
76
76
|
"""Sets the name of this CreateConfigurationTemplateRequestBody.
|
77
77
|
|
78
|
-
|
78
|
+
参数模板名称,不可与已有参数模板名称重复。 取值范围:长度1到64位之间,区分大小写字母,可包含字母、数字、中划线、下划线或句点,不能包含其他特殊字符。
|
79
79
|
|
80
80
|
:param name: The name of this CreateConfigurationTemplateRequestBody.
|
81
81
|
:type name: str
|
@@ -35,7 +35,7 @@ class CreateManualBackupRequestBody:
|
|
35
35
|
|
36
36
|
:param instance_id: 实例ID。
|
37
37
|
:type instance_id: str
|
38
|
-
:param name:
|
38
|
+
:param name: 备份名称,不可重复,4~64个字符,必须以英文字母开头,区分大小写,可以包含英文字母、数字、中划线或者下划线,不能包含其他特殊字符。
|
39
39
|
:type name: str
|
40
40
|
:param description: 备份描述,不能包含>!<\"&'=特殊字符,不大于256个字符。
|
41
41
|
:type description: str
|
@@ -79,7 +79,7 @@ class CreateManualBackupRequestBody:
|
|
79
79
|
def name(self):
|
80
80
|
"""Gets the name of this CreateManualBackupRequestBody.
|
81
81
|
|
82
|
-
|
82
|
+
备份名称,不可重复,4~64个字符,必须以英文字母开头,区分大小写,可以包含英文字母、数字、中划线或者下划线,不能包含其他特殊字符。
|
83
83
|
|
84
84
|
:return: The name of this CreateManualBackupRequestBody.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class CreateManualBackupRequestBody:
|
|
90
90
|
def name(self, name):
|
91
91
|
"""Sets the name of this CreateManualBackupRequestBody.
|
92
92
|
|
93
|
-
|
93
|
+
备份名称,不可重复,4~64个字符,必须以英文字母开头,区分大小写,可以包含英文字母、数字、中划线或者下划线,不能包含其他特殊字符。
|
94
94
|
|
95
95
|
:param name: The name of this CreateManualBackupRequestBody.
|
96
96
|
:type name: str
|
@@ -33,7 +33,7 @@ class DeleteManualBackupRequest:
|
|
33
33
|
|
34
34
|
:param x_language: 语言
|
35
35
|
:type x_language: str
|
36
|
-
:param backup_id:
|
36
|
+
:param backup_id: 手动备份ID。
|
37
37
|
:type backup_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -73,7 +73,7 @@ class DeleteManualBackupRequest:
|
|
73
73
|
def backup_id(self):
|
74
74
|
"""Gets the backup_id of this DeleteManualBackupRequest.
|
75
75
|
|
76
|
-
|
76
|
+
手动备份ID。
|
77
77
|
|
78
78
|
:return: The backup_id of this DeleteManualBackupRequest.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class DeleteManualBackupRequest:
|
|
84
84
|
def backup_id(self, backup_id):
|
85
85
|
"""Sets the backup_id of this DeleteManualBackupRequest.
|
86
86
|
|
87
|
-
|
87
|
+
手动备份ID。
|
88
88
|
|
89
89
|
:param backup_id: The backup_id of this DeleteManualBackupRequest.
|
90
90
|
:type backup_id: str
|
@@ -21,7 +21,9 @@ class GaussDBforOpenGaussListDatabase:
|
|
21
21
|
'owner': 'str',
|
22
22
|
'character_set': 'str',
|
23
23
|
'collate_set': 'str',
|
24
|
-
'size': 'str'
|
24
|
+
'size': 'str',
|
25
|
+
'datctype': 'str',
|
26
|
+
'compatibility_type': 'str'
|
25
27
|
}
|
26
28
|
|
27
29
|
attribute_map = {
|
@@ -29,10 +31,12 @@ class GaussDBforOpenGaussListDatabase:
|
|
29
31
|
'owner': 'owner',
|
30
32
|
'character_set': 'character_set',
|
31
33
|
'collate_set': 'collate_set',
|
32
|
-
'size': 'size'
|
34
|
+
'size': 'size',
|
35
|
+
'datctype': 'datctype',
|
36
|
+
'compatibility_type': 'compatibility_type'
|
33
37
|
}
|
34
38
|
|
35
|
-
def __init__(self, name=None, owner=None, character_set=None, collate_set=None, size=None):
|
39
|
+
def __init__(self, name=None, owner=None, character_set=None, collate_set=None, size=None, datctype=None, compatibility_type=None):
|
36
40
|
"""GaussDBforOpenGaussListDatabase
|
37
41
|
|
38
42
|
The model defined in huaweicloud sdk
|
@@ -47,6 +51,10 @@ class GaussDBforOpenGaussListDatabase:
|
|
47
51
|
:type collate_set: str
|
48
52
|
:param size: 数据库大小(单位:MB)。
|
49
53
|
:type size: str
|
54
|
+
:param datctype: 数据库使用的字符分类,例如en_US.UTF-8等。
|
55
|
+
:type datctype: str
|
56
|
+
:param compatibility_type: 数据库兼容的类型,如GaussDB,M。
|
57
|
+
:type compatibility_type: str
|
50
58
|
"""
|
51
59
|
|
52
60
|
|
@@ -56,6 +64,8 @@ class GaussDBforOpenGaussListDatabase:
|
|
56
64
|
self._character_set = None
|
57
65
|
self._collate_set = None
|
58
66
|
self._size = None
|
67
|
+
self._datctype = None
|
68
|
+
self._compatibility_type = None
|
59
69
|
self.discriminator = None
|
60
70
|
|
61
71
|
if name is not None:
|
@@ -68,6 +78,10 @@ class GaussDBforOpenGaussListDatabase:
|
|
68
78
|
self.collate_set = collate_set
|
69
79
|
if size is not None:
|
70
80
|
self.size = size
|
81
|
+
if datctype is not None:
|
82
|
+
self.datctype = datctype
|
83
|
+
if compatibility_type is not None:
|
84
|
+
self.compatibility_type = compatibility_type
|
71
85
|
|
72
86
|
@property
|
73
87
|
def name(self):
|
@@ -179,6 +193,50 @@ class GaussDBforOpenGaussListDatabase:
|
|
179
193
|
"""
|
180
194
|
self._size = size
|
181
195
|
|
196
|
+
@property
|
197
|
+
def datctype(self):
|
198
|
+
"""Gets the datctype of this GaussDBforOpenGaussListDatabase.
|
199
|
+
|
200
|
+
数据库使用的字符分类,例如en_US.UTF-8等。
|
201
|
+
|
202
|
+
:return: The datctype of this GaussDBforOpenGaussListDatabase.
|
203
|
+
:rtype: str
|
204
|
+
"""
|
205
|
+
return self._datctype
|
206
|
+
|
207
|
+
@datctype.setter
|
208
|
+
def datctype(self, datctype):
|
209
|
+
"""Sets the datctype of this GaussDBforOpenGaussListDatabase.
|
210
|
+
|
211
|
+
数据库使用的字符分类,例如en_US.UTF-8等。
|
212
|
+
|
213
|
+
:param datctype: The datctype of this GaussDBforOpenGaussListDatabase.
|
214
|
+
:type datctype: str
|
215
|
+
"""
|
216
|
+
self._datctype = datctype
|
217
|
+
|
218
|
+
@property
|
219
|
+
def compatibility_type(self):
|
220
|
+
"""Gets the compatibility_type of this GaussDBforOpenGaussListDatabase.
|
221
|
+
|
222
|
+
数据库兼容的类型,如GaussDB,M。
|
223
|
+
|
224
|
+
:return: The compatibility_type of this GaussDBforOpenGaussListDatabase.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._compatibility_type
|
228
|
+
|
229
|
+
@compatibility_type.setter
|
230
|
+
def compatibility_type(self, compatibility_type):
|
231
|
+
"""Sets the compatibility_type of this GaussDBforOpenGaussListDatabase.
|
232
|
+
|
233
|
+
数据库兼容的类型,如GaussDB,M。
|
234
|
+
|
235
|
+
:param compatibility_type: The compatibility_type of this GaussDBforOpenGaussListDatabase.
|
236
|
+
:type compatibility_type: str
|
237
|
+
"""
|
238
|
+
self._compatibility_type = compatibility_type
|
239
|
+
|
182
240
|
def to_dict(self):
|
183
241
|
"""Returns the model properties as a dict"""
|
184
242
|
result = {}
|
@@ -18,41 +18,48 @@ class GaussDBforOpenGaussUserForList:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'name': 'str',
|
21
|
-
'
|
22
|
-
'memberof': 'str'
|
21
|
+
'attribute': 'GaussDBforOpenGaussUserForListAttribute',
|
22
|
+
'memberof': 'str',
|
23
|
+
'lock_status': 'bool'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'name': 'name',
|
27
|
-
'
|
28
|
-
'memberof': 'memberof'
|
28
|
+
'attribute': 'attribute',
|
29
|
+
'memberof': 'memberof',
|
30
|
+
'lock_status': 'lock_status'
|
29
31
|
}
|
30
32
|
|
31
|
-
def __init__(self, name=None,
|
33
|
+
def __init__(self, name=None, attribute=None, memberof=None, lock_status=None):
|
32
34
|
"""GaussDBforOpenGaussUserForList
|
33
35
|
|
34
36
|
The model defined in huaweicloud sdk
|
35
37
|
|
36
38
|
:param name: 帐号名。
|
37
39
|
:type name: str
|
38
|
-
:param
|
39
|
-
:type
|
40
|
+
:param attribute:
|
41
|
+
:type attribute: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
|
40
42
|
:param memberof: 用户的默认权限。
|
41
43
|
:type memberof: str
|
44
|
+
:param lock_status: 用户是否被锁,取值为“true”或“false”。
|
45
|
+
:type lock_status: bool
|
42
46
|
"""
|
43
47
|
|
44
48
|
|
45
49
|
|
46
50
|
self._name = None
|
47
|
-
self.
|
51
|
+
self._attribute = None
|
48
52
|
self._memberof = None
|
53
|
+
self._lock_status = None
|
49
54
|
self.discriminator = None
|
50
55
|
|
51
56
|
self.name = name
|
52
|
-
if
|
53
|
-
self.
|
57
|
+
if attribute is not None:
|
58
|
+
self.attribute = attribute
|
54
59
|
if memberof is not None:
|
55
60
|
self.memberof = memberof
|
61
|
+
if lock_status is not None:
|
62
|
+
self.lock_status = lock_status
|
56
63
|
|
57
64
|
@property
|
58
65
|
def name(self):
|
@@ -77,22 +84,22 @@ class GaussDBforOpenGaussUserForList:
|
|
77
84
|
self._name = name
|
78
85
|
|
79
86
|
@property
|
80
|
-
def
|
81
|
-
"""Gets the
|
87
|
+
def attribute(self):
|
88
|
+
"""Gets the attribute of this GaussDBforOpenGaussUserForList.
|
82
89
|
|
83
|
-
:return: The
|
84
|
-
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.
|
90
|
+
:return: The attribute of this GaussDBforOpenGaussUserForList.
|
91
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
|
85
92
|
"""
|
86
|
-
return self.
|
93
|
+
return self._attribute
|
87
94
|
|
88
|
-
@
|
89
|
-
def
|
90
|
-
"""Sets the
|
95
|
+
@attribute.setter
|
96
|
+
def attribute(self, attribute):
|
97
|
+
"""Sets the attribute of this GaussDBforOpenGaussUserForList.
|
91
98
|
|
92
|
-
:param
|
93
|
-
:type
|
99
|
+
:param attribute: The attribute of this GaussDBforOpenGaussUserForList.
|
100
|
+
:type attribute: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBforOpenGaussUserForListAttribute`
|
94
101
|
"""
|
95
|
-
self.
|
102
|
+
self._attribute = attribute
|
96
103
|
|
97
104
|
@property
|
98
105
|
def memberof(self):
|
@@ -116,6 +123,28 @@ class GaussDBforOpenGaussUserForList:
|
|
116
123
|
"""
|
117
124
|
self._memberof = memberof
|
118
125
|
|
126
|
+
@property
|
127
|
+
def lock_status(self):
|
128
|
+
"""Gets the lock_status of this GaussDBforOpenGaussUserForList.
|
129
|
+
|
130
|
+
用户是否被锁,取值为“true”或“false”。
|
131
|
+
|
132
|
+
:return: The lock_status of this GaussDBforOpenGaussUserForList.
|
133
|
+
:rtype: bool
|
134
|
+
"""
|
135
|
+
return self._lock_status
|
136
|
+
|
137
|
+
@lock_status.setter
|
138
|
+
def lock_status(self, lock_status):
|
139
|
+
"""Sets the lock_status of this GaussDBforOpenGaussUserForList.
|
140
|
+
|
141
|
+
用户是否被锁,取值为“true”或“false”。
|
142
|
+
|
143
|
+
:param lock_status: The lock_status of this GaussDBforOpenGaussUserForList.
|
144
|
+
:type lock_status: bool
|
145
|
+
"""
|
146
|
+
self._lock_status = lock_status
|
147
|
+
|
119
148
|
def to_dict(self):
|
120
149
|
"""Returns the model properties as a dict"""
|
121
150
|
result = {}
|