byteplus-python-sdk-v2 3.0.58__py2.py3-none-any.whl → 3.0.59__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.
Files changed (47) hide show
  1. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/RECORD +47 -36
  3. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/WHEEL +1 -1
  4. byteplussdkarkruntime/resources/content_generation/tasks.py +8 -0
  5. byteplussdkarkruntime/resources/images/images.py +10 -0
  6. byteplussdkarkruntime/types/content_generation/content_generation_task.py +3 -0
  7. byteplussdkarkruntime/types/images/__init__.py +2 -2
  8. byteplussdkarkruntime/types/images/image_gen_completed_event.py +3 -1
  9. byteplussdkarkruntime/types/images/images.py +26 -1
  10. byteplussdkcore/api_client.py +1 -1
  11. byteplussdkcore/configuration.py +1 -1
  12. byteplussdkvedbm/__init__.py +11 -0
  13. byteplussdkvedbm/api/vedbm_api.py +388 -0
  14. byteplussdkvedbm/models/__init__.py +11 -0
  15. byteplussdkvedbm/models/copy_parameter_template_request.py +177 -0
  16. byteplussdkvedbm/models/copy_parameter_template_response.py +123 -0
  17. byteplussdkvedbm/models/create_allow_list_request.py +57 -6
  18. byteplussdkvedbm/models/create_db_endpoint_request.py +35 -1
  19. byteplussdkvedbm/models/create_db_instance_request.py +34 -1
  20. byteplussdkvedbm/models/describe_allow_list_detail_response.py +29 -3
  21. byteplussdkvedbm/models/describe_db_instance_price_detail_request.py +36 -3
  22. byteplussdkvedbm/models/describe_db_instances_request.py +34 -1
  23. byteplussdkvedbm/models/describe_exist_db_instance_price_request.py +1 -1
  24. byteplussdkvedbm/models/describe_storage_payable_price_request.py +1 -1
  25. byteplussdkvedbm/models/endpoint_for_describe_db_endpoint_output.py +27 -1
  26. byteplussdkvedbm/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
  27. byteplussdkvedbm/models/instance_detail_for_describe_db_instance_detail_output.py +53 -1
  28. byteplussdkvedbm/models/instance_for_describe_db_instances_output.py +27 -1
  29. byteplussdkvedbm/models/instance_for_describe_exist_db_instance_price_input.py +36 -3
  30. byteplussdkvedbm/models/modify_allow_list_request.py +55 -3
  31. byteplussdkvedbm/models/modify_connection_persistence_request.py +158 -0
  32. byteplussdkvedbm/models/modify_connection_persistence_response.py +95 -0
  33. byteplussdkvedbm/models/modify_db_endpoint_dns_request.py +118 -1
  34. byteplussdkvedbm/models/modify_db_endpoint_request.py +34 -1
  35. byteplussdkvedbm/models/modify_db_instance_storage_type_request.py +157 -0
  36. byteplussdkvedbm/models/modify_db_instance_storage_type_response.py +149 -0
  37. byteplussdkvedbm/models/modify_parameter_template_request.py +203 -0
  38. byteplussdkvedbm/models/modify_parameter_template_response.py +123 -0
  39. byteplussdkvedbm/models/node_for_describe_db_instance_detail_output.py +27 -1
  40. byteplussdkvedbm/models/node_for_describe_db_instances_output.py +27 -1
  41. byteplussdkvedbm/models/restore_to_new_instance_request.py +34 -1
  42. byteplussdkvedbm/models/security_group_bind_info_for_create_allow_list_input.py +208 -0
  43. byteplussdkvedbm/models/security_group_bind_info_for_modify_allow_list_input.py +208 -0
  44. byteplussdkvedbm/models/template_parameter_for_modify_parameter_template_input.py +149 -0
  45. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/licenses/LICENSE.txt +0 -0
  46. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/licenses/NOTICE.md +0 -0
  47. {byteplus_python_sdk_v2-3.0.58.dist-info → byteplus_python_sdk_v2-3.0.59.dist-info}/top_level.txt +0 -0
@@ -518,6 +518,103 @@ class VEDBMApi(object):
518
518
  _request_timeout=params.get('_request_timeout'),
