Apache CloudStack 4.20.0.0 Root Admin API Reference

listUserData

List registered userdatas

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
idthe ID of the Userdatafalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf 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. Resources dedicated to a project are listed only if using the projectid parameter.false
nameUserdata name to look forfalse
pagefalse
pagesizefalse
projectidlist objects by project; if projectid=-1 lists All VMsfalse

Response Tags

Response NameDescription
idID of the ssh keypair
accountthe owner of the userdata
accountidthe owner id of the userdata
domainthe domain name of the userdata owner
domainidthe domain id of the userdata owner
domainpathpath of the domain to which the userdata owner belongs
nameName of the userdata
paramslist of parameters which contains the list of keys or string parameters that are needed to be passed for any variables declared in userdata
projectthe project name of the userdata
projectidthe project id of the userdata
userdatabase64 encoded userdata content