code: def create_qcos_client(self, app_uri):
          
  
          if (self.auth is None):
              return QcosClient(None)
  
          products = self.get_app_region_products(app_uri)
          auth = self.get_valid_app_auth(app_uri)
  
          if products is None or auth is None:
              return None
  
          return QcosClient(auth, products.get('api'))
docs: 创建资源管理客户端