519
519
  collection_formats=collection_formats)
520
520
 
521
+ def copy_parameter_template(self, body, **kwargs): # noqa: E501
522
+ """copy_parameter_template # noqa: E501
523
+
524
+ This method makes a synchronous HTTP request by default. To make an
525
+ asynchronous HTTP request, please pass async_req=True
526
+ >>> thread = api.copy_parameter_template(body, async_req=True)
527
+ >>> result = thread.get()
528
+
529
+ :param async_req bool
530
+ :param CopyParameterTemplateRequest body: (required)
531
+ :return: CopyParameterTemplateResponse
532
+ If the method is called asynchronously,
533
+ returns the request thread.
534
+ """
535
+ kwargs['_return_http_data_only'] = True
536
+ if kwargs.get('async_req'):
537
+ return self.copy_parameter_template_with_http_info(body, **kwargs) # noqa: E501
538
+ else:
539
+ (data) = self.copy_parameter_template_with_http_info(body, **kwargs) # noqa: E501
540
+ return data
541
+
542
+ def copy_parameter_template_with_http_info(self, body, **kwargs): # noqa: E501
543
+ """copy_parameter_template # noqa: E501
544
+
545
+ This method makes a synchronous HTTP request by default. To make an
546
+ asynchronous HTTP request, please pass async_req=True
547
+ >>> thread = api.copy_parameter_template_with_http_info(body, async_req=True)
548
+ >>> result = thread.get()
549
+
550
+ :param async_req bool
551
+ :param CopyParameterTemplateRequest body: (required)
552
+ :return: CopyParameterTemplateResponse
553
+ If the method is called asynchronously,
554
+ returns the request thread.
555
+ """
556
+
557
+ all_params = ['body'] # noqa: E501
558
+ all_params.append('async_req')
559
+ all_params.append('_return_http_data_only')
560
+ all_params.append('_preload_content')
561
+ all_params.append('_request_timeout')
562
+
563
+ params = locals()
564
+ for key, val in six.iteritems(params['kwargs']):
565
+ if key not in all_params:
566
+ raise TypeError(
567
+ "Got an unexpected keyword argument '%s'"
568
+ " to method copy_parameter_template" % key
569
+ )
570
+ params[key] = val
571
+ del params['kwargs']
572
+ # verify the required parameter 'body' is set
573
+ if self.api_client.client_side_validation and ('body' not in params or
574
+ params['body'] is None): # noqa: E501
575
+ raise ValueError("Missing the required parameter `body` when calling `copy_parameter_template`") # noqa: E501
576
+
577
+ collection_formats = {}
578
+
579
+ path_params = {}
580
+
581
+ query_params = []
582
+
583
+ header_params = {}
584
+
585
+ form_params = []
586
+ local_var_files = {}
587
+
588
+ body_params = None
589
+ if 'body' in params:
590
+ body_params = params['body']
591
+ # HTTP header `Accept`
592
+ header_params['Accept'] = self.api_client.select_header_accept(
593
+ ['application/json']) # noqa: E501
594
+
595
+ # HTTP header `Content-Type`
596
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
597
+ ['application/json']) # noqa: E501
598
+
599
+ # Authentication setting
600
+ auth_settings = ['byteplusSign'] # noqa: E501
601
+
602
+ return self.api_client.call_api(
603
+ '/CopyParameterTemplate/2022-01-01/vedbm/post/application_json/', 'POST',
604
+ path_params,
605
+ query_params,
606
+ header_params,
607
+ body=body_params,
608
+ post_params=form_params,
609
+ files=local_var_files,
610
+ response_type='CopyParameterTemplateResponse', # noqa: E501
611
+ auth_settings=auth_settings,
612
+ async_req=params.get('async_req'),
613
+ _return_http_data_only=params.get('_return_http_data_only'),
614
+ _preload_content=params.get('_preload_content', True),
615
+ _request_timeout=params.get('_request_timeout'),
616
+ collection_formats=collection_formats)
617
+
521
618
  def create_allow_list(self, body, **kwargs): # noqa: E501
