huaweicloudsdkgaussdbforopengauss 3.1.110__py2.py3-none-any.whl → 3.1.111__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.
@@ -53,8 +53,7 @@ class GaussDBUpgradeInstancesVersionRequest:
53
53
  self._target_version = None
54
54
  self.discriminator = None
55
55
 
56
- if instance_ids is not None:
57
- self.instance_ids = instance_ids
56
+ self.instance_ids = instance_ids
58
57
  self.upgrade_type = upgrade_type
59
58
  if upgrade_action is not None:
60
59
  self.upgrade_action = upgrade_action
@@ -19,16 +19,18 @@ class OpenGaussHaOption:
19
19
  openapi_types = {
20
20
  'mode': 'str',
21
21
  'consistency': 'str',
22
- 'replication_mode': 'str'
22
+ 'replication_mode': 'str',
23
+ 'instance_mode': 'str'
23
24
  }
24
25
 
25
26
  attribute_map = {
26
27
  'mode': 'mode',
27
28
  'consistency': 'consistency',
28
- 'replication_mode': 'replication_mode'
29
+ 'replication_mode': 'replication_mode',
30
+ 'instance_mode': 'instance_mode'
29
31
  }
30
32
 
31
- def __init__(self, mode=None, consistency=None, replication_mode=None):
33
+ def __init__(self, mode=None, consistency=None, replication_mode=None, instance_mode=None):
32
34
  """OpenGaussHaOption
33
35
 
34
36
  The model defined in huaweicloud sdk
@@ -39,6 +41,8 @@ class OpenGaussHaOption:
39
41
  :type consistency: str
40
42
  :param replication_mode: 备机同步参数。 取值: GaussDB为“sync\" 说明: - “sync”为同步模式。
41
43
  :type replication_mode: str
44
+ :param instance_mode: 指定创建实例的产品类型,创建企业版实例时传空值或者enterprise,创建基础版实例时需要指定instance_mode的值为basic,创建生态版实例时需要指定instance_mode的值为ecology。
45
+ :type instance_mode: str
42
46
  """
43
47
 
44
48
 
@@ -46,11 +50,14 @@ class OpenGaussHaOption:
46
50
  self._mode = None
47
51
  self._consistency = None
48
52
  self._replication_mode = None
53
+ self._instance_mode = None
49
54
  self.discriminator = None
50
55
 
51
56
  self.mode = mode
52
57
  self.consistency = consistency
53
58
  self.replication_mode = replication_mode
59
+ if instance_mode is not None:
60
+ self.instance_mode = instance_mode
54
61
 
55
62
  @property
56
63
  def mode(self):
