volcengine-python-sdk 4.0.20__py2.py3-none-any.whl → 4.0.21__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 volcengine-python-sdk might be problematic. Click here for more details.

Files changed (101) hide show
  1. volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
  2. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +88 -62
  3. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
  4. volcenginesdkarkruntime/resources/images/images.py +1 -1
  5. volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
  6. volcenginesdkarkruntime/resources/responses/responses.py +4 -1
  7. volcenginesdkarkruntime/types/images/images.py +3 -0
  8. volcenginesdkcore/api_client.py +1 -1
  9. volcenginesdkcore/configuration.py +1 -1
  10. volcenginesdkrdsmysqlv2/__init__.py +39 -25
  11. volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
  12. volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
  13. volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
  14. volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
  15. volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
  16. volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
  17. volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
  18. volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
  19. volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
  20. volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
  21. volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
  22. volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
  23. volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
  24. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
  25. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
  26. volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
  27. volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
  28. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
  29. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
  30. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
  31. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
  32. volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
  33. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
  34. volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
  35. volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
  36. volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
  37. volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
  38. volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
  39. volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
  40. volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
  41. volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
  42. volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
  43. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
  44. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
  45. volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
  46. volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
  47. volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
  48. volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
  49. volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
  50. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
  51. volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
  52. volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
  53. volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
  54. volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
  55. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_request.py → proxy_detail_for_describe_db_proxy_output.py} +36 -37
  56. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
  57. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
  58. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
  59. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
  60. volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
  61. volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +175 -0
  62. volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
  63. volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
  64. volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
  65. volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
  66. volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
  67. volcenginesdkresourceshare/__init__.py +12 -0
  68. volcenginesdkresourceshare/api/resource_share_api.py +291 -0
  69. volcenginesdkresourceshare/models/__init__.py +12 -0
  70. volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
  71. volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
  72. volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
  73. volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
  74. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
  75. volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
  76. volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  77. volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
  78. volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  79. volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
  80. volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
  81. volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
  82. volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
  83. volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
  84. volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
  85. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
  86. volcengine_python_sdk-4.0.20.dist-info/METADATA +0 -20
  87. volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
  88. volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
  89. volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
  90. volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
  91. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
  92. volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
  93. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
  94. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
  95. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
  96. volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
  97. volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
  98. volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
  99. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
  100. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
  101. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