522
619
  """create_allow_list # noqa: E501
523
620
 
@@ -4980,6 +5077,103 @@ class VEDBMApi(object):
4980
5077
  _request_timeout=params.get('_request_timeout'),
4981
5078
  collection_formats=collection_formats)
4982
5079
 
5080
+ def modify_connection_persistence(self, body, **kwargs): # noqa: E501
5081
+ """modify_connection_persistence # noqa: E501
5082
+
5083
+ This method makes a synchronous HTTP request by default. To make an
5084
+ asynchronous HTTP request, please pass async_req=True
5085
+ >>> thread = api.modify_connection_persistence(body, async_req=True)
5086
+ >>> result = thread.get()
5087
+
5088
+ :param async_req bool
5089
+ :param ModifyConnectionPersistenceRequest body: (required)
5090
+ :return: ModifyConnectionPersistenceResponse
5091
+ If the method is called asynchronously,
5092
+ returns the request thread.
5093
+ """
5094
+ kwargs['_return_http_data_only'] = True
5095
+ if kwargs.get('async_req'):
5096
+ return self.modify_connection_persistence_with_http_info(body, **kwargs) # noqa: E501
5097
+ else:
5098
+ (data) = self.modify_connection_persistence_with_http_info(body, **kwargs) # noqa: E501
5099
+ return data
5100
+
5101
+ def modify_connection_persistence_with_http_info(self, body, **kwargs): # noqa: E501
5102
+ """modify_connection_persistence # noqa: E501
5103
+
5104
+ This method makes a synchronous HTTP request by default. To make an
5105
+ asynchronous HTTP request, please pass async_req=True
5106
+ >>> thread = api.modify_connection_persistence_with_http_info(body, async_req=True)
5107
+ >>> result = thread.get()
5108
+
5109
+ :param async_req bool
5110
+ :param ModifyConnectionPersistenceRequest body: (required)
5111
+ :return: ModifyConnectionPersistenceResponse
5112
+ If the method is called asynchronously,
5113
+ returns the request thread.
5114
+ """
5115
+
5116
+ all_params = ['body'] # noqa: E501
5117
+ all_params.append('async_req')
5118
+ all_params.append('_return_http_data_only')
5119
+ all_params.append('_preload_content')
5120
+ all_params.append('_request_timeout')
5121
+
5122
+ params = locals()
5123
+ for key, val in six.iteritems(params['kwargs']):
5124
+ if key not in all_params:
5125
+ raise TypeError(
5126
+ "Got an unexpected keyword argument '%s'"
5127
+ " to method modify_connection_persistence" % key
5128
+ )
5129
+ params[key] = val
5130
+ del params['kwargs']
5131
+ # verify the required parameter 'body' is set
5132
+ if self.api_client.client_side_validation and ('body' not in params or
5133
+ params['body'] is None): # noqa: E501
5134
+ raise ValueError("Missing the required parameter `body` when calling `modify_connection_persistence`") # noqa: E501
5135
+
5136
+ collection_formats = {}
5137
+
5138
+ path_params = {}
5139
+
5140
+ query_params = []
5141
+
5142
+ header_params = {}
5143
+
5144
+ form_params = []
5145
+ local_var_files = {}
5146
+
5147
+ body_params = None
5148
+ if 'body' in params:
5149
+ body_params = params['body']
5150
+ # HTTP header `Accept`
5151
+ header_params['Accept'] = self.api_client.select_header_accept(
5152
+ ['application/json']) # noqa: E501
5153
+
5154
+ # HTTP header `Content-Type`
5155
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
5156
+ ['application/json']) # noqa: E501
5157
+
5158
+ # Authentication setting
5159
+ auth_settings = ['byteplusSign'] # noqa: E501
5160
+
5161
+ return self.api_client.call_api(
5162
+ '/ModifyConnectionPersistence/2022-01-01/vedbm/post/application_json/', 'POST',
5163
+ path_params,
5164
+ query_params,
5165
+ header_params,
5166
+ body=body_params,
5167
+ post_params=form_params,
5168
+ files=local_var_files,
5169
+ response_type='ModifyConnectionPersistenceResponse', # noqa: E501
5170
+ auth_settings=auth_settings,
5171
+ async_req=params.get('async_req'),
5172
+ _return_http_data_only=params.get('_return_http_data_only'),
5173
+ _preload_content=params.get('_preload_content', True),
5174
+ _request_timeout=params.get('_request_timeout'),
5175
+ collection_formats=collection_formats)
5176
+
4983
5177
  def modify_cross_region_backup_policy(self, body, **kwargs): # noqa: E501
4984
5178
  """modify_cross_region_backup_policy # noqa: E501
