@@ -3525,6 +3525,103 @@ def describe_load_balancer_specs_with_http_info(self, body, **kwargs): # noqa:
35253525 _request_timeout = params .get ('_request_timeout' ),
35263526 collection_formats = collection_formats )
35273527
3528+ def describe_load_balancer_status (self , body , ** kwargs ): # noqa: E501
3529+ """describe_load_balancer_status # noqa: E501
3530+
3531+ This method makes a synchronous HTTP request by default. To make an
3532+ asynchronous HTTP request, please pass async_req=True
3533+ >>> thread = api.describe_load_balancer_status(body, async_req=True)
3534+ >>> result = thread.get()
3535+
3536+ :param async_req bool
3537+ :param DescribeLoadBalancerStatusRequest body: (required)
3538+ :return: DescribeLoadBalancerStatusResponse
3539+ If the method is called asynchronously,
3540+ returns the request thread.
3541+ """
3542+ kwargs ['_return_http_data_only' ] = True
3543+ if kwargs .get ('async_req' ):
3544+ return self .describe_load_balancer_status_with_http_info (body , ** kwargs ) # noqa: E501
3545+ else :
3546+ (data ) = self .describe_load_balancer_status_with_http_info (body , ** kwargs ) # noqa: E501
3547+ return data
3548+
3549+ def describe_load_balancer_status_with_http_info (self , body , ** kwargs ): # noqa: E501
3550+ """describe_load_balancer_status # noqa: E501
3551+
3552+ This method makes a synchronous HTTP request by default. To make an
3553+ asynchronous HTTP request, please pass async_req=True
3554+ >>> thread = api.describe_load_balancer_status_with_http_info(body, async_req=True)
3555+ >>> result = thread.get()
3556+
3557+ :param async_req bool
3558+ :param DescribeLoadBalancerStatusRequest body: (required)
3559+ :return: DescribeLoadBalancerStatusResponse
3560+ If the method is called asynchronously,
3561+ returns the request thread.
3562+ """
3563+
3564+ all_params = ['body' ] # noqa: E501
3565+ all_params .append ('async_req' )
3566+ all_params .append ('_return_http_data_only' )
3567+ all_params .append ('_preload_content' )
3568+ all_params .append ('_request_timeout' )
3569+
3570+ params = locals ()
3571+ for key , val in six .iteritems (params ['kwargs' ]):
3572+ if key not in all_params :
3573+ raise TypeError (
3574+ "Got an unexpected keyword argument '%s'"
3575+ " to method describe_load_balancer_status" % key
3576+ )
3577+ params [key ] = val
3578+ del params ['kwargs' ]
3579+ # verify the required parameter 'body' is set
3580+ if self .api_client .client_side_validation and ('body' not in params or
3581+ params ['body' ] is None ): # noqa: E501
3582+ raise ValueError ("Missing the required parameter `body` when calling `describe_load_balancer_status`" ) # noqa: E501
3583+
3584+ collection_formats = {}
3585+
3586+ path_params = {}
3587+
3588+ query_params = []
3589+
3590+ header_params = {}
3591+
3592+ form_params = []
3593+ local_var_files = {}
3594+
3595+ body_params = None
3596+ if 'body' in params :
3597+ body_params = params ['body' ]
3598+ # HTTP header `Accept`
3599+ header_params ['Accept' ] = self .api_client .select_header_accept (
3600+ ['application/json' ]) # noqa: E501
3601+
3602+ # HTTP header `Content-Type`
3603+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
3604+ ['text/plain' ]) # noqa: E501
3605+
3606+ # Authentication setting
3607+ auth_settings = ['volcengineSign' ] # noqa: E501
3608+
3609+ return self .api_client .call_api (
3610+ '/DescribeLoadBalancerStatus/2020-04-01/clb/get/text_plain/' , 'GET' ,
3611+ path_params ,
3612+ query_params ,
3613+ header_params ,
3614+ body = body_params ,
3615+ post_params = form_params ,
3616+ files = local_var_files ,
3617+ response_type = 'DescribeLoadBalancerStatusResponse' , # noqa: E501
3618+ auth_settings = auth_settings ,
3619+ async_req = params .get ('async_req' ),
3620+ _return_http_data_only = params .get ('_return_http_data_only' ),
3621+ _preload_content = params .get ('_preload_content' , True ),
3622+ _request_timeout = params .get ('_request_timeout' ),
3623+ collection_formats = collection_formats )
3624+
35283625 def describe_load_balancers (self , body , ** kwargs ): # noqa: E501
35293626 """describe_load_balancers # noqa: E501
35303627
0 commit comments