volcengine-python-sdk 4.0.19__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 (112) hide show
  1. volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
  2. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +98 -74
  3. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
  4. volcenginesdkalb/__init__.py +0 -2
  5. volcenginesdkalb/models/__init__.py +0 -2
  6. volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +3 -3
  7. volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +3 -3
  8. volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +6 -6
  9. volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +3 -3
  10. volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +3 -3
  11. volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +3 -3
  12. volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +3 -3
  13. volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +3 -3
  14. volcenginesdkarkruntime/resources/images/images.py +1 -1
  15. volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
  16. volcenginesdkarkruntime/resources/responses/responses.py +4 -1
  17. volcenginesdkarkruntime/types/images/images.py +3 -0
  18. volcenginesdkcore/api_client.py +1 -1
  19. volcenginesdkcore/configuration.py +1 -1
  20. volcenginesdkrdsmysqlv2/__init__.py +39 -25
  21. volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
  22. volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
  23. volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
  24. volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
  25. volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
  26. volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
  27. volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
  28. volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
  29. volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
  30. volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
  31. volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
  32. volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
  33. volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
  34. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
  35. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
  36. volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
  37. volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
  38. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
  39. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
  40. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
  41. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
  42. volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
  43. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
  44. volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
  45. volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
  46. volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
  47. volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
  48. volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
  49. volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
  50. volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
  51. volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
  52. volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
  53. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
  54. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
  55. volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
  56. volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
  57. volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
  58. volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
  59. volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
  60. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
  61. volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
  62. volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
  63. volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
  64. volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
  65. volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py → volcenginesdkrdsmysqlv2/models/proxy_detail_for_describe_db_proxy_output.py +37 -37
  66. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
  67. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
  68. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
  69. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
  70. volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
  71. volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py → volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +54 -28
  72. volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
  73. volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
  74. volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
  75. volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
  76. volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
  77. volcenginesdkresourceshare/__init__.py +12 -0
  78. volcenginesdkresourceshare/api/resource_share_api.py +291 -0
  79. volcenginesdkresourceshare/models/__init__.py +12 -0
  80. volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
  81. volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
  82. volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
  83. volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
  84. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
  85. volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
  86. volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  87. volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
  88. volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  89. volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
  90. volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
  91. volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
  92. volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
  93. volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
  94. volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
  95. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
  96. volcengine_python_sdk-4.0.19.dist-info/METADATA +0 -20
  97. volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
  98. volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
  99. volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
  100. volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
  101. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
  102. volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
  103. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
  104. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
  105. volcenginesdkrdsmysqlv2/models/modify_db_auto_scaling_config_request.py +0 -150
  106. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
  107. volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
  108. volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
  109. volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
  110. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
  111. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
  112. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
@@ -37,7 +37,8 @@ class DescribeAllowListsRequest(object):
37
37
  'instance_id': 'str',
38
38
  'project_name': 'str',
39
39
  'query_default': 'bool',
40
- 'region_id': 'str'
40
+ 'region_id': 'str',
41
+ 'with_ip_list': 'bool'
41
42
  }
42
43
 
43
44
  attribute_map = {
@@ -45,10 +46,11 @@ class DescribeAllowListsRequest(object):
45
46
  'instance_id': 'InstanceId',
46
47
  'project_name': 'ProjectName',
47
48
  'query_default': 'QueryDefault',
48
- 'region_id': 'RegionId'
49
+ 'region_id': 'RegionId',
50
+ 'with_ip_list': 'WithIpList'
49
51
  }
50
52
 
51
- def __init__(self, ip_address=None, instance_id=None, project_name=None, query_default=None, region_id=None, _configuration=None): # noqa: E501
53
+ def __init__(self, ip_address=None, instance_id=None, project_name=None, query_default=None, region_id=None, with_ip_list=None, _configuration=None): # noqa: E501
52
54
  """DescribeAllowListsRequest - a model defined in Swagger""" # noqa: E501
53
55
  if _configuration is None:
54
56
  _configuration = Configuration()
@@ -59,6 +61,7 @@ class DescribeAllowListsRequest(object):
59
61
  self._project_name = None