4985
5179
 
@@ -6144,6 +6338,103 @@ class VEDBMApi(object):
6144
6338
  _request_timeout=params.get('_request_timeout'),
6145
6339
  collection_formats=collection_formats)
6146
6340
 
6341
+ def modify_db_instance_storage_type(self, body, **kwargs): # noqa: E501
6342
+ """modify_db_instance_storage_type # noqa: E501
6343
+
6344
+ This method makes a synchronous HTTP request by default. To make an
6345
+ asynchronous HTTP request, please pass async_req=True
6346
+ >>> thread = api.modify_db_instance_storage_type(body, async_req=True)
6347
+ >>> result = thread.get()
6348
+
6349
+ :param async_req bool
6350
+ :param ModifyDBInstanceStorageTypeRequest body: (required)
6351
+ :return: ModifyDBInstanceStorageTypeResponse
6352
+ If the method is called asynchronously,
6353
+ returns the request thread.
6354
+ """
6355
+ kwargs['_return_http_data_only'] = True
6356
+ if kwargs.get('async_req'):
6357
+ return self.modify_db_instance_storage_type_with_http_info(body, **kwargs) # noqa: E501
6358
+ else:
6359
+ (data) = self.modify_db_instance_storage_type_with_http_info(body, **kwargs) # noqa: E501
6360
+ return data
6361
+
6362
+ def modify_db_instance_storage_type_with_http_info(self, body, **kwargs): # noqa: E501
6363
+ """modify_db_instance_storage_type # noqa: E501
6364
+
6365
+ This method makes a synchronous HTTP request by default. To make an
6366
+ asynchronous HTTP request, please pass async_req=True
6367
+ >>> thread = api.modify_db_instance_storage_type_with_http_info(body, async_req=True)
6368
+ >>> result = thread.get()
6369
+
6370
+ :param async_req bool
6371
+ :param ModifyDBInstanceStorageTypeRequest body: (required)
6372
+ :return: ModifyDBInstanceStorageTypeResponse
6373
+ If the method is called asynchronously,
6374
+ returns the request thread.
6375
+ """
6376
+
6377
+ all_params = ['body'] # noqa: E501
6378
+ all_params.append('async_req')
6379
+ all_params.append('_return_http_data_only')
6380
+ all_params.append('_preload_content')
6381
+ all_params.append('_request_timeout')
6382
+
6383
+ params = locals()
6384
+ for key, val in six.iteritems(params['kwargs']):
6385
+ if key not in all_params:
6386
+ raise TypeError(
6387
+ "Got an unexpected keyword argument '%s'"
6388
+ " to method modify_db_instance_storage_type" % key
6389
+ )
6390
+ params[key] = val
6391
+ del params['kwargs']
6392
+ # verify the required parameter 'body' is set
6393
+ if self.api_client.client_side_validation and ('body' not in params or
6394
+ params['body'] is None): # noqa: E501
6395
+ raise ValueError("Missing the required parameter `body` when calling `modify_db_instance_storage_type`") # noqa: E501
6396
+
6397
+ collection_formats = {}
6398
+
6399
+ path_params = {}
6400
+
6401
+ query_params = []
6402
+
6403
+ header_params = {}
6404
+
6405
+ form_params = []
6406
+ local_var_files = {}
6407
+
6408
+ body_params = None
6409
+ if 'body' in params:
6410
+ body_params = params['body']
6411
+ # HTTP header `Accept`
6412
+ header_params['Accept'] = self.api_client.select_header_accept(
6413
+ ['application/json']) # noqa: E501
6414
+
6415
+ # HTTP header `Content-Type`
6416
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6417
+ ['application/json']) # noqa: E501
6418
+
6419
+ # Authentication setting
6420
+ auth_settings = ['byteplusSign'] # noqa: E501
6421
+
6422
+ return self.api_client.call_api(
6423
+ '/ModifyDBInstanceStorageType/2022-01-01/vedbm/post/application_json/', 'POST',
6424
+ path_params,
6425
+ query_params,
6426
+ header_params,
6427
+ body=body_params,
6428
+ post_params=form_params,
6429
+ files=local_var_files,
6430
+ response_type='ModifyDBInstanceStorageTypeResponse', # noqa: E501
6431
+ auth_settings=auth_settings,
6432
+ async_req=params.get('async_req'),
6433
+ _return_http_data_only=params.get('_return_http_data_only'),
6434
+ _preload_content=params.get('_preload_content', True),
6435
+ _request_timeout=params.get('_request_timeout'),
6436
+ collection_formats=collection_formats)
6437
+
6147
6438
  def modify_db_node_config(self, body, **kwargs): # noqa: E501