@@ -1,279 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- rds_mysql_v2
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: common-version
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- """
12
-
13
-
14
- import pprint
15
- import re # noqa: F401
16
-
17
- import six
18
-
19
- from volcenginesdkcore.configuration import Configuration
20
-
21
-
22
- class DescribeCrossRegionBackupDBInstancesRequest(object):
23
- """NOTE: This class is auto generated by the swagger code generator program.
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- swagger_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- swagger_types = {
36
- 'enable_after_time': 'str',
37
- 'enable_before_time': 'str',
38
- 'instance_id': 'str',
39
- 'instance_name': 'str',
40
- 'page_number': 'int',
41
- 'page_size': 'int',
42
- 'project_name': 'str'
43
- }
44
-
45
- attribute_map = {
46
- 'enable_after_time': 'EnableAfterTime',
47
- 'enable_before_time': 'EnableBeforeTime',
48
- 'instance_id': 'InstanceId',
49
- 'instance_name': 'InstanceName',
50
- 'page_number': 'PageNumber',
51
- 'page_size': 'PageSize',
52
- 'project_name': 'ProjectName'
53
- }
54
-
55
- def __init__(self, enable_after_time=None, enable_before_time=None, instance_id=None, instance_name=None, page_number=None, page_size=None, project_name=None, _configuration=None): # noqa: E501
56
- """DescribeCrossRegionBackupDBInstancesRequest - a model defined in Swagger""" # noqa: E501
57
- if _configuration is None:
58
- _configuration = Configuration()
59
- self._configuration = _configuration
60
-
61
- self._enable_after_time = None
62
- self._enable_before_time = None
63
- self._instance_id = None
64
- self._instance_name = None
65
- self._page_number = None
66
- self._page_size = None
67
- self._project_name = None
68
- self.discriminator = None
69
-
70
- if enable_after_time is not None:
71
- self.enable_after_time = enable_after_time
72
- if enable_before_time is not None:
73
- self.enable_before_time = enable_before_time
74
- if instance_id is not None:
75
- self.instance_id = instance_id
76
- if instance_name is not None:
77
- self.instance_name = instance_name
78
- if page_number is not None:
79
- self.page_number = page_number
80
- if page_size is not None:
81
- self.page_size = page_size
82
- if project_name is not None:
83
- self.project_name = project_name
84
-
85
- @property
86
- def enable_after_time(self):
87
- """Gets the enable_after_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
88
-
89
-
90
- :return: The enable_after_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
91
- :rtype: str
92
- """
93
- return self._enable_after_time
94
-
95
- @enable_after_time.setter
96
- def enable_after_time(self, enable_after_time):
97
- """Sets the enable_after_time of this DescribeCrossRegionBackupDBInstancesRequest.
98
-
99
-
100
- :param enable_after_time: The enable_after_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
101
- :type: str
102
- """
103
-
104
- self._enable_after_time = enable_after_time
105
-
106
- @property
107
- def enable_before_time(self):
108
- """Gets the enable_before_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
109
-
110
-
111
- :return: The enable_before_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
112
- :rtype: str
113
- """
114
- return self._enable_before_time
115
-
116
- @enable_before_time.setter
117
- def enable_before_time(self, enable_before_time):
118
- """Sets the enable_before_time of this DescribeCrossRegionBackupDBInstancesRequest.
119
-
120
-
121
- :param enable_before_time: The enable_before_time of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
122
- :type: str
123
- """
124
-
125
- self._enable_before_time = enable_before_time
126
-
127
- @property
128
- def instance_id(self):
129
- """Gets the instance_id of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
130
-
131
-
132
- :return: The instance_id of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
133
- :rtype: str
134
- """
135
- return self._instance_id
136
-
137
- @instance_id.setter
138
- def instance_id(self, instance_id):
139
- """Sets the instance_id of this DescribeCrossRegionBackupDBInstancesRequest.
140
-
141
-
142
- :param instance_id: The instance_id of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
143
- :type: str
144
- """
145
-
146
- self._instance_id = instance_id
147
-
148
- @property
149
- def instance_name(self):
150
- """Gets the instance_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
151
-
152
-
153
- :return: The instance_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
154
- :rtype: str
155
- """
156
- return self._instance_name
157
-
158
- @instance_name.setter
159
- def instance_name(self, instance_name):
160
- """Sets the instance_name of this DescribeCrossRegionBackupDBInstancesRequest.
161
-
162
-
163
- :param instance_name: The instance_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
164
- :type: str
165
- """
166
-
167
- self._instance_name = instance_name
168
-
169
- @property
170
- def page_number(self):
171
- """Gets the page_number of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
172
-
173
-
174
- :return: The page_number of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
175
- :rtype: int
176
- """
177
- return self._page_number
178
-
179
- @page_number.setter
180
- def page_number(self, page_number):
181
- """Sets the page_number of this DescribeCrossRegionBackupDBInstancesRequest.
182
-
183
-
184
- :param page_number: The page_number of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
185
- :type: int
186
- """
187
-
188
- self._page_number = page_number
189
-
190
- @property
191
- def page_size(self):
192
- """Gets the page_size of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
193
-
194
-
195
- :return: The page_size of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
196
- :rtype: int
197
- """
198
- return self._page_size
199
-
200
- @page_size.setter
201
- def page_size(self, page_size):
202
- """Sets the page_size of this DescribeCrossRegionBackupDBInstancesRequest.
203
-
204
-
205
- :param page_size: The page_size of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
206
- :type: int
207
- """
208
-
209
- self._page_size = page_size
210
-
211
- @property
212
- def project_name(self):
213
- """Gets the project_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
214
-
215
-
216
- :return: The project_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
217
- :rtype: str
218
- """
219
- return self._project_name
220
-
221
- @project_name.setter
222
- def project_name(self, project_name):
223
- """Sets the project_name of this DescribeCrossRegionBackupDBInstancesRequest.
224
-
225
-
226
- :param project_name: The project_name of this DescribeCrossRegionBackupDBInstancesRequest. # noqa: E501
227
- :type: str
228
- """
229
-
230
- self._project_name = project_name
231
-
232
- def to_dict(self):
233
- """Returns the model properties as a dict"""
234
- result = {}
235
-
236
- for attr, _ in six.iteritems(self.swagger_types):
237
- value = getattr(self, attr)
238
- if isinstance(value, list):
239
- result[attr] = list(map(
240
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
241
- value
242
- ))
243
- elif hasattr(value, "to_dict"):
244
- result[attr] = value.to_dict()
245
- elif isinstance(value, dict):
246
- result[attr] = dict(map(
247
- lambda item: (item[0], item[1].to_dict())
248
- if hasattr(item[1], "to_dict") else item,
249
- value.items()
250
- ))
251
- else:
252
- result[attr] = value
253
- if issubclass(DescribeCrossRegionBackupDBInstancesRequest, dict):
254
- for key, value in self.items():
255
- result[key] = value
256
-
257
- return result
258
-
259
- def to_str(self):
260
- """Returns the string representation of the model"""
261
- return pprint.pformat(self.to_dict())
262
-
263
- def __repr__(self):
264
- """For `print` and `pprint`"""
265
- return self.to_str()
266
-
267
- def __eq__(self, other):
268
- """Returns true if both objects are equal"""
269
- if not isinstance(other, DescribeCrossRegionBackupDBInstancesRequest):
270
- return False
271
-
272
- return self.to_dict() == other.to_dict()
273
-
274
- def __ne__(self, other):
275
- """Returns true if both objects are not equal"""
276
- if not isinstance(other, DescribeCrossRegionBackupDBInstancesRequest):
277
- return True
278
-
279
- return self.to_dict() != other.to_dict()
@@ -1,227 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- rds_mysql_v2
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: common-version
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- """
12
-
13
-
14
- import pprint
15
- import re # noqa: F401
16
-
17
- import six
18
-
19
- from volcenginesdkcore.configuration import Configuration
20
-
21
-
22
- class DescribeDBAutoScalingConfigResponse(object):
23
- """NOTE: This class is auto generated by the swagger code generator program.
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- swagger_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- swagger_types = {
36
- 'storage_config': 'StorageConfigForDescribeDBAutoScalingConfigOutput',
37
- 'storage_max_capacity': 'int',
38
- 'storage_max_trigger_threshold': 'int',
39
- 'storage_min_capacity': 'int',
40
- 'storage_min_trigger_threshold': 'int'
41
- }
42
-
43
- attribute_map = {
44
- 'storage_config': 'StorageConfig',
45
- 'storage_max_capacity': 'StorageMaxCapacity',
46
- 'storage_max_trigger_threshold': 'StorageMaxTriggerThreshold',
47
- 'storage_min_capacity': 'StorageMinCapacity',
48
- 'storage_min_trigger_threshold': 'StorageMinTriggerThreshold'
49
- }
50
-
51
- def __init__(self, storage_config=None, storage_max_capacity=None, storage_max_trigger_threshold=None, storage_min_capacity=None, storage_min_trigger_threshold=None, _configuration=None): # noqa: E501
52
- """DescribeDBAutoScalingConfigResponse - a model defined in Swagger""" # noqa: E501
53
- if _configuration is None:
54
- _configuration = Configuration()
55
- self._configuration = _configuration
56
-
57
- self._storage_config = None
58
- self._storage_max_capacity = None
59
- self._storage_max_trigger_threshold = None
60
- self._storage_min_capacity = None
61
- self._storage_min_trigger_threshold = None
62
- self.discriminator = None
63
-
64
- if storage_config is not None:
65
- self.storage_config = storage_config
66
- if storage_max_capacity is not None:
67
- self.storage_max_capacity = storage_max_capacity
68
- if storage_max_trigger_threshold is not None:
69
- self.storage_max_trigger_threshold = storage_max_trigger_threshold
70
- if storage_min_capacity is not None:
71
- self.storage_min_capacity = storage_min_capacity
72
- if storage_min_trigger_threshold is not None:
73
- self.storage_min_trigger_threshold = storage_min_trigger_threshold
74
-
75
- @property
76
- def storage_config(self):
77
- """Gets the storage_config of this DescribeDBAutoScalingConfigResponse. # noqa: E501
78
-
79
-
80
- :return: The storage_config of this DescribeDBAutoScalingConfigResponse. # noqa: E501
81
- :rtype: StorageConfigForDescribeDBAutoScalingConfigOutput
82
- """
83
- return self._storage_config
84
-
85
- @storage_config.setter
86
- def storage_config(self, storage_config):
87
- """Sets the storage_config of this DescribeDBAutoScalingConfigResponse.
88
-
89
-
90
- :param storage_config: The storage_config of this DescribeDBAutoScalingConfigResponse. # noqa: E501
91
- :type: StorageConfigForDescribeDBAutoScalingConfigOutput
92
- """
93
-
94
- self._storage_config = storage_config
95
-
96
- @property
97
- def storage_max_capacity(self):
98
- """Gets the storage_max_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
99
-
100
-
101
- :return: The storage_max_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
102
- :rtype: int
103
- """
104
- return self._storage_max_capacity
105
-
106
- @storage_max_capacity.setter
107
- def storage_max_capacity(self, storage_max_capacity):
108
- """Sets the storage_max_capacity of this DescribeDBAutoScalingConfigResponse.
109
-
110
-
111
- :param storage_max_capacity: The storage_max_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
112
- :type: int
113
- """
114
-
115
- self._storage_max_capacity = storage_max_capacity
116
-
117
- @property
118
- def storage_max_trigger_threshold(self):
119
- """Gets the storage_max_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
120
-
121
-
122
- :return: The storage_max_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
123
- :rtype: int
124
- """
125
- return self._storage_max_trigger_threshold
126
-
127
- @storage_max_trigger_threshold.setter
128
- def storage_max_trigger_threshold(self, storage_max_trigger_threshold):
129
- """Sets the storage_max_trigger_threshold of this DescribeDBAutoScalingConfigResponse.
130
-
131
-
132
- :param storage_max_trigger_threshold: The storage_max_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
133
- :type: int
134
- """
135
-
136
- self._storage_max_trigger_threshold = storage_max_trigger_threshold
137
-
138
- @property
139
- def storage_min_capacity(self):
140
- """Gets the storage_min_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
141
-
142
-
143
- :return: The storage_min_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
144
- :rtype: int
145
- """
146
- return self._storage_min_capacity
147
-
148
- @storage_min_capacity.setter
149
- def storage_min_capacity(self, storage_min_capacity):
150
- """Sets the storage_min_capacity of this DescribeDBAutoScalingConfigResponse.
151
-
152
-
153
- :param storage_min_capacity: The storage_min_capacity of this DescribeDBAutoScalingConfigResponse. # noqa: E501
154
- :type: int
155
- """
156
-
157
- self._storage_min_capacity = storage_min_capacity
158
-
159
- @property
160
- def storage_min_trigger_threshold(self):
161
- """Gets the storage_min_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
162
-
163
-
164
- :return: The storage_min_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
165
- :rtype: int
166
- """
167
- return self._storage_min_trigger_threshold
168
-
169
- @storage_min_trigger_threshold.setter
170
- def storage_min_trigger_threshold(self, storage_min_trigger_threshold):
171
- """Sets the storage_min_trigger_threshold of this DescribeDBAutoScalingConfigResponse.
172
-
173
-
174
- :param storage_min_trigger_threshold: The storage_min_trigger_threshold of this DescribeDBAutoScalingConfigResponse. # noqa: E501
175
- :type: int
176
- """
177
-
178
- self._storage_min_trigger_threshold = storage_min_trigger_threshold
179
-
180
- def to_dict(self):
181
- """Returns the model properties as a dict"""
182
- result = {}
183
-
184
- for attr, _ in six.iteritems(self.swagger_types):
185
- value = getattr(self, attr)
186
- if isinstance(value, list):
187
- result[attr] = list(map(
188
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189
- value
190
- ))
191
- elif hasattr(value, "to_dict"):
192
- result[attr] = value.to_dict()
193
- elif isinstance(value, dict):
194
- result[attr] = dict(map(
195
- lambda item: (item[0], item[1].to_dict())
196
- if hasattr(item[1], "to_dict") else item,
197
- value.items()
198
- ))
199
- else:
200
- result[attr] = value
201
- if issubclass(DescribeDBAutoScalingConfigResponse, dict):
202
- for key, value in self.items():
203
- result[key] = value
204
-
205
- return result
206
-
207
- def to_str(self):
208
- """Returns the string representation of the model"""
209
- return pprint.pformat(self.to_dict())
210
-
211
- def __repr__(self):
212
- """For `print` and `pprint`"""
213
- return self.to_str()
214
-
215
- def __eq__(self, other):
216
- """Returns true if both objects are equal"""
217
- if not isinstance(other, DescribeDBAutoScalingConfigResponse):
218
- return False
219
-
220
- return self.to_dict() == other.to_dict()
221
-
222
- def __ne__(self, other):
223
- """Returns true if both objects are not equal"""
224
- if not isinstance(other, DescribeDBAutoScalingConfigResponse):
225
- return True
226
-
227
- return self.to_dict() != other.to_dict()