@@ -518,6 +518,103 @@ def describe_availability_zones_with_http_info(self, body, **kwargs): # noqa: E
518518 _request_timeout = params .get ('_request_timeout' ),
519519 collection_formats = collection_formats )
520520
521+ def describe_backup_detail (self , body , ** kwargs ): # noqa: E501
522+ """describe_backup_detail # 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.describe_backup_detail(body, async_req=True)
527+ >>> result = thread.get()
528+
529+ :param async_req bool
530+ :param DescribeBackupDetailRequest body: (required)
531+ :return: DescribeBackupDetailResponse
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 .describe_backup_detail_with_http_info (body , ** kwargs ) # noqa: E501
538+ else :
539+ (data ) = self .describe_backup_detail_with_http_info (body , ** kwargs ) # noqa: E501
540+ return data
541+
542+ def describe_backup_detail_with_http_info (self , body , ** kwargs ): # noqa: E501
543+ """describe_backup_detail # 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.describe_backup_detail_with_http_info(body, async_req=True)
548+ >>> result = thread.get()
549+
550+ :param async_req bool
551+ :param DescribeBackupDetailRequest body: (required)
552+ :return: DescribeBackupDetailResponse
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 describe_backup_detail" % 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 `describe_backup_detail`" ) # 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 = ['volcengineSign' ] # noqa: E501
601+
602+ return self .api_client .call_api (
603+ '/DescribeBackupDetail/2022-01-01/rds_mssql/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 = 'DescribeBackupDetailResponse' , # 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+
521618 def describe_backups (self , body , ** kwargs ): # noqa: E501
522619 """describe_backups # noqa: E501
523620
@@ -1391,6 +1488,103 @@ def modify_backup_policy_with_http_info(self, body, **kwargs): # noqa: E501
13911488 _request_timeout = params .get ('_request_timeout' ),
13921489 collection_formats = collection_formats )
13931490
1491+ def modify_instance_advanced_features (self , body , ** kwargs ): # noqa: E501
1492+ """modify_instance_advanced_features # noqa: E501
1493+
1494+ This method makes a synchronous HTTP request by default. To make an
1495+ asynchronous HTTP request, please pass async_req=True
1496+ >>> thread = api.modify_instance_advanced_features(body, async_req=True)
1497+ >>> result = thread.get()
1498+
1499+ :param async_req bool
1500+ :param ModifyInstanceAdvancedFeaturesRequest body: (required)
1501+ :return: ModifyInstanceAdvancedFeaturesResponse
1502+ If the method is called asynchronously,
1503+ returns the request thread.
1504+ """
1505+ kwargs ['_return_http_data_only' ] = True
1506+ if kwargs .get ('async_req' ):
1507+ return self .modify_instance_advanced_features_with_http_info (body , ** kwargs ) # noqa: E501
1508+ else :
1509+ (data ) = self .modify_instance_advanced_features_with_http_info (body , ** kwargs ) # noqa: E501
1510+ return data
1511+
1512+ def modify_instance_advanced_features_with_http_info (self , body , ** kwargs ): # noqa: E501
1513+ """modify_instance_advanced_features # noqa: E501
1514+
1515+ This method makes a synchronous HTTP request by default. To make an
1516+ asynchronous HTTP request, please pass async_req=True
1517+ >>> thread = api.modify_instance_advanced_features_with_http_info(body, async_req=True)
1518+ >>> result = thread.get()
1519+
1520+ :param async_req bool
1521+ :param ModifyInstanceAdvancedFeaturesRequest body: (required)
1522+ :return: ModifyInstanceAdvancedFeaturesResponse
1523+ If the method is called asynchronously,
1524+ returns the request thread.
1525+ """
1526+
1527+ all_params = ['body' ] # noqa: E501
1528+ all_params .append ('async_req' )
1529+ all_params .append ('_return_http_data_only' )
1530+ all_params .append ('_preload_content' )
1531+ all_params .append ('_request_timeout' )
1532+
1533+ params = locals ()
1534+ for key , val in six .iteritems (params ['kwargs' ]):
1535+ if key not in all_params :
1536+ raise TypeError (
1537+ "Got an unexpected keyword argument '%s'"
1538+ " to method modify_instance_advanced_features" % key
1539+ )
1540+ params [key ] = val
1541+ del params ['kwargs' ]
1542+ # verify the required parameter 'body' is set
1543+ if self .api_client .client_side_validation and ('body' not in params or
1544+ params ['body' ] is None ): # noqa: E501
1545+ raise ValueError ("Missing the required parameter `body` when calling `modify_instance_advanced_features`" ) # noqa: E501
1546+
1547+ collection_formats = {}
1548+
1549+ path_params = {}
1550+
1551+ query_params = []
1552+
1553+ header_params = {}
1554+
1555+ form_params = []
1556+ local_var_files = {}
1557+
1558+ body_params = None
1559+ if 'body' in params :
1560+ body_params = params ['body' ]
1561+ # HTTP header `Accept`
1562+ header_params ['Accept' ] = self .api_client .select_header_accept (
1563+ ['application/json' ]) # noqa: E501
1564+
1565+ # HTTP header `Content-Type`
1566+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1567+ ['application/json' ]) # noqa: E501
1568+
1569+ # Authentication setting
1570+ auth_settings = ['volcengineSign' ] # noqa: E501
1571+
1572+ return self .api_client .call_api (
1573+ '/ModifyInstanceAdvancedFeatures/2022-01-01/rds_mssql/post/application_json/' , 'POST' ,
1574+ path_params ,
1575+ query_params ,
1576+ header_params ,
1577+ body = body_params ,
1578+ post_params = form_params ,
1579+ files = local_var_files ,
1580+ response_type = 'ModifyInstanceAdvancedFeaturesResponse' , # noqa: E501
1581+ auth_settings = auth_settings ,
1582+ async_req = params .get ('async_req' ),
1583+ _return_http_data_only = params .get ('_return_http_data_only' ),
1584+ _preload_content = params .get ('_preload_content' , True ),
1585+ _request_timeout = params .get ('_request_timeout' ),
1586+ collection_formats = collection_formats )
1587+
13941588 def restore_to_existed_instance (self , body , ** kwargs ): # noqa: E501
13951589 """restore_to_existed_instance # noqa: E501
13961590
0 commit comments