@@ -712,6 +712,103 @@ def create_db_instance_with_http_info(self, body, **kwargs): # noqa: E501
712712 _request_timeout = params .get ('_request_timeout' ),
713713 collection_formats = collection_formats )
714714
715+ def create_enterprise_db_instance (self , body , ** kwargs ): # noqa: E501
716+ """create_enterprise_db_instance # noqa: E501
717+
718+ This method makes a synchronous HTTP request by default. To make an
719+ asynchronous HTTP request, please pass async_req=True
720+ >>> thread = api.create_enterprise_db_instance(body, async_req=True)
721+ >>> result = thread.get()
722+
723+ :param async_req bool
724+ :param CreateEnterpriseDBInstanceRequest body: (required)
725+ :return: CreateEnterpriseDBInstanceResponse
726+ If the method is called asynchronously,
727+ returns the request thread.
728+ """
729+ kwargs ['_return_http_data_only' ] = True
730+ if kwargs .get ('async_req' ):
731+ return self .create_enterprise_db_instance_with_http_info (body , ** kwargs ) # noqa: E501
732+ else :
733+ (data ) = self .create_enterprise_db_instance_with_http_info (body , ** kwargs ) # noqa: E501
734+ return data
735+
736+ def create_enterprise_db_instance_with_http_info (self , body , ** kwargs ): # noqa: E501
737+ """create_enterprise_db_instance # noqa: E501
738+
739+ This method makes a synchronous HTTP request by default. To make an
740+ asynchronous HTTP request, please pass async_req=True
741+ >>> thread = api.create_enterprise_db_instance_with_http_info(body, async_req=True)
742+ >>> result = thread.get()
743+
744+ :param async_req bool
745+ :param CreateEnterpriseDBInstanceRequest body: (required)
746+ :return: CreateEnterpriseDBInstanceResponse
747+ If the method is called asynchronously,
748+ returns the request thread.
749+ """
750+
751+ all_params = ['body' ] # noqa: E501
752+ all_params .append ('async_req' )
753+ all_params .append ('_return_http_data_only' )
754+ all_params .append ('_preload_content' )
755+ all_params .append ('_request_timeout' )
756+
757+ params = locals ()
758+ for key , val in six .iteritems (params ['kwargs' ]):
759+ if key not in all_params :
760+ raise TypeError (
761+ "Got an unexpected keyword argument '%s'"
762+ " to method create_enterprise_db_instance" % key
763+ )
764+ params [key ] = val
765+ del params ['kwargs' ]
766+ # verify the required parameter 'body' is set
767+ if self .api_client .client_side_validation and ('body' not in params or
768+ params ['body' ] is None ): # noqa: E501
769+ raise ValueError ("Missing the required parameter `body` when calling `create_enterprise_db_instance`" ) # noqa: E501
770+
771+ collection_formats = {}
772+
773+ path_params = {}
774+
775+ query_params = []
776+
777+ header_params = {}
778+
779+ form_params = []
780+ local_var_files = {}
781+
782+ body_params = None
783+ if 'body' in params :
784+ body_params = params ['body' ]
785+ # HTTP header `Accept`
786+ header_params ['Accept' ] = self .api_client .select_header_accept (
787+ ['application/json' ]) # noqa: E501
788+
789+ # HTTP header `Content-Type`
790+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
791+ ['application/json' ]) # noqa: E501
792+
793+ # Authentication setting
794+ auth_settings = ['volcengineSign' ] # noqa: E501
795+
796+ return self .api_client .call_api (
797+ '/CreateEnterpriseDBInstance/2020-12-07/redis/post/application_json/' , 'POST' ,
798+ path_params ,
799+ query_params ,
800+ header_params ,
801+ body = body_params ,
802+ post_params = form_params ,
803+ files = local_var_files ,
804+ response_type = 'CreateEnterpriseDBInstanceResponse' , # noqa: E501
805+ auth_settings = auth_settings ,
806+ async_req = params .get ('async_req' ),
807+ _return_http_data_only = params .get ('_return_http_data_only' ),
808+ _preload_content = params .get ('_preload_content' , True ),
809+ _request_timeout = params .get ('_request_timeout' ),
810+ collection_formats = collection_formats )
811+
715812 def decrease_db_instance_node_number (self , body , ** kwargs ): # noqa: E501
716813 """decrease_db_instance_node_number # noqa: E501
717814
@@ -2167,6 +2264,103 @@ def describe_db_instances_with_http_info(self, body, **kwargs): # noqa: E501
21672264 _request_timeout = params .get ('_request_timeout' ),
21682265 collection_formats = collection_formats )
21692266
2267+ def describe_enterprise_db_instance_detail (self , body , ** kwargs ): # noqa: E501
2268+ """describe_enterprise_db_instance_detail # noqa: E501
2269+
2270+ This method makes a synchronous HTTP request by default. To make an
2271+ asynchronous HTTP request, please pass async_req=True
2272+ >>> thread = api.describe_enterprise_db_instance_detail(body, async_req=True)
2273+ >>> result = thread.get()
2274+
2275+ :param async_req bool
2276+ :param DescribeEnterpriseDBInstanceDetailRequest body: (required)
2277+ :return: DescribeEnterpriseDBInstanceDetailResponse
2278+ If the method is called asynchronously,
2279+ returns the request thread.
2280+ """
2281+ kwargs ['_return_http_data_only' ] = True
2282+ if kwargs .get ('async_req' ):
2283+ return self .describe_enterprise_db_instance_detail_with_http_info (body , ** kwargs ) # noqa: E501
2284+ else :
2285+ (data ) = self .describe_enterprise_db_instance_detail_with_http_info (body , ** kwargs ) # noqa: E501
2286+ return data
2287+
2288+ def describe_enterprise_db_instance_detail_with_http_info (self , body , ** kwargs ): # noqa: E501
2289+ """describe_enterprise_db_instance_detail # noqa: E501
2290+
2291+ This method makes a synchronous HTTP request by default. To make an
2292+ asynchronous HTTP request, please pass async_req=True
2293+ >>> thread = api.describe_enterprise_db_instance_detail_with_http_info(body, async_req=True)
2294+ >>> result = thread.get()
2295+
2296+ :param async_req bool
2297+ :param DescribeEnterpriseDBInstanceDetailRequest body: (required)
2298+ :return: DescribeEnterpriseDBInstanceDetailResponse
2299+ If the method is called asynchronously,
2300+ returns the request thread.
2301+ """
2302+
2303+ all_params = ['body' ] # noqa: E501
2304+ all_params .append ('async_req' )
2305+ all_params .append ('_return_http_data_only' )
2306+ all_params .append ('_preload_content' )
2307+ all_params .append ('_request_timeout' )
2308+
2309+ params = locals ()
2310+ for key , val in six .iteritems (params ['kwargs' ]):
2311+ if key not in all_params :
2312+ raise TypeError (
2313+ "Got an unexpected keyword argument '%s'"
2314+ " to method describe_enterprise_db_instance_detail" % key
2315+ )
2316+ params [key ] = val
2317+ del params ['kwargs' ]
2318+ # verify the required parameter 'body' is set
2319+ if self .api_client .client_side_validation and ('body' not in params or
2320+ params ['body' ] is None ): # noqa: E501
2321+ raise ValueError ("Missing the required parameter `body` when calling `describe_enterprise_db_instance_detail`" ) # noqa: E501
2322+
2323+ collection_formats = {}
2324+
2325+ path_params = {}
2326+
2327+ query_params = []
2328+
2329+ header_params = {}
2330+
2331+ form_params = []
2332+ local_var_files = {}
2333+
2334+ body_params = None
2335+ if 'body' in params :
2336+ body_params = params ['body' ]
2337+ # HTTP header `Accept`
2338+ header_params ['Accept' ] = self .api_client .select_header_accept (
2339+ ['application/json' ]) # noqa: E501
2340+
2341+ # HTTP header `Content-Type`
2342+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
2343+ ['application/json' ]) # noqa: E501
2344+
2345+ # Authentication setting
2346+ auth_settings = ['volcengineSign' ] # noqa: E501
2347+
2348+ return self .api_client .call_api (
2349+ '/DescribeEnterpriseDBInstanceDetail/2020-12-07/redis/post/application_json/' , 'POST' ,
2350+ path_params ,
2351+ query_params ,
2352+ header_params ,
2353+ body = body_params ,
2354+ post_params = form_params ,
2355+ files = local_var_files ,
2356+ response_type = 'DescribeEnterpriseDBInstanceDetailResponse' , # noqa: E501
2357+ auth_settings = auth_settings ,
2358+ async_req = params .get ('async_req' ),
2359+ _return_http_data_only = params .get ('_return_http_data_only' ),
2360+ _preload_content = params .get ('_preload_content' , True ),
2361+ _request_timeout = params .get ('_request_timeout' ),
2362+ collection_formats = collection_formats )
2363+
21702364 def describe_node_ids (self , body , ** kwargs ): # noqa: E501
21712365 """describe_node_ids # noqa: E501
21722366
@@ -4398,6 +4592,103 @@ def modify_db_instance_subnet_with_http_info(self, body, **kwargs): # noqa: E50
43984592 _request_timeout = params .get ('_request_timeout' ),
43994593 collection_formats = collection_formats )
44004594
4595+ def modify_db_instance_visit_address (self , body , ** kwargs ): # noqa: E501
4596+ """modify_db_instance_visit_address # noqa: E501
4597+
4598+ This method makes a synchronous HTTP request by default. To make an
4599+ asynchronous HTTP request, please pass async_req=True
4600+ >>> thread = api.modify_db_instance_visit_address(body, async_req=True)
4601+ >>> result = thread.get()
4602+
4603+ :param async_req bool
4604+ :param ModifyDBInstanceVisitAddressRequest body: (required)
4605+ :return: ModifyDBInstanceVisitAddressResponse
4606+ If the method is called asynchronously,
4607+ returns the request thread.
4608+ """
4609+ kwargs ['_return_http_data_only' ] = True
4610+ if kwargs .get ('async_req' ):
4611+ return self .modify_db_instance_visit_address_with_http_info (body , ** kwargs ) # noqa: E501
4612+ else :
4613+ (data ) = self .modify_db_instance_visit_address_with_http_info (body , ** kwargs ) # noqa: E501
4614+ return data
4615+
4616+ def modify_db_instance_visit_address_with_http_info (self , body , ** kwargs ): # noqa: E501
4617+ """modify_db_instance_visit_address # noqa: E501
4618+
4619+ This method makes a synchronous HTTP request by default. To make an
4620+ asynchronous HTTP request, please pass async_req=True
4621+ >>> thread = api.modify_db_instance_visit_address_with_http_info(body, async_req=True)
4622+ >>> result = thread.get()
4623+
4624+ :param async_req bool
4625+ :param ModifyDBInstanceVisitAddressRequest body: (required)
4626+ :return: ModifyDBInstanceVisitAddressResponse
4627+ If the method is called asynchronously,
4628+ returns the request thread.
4629+ """
4630+
4631+ all_params = ['body' ] # noqa: E501
4632+ all_params .append ('async_req' )
4633+ all_params .append ('_return_http_data_only' )
4634+ all_params .append ('_preload_content' )
4635+ all_params .append ('_request_timeout' )
4636+
4637+ params = locals ()
4638+ for key , val in six .iteritems (params ['kwargs' ]):
4639+ if key not in all_params :
4640+ raise TypeError (
4641+ "Got an unexpected keyword argument '%s'"
4642+ " to method modify_db_instance_visit_address" % key
4643+ )
4644+ params [key ] = val
4645+ del params ['kwargs' ]
4646+ # verify the required parameter 'body' is set
4647+ if self .api_client .client_side_validation and ('body' not in params or
4648+ params ['body' ] is None ): # noqa: E501
4649+ raise ValueError ("Missing the required parameter `body` when calling `modify_db_instance_visit_address`" ) # noqa: E501
4650+
4651+ collection_formats = {}
4652+
4653+ path_params = {}
4654+
4655+ query_params = []
4656+
4657+ header_params = {}
4658+
4659+ form_params = []
4660+ local_var_files = {}
4661+
4662+ body_params = None
4663+ if 'body' in params :
4664+ body_params = params ['body' ]
4665+ # HTTP header `Accept`
4666+ header_params ['Accept' ] = self .api_client .select_header_accept (
4667+ ['application/json' ]) # noqa: E501
4668+
4669+ # HTTP header `Content-Type`
4670+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4671+ ['application/json' ]) # noqa: E501
4672+
4673+ # Authentication setting
4674+ auth_settings = ['volcengineSign' ] # noqa: E501
4675+
4676+ return self .api_client .call_api (
4677+ '/ModifyDBInstanceVisitAddress/2020-12-07/redis/post/application_json/' , 'POST' ,
4678+ path_params ,
4679+ query_params ,
4680+ header_params ,
4681+ body = body_params ,
4682+ post_params = form_params ,
4683+ files = local_var_files ,
4684+ response_type = 'ModifyDBInstanceVisitAddressResponse' , # noqa: E501
4685+ auth_settings = auth_settings ,
4686+ async_req = params .get ('async_req' ),
4687+ _return_http_data_only = params .get ('_return_http_data_only' ),
4688+ _preload_content = params .get ('_preload_content' , True ),
4689+ _request_timeout = params .get ('_request_timeout' ),
4690+ collection_formats = collection_formats )
4691+
44014692 def modify_db_instance_vpc_auth_mode (self , body , ** kwargs ): # noqa: E501
44024693 """modify_db_instance_vpc_auth_mode # noqa: E501
44034694
0 commit comments