@@ -3464,7 +3464,7 @@ def copy_alert(self, from_project, from_alert_name, to_project=None, to_alert_na
34643464 """
34653465 return copy_alert (self , from_project , from_alert_name , to_project = to_project , to_alert_name = to_alert_name , to_client = to_client , to_region_endpoint = to_region_endpoint )
34663466
3467- def list_project (self , offset = 0 , size = 100 , project_name_pattern = None , resource_group_id = '' ):
3467+ def list_project (self , offset = 0 , size = 100 , project_name_pattern = None , resource_group_id = '' , description = None ):
34683468 """ list the project
34693469 Unsuccessful operation will cause an LogException.
34703470
@@ -3480,6 +3480,9 @@ def list_project(self, offset=0, size=100, project_name_pattern=None, resource_g
34803480 :type resource_group_id: string
34813481 :param resource_group_id: the resource group id, used for the server to return project in resource group
34823482
3483+ :type description: string
3484+ :param description: use this to filter project by description, support fuzzy search
3485+
34833486 :return: ListProjectResponse
34843487
34853488 :raise: LogException
@@ -3497,6 +3500,8 @@ def list_project(self, offset=0, size=100, project_name_pattern=None, resource_g
34973500 params ['offset' ] = str (offset )
34983501 params ['size' ] = str (size )
34993502 params ['resourceGroupId' ] = resource_group_id
3503+ if description :
3504+ params ['description' ] = str (description )
35003505 (resp , header ) = self ._send ("GET" , None , None , resource , params , headers )
35013506 return ListProjectResponse (resp , header )
35023507
0 commit comments