@@ -118,6 +125,28 @@ class OpenGaussHaOption:
118
125
  """
119
126
  self._replication_mode = replication_mode
120
127
 
128
+ @property
129
+ def instance_mode(self):
130
+ """Gets the instance_mode of this OpenGaussHaOption.
131
+
132
+ 指定创建实例的产品类型,创建企业版实例时传空值或者enterprise,创建基础版实例时需要指定instance_mode的值为basic,创建生态版实例时需要指定instance_mode的值为ecology。
133
+
134
+ :return: The instance_mode of this OpenGaussHaOption.
135
+ :rtype: str
136
+ """
137
+ return self._instance_mode
138
+
139
+ @instance_mode.setter
140
+ def instance_mode(self, instance_mode):
141
+ """Sets the instance_mode of this OpenGaussHaOption.
142
+
143
+ 指定创建实例的产品类型,创建企业版实例时传空值或者enterprise,创建基础版实例时需要指定instance_mode的值为basic,创建生态版实例时需要指定instance_mode的值为ecology。
144
+
145
+ :param instance_mode: The instance_mode of this OpenGaussHaOption.
146
+ :type instance_mode: str
147
+ """
148
+ self._instance_mode = instance_mode
149
+
121
150
  def to_dict(self):
122
151
  """Returns the model properties as a dict"""
123
152
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkgaussdbforopengauss
3
- Version: 3.1.110
3
+ Version: 3.1.111
4
4
  Summary: GaussDBforopenGauss
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.110
25
+ Requires-Dist: huaweicloudsdkcore>=3.1.111
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -86,7 +86,7 @@ huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_crea
86
86
  huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py,sha256=wTUUST944g7wQiWKi6VXx3AsJSsWErnGtpDQ96-kyOY,5928
87
87
  huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list_attribute.py,sha256=pbqFVzyz8shMYRaZmQ301XLrnFEnEW7LjM13ZvQ2rho,12391
88
88
  huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_with_privilege.py,sha256=WaFKkndJJEQHSIp5NwXd_6GW1hS471zLlSCi-9GtKug,6782
89
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py,sha256=-yRFYE9PiqK6EErQCL3h0hEev2hlxxglLPtzRNrmKiQ,7339
89
+ huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py,sha256=F5kjvs5rQ7zhwDVofG-U9i4UYlKsHpdN5X1yeddxRT4,7298
90
90
  huaweicloudsdkgaussdbforopengauss/v3/model/get_restore_time_response_restore_time.py,sha256=RoezLqgaEl2kj9pS0EuJTYPuFKF3HIvS_whmjCDpEDc,4449
91
91
  huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py,sha256=WSu0QXDRymkzulab56Ysu9bmxYzIKNSdoA2B0LbsEu4,5788
92
92
  huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py,sha256=kjjOTsz7RASQcPTiGH6k7aHsTuoEbNBL0HgxXGXSJvU,6089
@@ -207,7 +207,7 @@ huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_enlarge_volume.py,sha256=n
207
207
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py,sha256=cV1l6vL7o6z3ZFWaVWc92qYI1Sfl-z16asDjKsH3kNc,3867
208
208
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_expand_cluster.py,sha256=04aUYmjF8CFyD2aE_mJHSl814XPp2yPO9SvfkXxRW0M,4282
209
209
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py,sha256=wNthcEuIjO0pB7f6KsHBd7Re_lXoQ1IG7AZqyd15v5U,7228
210
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py,sha256=Ca9rfBoQPu97fPRIt_KarCC2pPx-sYms7A0ichxPYV8,5846
210
+ huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py,sha256=UnuSNG5oZxwS8c3z5K1FkPWDG4fQcganBghMspxEmAE,7342
211
211
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_response.py,sha256=pR7Ko0KH2M_WWmd_4f2_a63vK2ACM0w_hpLQpQMrrOY,5532
212
212
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_result.py,sha256=618o2wpyYRe-GkyP9-qTI_c1u7tf1EOeOKEMAXUDNdA,6850
213
213
  huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_action_request.py,sha256=UiYxeSXdczfYQNIVWZrB9hSdeHAjI03CxqYzAhuq31w,6048
@@ -342,8 +342,8 @@ huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_response.py,sh
342
342
  huaweicloudsdkgaussdbforopengauss/v3/model/weak_password_request_body.py,sha256=o6aHUH5vLvSBEf2BJZkKk4XCiwcJgVu7rHklOd476B0,3101
343
343
  huaweicloudsdkgaussdbforopengauss/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
344
  huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py,sha256=12tDcVvpGUM3dRQG38MK4JaveqrmzOwxPrDpJ9AVC84,2971
345
- huaweicloudsdkgaussdbforopengauss-3.1.110.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
346
- huaweicloudsdkgaussdbforopengauss-3.1.110.dist-info/METADATA,sha256=JJsTr8qanCjNbka31d_YOscCdbszrmGegjDomePGPdE,1183
347
- huaweicloudsdkgaussdbforopengauss-3.1.110.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
348
- huaweicloudsdkgaussdbforopengauss-3.1.110.dist-info/top_level.txt,sha256=Eu0Q0tFHFbnL_PjFOY4Uagc9Xd6tEIZWVieOKIvJ5-A,34
349
- huaweicloudsdkgaussdbforopengauss-3.1.110.dist-info/RECORD,,
345
+ huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
346
+ huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info/METADATA,sha256=zVrChqYLjDbsRsk5Ajc__fcsF7rOdMVjYFeN65iqSIo,1183
347
+ huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
348
+ huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info/top_level.txt,sha256=Eu0Q0tFHFbnL_PjFOY4Uagc9Xd6tEIZWVieOKIvJ5-A,34
349
+ huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info/RECORD,,