@@ -3040,6 +3040,200 @@ def delete_waf_service_certificate_with_http_info(self, body, **kwargs): # noqa
30403040 _request_timeout = params .get ('_request_timeout' ),
30413041 collection_formats = collection_formats )
30423042
3043+ def get_domain_info (self , body , ** kwargs ): # noqa: E501
3044+ """get_domain_info # noqa: E501
3045+
3046+ This method makes a synchronous HTTP request by default. To make an
3047+ asynchronous HTTP request, please pass async_req=True
3048+ >>> thread = api.get_domain_info(body, async_req=True)
3049+ >>> result = thread.get()
3050+
3051+ :param async_req bool
3052+ :param GetDomainInfoRequest body: (required)
3053+ :return: GetDomainInfoResponse
3054+ If the method is called asynchronously,
3055+ returns the request thread.
3056+ """
3057+ kwargs ['_return_http_data_only' ] = True
3058+ if kwargs .get ('async_req' ):
3059+ return self .get_domain_info_with_http_info (body , ** kwargs ) # noqa: E501
3060+ else :
3061+ (data ) = self .get_domain_info_with_http_info (body , ** kwargs ) # noqa: E501
3062+ return data
3063+
3064+ def get_domain_info_with_http_info (self , body , ** kwargs ): # noqa: E501
3065+ """get_domain_info # noqa: E501
3066+
3067+ This method makes a synchronous HTTP request by default. To make an
3068+ asynchronous HTTP request, please pass async_req=True
3069+ >>> thread = api.get_domain_info_with_http_info(body, async_req=True)
3070+ >>> result = thread.get()
3071+
3072+ :param async_req bool
3073+ :param GetDomainInfoRequest body: (required)
3074+ :return: GetDomainInfoResponse
3075+ If the method is called asynchronously,
3076+ returns the request thread.
3077+ """
3078+
3079+ all_params = ['body' ] # noqa: E501
3080+ all_params .append ('async_req' )
3081+ all_params .append ('_return_http_data_only' )
3082+ all_params .append ('_preload_content' )
3083+ all_params .append ('_request_timeout' )
3084+
3085+ params = locals ()
3086+ for key , val in six .iteritems (params ['kwargs' ]):
3087+ if key not in all_params :
3088+ raise TypeError (
3089+ "Got an unexpected keyword argument '%s'"
3090+ " to method get_domain_info" % key
3091+ )
3092+ params [key ] = val
3093+ del params ['kwargs' ]
3094+ # verify the required parameter 'body' is set
3095+ if self .api_client .client_side_validation and ('body' not in params or
3096+ params ['body' ] is None ): # noqa: E501
3097+ raise ValueError ("Missing the required parameter `body` when calling `get_domain_info`" ) # noqa: E501
3098+
3099+ collection_formats = {}
3100+
3101+ path_params = {}
3102+
3103+ query_params = []
3104+
3105+ header_params = {}
3106+
3107+ form_params = []
3108+ local_var_files = {}
3109+
3110+ body_params = None
3111+ if 'body' in params :
3112+ body_params = params ['body' ]
3113+ # HTTP header `Accept`
3114+ header_params ['Accept' ] = self .api_client .select_header_accept (
3115+ ['application/json' ]) # noqa: E501
3116+
3117+ # HTTP header `Content-Type`
3118+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
3119+ ['application/json' ]) # noqa: E501
3120+
3121+ # Authentication setting
3122+ auth_settings = ['volcengineSign' ] # noqa: E501
3123+
3124+ return self .api_client .call_api (
3125+ '/GetDomainInfo/2023-12-25/waf/post/application_json/' , 'POST' ,
3126+ path_params ,
3127+ query_params ,
3128+ header_params ,
3129+ body = body_params ,
3130+ post_params = form_params ,
3131+ files = local_var_files ,
3132+ response_type = 'GetDomainInfoResponse' , # noqa: E501
3133+ auth_settings = auth_settings ,
3134+ async_req = params .get ('async_req' ),
3135+ _return_http_data_only = params .get ('_return_http_data_only' ),
3136+ _preload_content = params .get ('_preload_content' , True ),
3137+ _request_timeout = params .get ('_request_timeout' ),
3138+ collection_formats = collection_formats )
3139+
3140+ def get_instance_ctl (self , body , ** kwargs ): # noqa: E501
3141+ """get_instance_ctl # noqa: E501
3142+
3143+ This method makes a synchronous HTTP request by default. To make an
3144+ asynchronous HTTP request, please pass async_req=True
3145+ >>> thread = api.get_instance_ctl(body, async_req=True)
3146+ >>> result = thread.get()
3147+
3148+ :param async_req bool
3149+ :param GetInstanceCtlRequest body: (required)
3150+ :return: GetInstanceCtlResponse
3151+ If the method is called asynchronously,
3152+ returns the request thread.
3153+ """
3154+ kwargs ['_return_http_data_only' ] = True
3155+ if kwargs .get ('async_req' ):
3156+ return self .get_instance_ctl_with_http_info (body , ** kwargs ) # noqa: E501
3157+ else :
3158+ (data ) = self .get_instance_ctl_with_http_info (body , ** kwargs ) # noqa: E501
3159+ return data
3160+
3161+ def get_instance_ctl_with_http_info (self , body , ** kwargs ): # noqa: E501
3162+ """get_instance_ctl # noqa: E501
3163+
3164+ This method makes a synchronous HTTP request by default. To make an
3165+ asynchronous HTTP request, please pass async_req=True
3166+ >>> thread = api.get_instance_ctl_with_http_info(body, async_req=True)
3167+ >>> result = thread.get()
3168+
3169+ :param async_req bool
3170+ :param GetInstanceCtlRequest body: (required)
3171+ :return: GetInstanceCtlResponse
3172+ If the method is called asynchronously,
3173+ returns the request thread.
3174+ """
3175+
3176+ all_params = ['body' ] # noqa: E501
3177+ all_params .append ('async_req' )
3178+ all_params .append ('_return_http_data_only' )
3179+ all_params .append ('_preload_content' )
3180+ all_params .append ('_request_timeout' )
3181+
3182+ params = locals ()
3183+ for key , val in six .iteritems (params ['kwargs' ]):
3184+ if key not in all_params :
3185+ raise TypeError (
3186+ "Got an unexpected keyword argument '%s'"
3187+ " to method get_instance_ctl" % key
3188+ )
3189+ params [key ] = val
3190+ del params ['kwargs' ]
3191+ # verify the required parameter 'body' is set
3192+ if self .api_client .client_side_validation and ('body' not in params or
3193+ params ['body' ] is None ): # noqa: E501
3194+ raise ValueError ("Missing the required parameter `body` when calling `get_instance_ctl`" ) # noqa: E501
3195+
3196+ collection_formats = {}
3197+
3198+ path_params = {}
3199+
3200+ query_params = []
3201+
3202+ header_params = {}
3203+
3204+ form_params = []
3205+ local_var_files = {}
3206+
3207+ body_params = None
3208+ if 'body' in params :
3209+ body_params = params ['body' ]
3210+ # HTTP header `Accept`
3211+ header_params ['Accept' ] = self .api_client .select_header_accept (
3212+ ['application/json' ]) # noqa: E501
3213+
3214+ # HTTP header `Content-Type`
3215+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
3216+ ['application/json' ]) # noqa: E501
3217+
3218+ # Authentication setting
3219+ auth_settings = ['volcengineSign' ] # noqa: E501
3220+
3221+ return self .api_client .call_api (
3222+ '/GetInstanceCtl/2023-12-25/waf/post/application_json/' , 'POST' ,
3223+ path_params ,
3224+ query_params ,
3225+ header_params ,
3226+ body = body_params ,
3227+ post_params = form_params ,
3228+ files = local_var_files ,
3229+ response_type = 'GetInstanceCtlResponse' , # noqa: E501
3230+ auth_settings = auth_settings ,
3231+ async_req = params .get ('async_req' ),
3232+ _return_http_data_only = params .get ('_return_http_data_only' ),
3233+ _preload_content = params .get ('_preload_content' , True ),
3234+ _request_timeout = params .get ('_request_timeout' ),
3235+ collection_formats = collection_formats )
3236+
30433237 def get_req_qps_analysis (self , body , ** kwargs ): # noqa: E501
30443238 """get_req_qps_analysis # noqa: E501
30453239
0 commit comments