60
62
  self._query_default = None
61
63
  self._region_id = None
64
+ self._with_ip_list = None
62
65
  self.discriminator = None
63
66
 
64
67
  if ip_address is not None:
@@ -71,6 +74,8 @@ class DescribeAllowListsRequest(object):
71
74
  self.query_default = query_default
72
75
  if region_id is not None:
73
76
  self.region_id = region_id
77
+ if with_ip_list is not None:
78
+ self.with_ip_list = with_ip_list
74
79
 
75
80
  @property
76
81
  def ip_address(self):
@@ -177,6 +182,27 @@ class DescribeAllowListsRequest(object):
177
182
 
178
183
  self._region_id = region_id
179
184
 
185
+ @property
186
+ def with_ip_list(self):
187
+ """Gets the with_ip_list of this DescribeAllowListsRequest. # noqa: E501
188
+
189
+
190
+ :return: The with_ip_list of this DescribeAllowListsRequest. # noqa: E501
191
+ :rtype: bool
192
+ """
193
+ return self._with_ip_list
194
+
195
+ @with_ip_list.setter
196
+ def with_ip_list(self, with_ip_list):
197
+ """Sets the with_ip_list of this DescribeAllowListsRequest.
198
+
199
+
200
+ :param with_ip_list: The with_ip_list of this DescribeAllowListsRequest. # noqa: E501
201
+ :type: bool
202
+ """
203
+
204
+ self._with_ip_list = with_ip_list
205
+
180
206
  def to_dict(self):
181
207
  """Returns the model properties as a dict"""
182
208
  result = {}
@@ -50,6 +50,8 @@ class DescribeBackupPolicyResponse(object):
50
50
  'data_incr_backup_periods': 'list[str]',
51
51
  'data_keep_days_after_released': 'int',
52
52
  'data_keep_policy_after_released': 'str',
53
+ 'high_frequency_snapshot_backup_enable': 'bool',
54
+ 'high_frequency_snapshot_backup_second_period': 'int',
53
55
  'hourly_incr_backup_enable': 'bool',
54
56
  'incr_backup_hour_period': 'int',
55
57
  'instance_id': 'str',
@@ -77,6 +79,8 @@ class DescribeBackupPolicyResponse(object):
77
79
  'data_incr_backup_periods': 'DataIncrBackupPeriods',
78
80
  'data_keep_days_after_released': 'DataKeepDaysAfterReleased',
79
81
  'data_keep_policy_after_released': 'DataKeepPolicyAfterReleased',
82
+ 'high_frequency_snapshot_backup_enable': 'HighFrequencySnapshotBackupEnable',
83
+ 'high_frequency_snapshot_backup_second_period': 'HighFrequencySnapshotBackupSecondPeriod',
80
84
  'hourly_incr_backup_enable': 'HourlyIncrBackupEnable',
81
85
  'incr_backup_hour_period': 'IncrBackupHourPeriod',
82
86
  'instance_id': 'InstanceId',
@@ -86,7 +90,7 @@ class DescribeBackupPolicyResponse(object):
86
90
  'retention_policy_synced': 'RetentionPolicySynced'
87
91
  }
88
92
 
89
- def __init__(self, binlog_backup_all_retention=None, binlog_backup_enabled=None, binlog_backup_encryption_enabled=None, binlog_file_counts_enable=None, binlog_limit_count=None, binlog_local_retention_hour=None, binlog_space_limit_enable=None, binlog_storage_percentage=None, data_backup_all_retention=None, data_backup_encryption_enabled=None, data_backup_retention_day=None, data_full_backup_periods=None, data_full_backup_start_utc_hour=None, data_full_backup_time=None, data_incr_backup_periods=None, data_keep_days_after_released=None, data_keep_policy_after_released=None, hourly_incr_backup_enable=None, incr_backup_hour_period=None, instance_id=None, lock_ddl_time=None, log_backup_retention_day=None, public_download_enable=None, retention_policy_synced=None, _configuration=None): # noqa: E501
93
+ def __init__(self, binlog_backup_all_retention=None, binlog_backup_enabled=None, binlog_backup_encryption_enabled=None, binlog_file_counts_enable=None, binlog_limit_count=None, binlog_local_retention_hour=None, binlog_space_limit_enable=None, binlog_storage_percentage=None, data_backup_all_retention=None, data_backup_encryption_enabled=None, data_backup_retention_day=None, data_full_backup_periods=None, data_full_backup_start_utc_hour=None, data_full_backup_time=None, data_incr_backup_periods=None, data_keep_days_after_released=None, data_keep_policy_after_released=None, high_frequency_snapshot_backup_enable=None, high_frequency_snapshot_backup_second_period=None, hourly_incr_backup_enable=None, incr_backup_hour_period=None, instance_id=None, lock_ddl_time=None, log_backup_retention_day=None, public_download_enable=None, retention_policy_synced=None, _configuration=None): # noqa: E501
90
94
  """DescribeBackupPolicyResponse - a model defined in Swagger""" # noqa: E501