6148
6439
  """modify_db_node_config # noqa: E501
6149
6440
 
@@ -6241,6 +6532,103 @@ class VEDBMApi(object):
6241
6532
  _request_timeout=params.get('_request_timeout'),
6242
6533
  collection_formats=collection_formats)
6243
6534
 
6535
+ def modify_parameter_template(self, body, **kwargs): # noqa: E501
6536
+ """modify_parameter_template # noqa: E501
6537
+
6538
+ This method makes a synchronous HTTP request by default. To make an
6539
+ asynchronous HTTP request, please pass async_req=True
6540
+ >>> thread = api.modify_parameter_template(body, async_req=True)
6541
+ >>> result = thread.get()
6542
+
6543
+ :param async_req bool
6544
+ :param ModifyParameterTemplateRequest body: (required)
6545
+ :return: ModifyParameterTemplateResponse
6546
+ If the method is called asynchronously,
6547
+ returns the request thread.
6548
+ """
6549
+ kwargs['_return_http_data_only'] = True
6550
+ if kwargs.get('async_req'):
6551
+ return self.modify_parameter_template_with_http_info(body, **kwargs) # noqa: E501
6552
+ else:
6553
+ (data) = self.modify_parameter_template_with_http_info(body, **kwargs) # noqa: E501
6554
+ return data
6555
+
6556
+ def modify_parameter_template_with_http_info(self, body, **kwargs): # noqa: E501
6557
+ """modify_parameter_template # noqa: E501
6558
+
6559
+ This method makes a synchronous HTTP request by default. To make an
6560
+ asynchronous HTTP request, please pass async_req=True
6561
+ >>> thread = api.modify_parameter_template_with_http_info(body, async_req=True)
6562
+ >>> result = thread.get()
6563
+
6564
+ :param async_req bool
6565
+ :param ModifyParameterTemplateRequest body: (required)
6566
+ :return: ModifyParameterTemplateResponse
6567
+ If the method is called asynchronously,
6568
+ returns the request thread.
6569
+ """
6570
+
6571
+ all_params = ['body'] # noqa: E501
6572
+ all_params.append('async_req')
6573
+ all_params.append('_return_http_data_only')
6574
+ all_params.append('_preload_content')
6575
+ all_params.append('_request_timeout')
6576
+
6577
+ params = locals()
6578
+ for key, val in six.iteritems(params['kwargs']):
6579
+ if key not in all_params:
6580
+ raise TypeError(
6581
+ "Got an unexpected keyword argument '%s'"
6582
+ " to method modify_parameter_template" % key
6583
+ )
6584
+ params[key] = val
6585
+ del params['kwargs']
6586
+ # verify the required parameter 'body' is set
6587
+ if self.api_client.client_side_validation and ('body' not in params or
6588
+ params['body'] is None): # noqa: E501
6589
+ raise ValueError("Missing the required parameter `body` when calling `modify_parameter_template`") # noqa: E501
6590
+
6591
+ collection_formats = {}
6592
+
6593
+ path_params = {}
6594
+
6595
+ query_params = []
6596
+
6597
+ header_params = {}
6598
+
6599
+ form_params = []
6600
+ local_var_files = {}
6601
+
6602
+ body_params = None
6603
+ if 'body' in params:
6604
+ body_params = params['body']
6605
+ # HTTP header `Accept`
6606
+ header_params['Accept'] = self.api_client.select_header_accept(
6607
+ ['application/json']) # noqa: E501
6608
+
6609
+ # HTTP header `Content-Type`
6610
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6611
+ ['application/json']) # noqa: E501
6612
+
6613
+ # Authentication setting
6614
+ auth_settings = ['byteplusSign'] # noqa: E501
6615
+
6616
+ return self.api_client.call_api(
6617
+ '/ModifyParameterTemplate/2022-01-01/vedbm/post/application_json/', 'POST',
6618
+ path_params,
6619
+ query_params,
6620
+ header_params,
6621
+ body=body_params,
6622
+ post_params=form_params,
6623
+ files=local_var_files,
6624
+ response_type='ModifyParameterTemplateResponse', # noqa: E501
6625
+ auth_settings=auth_settings,
6626
+ async_req=params.get('async_req'),
6627
+ _return_http_data_only=params.get('_return_http_data_only'),
6628
+ _preload_content=params.get('_preload_content', True),
6629
+ _request_timeout=params.get('_request_timeout'),
6630
+ collection_formats=collection_formats)
6631
+
6244
6632
  def modify_schedule_events(self, body, **kwargs): # noqa: E501
6245
6633
  """modify_schedule_events # noqa: E501
