Example #1
0
 def inputs_format(self):
     return [
         Service.InputItem(name='dict action_info',
                           key='act_info',
                           type='dict',
                           required=True),
         Service.InputItem(name='role',
                           key='role',
                           type='string',
                           required=True),
     ]
Example #2
0
 def inputs_format(self):
     return [
         Service.InputItem(name='dict action_info',
                           key='act_info',
                           type='dict',
                           required=True),
         Service.InputItem(name='target_ips',
                           key='target_ips',
                           type='list',
                           required=True),
     ]