91
95
  if _configuration is None:
92
96
  _configuration = Configuration()
@@ -109,6 +113,8 @@ class DescribeBackupPolicyResponse(object):
109
113
  self._data_incr_backup_periods = None
110
114
  self._data_keep_days_after_released = None
111
115
  self._data_keep_policy_after_released = None
116
+ self._high_frequency_snapshot_backup_enable = None
117
+ self._high_frequency_snapshot_backup_second_period = None
112
118
  self._hourly_incr_backup_enable = None
113
119
  self._incr_backup_hour_period = None
114
120
  self._instance_id = None
@@ -152,6 +158,10 @@ class DescribeBackupPolicyResponse(object):
152
158
  self.data_keep_days_after_released = data_keep_days_after_released
153
159
  if data_keep_policy_after_released is not None:
154
160
  self.data_keep_policy_after_released = data_keep_policy_after_released
161
+ if high_frequency_snapshot_backup_enable is not None:
162
+ self.high_frequency_snapshot_backup_enable = high_frequency_snapshot_backup_enable
163
+ if high_frequency_snapshot_backup_second_period is not None:
164
+ self.high_frequency_snapshot_backup_second_period = high_frequency_snapshot_backup_second_period
155
165
  if hourly_incr_backup_enable is not None:
156
166
  self.hourly_incr_backup_enable = hourly_incr_backup_enable
157
167
  if incr_backup_hour_period is not None:
@@ -524,6 +534,48 @@ class DescribeBackupPolicyResponse(object):
524
534
 
525
535
  self._data_keep_policy_after_released = data_keep_policy_after_released
526
536
 
537
+ @property
538
+ def high_frequency_snapshot_backup_enable(self):
539
+ """Gets the high_frequency_snapshot_backup_enable of this DescribeBackupPolicyResponse. # noqa: E501
540
+
541
+
542
+ :return: The high_frequency_snapshot_backup_enable of this DescribeBackupPolicyResponse. # noqa: E501
543
+ :rtype: bool
544
+ """
545
+ return self._high_frequency_snapshot_backup_enable
546
+
547
+ @high_frequency_snapshot_backup_enable.setter
548
+ def high_frequency_snapshot_backup_enable(self, high_frequency_snapshot_backup_enable):
549
+ """Sets the high_frequency_snapshot_backup_enable of this DescribeBackupPolicyResponse.
550
+
551
+
552
+ :param high_frequency_snapshot_backup_enable: The high_frequency_snapshot_backup_enable of this DescribeBackupPolicyResponse. # noqa: E501
553
+ :type: bool
554
+ """
555
+
556
+ self._high_frequency_snapshot_backup_enable = high_frequency_snapshot_backup_enable
557
+
558
+ @property
559
+ def high_frequency_snapshot_backup_second_period(self):
560
+ """Gets the high_frequency_snapshot_backup_second_period of this DescribeBackupPolicyResponse. # noqa: E501
561
+
562
+
563
+ :return: The high_frequency_snapshot_backup_second_period of this DescribeBackupPolicyResponse. # noqa: E501
564
+ :rtype: int
565
+ """
566
+ return self._high_frequency_snapshot_backup_second_period
567
+
568
+ @high_frequency_snapshot_backup_second_period.setter
569
+ def high_frequency_snapshot_backup_second_period(self, high_frequency_snapshot_backup_second_period):
570
+ """Sets the high_frequency_snapshot_backup_second_period of this DescribeBackupPolicyResponse.
571
+
572
+
573
+ :param high_frequency_snapshot_backup_second_period: The high_frequency_snapshot_backup_second_period of this DescribeBackupPolicyResponse. # noqa: E501
574
+ :type: int
575
+ """
576
+
577
+ self._high_frequency_snapshot_backup_second_period = high_frequency_snapshot_backup_second_period
578
+
527
579
  @property