6246
6634
 
@@ -42,6 +42,8 @@ from byteplussdkvedbm.models.charge_item_price_for_describe_exist_db_instance_pr
42
42
  from byteplussdkvedbm.models.charge_item_price_for_describe_storage_payable_price_output import ChargeItemPriceForDescribeStoragePayablePriceOutput
43
43
  from byteplussdkvedbm.models.config_item_price_for_describe_db_instance_price_detail_output import ConfigItemPriceForDescribeDBInstancePriceDetailOutput
44
44
  from byteplussdkvedbm.models.config_item_price_for_describe_exist_db_instance_price_output import ConfigItemPriceForDescribeExistDBInstancePriceOutput
45
+ from byteplussdkvedbm.models.copy_parameter_template_request import CopyParameterTemplateRequest
46
+ from byteplussdkvedbm.models.copy_parameter_template_response import CopyParameterTemplateResponse
45
47
  from byteplussdkvedbm.models.create_allow_list_request import CreateAllowListRequest
46
48
  from byteplussdkvedbm.models.create_allow_list_response import CreateAllowListResponse
47
49
  from byteplussdkvedbm.models.create_backup_request import CreateBackupRequest
@@ -145,6 +147,8 @@ from byteplussdkvedbm.models.modify_allow_list_request import ModifyAllowListReq
145
147
  from byteplussdkvedbm.models.modify_allow_list_response import ModifyAllowListResponse
146
148
  from byteplussdkvedbm.models.modify_backup_policy_request import ModifyBackupPolicyRequest
147
149
  from byteplussdkvedbm.models.modify_backup_policy_response import ModifyBackupPolicyResponse
150
+ from byteplussdkvedbm.models.modify_connection_persistence_request import ModifyConnectionPersistenceRequest
151
+ from byteplussdkvedbm.models.modify_connection_persistence_response import ModifyConnectionPersistenceResponse
148
152
  from byteplussdkvedbm.models.modify_cross_region_backup_policy_request import ModifyCrossRegionBackupPolicyRequest
149
153
  from byteplussdkvedbm.models.modify_cross_region_backup_policy_response import ModifyCrossRegionBackupPolicyResponse
150
154
  from byteplussdkvedbm.models.modify_db_account_description_request import ModifyDBAccountDescriptionRequest
@@ -167,10 +171,14 @@ from byteplussdkvedbm.models.modify_db_instance_parameters_request import Modify
167
171
  from byteplussdkvedbm.models.modify_db_instance_parameters_response import ModifyDBInstanceParametersResponse
168
172
  from byteplussdkvedbm.models.modify_db_instance_spec_request import ModifyDBInstanceSpecRequest
