| Parameter Name | Description | Required | 
                                        
                                            | account | list resources by account. Must be used with the domainId parameter. | false | 
                                        
                                            | domainid | list only resources belonging to the domain specified | false | 
                                        
                                            | id | list the affinity group by the ID provided | false | 
                                        
                                            | isrecursive | defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false | 
                                        
                                            | keyword | List by keyword | false | 
                                        
                                            | listall | If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false | false | 
                                        
                                            | name | lists affinity groups by name | false | 
                                        
                                            | page |  | false | 
                                        
                                            | pagesize |  | false | 
                                        
                                            | projectid | list objects by project | false | 
                                        
                                            | type | lists affinity groups by type | false | 
                                        
                                            | virtualmachineid | lists affinity groups by virtual machine ID | false |