528
580
  def hourly_incr_backup_enable(self):
529
581
  """Gets the hourly_incr_backup_enable of this DescribeBackupPolicyResponse. # noqa: E501
@@ -0,0 +1,124 @@
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 DescribeDBDisasterRecoveryInstancesRequest(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
+ 'instance_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'instance_id': 'InstanceId'
41
+ }
42
+
43
+ def __init__(self, instance_id=None, _configuration=None): # noqa: E501
44
+ """DescribeDBDisasterRecoveryInstancesRequest - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._instance_id = None
50
+ self.discriminator = None
51
+
52
+ self.instance_id = instance_id
53
+
54
+ @property
55
+ def instance_id(self):
56
+ """Gets the instance_id of this DescribeDBDisasterRecoveryInstancesRequest. # noqa: E501
57
+
58
+
59
+ :return: The instance_id of this DescribeDBDisasterRecoveryInstancesRequest. # noqa: E501
60
+ :rtype: str
61
+ """
62
+ return self._instance_id
63
+
64
+ @instance_id.setter
65
+ def instance_id(self, instance_id):
66
+ """Sets the instance_id of this DescribeDBDisasterRecoveryInstancesRequest.
67
+
68
+
69
+ :param instance_id: The instance_id of this DescribeDBDisasterRecoveryInstancesRequest. # noqa: E501
70
+ :type: str
71
+ """
72
+ if self._configuration.client_side_validation and instance_id is None:
73
+ raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
74
+
75
+ self._instance_id = instance_id
76
+
77
+ def to_dict(self):
78
+ """Returns the model properties as a dict"""
79
+ result = {}
80
+
81
+ for attr, _ in six.iteritems(self.swagger_types):
82
+ value = getattr(self, attr)
83
+ if isinstance(value, list):
84
+ result[attr] = list(map(
85
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
+ value
87
+ ))
88
+ elif hasattr(value, "to_dict"):
89
+ result[attr] = value.to_dict()
90
+ elif isinstance(value, dict):
91
+ result[attr] = dict(map(
92
+ lambda item: (item[0], item[1].to_dict())
93
+ if hasattr(item[1], "to_dict") else item,
94
+ value.items()
95
+ ))
96
+ else:
97
+ result[attr] = value
98
+ if issubclass(DescribeDBDisasterRecoveryInstancesRequest, dict):
99
+ for key, value in self.items():
100
+ result[key] = value
101
+
102
+ return result
103
+
104
+ def to_str(self):
105
+ """Returns the string representation of the model"""
106
+ return pprint.pformat(self.to_dict())
107
+
108
+ def __repr__(self):
109
+ """For `print` and `pprint`"""
110
+ return self.to_str()
111
+
112
+ def __eq__(self, other):
113
+ """Returns true if both objects are equal"""
114
+ if not isinstance(other, DescribeDBDisasterRecoveryInstancesRequest):
115
+ return False
116
+
117
+ return self.to_dict() == other.to_dict()
118
+
119
+ def __ne__(self, other):
120
+ """Returns true if both objects are not equal"""
121
+ if not isinstance(other, DescribeDBDisasterRecoveryInstancesRequest):
122
+ return True
123
+
124
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,305 @@
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 DescribeDBDisasterRecoveryInstancesResponse(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
+ 'disaster_recovery_instances': 'list[DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput]',
37
+ 'dr_dts_task_id': 'str',
38
+ 'dr_dts_task_name': 'str',
39
+ 'dr_dts_task_status': 'str',
40
+ 'dr_seconds_behind_master': 'int',
41
+ 'master_instance_id': 'str',
42
+ 'master_instance_name': 'str',
43
+ 'master_region': 'str'
44
+ }
45
+
46
+ attribute_map = {
47
+ 'disaster_recovery_instances': 'DisasterRecoveryInstances',
48
+ 'dr_dts_task_id': 'DrDtsTaskId',
49
+ 'dr_dts_task_name': 'DrDtsTaskName',
50
+ 'dr_dts_task_status': 'DrDtsTaskStatus',
51
+ 'dr_seconds_behind_master': 'DrSecondsBehindMaster',
52
+ 'master_instance_id': 'MasterInstanceId',
53
+ 'master_instance_name': 'MasterInstanceName',
54
+ 'master_region': 'MasterRegion'
55
+ }
56
+
57
+ def __init__(self, disaster_recovery_instances=None, dr_dts_task_id=None, dr_dts_task_name=None, dr_dts_task_status=None, dr_seconds_behind_master=None, master_instance_id=None, master_instance_name=None, master_region=None, _configuration=None): # noqa: E501
58
+ """DescribeDBDisasterRecoveryInstancesResponse - a model defined in Swagger""" # noqa: E501
59
+ if _configuration is None:
60
+ _configuration = Configuration()
61
+ self._configuration = _configuration
62
+
63
+ self._disaster_recovery_instances = None
64
+ self._dr_dts_task_id = None
65
+ self._dr_dts_task_name = None
66
+ self._dr_dts_task_status = None
67
+ self._dr_seconds_behind_master = None
68
+ self._master_instance_id = None
69
+ self._master_instance_name = None
70
+ self._master_region = None
71
+ self.discriminator = None
72
+
73
+ if disaster_recovery_instances is not None:
74
+ self.disaster_recovery_instances = disaster_recovery_instances
75
+ if dr_dts_task_id is not None:
76
+ self.dr_dts_task_id = dr_dts_task_id
77
+ if dr_dts_task_name is not None:
78
+ self.dr_dts_task_name = dr_dts_task_name
79
+ if dr_dts_task_status is not None:
80
+ self.dr_dts_task_status = dr_dts_task_status
81
+ if dr_seconds_behind_master is not None:
82
+ self.dr_seconds_behind_master = dr_seconds_behind_master
83
+ if master_instance_id is not None:
84
+ self.master_instance_id = master_instance_id
85
+ if master_instance_name is not None:
86
+ self.master_instance_name = master_instance_name
87
+ if master_region is not None:
88
+ self.master_region = master_region
89
+
90
+ @property
91
+ def disaster_recovery_instances(self):
92
+ """Gets the disaster_recovery_instances of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
93
+
94
+
95
+ :return: The disaster_recovery_instances of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
96
+ :rtype: list[DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput]
97
+ """
98
+ return self._disaster_recovery_instances
99
+
100
+ @disaster_recovery_instances.setter
101
+ def disaster_recovery_instances(self, disaster_recovery_instances):
102
+ """Sets the disaster_recovery_instances of this DescribeDBDisasterRecoveryInstancesResponse.
103
+
104
+
105
+ :param disaster_recovery_instances: The disaster_recovery_instances of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
106
+ :type: list[DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput]
107
+ """
108
+
109
+ self._disaster_recovery_instances = disaster_recovery_instances
110
+
111
+ @property
112
+ def dr_dts_task_id(self):
113
+ """Gets the dr_dts_task_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
114
+
115
+
116
+ :return: The dr_dts_task_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
117
+ :rtype: str
118
+ """
119
+ return self._dr_dts_task_id
120
+
121
+ @dr_dts_task_id.setter
122
+ def dr_dts_task_id(self, dr_dts_task_id):
123
+ """Sets the dr_dts_task_id of this DescribeDBDisasterRecoveryInstancesResponse.
124
+
125
+
126
+ :param dr_dts_task_id: The dr_dts_task_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
127
+ :type: str
128
+ """
129
+
130
+ self._dr_dts_task_id = dr_dts_task_id
131
+
132
+ @property
133
+ def dr_dts_task_name(self):
134
+ """Gets the dr_dts_task_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
135
+
136
+
137
+ :return: The dr_dts_task_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
138
+ :rtype: str
139
+ """
140
+ return self._dr_dts_task_name
141
+
142
+ @dr_dts_task_name.setter
143
+ def dr_dts_task_name(self, dr_dts_task_name):
144
+ """Sets the dr_dts_task_name of this DescribeDBDisasterRecoveryInstancesResponse.
145
+
146
+
147
+ :param dr_dts_task_name: The dr_dts_task_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
148
+ :type: str
149
+ """
150
+
151
+ self._dr_dts_task_name = dr_dts_task_name
152
+
153
+ @property
154
+ def dr_dts_task_status(self):
155
+ """Gets the dr_dts_task_status of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
156
+
157
+
158
+ :return: The dr_dts_task_status of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
159
+ :rtype: str
160
+ """
161
+ return self._dr_dts_task_status
162
+
163
+ @dr_dts_task_status.setter
164
+ def dr_dts_task_status(self, dr_dts_task_status):
165
+ """Sets the dr_dts_task_status of this DescribeDBDisasterRecoveryInstancesResponse.
166
+
167
+
168
+ :param dr_dts_task_status: The dr_dts_task_status of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
169
+ :type: str
170
+ """
171
+
172
+ self._dr_dts_task_status = dr_dts_task_status
173
+
174
+ @property
175
+ def dr_seconds_behind_master(self):
176
+ """Gets the dr_seconds_behind_master of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
177
+
178
+
179
+ :return: The dr_seconds_behind_master of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
180
+ :rtype: int
181
+ """
182
+ return self._dr_seconds_behind_master
183
+
184
+ @dr_seconds_behind_master.setter
185
+ def dr_seconds_behind_master(self, dr_seconds_behind_master):
186
+ """Sets the dr_seconds_behind_master of this DescribeDBDisasterRecoveryInstancesResponse.
187
+
188
+
189
+ :param dr_seconds_behind_master: The dr_seconds_behind_master of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
190
+ :type: int
191
+ """
192
+
193
+ self._dr_seconds_behind_master = dr_seconds_behind_master
194
+
195
+ @property
196
+ def master_instance_id(self):
197
+ """Gets the master_instance_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
198
+
199
+
200
+ :return: The master_instance_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
201
+ :rtype: str
202
+ """
203
+ return self._master_instance_id
204
+
205
+ @master_instance_id.setter
206
+ def master_instance_id(self, master_instance_id):
207
+ """Sets the master_instance_id of this DescribeDBDisasterRecoveryInstancesResponse.
208
+
209
+
210
+ :param master_instance_id: The master_instance_id of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
211
+ :type: str
212
+ """
213
+
214
+ self._master_instance_id = master_instance_id
215
+
216
+ @property
217
+ def master_instance_name(self):
218
+ """Gets the master_instance_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
219
+
220
+
221
+ :return: The master_instance_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
222
+ :rtype: str
223
+ """
224
+ return self._master_instance_name
225
+
226
+ @master_instance_name.setter
227
+ def master_instance_name(self, master_instance_name):
228
+ """Sets the master_instance_name of this DescribeDBDisasterRecoveryInstancesResponse.
229
+
230
+
231
+ :param master_instance_name: The master_instance_name of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
232
+ :type: str
233
+ """
234
+
235
+ self._master_instance_name = master_instance_name
236
+
237
+ @property
238
+ def master_region(self):
239
+ """Gets the master_region of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
240
+
241
+
242
+ :return: The master_region of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
243
+ :rtype: str
244
+ """
245
+ return self._master_region
246
+
247
+ @master_region.setter
248
+ def master_region(self, master_region):
249
+ """Sets the master_region of this DescribeDBDisasterRecoveryInstancesResponse.
250
+
251
+
252
+ :param master_region: The master_region of this DescribeDBDisasterRecoveryInstancesResponse. # noqa: E501
253
+ :type: str
254
+ """
255
+
256
+ self._master_region = master_region
257
+
258
+ def to_dict(self):
259
+ """Returns the model properties as a dict"""
260
+ result = {}
261
+
262
+ for attr, _ in six.iteritems(self.swagger_types):
263
+ value = getattr(self, attr)
264
+ if isinstance(value, list):
265
+ result[attr] = list(map(
266
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
267
+ value
268
+ ))
269
+ elif hasattr(value, "to_dict"):
270
+ result[attr] = value.to_dict()
271
+ elif isinstance(value, dict):
272
+ result[attr] = dict(map(
273
+ lambda item: (item[0], item[1].to_dict())
274
+ if hasattr(item[1], "to_dict") else item,
275
+ value.items()
276
+ ))
277
+ else:
278
+ result[attr] = value
279
+ if issubclass(DescribeDBDisasterRecoveryInstancesResponse, dict):
280
+ for key, value in self.items():
281
+ result[key] = value
282
+
283
+ return result
284
+
285
+ def to_str(self):
286
+ """Returns the string representation of the model"""
287
+ return pprint.pformat(self.to_dict())
288
+
289
+ def __repr__(self):
290
+ """For `print` and `pprint`"""
291
+ return self.to_str()
292
+
293
+ def __eq__(self, other):
294
+ """Returns true if both objects are equal"""
295
+ if not isinstance(other, DescribeDBDisasterRecoveryInstancesResponse):
296
+ return False
297
+
298
+ return self.to_dict() == other.to_dict()
299
+
300
+ def __ne__(self, other):
301
+ """Returns true if both objects are not equal"""
302
+ if not isinstance(other, DescribeDBDisasterRecoveryInstancesResponse):
303
+ return True
304
+
305
+ return self.to_dict() != other.to_dict()
@@ -19,7 +19,7 @@ import six
19
19
  from volcenginesdkcore.configuration import Configuration