169
173
  from byteplussdkvedbm.models.modify_db_instance_spec_response import ModifyDBInstanceSpecResponse
174
+ from byteplussdkvedbm.models.modify_db_instance_storage_type_request import ModifyDBInstanceStorageTypeRequest
175
+ from byteplussdkvedbm.models.modify_db_instance_storage_type_response import ModifyDBInstanceStorageTypeResponse
170
176
  from byteplussdkvedbm.models.modify_db_node_config_request import ModifyDBNodeConfigRequest
171
177
  from byteplussdkvedbm.models.modify_db_node_config_response import ModifyDBNodeConfigResponse
172
178
  from byteplussdkvedbm.models.modify_database_description_request import ModifyDatabaseDescriptionRequest
173
179
  from byteplussdkvedbm.models.modify_database_description_response import ModifyDatabaseDescriptionResponse
180
+ from byteplussdkvedbm.models.modify_parameter_template_request import ModifyParameterTemplateRequest
181
+ from byteplussdkvedbm.models.modify_parameter_template_response import ModifyParameterTemplateResponse
174
182
  from byteplussdkvedbm.models.modify_schedule_events_request import ModifyScheduleEventsRequest
175
183
  from byteplussdkvedbm.models.modify_schedule_events_response import ModifyScheduleEventsResponse
176
184
  from byteplussdkvedbm.models.node_for_describe_db_instance_detail_output import NodeForDescribeDBInstanceDetailOutput
@@ -200,6 +208,8 @@ from byteplussdkvedbm.models.revoke_db_account_privilege_response import RevokeD
200
208
  from byteplussdkvedbm.models.save_as_parameter_template_request import SaveAsParameterTemplateRequest
201
209
  from byteplussdkvedbm.models.save_as_parameter_template_response import SaveAsParameterTemplateResponse
202
210
  from byteplussdkvedbm.models.schedule_tasks_info_for_describe_schedule_events_output import ScheduleTasksInfoForDescribeScheduleEventsOutput
211
+ from byteplussdkvedbm.models.security_group_bind_info_for_create_allow_list_input import SecurityGroupBindInfoForCreateAllowListInput
212
+ from byteplussdkvedbm.models.security_group_bind_info_for_modify_allow_list_input import SecurityGroupBindInfoForModifyAllowListInput
203
213
  from byteplussdkvedbm.models.table_for_restore_table_input import TableForRestoreTableInput
204
214
  from byteplussdkvedbm.models.table_meta_for_restore_table_input import TableMetaForRestoreTableInput
205
215
  from byteplussdkvedbm.models.tag_filter_for_describe_db_instances_input import TagFilterForDescribeDBInstancesInput
@@ -211,4 +221,5 @@ from byteplussdkvedbm.models.tag_for_restore_to_new_instance_input import TagFor
211
221
  from byteplussdkvedbm.models.template_info_for_describe_parameter_templates_output import TemplateInfoForDescribeParameterTemplatesOutput
212
222
  from byteplussdkvedbm.models.template_parameter_for_create_parameter_template_input import TemplateParameterForCreateParameterTemplateInput
213
223
  from byteplussdkvedbm.models.template_parameter_for_describe_parameter_template_detail_output import TemplateParameterForDescribeParameterTemplateDetailOutput
224
+ from byteplussdkvedbm.models.template_parameter_for_modify_parameter_template_input import TemplateParameterForModifyParameterTemplateInput
214
225
  from byteplussdkvedbm.models.zone_for_describe_availability_zones_output import ZoneForDescribeAvailabilityZonesOutput