20
20
 
21
21
 
22
- class DescribeDBAutoScalingConfigRequest(object):
22
+ class DescribeDBInstanceAttributeRequest(object):
23
23
  """NOTE: This class is auto generated by the swagger code generator program.
24
24
 
25
25
  Do not edit the class manually.
@@ -41,7 +41,7 @@ class DescribeDBAutoScalingConfigRequest(object):
41
41
  }
42
42
 
43
43
  def __init__(self, instance_id=None, _configuration=None): # noqa: E501
44
- """DescribeDBAutoScalingConfigRequest - a model defined in Swagger""" # noqa: E501
44
+ """DescribeDBInstanceAttributeRequest - a model defined in Swagger""" # noqa: E501
45
45
  if _configuration is None:
46
46
  _configuration = Configuration()
47
47
  self._configuration = _configuration
@@ -53,20 +53,20 @@ class DescribeDBAutoScalingConfigRequest(object):
53
53
 
54
54
  @property
55
55
  def instance_id(self):
56
- """Gets the instance_id of this DescribeDBAutoScalingConfigRequest. # noqa: E501
56
+ """Gets the instance_id of this DescribeDBInstanceAttributeRequest. # noqa: E501
57
57
 
58
58
 
59
- :return: The instance_id of this DescribeDBAutoScalingConfigRequest. # noqa: E501
59
+ :return: The instance_id of this DescribeDBInstanceAttributeRequest. # noqa: E501
60
60
  :rtype: str
61
61
  """
62
62
  return self._instance_id
63
63
 
64
64
  @instance_id.setter
65
65
  def instance_id(self, instance_id):
66
- """Sets the instance_id of this DescribeDBAutoScalingConfigRequest.
66
+ """Sets the instance_id of this DescribeDBInstanceAttributeRequest.
67
67
 
68
68
 
69
- :param instance_id: The instance_id of this DescribeDBAutoScalingConfigRequest. # noqa: E501
69
+ :param instance_id: The instance_id of this DescribeDBInstanceAttributeRequest. # noqa: E501
70
70
  :type: str
71
71
  """
72
72
  if self._configuration.client_side_validation and instance_id is None:
@@ -95,7 +95,7 @@ class DescribeDBAutoScalingConfigRequest(object):
95
95
  ))
96
96
  else:
97
97
  result[attr] = value
98
- if issubclass(DescribeDBAutoScalingConfigRequest, dict):
98
+ if issubclass(DescribeDBInstanceAttributeRequest, dict):
99
99
  for key, value in self.items():
100
100
  result[key] = value
101
101
 
@@ -111,14 +111,14 @@ class DescribeDBAutoScalingConfigRequest(object):
111
111
 
112
112
  def __eq__(self, other):
113
113
  """Returns true if both objects are equal"""
114
- if not isinstance(other, DescribeDBAutoScalingConfigRequest):
114
+ if not isinstance(other, DescribeDBInstanceAttributeRequest):
115
115
  return False
116
116
 
117
117
  return self.to_dict() == other.to_dict()
118
118
 
119
119
  def __ne__(self, other):
120
120
  """Returns true if both objects are not equal"""
121
- if not isinstance(other, DescribeDBAutoScalingConfigRequest):
121
+ if not isinstance(other, DescribeDBInstanceAttributeRequest):
122
122
  return True
123
123
 
124
124
  return self.to_dict() != other.to_dict()