@@ -0,0 +1,177 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vedbm
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 byteplussdkcore.configuration import Configuration
20
+
21
+
22
+ class CopyParameterTemplateRequest(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
+ 'source_template_id': 'str',
37
+ 'template_description': 'str',
38
+ 'template_name': 'str'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'source_template_id': 'SourceTemplateId',
43
+ 'template_description': 'TemplateDescription',
44
+ 'template_name': 'TemplateName'
45
+ }
46
+
47
+ def __init__(self, source_template_id=None, template_description=None, template_name=None, _configuration=None): # noqa: E501
48
+ """CopyParameterTemplateRequest - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._source_template_id = None
54
+ self._template_description = None
55
+ self._template_name = None
56
+ self.discriminator = None
57
+
58
+ self.source_template_id = source_template_id
59
+ if template_description is not None:
60
+ self.template_description = template_description
61
+ self.template_name = template_name
62
+
63
+ @property
64
+ def source_template_id(self):
65
+ """Gets the source_template_id of this CopyParameterTemplateRequest. # noqa: E501
66
+
67
+
68
+ :return: The source_template_id of this CopyParameterTemplateRequest. # noqa: E501
69
+ :rtype: str
70
+ """
71
+ return self._source_template_id
72
+
73
+ @source_template_id.setter
74
+ def source_template_id(self, source_template_id):
75
+ """Sets the source_template_id of this CopyParameterTemplateRequest.
76
+
77
+
78
+ :param source_template_id: The source_template_id of this CopyParameterTemplateRequest. # noqa: E501
79
+ :type: str
80
+ """
81
+ if self._configuration.client_side_validation and source_template_id is None:
82
+ raise ValueError("Invalid value for `source_template_id`, must not be `None`") # noqa: E501
83
+
84
+ self._source_template_id = source_template_id
85
+
86
+ @property
87
+ def template_description(self):
88
+ """Gets the template_description of this CopyParameterTemplateRequest. # noqa: E501
89
+
90
+
91
+ :return: The template_description of this CopyParameterTemplateRequest. # noqa: E501
92
+ :rtype: str
93
+ """
94
+ return self._template_description
95
+
96
+ @template_description.setter
97
+ def template_description(self, template_description):
98
+ """Sets the template_description of this CopyParameterTemplateRequest.
99
+
100
+
101
+ :param template_description: The template_description of this CopyParameterTemplateRequest. # noqa: E501
102
+ :type: str
103
+ """
104
+
105
+ self._template_description = template_description
106
+
107
+ @property
108
+ def template_name(self):
109
+ """Gets the template_name of this CopyParameterTemplateRequest. # noqa: E501
110
+
111
+
112
+ :return: The template_name of this CopyParameterTemplateRequest. # noqa: E501
113
+ :rtype: str
114
+ """
115
+ return self._template_name
116
+
117
+ @template_name.setter
118
+ def template_name(self, template_name):
119
+ """Sets the template_name of this CopyParameterTemplateRequest.
120
+
121
+
122
+ :param template_name: The template_name of this CopyParameterTemplateRequest. # noqa: E501
123
+ :type: str
124
+ """
125
+ if self._configuration.client_side_validation and template_name is None:
126
+ raise ValueError("Invalid value for `template_name`, must not be `None`") # noqa: E501
127
+
128
+ self._template_name = template_name
129
+
130
+ def to_dict(self):
131
+ """Returns the model properties as a dict"""
132
+ result = {}
133
+
134
+ for attr, _ in six.iteritems(self.swagger_types):
135
+ value = getattr(self, attr)
136
+ if isinstance(value, list):
137
+ result[attr] = list(map(
138
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
139
+ value
140
+ ))
141
+ elif hasattr(value, "to_dict"):
142
+ result[attr] = value.to_dict()
143
+ elif isinstance(value, dict):
144
+ result[attr] = dict(map(
145
+ lambda item: (item[0], item[1].to_dict())
146
+ if hasattr(item[1], "to_dict") else item,
147
+ value.items()
148
+ ))
149
+ else:
150
+ result[attr] = value
151
+ if issubclass(CopyParameterTemplateRequest, dict):
152
+ for key, value in self.items():
153
+ result[key] = value
154
+
155
+ return result
156
+
157
+ def to_str(self):
158
+ """Returns the string representation of the model"""
159
+ return pprint.pformat(self.to_dict())
160
+
161
+ def __repr__(self):
162
+ """For `print` and `pprint`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, CopyParameterTemplateRequest):
168
+ return False
169
+
170
+ return self.to_dict() == other.to_dict()
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ if not isinstance(other, CopyParameterTemplateRequest):
175
+ return True
176
+
177
+ return self.to_dict() != other.to_dict()