mo.go 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868
  1. /*
  2. Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. package mo
  14. import (
  15. "reflect"
  16. "time"
  17. "github.com/vmware/govmomi/vim25/types"
  18. )
  19. type Alarm struct {
  20. ExtensibleManagedObject
  21. Info types.AlarmInfo `json:"info"`
  22. }
  23. func init() {
  24. t["Alarm"] = reflect.TypeOf((*Alarm)(nil)).Elem()
  25. }
  26. type AlarmManager struct {
  27. Self types.ManagedObjectReference `json:"self"`
  28. DefaultExpression []types.BaseAlarmExpression `json:"defaultExpression"`
  29. Description types.AlarmDescription `json:"description"`
  30. }
  31. func (m AlarmManager) Reference() types.ManagedObjectReference {
  32. return m.Self
  33. }
  34. func init() {
  35. t["AlarmManager"] = reflect.TypeOf((*AlarmManager)(nil)).Elem()
  36. }
  37. type AuthorizationManager struct {
  38. Self types.ManagedObjectReference `json:"self"`
  39. PrivilegeList []types.AuthorizationPrivilege `json:"privilegeList"`
  40. RoleList []types.AuthorizationRole `json:"roleList"`
  41. Description types.AuthorizationDescription `json:"description"`
  42. }
  43. func (m AuthorizationManager) Reference() types.ManagedObjectReference {
  44. return m.Self
  45. }
  46. func init() {
  47. t["AuthorizationManager"] = reflect.TypeOf((*AuthorizationManager)(nil)).Elem()
  48. }
  49. type CertificateManager struct {
  50. Self types.ManagedObjectReference `json:"self"`
  51. }
  52. func (m CertificateManager) Reference() types.ManagedObjectReference {
  53. return m.Self
  54. }
  55. func init() {
  56. t["CertificateManager"] = reflect.TypeOf((*CertificateManager)(nil)).Elem()
  57. }
  58. type ClusterComputeResource struct {
  59. ComputeResource
  60. Configuration types.ClusterConfigInfo `json:"configuration"`
  61. Recommendation []types.ClusterRecommendation `json:"recommendation"`
  62. DrsRecommendation []types.ClusterDrsRecommendation `json:"drsRecommendation"`
  63. HciConfig *types.ClusterComputeResourceHCIConfigInfo `json:"hciConfig"`
  64. MigrationHistory []types.ClusterDrsMigration `json:"migrationHistory"`
  65. ActionHistory []types.ClusterActionHistory `json:"actionHistory"`
  66. DrsFault []types.ClusterDrsFaults `json:"drsFault"`
  67. }
  68. func init() {
  69. t["ClusterComputeResource"] = reflect.TypeOf((*ClusterComputeResource)(nil)).Elem()
  70. }
  71. type ClusterEVCManager struct {
  72. ExtensibleManagedObject
  73. ManagedCluster types.ManagedObjectReference `json:"managedCluster"`
  74. EvcState types.ClusterEVCManagerEVCState `json:"evcState"`
  75. }
  76. func init() {
  77. t["ClusterEVCManager"] = reflect.TypeOf((*ClusterEVCManager)(nil)).Elem()
  78. }
  79. type ClusterProfile struct {
  80. Profile
  81. }
  82. func init() {
  83. t["ClusterProfile"] = reflect.TypeOf((*ClusterProfile)(nil)).Elem()
  84. }
  85. type ClusterProfileManager struct {
  86. ProfileManager
  87. }
  88. func init() {
  89. t["ClusterProfileManager"] = reflect.TypeOf((*ClusterProfileManager)(nil)).Elem()
  90. }
  91. type ComputeResource struct {
  92. ManagedEntity
  93. ResourcePool *types.ManagedObjectReference `json:"resourcePool"`
  94. Host []types.ManagedObjectReference `json:"host"`
  95. Datastore []types.ManagedObjectReference `json:"datastore"`
  96. Network []types.ManagedObjectReference `json:"network"`
  97. Summary types.BaseComputeResourceSummary `json:"summary"`
  98. EnvironmentBrowser *types.ManagedObjectReference `json:"environmentBrowser"`
  99. ConfigurationEx types.BaseComputeResourceConfigInfo `json:"configurationEx"`
  100. LifecycleManaged *bool `json:"lifecycleManaged"`
  101. }
  102. func (m *ComputeResource) Entity() *ManagedEntity {
  103. return &m.ManagedEntity
  104. }
  105. func init() {
  106. t["ComputeResource"] = reflect.TypeOf((*ComputeResource)(nil)).Elem()
  107. }
  108. type ContainerView struct {
  109. ManagedObjectView
  110. Container types.ManagedObjectReference `json:"container"`
  111. Type []string `json:"type"`
  112. Recursive bool `json:"recursive"`
  113. }
  114. func init() {
  115. t["ContainerView"] = reflect.TypeOf((*ContainerView)(nil)).Elem()
  116. }
  117. type CryptoManager struct {
  118. Self types.ManagedObjectReference `json:"self"`
  119. Enabled bool `json:"enabled"`
  120. }
  121. func (m CryptoManager) Reference() types.ManagedObjectReference {
  122. return m.Self
  123. }
  124. func init() {
  125. t["CryptoManager"] = reflect.TypeOf((*CryptoManager)(nil)).Elem()
  126. }
  127. type CryptoManagerHost struct {
  128. CryptoManager
  129. }
  130. func init() {
  131. t["CryptoManagerHost"] = reflect.TypeOf((*CryptoManagerHost)(nil)).Elem()
  132. }
  133. type CryptoManagerHostKMS struct {
  134. CryptoManagerHost
  135. }
  136. func init() {
  137. t["CryptoManagerHostKMS"] = reflect.TypeOf((*CryptoManagerHostKMS)(nil)).Elem()
  138. }
  139. type CryptoManagerKmip struct {
  140. CryptoManager
  141. KmipServers []types.KmipClusterInfo `json:"kmipServers"`
  142. }
  143. func init() {
  144. t["CryptoManagerKmip"] = reflect.TypeOf((*CryptoManagerKmip)(nil)).Elem()
  145. }
  146. type CustomFieldsManager struct {
  147. Self types.ManagedObjectReference `json:"self"`
  148. Field []types.CustomFieldDef `json:"field"`
  149. }
  150. func (m CustomFieldsManager) Reference() types.ManagedObjectReference {
  151. return m.Self
  152. }
  153. func init() {
  154. t["CustomFieldsManager"] = reflect.TypeOf((*CustomFieldsManager)(nil)).Elem()
  155. }
  156. type CustomizationSpecManager struct {
  157. Self types.ManagedObjectReference `json:"self"`
  158. Info []types.CustomizationSpecInfo `json:"info"`
  159. EncryptionKey []byte `json:"encryptionKey"`
  160. }
  161. func (m CustomizationSpecManager) Reference() types.ManagedObjectReference {
  162. return m.Self
  163. }
  164. func init() {
  165. t["CustomizationSpecManager"] = reflect.TypeOf((*CustomizationSpecManager)(nil)).Elem()
  166. }
  167. type Datacenter struct {
  168. ManagedEntity
  169. VmFolder types.ManagedObjectReference `json:"vmFolder"`
  170. HostFolder types.ManagedObjectReference `json:"hostFolder"`
  171. DatastoreFolder types.ManagedObjectReference `json:"datastoreFolder"`
  172. NetworkFolder types.ManagedObjectReference `json:"networkFolder"`
  173. Datastore []types.ManagedObjectReference `json:"datastore"`
  174. Network []types.ManagedObjectReference `json:"network"`
  175. Configuration types.DatacenterConfigInfo `json:"configuration"`
  176. }
  177. func (m *Datacenter) Entity() *ManagedEntity {
  178. return &m.ManagedEntity
  179. }
  180. func init() {
  181. t["Datacenter"] = reflect.TypeOf((*Datacenter)(nil)).Elem()
  182. }
  183. type Datastore struct {
  184. ManagedEntity
  185. Info types.BaseDatastoreInfo `json:"info"`
  186. Summary types.DatastoreSummary `json:"summary"`
  187. Host []types.DatastoreHostMount `json:"host"`
  188. Vm []types.ManagedObjectReference `json:"vm"`
  189. Browser types.ManagedObjectReference `json:"browser"`
  190. Capability types.DatastoreCapability `json:"capability"`
  191. IormConfiguration *types.StorageIORMInfo `json:"iormConfiguration"`
  192. }
  193. func (m *Datastore) Entity() *ManagedEntity {
  194. return &m.ManagedEntity
  195. }
  196. func init() {
  197. t["Datastore"] = reflect.TypeOf((*Datastore)(nil)).Elem()
  198. }
  199. type DatastoreNamespaceManager struct {
  200. Self types.ManagedObjectReference `json:"self"`
  201. }
  202. func (m DatastoreNamespaceManager) Reference() types.ManagedObjectReference {
  203. return m.Self
  204. }
  205. func init() {
  206. t["DatastoreNamespaceManager"] = reflect.TypeOf((*DatastoreNamespaceManager)(nil)).Elem()
  207. }
  208. type DiagnosticManager struct {
  209. Self types.ManagedObjectReference `json:"self"`
  210. }
  211. func (m DiagnosticManager) Reference() types.ManagedObjectReference {
  212. return m.Self
  213. }
  214. func init() {
  215. t["DiagnosticManager"] = reflect.TypeOf((*DiagnosticManager)(nil)).Elem()
  216. }
  217. type DistributedVirtualPortgroup struct {
  218. Network
  219. Key string `json:"key"`
  220. Config types.DVPortgroupConfigInfo `json:"config"`
  221. PortKeys []string `json:"portKeys"`
  222. }
  223. func init() {
  224. t["DistributedVirtualPortgroup"] = reflect.TypeOf((*DistributedVirtualPortgroup)(nil)).Elem()
  225. }
  226. type DistributedVirtualSwitch struct {
  227. ManagedEntity
  228. Uuid string `json:"uuid"`
  229. Capability types.DVSCapability `json:"capability"`
  230. Summary types.DVSSummary `json:"summary"`
  231. Config types.BaseDVSConfigInfo `json:"config"`
  232. NetworkResourcePool []types.DVSNetworkResourcePool `json:"networkResourcePool"`
  233. Portgroup []types.ManagedObjectReference `json:"portgroup"`
  234. Runtime *types.DVSRuntimeInfo `json:"runtime"`
  235. }
  236. func (m *DistributedVirtualSwitch) Entity() *ManagedEntity {
  237. return &m.ManagedEntity
  238. }
  239. func init() {
  240. t["DistributedVirtualSwitch"] = reflect.TypeOf((*DistributedVirtualSwitch)(nil)).Elem()
  241. }
  242. type DistributedVirtualSwitchManager struct {
  243. Self types.ManagedObjectReference `json:"self"`
  244. }
  245. func (m DistributedVirtualSwitchManager) Reference() types.ManagedObjectReference {
  246. return m.Self
  247. }
  248. func init() {
  249. t["DistributedVirtualSwitchManager"] = reflect.TypeOf((*DistributedVirtualSwitchManager)(nil)).Elem()
  250. }
  251. type EnvironmentBrowser struct {
  252. Self types.ManagedObjectReference `json:"self"`
  253. DatastoreBrowser *types.ManagedObjectReference `json:"datastoreBrowser"`
  254. }
  255. func (m EnvironmentBrowser) Reference() types.ManagedObjectReference {
  256. return m.Self
  257. }
  258. func init() {
  259. t["EnvironmentBrowser"] = reflect.TypeOf((*EnvironmentBrowser)(nil)).Elem()
  260. }
  261. type EventHistoryCollector struct {
  262. HistoryCollector
  263. LatestPage []types.BaseEvent `json:"latestPage"`
  264. }
  265. func init() {
  266. t["EventHistoryCollector"] = reflect.TypeOf((*EventHistoryCollector)(nil)).Elem()
  267. }
  268. type EventManager struct {
  269. Self types.ManagedObjectReference `json:"self"`
  270. Description types.EventDescription `json:"description"`
  271. LatestEvent types.BaseEvent `json:"latestEvent"`
  272. MaxCollector int32 `json:"maxCollector"`
  273. }
  274. func (m EventManager) Reference() types.ManagedObjectReference {
  275. return m.Self
  276. }
  277. func init() {
  278. t["EventManager"] = reflect.TypeOf((*EventManager)(nil)).Elem()
  279. }
  280. type ExtensibleManagedObject struct {
  281. Self types.ManagedObjectReference `json:"self"`
  282. Value []types.BaseCustomFieldValue `json:"value"`
  283. AvailableField []types.CustomFieldDef `json:"availableField"`
  284. }
  285. func (m ExtensibleManagedObject) Reference() types.ManagedObjectReference {
  286. return m.Self
  287. }
  288. func init() {
  289. t["ExtensibleManagedObject"] = reflect.TypeOf((*ExtensibleManagedObject)(nil)).Elem()
  290. }
  291. type ExtensionManager struct {
  292. Self types.ManagedObjectReference `json:"self"`
  293. ExtensionList []types.Extension `json:"extensionList"`
  294. }
  295. func (m ExtensionManager) Reference() types.ManagedObjectReference {
  296. return m.Self
  297. }
  298. func init() {
  299. t["ExtensionManager"] = reflect.TypeOf((*ExtensionManager)(nil)).Elem()
  300. }
  301. type FailoverClusterConfigurator struct {
  302. Self types.ManagedObjectReference `json:"self"`
  303. DisabledConfigureMethod []string `json:"disabledConfigureMethod"`
  304. }
  305. func (m FailoverClusterConfigurator) Reference() types.ManagedObjectReference {
  306. return m.Self
  307. }
  308. func init() {
  309. t["FailoverClusterConfigurator"] = reflect.TypeOf((*FailoverClusterConfigurator)(nil)).Elem()
  310. }
  311. type FailoverClusterManager struct {
  312. Self types.ManagedObjectReference `json:"self"`
  313. DisabledClusterMethod []string `json:"disabledClusterMethod"`
  314. }
  315. func (m FailoverClusterManager) Reference() types.ManagedObjectReference {
  316. return m.Self
  317. }
  318. func init() {
  319. t["FailoverClusterManager"] = reflect.TypeOf((*FailoverClusterManager)(nil)).Elem()
  320. }
  321. type FileManager struct {
  322. Self types.ManagedObjectReference `json:"self"`
  323. }
  324. func (m FileManager) Reference() types.ManagedObjectReference {
  325. return m.Self
  326. }
  327. func init() {
  328. t["FileManager"] = reflect.TypeOf((*FileManager)(nil)).Elem()
  329. }
  330. type Folder struct {
  331. ManagedEntity
  332. ChildType []string `json:"childType"`
  333. ChildEntity []types.ManagedObjectReference `json:"childEntity"`
  334. Namespace *string `json:"namespace"`
  335. }
  336. func (m *Folder) Entity() *ManagedEntity {
  337. return &m.ManagedEntity
  338. }
  339. func init() {
  340. t["Folder"] = reflect.TypeOf((*Folder)(nil)).Elem()
  341. }
  342. type GuestAliasManager struct {
  343. Self types.ManagedObjectReference `json:"self"`
  344. }
  345. func (m GuestAliasManager) Reference() types.ManagedObjectReference {
  346. return m.Self
  347. }
  348. func init() {
  349. t["GuestAliasManager"] = reflect.TypeOf((*GuestAliasManager)(nil)).Elem()
  350. }
  351. type GuestAuthManager struct {
  352. Self types.ManagedObjectReference `json:"self"`
  353. }
  354. func (m GuestAuthManager) Reference() types.ManagedObjectReference {
  355. return m.Self
  356. }
  357. func init() {
  358. t["GuestAuthManager"] = reflect.TypeOf((*GuestAuthManager)(nil)).Elem()
  359. }
  360. type GuestFileManager struct {
  361. Self types.ManagedObjectReference `json:"self"`
  362. }
  363. func (m GuestFileManager) Reference() types.ManagedObjectReference {
  364. return m.Self
  365. }
  366. func init() {
  367. t["GuestFileManager"] = reflect.TypeOf((*GuestFileManager)(nil)).Elem()
  368. }
  369. type GuestOperationsManager struct {
  370. Self types.ManagedObjectReference `json:"self"`
  371. AuthManager *types.ManagedObjectReference `json:"authManager"`
  372. FileManager *types.ManagedObjectReference `json:"fileManager"`
  373. ProcessManager *types.ManagedObjectReference `json:"processManager"`
  374. GuestWindowsRegistryManager *types.ManagedObjectReference `json:"guestWindowsRegistryManager"`
  375. AliasManager *types.ManagedObjectReference `json:"aliasManager"`
  376. }
  377. func (m GuestOperationsManager) Reference() types.ManagedObjectReference {
  378. return m.Self
  379. }
  380. func init() {
  381. t["GuestOperationsManager"] = reflect.TypeOf((*GuestOperationsManager)(nil)).Elem()
  382. }
  383. type GuestProcessManager struct {
  384. Self types.ManagedObjectReference `json:"self"`
  385. }
  386. func (m GuestProcessManager) Reference() types.ManagedObjectReference {
  387. return m.Self
  388. }
  389. func init() {
  390. t["GuestProcessManager"] = reflect.TypeOf((*GuestProcessManager)(nil)).Elem()
  391. }
  392. type GuestWindowsRegistryManager struct {
  393. Self types.ManagedObjectReference `json:"self"`
  394. }
  395. func (m GuestWindowsRegistryManager) Reference() types.ManagedObjectReference {
  396. return m.Self
  397. }
  398. func init() {
  399. t["GuestWindowsRegistryManager"] = reflect.TypeOf((*GuestWindowsRegistryManager)(nil)).Elem()
  400. }
  401. type HealthUpdateManager struct {
  402. Self types.ManagedObjectReference `json:"self"`
  403. }
  404. func (m HealthUpdateManager) Reference() types.ManagedObjectReference {
  405. return m.Self
  406. }
  407. func init() {
  408. t["HealthUpdateManager"] = reflect.TypeOf((*HealthUpdateManager)(nil)).Elem()
  409. }
  410. type HistoryCollector struct {
  411. Self types.ManagedObjectReference `json:"self"`
  412. Filter types.AnyType `json:"filter"`
  413. }
  414. func (m HistoryCollector) Reference() types.ManagedObjectReference {
  415. return m.Self
  416. }
  417. func init() {
  418. t["HistoryCollector"] = reflect.TypeOf((*HistoryCollector)(nil)).Elem()
  419. }
  420. type HostAccessManager struct {
  421. Self types.ManagedObjectReference `json:"self"`
  422. LockdownMode types.HostLockdownMode `json:"lockdownMode"`
  423. }
  424. func (m HostAccessManager) Reference() types.ManagedObjectReference {
  425. return m.Self
  426. }
  427. func init() {
  428. t["HostAccessManager"] = reflect.TypeOf((*HostAccessManager)(nil)).Elem()
  429. }
  430. type HostActiveDirectoryAuthentication struct {
  431. HostDirectoryStore
  432. }
  433. func init() {
  434. t["HostActiveDirectoryAuthentication"] = reflect.TypeOf((*HostActiveDirectoryAuthentication)(nil)).Elem()
  435. }
  436. type HostAssignableHardwareManager struct {
  437. Self types.ManagedObjectReference `json:"self"`
  438. Binding []types.HostAssignableHardwareBinding `json:"binding"`
  439. Config types.HostAssignableHardwareConfig `json:"config"`
  440. }
  441. func (m HostAssignableHardwareManager) Reference() types.ManagedObjectReference {
  442. return m.Self
  443. }
  444. func init() {
  445. t["HostAssignableHardwareManager"] = reflect.TypeOf((*HostAssignableHardwareManager)(nil)).Elem()
  446. }
  447. type HostAuthenticationManager struct {
  448. Self types.ManagedObjectReference `json:"self"`
  449. Info types.HostAuthenticationManagerInfo `json:"info"`
  450. SupportedStore []types.ManagedObjectReference `json:"supportedStore"`
  451. }
  452. func (m HostAuthenticationManager) Reference() types.ManagedObjectReference {
  453. return m.Self
  454. }
  455. func init() {
  456. t["HostAuthenticationManager"] = reflect.TypeOf((*HostAuthenticationManager)(nil)).Elem()
  457. }
  458. type HostAuthenticationStore struct {
  459. Self types.ManagedObjectReference `json:"self"`
  460. Info types.BaseHostAuthenticationStoreInfo `json:"info"`
  461. }
  462. func (m HostAuthenticationStore) Reference() types.ManagedObjectReference {
  463. return m.Self
  464. }
  465. func init() {
  466. t["HostAuthenticationStore"] = reflect.TypeOf((*HostAuthenticationStore)(nil)).Elem()
  467. }
  468. type HostAutoStartManager struct {
  469. Self types.ManagedObjectReference `json:"self"`
  470. Config types.HostAutoStartManagerConfig `json:"config"`
  471. }
  472. func (m HostAutoStartManager) Reference() types.ManagedObjectReference {
  473. return m.Self
  474. }
  475. func init() {
  476. t["HostAutoStartManager"] = reflect.TypeOf((*HostAutoStartManager)(nil)).Elem()
  477. }
  478. type HostBootDeviceSystem struct {
  479. Self types.ManagedObjectReference `json:"self"`
  480. }
  481. func (m HostBootDeviceSystem) Reference() types.ManagedObjectReference {
  482. return m.Self
  483. }
  484. func init() {
  485. t["HostBootDeviceSystem"] = reflect.TypeOf((*HostBootDeviceSystem)(nil)).Elem()
  486. }
  487. type HostCacheConfigurationManager struct {
  488. Self types.ManagedObjectReference `json:"self"`
  489. CacheConfigurationInfo []types.HostCacheConfigurationInfo `json:"cacheConfigurationInfo"`
  490. }
  491. func (m HostCacheConfigurationManager) Reference() types.ManagedObjectReference {
  492. return m.Self
  493. }
  494. func init() {
  495. t["HostCacheConfigurationManager"] = reflect.TypeOf((*HostCacheConfigurationManager)(nil)).Elem()
  496. }
  497. type HostCertificateManager struct {
  498. Self types.ManagedObjectReference `json:"self"`
  499. CertificateInfo types.HostCertificateManagerCertificateInfo `json:"certificateInfo"`
  500. }
  501. func (m HostCertificateManager) Reference() types.ManagedObjectReference {
  502. return m.Self
  503. }
  504. func init() {
  505. t["HostCertificateManager"] = reflect.TypeOf((*HostCertificateManager)(nil)).Elem()
  506. }
  507. type HostCpuSchedulerSystem struct {
  508. ExtensibleManagedObject
  509. HyperthreadInfo *types.HostHyperThreadScheduleInfo `json:"hyperthreadInfo"`
  510. }
  511. func init() {
  512. t["HostCpuSchedulerSystem"] = reflect.TypeOf((*HostCpuSchedulerSystem)(nil)).Elem()
  513. }
  514. type HostDatastoreBrowser struct {
  515. Self types.ManagedObjectReference `json:"self"`
  516. Datastore []types.ManagedObjectReference `json:"datastore"`
  517. SupportedType []types.BaseFileQuery `json:"supportedType"`
  518. }
  519. func (m HostDatastoreBrowser) Reference() types.ManagedObjectReference {
  520. return m.Self
  521. }
  522. func init() {
  523. t["HostDatastoreBrowser"] = reflect.TypeOf((*HostDatastoreBrowser)(nil)).Elem()
  524. }
  525. type HostDatastoreSystem struct {
  526. Self types.ManagedObjectReference `json:"self"`
  527. Datastore []types.ManagedObjectReference `json:"datastore"`
  528. Capabilities types.HostDatastoreSystemCapabilities `json:"capabilities"`
  529. }
  530. func (m HostDatastoreSystem) Reference() types.ManagedObjectReference {
  531. return m.Self
  532. }
  533. func init() {
  534. t["HostDatastoreSystem"] = reflect.TypeOf((*HostDatastoreSystem)(nil)).Elem()
  535. }
  536. type HostDateTimeSystem struct {
  537. Self types.ManagedObjectReference `json:"self"`
  538. DateTimeInfo types.HostDateTimeInfo `json:"dateTimeInfo"`
  539. }
  540. func (m HostDateTimeSystem) Reference() types.ManagedObjectReference {
  541. return m.Self
  542. }
  543. func init() {
  544. t["HostDateTimeSystem"] = reflect.TypeOf((*HostDateTimeSystem)(nil)).Elem()
  545. }
  546. type HostDiagnosticSystem struct {
  547. Self types.ManagedObjectReference `json:"self"`
  548. ActivePartition *types.HostDiagnosticPartition `json:"activePartition"`
  549. }
  550. func (m HostDiagnosticSystem) Reference() types.ManagedObjectReference {
  551. return m.Self
  552. }
  553. func init() {
  554. t["HostDiagnosticSystem"] = reflect.TypeOf((*HostDiagnosticSystem)(nil)).Elem()
  555. }
  556. type HostDirectoryStore struct {
  557. HostAuthenticationStore
  558. }
  559. func init() {
  560. t["HostDirectoryStore"] = reflect.TypeOf((*HostDirectoryStore)(nil)).Elem()
  561. }
  562. type HostEsxAgentHostManager struct {
  563. Self types.ManagedObjectReference `json:"self"`
  564. ConfigInfo types.HostEsxAgentHostManagerConfigInfo `json:"configInfo"`
  565. }
  566. func (m HostEsxAgentHostManager) Reference() types.ManagedObjectReference {
  567. return m.Self
  568. }
  569. func init() {
  570. t["HostEsxAgentHostManager"] = reflect.TypeOf((*HostEsxAgentHostManager)(nil)).Elem()
  571. }
  572. type HostFirewallSystem struct {
  573. ExtensibleManagedObject
  574. FirewallInfo *types.HostFirewallInfo `json:"firewallInfo"`
  575. }
  576. func init() {
  577. t["HostFirewallSystem"] = reflect.TypeOf((*HostFirewallSystem)(nil)).Elem()
  578. }
  579. type HostFirmwareSystem struct {
  580. Self types.ManagedObjectReference `json:"self"`
  581. }
  582. func (m HostFirmwareSystem) Reference() types.ManagedObjectReference {
  583. return m.Self
  584. }
  585. func init() {
  586. t["HostFirmwareSystem"] = reflect.TypeOf((*HostFirmwareSystem)(nil)).Elem()
  587. }
  588. type HostGraphicsManager struct {
  589. ExtensibleManagedObject
  590. GraphicsInfo []types.HostGraphicsInfo `json:"graphicsInfo"`
  591. GraphicsConfig *types.HostGraphicsConfig `json:"graphicsConfig"`
  592. SharedPassthruGpuTypes []string `json:"sharedPassthruGpuTypes"`
  593. SharedGpuCapabilities []types.HostSharedGpuCapabilities `json:"sharedGpuCapabilities"`
  594. }
  595. func init() {
  596. t["HostGraphicsManager"] = reflect.TypeOf((*HostGraphicsManager)(nil)).Elem()
  597. }
  598. type HostHealthStatusSystem struct {
  599. Self types.ManagedObjectReference `json:"self"`
  600. Runtime types.HealthSystemRuntime `json:"runtime"`
  601. }
  602. func (m HostHealthStatusSystem) Reference() types.ManagedObjectReference {
  603. return m.Self
  604. }
  605. func init() {
  606. t["HostHealthStatusSystem"] = reflect.TypeOf((*HostHealthStatusSystem)(nil)).Elem()
  607. }
  608. type HostImageConfigManager struct {
  609. Self types.ManagedObjectReference `json:"self"`
  610. }
  611. func (m HostImageConfigManager) Reference() types.ManagedObjectReference {
  612. return m.Self
  613. }
  614. func init() {
  615. t["HostImageConfigManager"] = reflect.TypeOf((*HostImageConfigManager)(nil)).Elem()
  616. }
  617. type HostKernelModuleSystem struct {
  618. Self types.ManagedObjectReference `json:"self"`
  619. }
  620. func (m HostKernelModuleSystem) Reference() types.ManagedObjectReference {
  621. return m.Self
  622. }
  623. func init() {
  624. t["HostKernelModuleSystem"] = reflect.TypeOf((*HostKernelModuleSystem)(nil)).Elem()
  625. }
  626. type HostLocalAccountManager struct {
  627. Self types.ManagedObjectReference `json:"self"`
  628. }
  629. func (m HostLocalAccountManager) Reference() types.ManagedObjectReference {
  630. return m.Self
  631. }
  632. func init() {
  633. t["HostLocalAccountManager"] = reflect.TypeOf((*HostLocalAccountManager)(nil)).Elem()
  634. }
  635. type HostLocalAuthentication struct {
  636. HostAuthenticationStore
  637. }
  638. func init() {
  639. t["HostLocalAuthentication"] = reflect.TypeOf((*HostLocalAuthentication)(nil)).Elem()
  640. }
  641. type HostMemorySystem struct {
  642. ExtensibleManagedObject
  643. ConsoleReservationInfo *types.ServiceConsoleReservationInfo `json:"consoleReservationInfo"`
  644. VirtualMachineReservationInfo *types.VirtualMachineMemoryReservationInfo `json:"virtualMachineReservationInfo"`
  645. }
  646. func init() {
  647. t["HostMemorySystem"] = reflect.TypeOf((*HostMemorySystem)(nil)).Elem()
  648. }
  649. type HostNetworkSystem struct {
  650. ExtensibleManagedObject
  651. Capabilities *types.HostNetCapabilities `json:"capabilities"`
  652. NetworkInfo *types.HostNetworkInfo `json:"networkInfo"`
  653. OffloadCapabilities *types.HostNetOffloadCapabilities `json:"offloadCapabilities"`
  654. NetworkConfig *types.HostNetworkConfig `json:"networkConfig"`
  655. DnsConfig types.BaseHostDnsConfig `json:"dnsConfig"`
  656. IpRouteConfig types.BaseHostIpRouteConfig `json:"ipRouteConfig"`
  657. ConsoleIpRouteConfig types.BaseHostIpRouteConfig `json:"consoleIpRouteConfig"`
  658. }
  659. func init() {
  660. t["HostNetworkSystem"] = reflect.TypeOf((*HostNetworkSystem)(nil)).Elem()
  661. }
  662. type HostNvdimmSystem struct {
  663. Self types.ManagedObjectReference `json:"self"`
  664. NvdimmSystemInfo types.NvdimmSystemInfo `json:"nvdimmSystemInfo"`
  665. }
  666. func (m HostNvdimmSystem) Reference() types.ManagedObjectReference {
  667. return m.Self
  668. }
  669. func init() {
  670. t["HostNvdimmSystem"] = reflect.TypeOf((*HostNvdimmSystem)(nil)).Elem()
  671. }
  672. type HostPatchManager struct {
  673. Self types.ManagedObjectReference `json:"self"`
  674. }
  675. func (m HostPatchManager) Reference() types.ManagedObjectReference {
  676. return m.Self
  677. }
  678. func init() {
  679. t["HostPatchManager"] = reflect.TypeOf((*HostPatchManager)(nil)).Elem()
  680. }
  681. type HostPciPassthruSystem struct {
  682. ExtensibleManagedObject
  683. PciPassthruInfo []types.BaseHostPciPassthruInfo `json:"pciPassthruInfo"`
  684. SriovDevicePoolInfo []types.BaseHostSriovDevicePoolInfo `json:"sriovDevicePoolInfo"`
  685. }
  686. func init() {
  687. t["HostPciPassthruSystem"] = reflect.TypeOf((*HostPciPassthruSystem)(nil)).Elem()
  688. }
  689. type HostPowerSystem struct {
  690. Self types.ManagedObjectReference `json:"self"`
  691. Capability types.PowerSystemCapability `json:"capability"`
  692. Info types.PowerSystemInfo `json:"info"`
  693. }
  694. func (m HostPowerSystem) Reference() types.ManagedObjectReference {
  695. return m.Self
  696. }
  697. func init() {
  698. t["HostPowerSystem"] = reflect.TypeOf((*HostPowerSystem)(nil)).Elem()
  699. }
  700. type HostProfile struct {
  701. Profile
  702. ValidationState *string `json:"validationState"`
  703. ValidationStateUpdateTime *time.Time `json:"validationStateUpdateTime"`
  704. ValidationFailureInfo *types.HostProfileValidationFailureInfo `json:"validationFailureInfo"`
  705. ReferenceHost *types.ManagedObjectReference `json:"referenceHost"`
  706. }
  707. func init() {
  708. t["HostProfile"] = reflect.TypeOf((*HostProfile)(nil)).Elem()
  709. }
  710. type HostProfileManager struct {
  711. ProfileManager
  712. }
  713. func init() {
  714. t["HostProfileManager"] = reflect.TypeOf((*HostProfileManager)(nil)).Elem()
  715. }
  716. type HostServiceSystem struct {
  717. ExtensibleManagedObject
  718. ServiceInfo types.HostServiceInfo `json:"serviceInfo"`
  719. }
  720. func init() {
  721. t["HostServiceSystem"] = reflect.TypeOf((*HostServiceSystem)(nil)).Elem()
  722. }
  723. type HostSnmpSystem struct {
  724. Self types.ManagedObjectReference `json:"self"`
  725. Configuration types.HostSnmpConfigSpec `json:"configuration"`
  726. Limits types.HostSnmpSystemAgentLimits `json:"limits"`
  727. }
  728. func (m HostSnmpSystem) Reference() types.ManagedObjectReference {
  729. return m.Self
  730. }
  731. func init() {
  732. t["HostSnmpSystem"] = reflect.TypeOf((*HostSnmpSystem)(nil)).Elem()
  733. }
  734. type HostSpecificationManager struct {
  735. Self types.ManagedObjectReference `json:"self"`
  736. }
  737. func (m HostSpecificationManager) Reference() types.ManagedObjectReference {
  738. return m.Self
  739. }
  740. func init() {
  741. t["HostSpecificationManager"] = reflect.TypeOf((*HostSpecificationManager)(nil)).Elem()
  742. }
  743. type HostStorageSystem struct {
  744. ExtensibleManagedObject
  745. StorageDeviceInfo *types.HostStorageDeviceInfo `json:"storageDeviceInfo"`
  746. FileSystemVolumeInfo types.HostFileSystemVolumeInfo `json:"fileSystemVolumeInfo"`
  747. SystemFile []string `json:"systemFile"`
  748. MultipathStateInfo *types.HostMultipathStateInfo `json:"multipathStateInfo"`
  749. }
  750. func init() {
  751. t["HostStorageSystem"] = reflect.TypeOf((*HostStorageSystem)(nil)).Elem()
  752. }
  753. type HostSystem struct {
  754. ManagedEntity
  755. Runtime types.HostRuntimeInfo `json:"runtime"`
  756. Summary types.HostListSummary `json:"summary"`
  757. Hardware *types.HostHardwareInfo `json:"hardware"`
  758. Capability *types.HostCapability `json:"capability"`
  759. LicensableResource types.HostLicensableResourceInfo `json:"licensableResource"`
  760. RemediationState *types.HostSystemRemediationState `json:"remediationState"`
  761. PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `json:"precheckRemediationResult"`
  762. RemediationResult *types.ApplyHostProfileConfigurationResult `json:"remediationResult"`
  763. ComplianceCheckState *types.HostSystemComplianceCheckState `json:"complianceCheckState"`
  764. ComplianceCheckResult *types.ComplianceResult `json:"complianceCheckResult"`
  765. ConfigManager types.HostConfigManager `json:"configManager"`
  766. Config *types.HostConfigInfo `json:"config"`
  767. Vm []types.ManagedObjectReference `json:"vm"`
  768. Datastore []types.ManagedObjectReference `json:"datastore"`
  769. Network []types.ManagedObjectReference `json:"network"`
  770. DatastoreBrowser types.ManagedObjectReference `json:"datastoreBrowser"`
  771. SystemResources *types.HostSystemResourceInfo `json:"systemResources"`
  772. AnswerFileValidationState *types.AnswerFileStatusResult `json:"answerFileValidationState"`
  773. AnswerFileValidationResult *types.AnswerFileStatusResult `json:"answerFileValidationResult"`
  774. }
  775. func (m *HostSystem) Entity() *ManagedEntity {
  776. return &m.ManagedEntity
  777. }
  778. func init() {
  779. t["HostSystem"] = reflect.TypeOf((*HostSystem)(nil)).Elem()
  780. }
  781. type HostVFlashManager struct {
  782. Self types.ManagedObjectReference `json:"self"`
  783. VFlashConfigInfo *types.HostVFlashManagerVFlashConfigInfo `json:"vFlashConfigInfo"`
  784. }
  785. func (m HostVFlashManager) Reference() types.ManagedObjectReference {
  786. return m.Self
  787. }
  788. func init() {
  789. t["HostVFlashManager"] = reflect.TypeOf((*HostVFlashManager)(nil)).Elem()
  790. }
  791. type HostVMotionSystem struct {
  792. ExtensibleManagedObject
  793. NetConfig *types.HostVMotionNetConfig `json:"netConfig"`
  794. IpConfig *types.HostIpConfig `json:"ipConfig"`
  795. }
  796. func init() {
  797. t["HostVMotionSystem"] = reflect.TypeOf((*HostVMotionSystem)(nil)).Elem()
  798. }
  799. type HostVStorageObjectManager struct {
  800. VStorageObjectManagerBase
  801. }
  802. func init() {
  803. t["HostVStorageObjectManager"] = reflect.TypeOf((*HostVStorageObjectManager)(nil)).Elem()
  804. }
  805. type HostVirtualNicManager struct {
  806. ExtensibleManagedObject
  807. Info types.HostVirtualNicManagerInfo `json:"info"`
  808. }
  809. func init() {
  810. t["HostVirtualNicManager"] = reflect.TypeOf((*HostVirtualNicManager)(nil)).Elem()
  811. }
  812. type HostVsanInternalSystem struct {
  813. Self types.ManagedObjectReference `json:"self"`
  814. }
  815. func (m HostVsanInternalSystem) Reference() types.ManagedObjectReference {
  816. return m.Self
  817. }
  818. func init() {
  819. t["HostVsanInternalSystem"] = reflect.TypeOf((*HostVsanInternalSystem)(nil)).Elem()
  820. }
  821. type HostVsanSystem struct {
  822. Self types.ManagedObjectReference `json:"self"`
  823. Config types.VsanHostConfigInfo `json:"config"`
  824. }
  825. func (m HostVsanSystem) Reference() types.ManagedObjectReference {
  826. return m.Self
  827. }
  828. func init() {
  829. t["HostVsanSystem"] = reflect.TypeOf((*HostVsanSystem)(nil)).Elem()
  830. }
  831. type HttpNfcLease struct {
  832. Self types.ManagedObjectReference `json:"self"`
  833. InitializeProgress int32 `json:"initializeProgress"`
  834. TransferProgress int32 `json:"transferProgress"`
  835. Mode string `json:"mode"`
  836. Capabilities types.HttpNfcLeaseCapabilities `json:"capabilities"`
  837. Info *types.HttpNfcLeaseInfo `json:"info"`
  838. State types.HttpNfcLeaseState `json:"state"`
  839. Error *types.LocalizedMethodFault `json:"error"`
  840. }
  841. func (m HttpNfcLease) Reference() types.ManagedObjectReference {
  842. return m.Self
  843. }
  844. func init() {
  845. t["HttpNfcLease"] = reflect.TypeOf((*HttpNfcLease)(nil)).Elem()
  846. }
  847. type InventoryView struct {
  848. ManagedObjectView
  849. }
  850. func init() {
  851. t["InventoryView"] = reflect.TypeOf((*InventoryView)(nil)).Elem()
  852. }
  853. type IoFilterManager struct {
  854. Self types.ManagedObjectReference `json:"self"`
  855. }
  856. func (m IoFilterManager) Reference() types.ManagedObjectReference {
  857. return m.Self
  858. }
  859. func init() {
  860. t["IoFilterManager"] = reflect.TypeOf((*IoFilterManager)(nil)).Elem()
  861. }
  862. type IpPoolManager struct {
  863. Self types.ManagedObjectReference `json:"self"`
  864. }
  865. func (m IpPoolManager) Reference() types.ManagedObjectReference {
  866. return m.Self
  867. }
  868. func init() {
  869. t["IpPoolManager"] = reflect.TypeOf((*IpPoolManager)(nil)).Elem()
  870. }
  871. type IscsiManager struct {
  872. Self types.ManagedObjectReference `json:"self"`
  873. }
  874. func (m IscsiManager) Reference() types.ManagedObjectReference {
  875. return m.Self
  876. }
  877. func init() {
  878. t["IscsiManager"] = reflect.TypeOf((*IscsiManager)(nil)).Elem()
  879. }
  880. type LicenseAssignmentManager struct {
  881. Self types.ManagedObjectReference `json:"self"`
  882. }
  883. func (m LicenseAssignmentManager) Reference() types.ManagedObjectReference {
  884. return m.Self
  885. }
  886. func init() {
  887. t["LicenseAssignmentManager"] = reflect.TypeOf((*LicenseAssignmentManager)(nil)).Elem()
  888. }
  889. type LicenseManager struct {
  890. Self types.ManagedObjectReference `json:"self"`
  891. Source types.BaseLicenseSource `json:"source"`
  892. SourceAvailable bool `json:"sourceAvailable"`
  893. Diagnostics *types.LicenseDiagnostics `json:"diagnostics"`
  894. FeatureInfo []types.LicenseFeatureInfo `json:"featureInfo"`
  895. LicensedEdition string `json:"licensedEdition"`
  896. Licenses []types.LicenseManagerLicenseInfo `json:"licenses"`
  897. LicenseAssignmentManager *types.ManagedObjectReference `json:"licenseAssignmentManager"`
  898. Evaluation types.LicenseManagerEvaluationInfo `json:"evaluation"`
  899. }
  900. func (m LicenseManager) Reference() types.ManagedObjectReference {
  901. return m.Self
  902. }
  903. func init() {
  904. t["LicenseManager"] = reflect.TypeOf((*LicenseManager)(nil)).Elem()
  905. }
  906. type ListView struct {
  907. ManagedObjectView
  908. }
  909. func init() {
  910. t["ListView"] = reflect.TypeOf((*ListView)(nil)).Elem()
  911. }
  912. type LocalizationManager struct {
  913. Self types.ManagedObjectReference `json:"self"`
  914. Catalog []types.LocalizationManagerMessageCatalog `json:"catalog"`
  915. }
  916. func (m LocalizationManager) Reference() types.ManagedObjectReference {
  917. return m.Self
  918. }
  919. func init() {
  920. t["LocalizationManager"] = reflect.TypeOf((*LocalizationManager)(nil)).Elem()
  921. }
  922. type ManagedEntity struct {
  923. ExtensibleManagedObject
  924. Parent *types.ManagedObjectReference `json:"parent"`
  925. CustomValue []types.BaseCustomFieldValue `json:"customValue"`
  926. OverallStatus types.ManagedEntityStatus `json:"overallStatus"`
  927. ConfigStatus types.ManagedEntityStatus `json:"configStatus"`
  928. ConfigIssue []types.BaseEvent `json:"configIssue"`
  929. EffectiveRole []int32 `json:"effectiveRole"`
  930. Permission []types.Permission `json:"permission"`
  931. Name string `json:"name"`
  932. DisabledMethod []string `json:"disabledMethod"`
  933. RecentTask []types.ManagedObjectReference `json:"recentTask"`
  934. DeclaredAlarmState []types.AlarmState `json:"declaredAlarmState"`
  935. TriggeredAlarmState []types.AlarmState `json:"triggeredAlarmState"`
  936. AlarmActionsEnabled *bool `json:"alarmActionsEnabled"`
  937. Tag []types.Tag `json:"tag"`
  938. }
  939. func init() {
  940. t["ManagedEntity"] = reflect.TypeOf((*ManagedEntity)(nil)).Elem()
  941. }
  942. type ManagedObjectView struct {
  943. Self types.ManagedObjectReference `json:"self"`
  944. View []types.ManagedObjectReference `json:"view"`
  945. }
  946. func (m ManagedObjectView) Reference() types.ManagedObjectReference {
  947. return m.Self
  948. }
  949. func init() {
  950. t["ManagedObjectView"] = reflect.TypeOf((*ManagedObjectView)(nil)).Elem()
  951. }
  952. type MessageBusProxy struct {
  953. Self types.ManagedObjectReference `json:"self"`
  954. }
  955. func (m MessageBusProxy) Reference() types.ManagedObjectReference {
  956. return m.Self
  957. }
  958. func init() {
  959. t["MessageBusProxy"] = reflect.TypeOf((*MessageBusProxy)(nil)).Elem()
  960. }
  961. type Network struct {
  962. ManagedEntity
  963. Summary types.BaseNetworkSummary `json:"summary"`
  964. Host []types.ManagedObjectReference `json:"host"`
  965. Vm []types.ManagedObjectReference `json:"vm"`
  966. Name string `json:"name"`
  967. }
  968. func (m *Network) Entity() *ManagedEntity {
  969. return &m.ManagedEntity
  970. }
  971. func init() {
  972. t["Network"] = reflect.TypeOf((*Network)(nil)).Elem()
  973. }
  974. type OpaqueNetwork struct {
  975. Network
  976. Capability *types.OpaqueNetworkCapability `json:"capability"`
  977. ExtraConfig []types.BaseOptionValue `json:"extraConfig"`
  978. }
  979. func init() {
  980. t["OpaqueNetwork"] = reflect.TypeOf((*OpaqueNetwork)(nil)).Elem()
  981. }
  982. type OptionManager struct {
  983. Self types.ManagedObjectReference `json:"self"`
  984. SupportedOption []types.OptionDef `json:"supportedOption"`
  985. Setting []types.BaseOptionValue `json:"setting"`
  986. }
  987. func (m OptionManager) Reference() types.ManagedObjectReference {
  988. return m.Self
  989. }
  990. func init() {
  991. t["OptionManager"] = reflect.TypeOf((*OptionManager)(nil)).Elem()
  992. }
  993. type OverheadMemoryManager struct {
  994. Self types.ManagedObjectReference `json:"self"`
  995. }
  996. func (m OverheadMemoryManager) Reference() types.ManagedObjectReference {
  997. return m.Self
  998. }
  999. func init() {
  1000. t["OverheadMemoryManager"] = reflect.TypeOf((*OverheadMemoryManager)(nil)).Elem()
  1001. }
  1002. type OvfManager struct {
  1003. Self types.ManagedObjectReference `json:"self"`
  1004. OvfImportOption []types.OvfOptionInfo `json:"ovfImportOption"`
  1005. OvfExportOption []types.OvfOptionInfo `json:"ovfExportOption"`
  1006. }
  1007. func (m OvfManager) Reference() types.ManagedObjectReference {
  1008. return m.Self
  1009. }
  1010. func init() {
  1011. t["OvfManager"] = reflect.TypeOf((*OvfManager)(nil)).Elem()
  1012. }
  1013. type PerformanceManager struct {
  1014. Self types.ManagedObjectReference `json:"self"`
  1015. Description types.PerformanceDescription `json:"description"`
  1016. HistoricalInterval []types.PerfInterval `json:"historicalInterval"`
  1017. PerfCounter []types.PerfCounterInfo `json:"perfCounter"`
  1018. }
  1019. func (m PerformanceManager) Reference() types.ManagedObjectReference {
  1020. return m.Self
  1021. }
  1022. func init() {
  1023. t["PerformanceManager"] = reflect.TypeOf((*PerformanceManager)(nil)).Elem()
  1024. }
  1025. type Profile struct {
  1026. Self types.ManagedObjectReference `json:"self"`
  1027. Config types.BaseProfileConfigInfo `json:"config"`
  1028. Description *types.ProfileDescription `json:"description"`
  1029. Name string `json:"name"`
  1030. CreatedTime time.Time `json:"createdTime"`
  1031. ModifiedTime time.Time `json:"modifiedTime"`
  1032. Entity []types.ManagedObjectReference `json:"entity"`
  1033. ComplianceStatus string `json:"complianceStatus"`
  1034. }
  1035. func (m Profile) Reference() types.ManagedObjectReference {
  1036. return m.Self
  1037. }
  1038. func init() {
  1039. t["Profile"] = reflect.TypeOf((*Profile)(nil)).Elem()
  1040. }
  1041. type ProfileComplianceManager struct {
  1042. Self types.ManagedObjectReference `json:"self"`
  1043. }
  1044. func (m ProfileComplianceManager) Reference() types.ManagedObjectReference {
  1045. return m.Self
  1046. }
  1047. func init() {
  1048. t["ProfileComplianceManager"] = reflect.TypeOf((*ProfileComplianceManager)(nil)).Elem()
  1049. }
  1050. type ProfileManager struct {
  1051. Self types.ManagedObjectReference `json:"self"`
  1052. Profile []types.ManagedObjectReference `json:"profile"`
  1053. }
  1054. func (m ProfileManager) Reference() types.ManagedObjectReference {
  1055. return m.Self
  1056. }
  1057. func init() {
  1058. t["ProfileManager"] = reflect.TypeOf((*ProfileManager)(nil)).Elem()
  1059. }
  1060. type PropertyCollector struct {
  1061. Self types.ManagedObjectReference `json:"self"`
  1062. Filter []types.ManagedObjectReference `json:"filter"`
  1063. }
  1064. func (m PropertyCollector) Reference() types.ManagedObjectReference {
  1065. return m.Self
  1066. }
  1067. func init() {
  1068. t["PropertyCollector"] = reflect.TypeOf((*PropertyCollector)(nil)).Elem()
  1069. }
  1070. type PropertyFilter struct {
  1071. Self types.ManagedObjectReference `json:"self"`
  1072. Spec types.PropertyFilterSpec `json:"spec"`
  1073. PartialUpdates bool `json:"partialUpdates"`
  1074. }
  1075. func (m PropertyFilter) Reference() types.ManagedObjectReference {
  1076. return m.Self
  1077. }
  1078. func init() {
  1079. t["PropertyFilter"] = reflect.TypeOf((*PropertyFilter)(nil)).Elem()
  1080. }
  1081. type ResourcePlanningManager struct {
  1082. Self types.ManagedObjectReference `json:"self"`
  1083. }
  1084. func (m ResourcePlanningManager) Reference() types.ManagedObjectReference {
  1085. return m.Self
  1086. }
  1087. func init() {
  1088. t["ResourcePlanningManager"] = reflect.TypeOf((*ResourcePlanningManager)(nil)).Elem()
  1089. }
  1090. type ResourcePool struct {
  1091. ManagedEntity
  1092. Summary types.BaseResourcePoolSummary `json:"summary"`
  1093. Runtime types.ResourcePoolRuntimeInfo `json:"runtime"`
  1094. Owner types.ManagedObjectReference `json:"owner"`
  1095. ResourcePool []types.ManagedObjectReference `json:"resourcePool"`
  1096. Vm []types.ManagedObjectReference `json:"vm"`
  1097. Config types.ResourceConfigSpec `json:"config"`
  1098. Namespace *string `json:"namespace"`
  1099. ChildConfiguration []types.ResourceConfigSpec `json:"childConfiguration"`
  1100. }
  1101. func (m *ResourcePool) Entity() *ManagedEntity {
  1102. return &m.ManagedEntity
  1103. }
  1104. func init() {
  1105. t["ResourcePool"] = reflect.TypeOf((*ResourcePool)(nil)).Elem()
  1106. }
  1107. type ScheduledTask struct {
  1108. ExtensibleManagedObject
  1109. Info types.ScheduledTaskInfo `json:"info"`
  1110. }
  1111. func init() {
  1112. t["ScheduledTask"] = reflect.TypeOf((*ScheduledTask)(nil)).Elem()
  1113. }
  1114. type ScheduledTaskManager struct {
  1115. Self types.ManagedObjectReference `json:"self"`
  1116. ScheduledTask []types.ManagedObjectReference `json:"scheduledTask"`
  1117. Description types.ScheduledTaskDescription `json:"description"`
  1118. }
  1119. func (m ScheduledTaskManager) Reference() types.ManagedObjectReference {
  1120. return m.Self
  1121. }
  1122. func init() {
  1123. t["ScheduledTaskManager"] = reflect.TypeOf((*ScheduledTaskManager)(nil)).Elem()
  1124. }
  1125. type SearchIndex struct {
  1126. Self types.ManagedObjectReference `json:"self"`
  1127. }
  1128. func (m SearchIndex) Reference() types.ManagedObjectReference {
  1129. return m.Self
  1130. }
  1131. func init() {
  1132. t["SearchIndex"] = reflect.TypeOf((*SearchIndex)(nil)).Elem()
  1133. }
  1134. type ServiceInstance struct {
  1135. Self types.ManagedObjectReference `json:"self"`
  1136. ServerClock time.Time `json:"serverClock"`
  1137. Capability types.Capability `json:"capability"`
  1138. Content types.ServiceContent `json:"content"`
  1139. }
  1140. func (m ServiceInstance) Reference() types.ManagedObjectReference {
  1141. return m.Self
  1142. }
  1143. func init() {
  1144. t["ServiceInstance"] = reflect.TypeOf((*ServiceInstance)(nil)).Elem()
  1145. }
  1146. type ServiceManager struct {
  1147. Self types.ManagedObjectReference `json:"self"`
  1148. Service []types.ServiceManagerServiceInfo `json:"service"`
  1149. }
  1150. func (m ServiceManager) Reference() types.ManagedObjectReference {
  1151. return m.Self
  1152. }
  1153. func init() {
  1154. t["ServiceManager"] = reflect.TypeOf((*ServiceManager)(nil)).Elem()
  1155. }
  1156. type SessionManager struct {
  1157. Self types.ManagedObjectReference `json:"self"`
  1158. SessionList []types.UserSession `json:"sessionList"`
  1159. CurrentSession *types.UserSession `json:"currentSession"`
  1160. Message *string `json:"message"`
  1161. MessageLocaleList []string `json:"messageLocaleList"`
  1162. SupportedLocaleList []string `json:"supportedLocaleList"`
  1163. DefaultLocale string `json:"defaultLocale"`
  1164. }
  1165. func (m SessionManager) Reference() types.ManagedObjectReference {
  1166. return m.Self
  1167. }
  1168. func init() {
  1169. t["SessionManager"] = reflect.TypeOf((*SessionManager)(nil)).Elem()
  1170. }
  1171. type SimpleCommand struct {
  1172. Self types.ManagedObjectReference `json:"self"`
  1173. EncodingType types.SimpleCommandEncoding `json:"encodingType"`
  1174. Entity types.ServiceManagerServiceInfo `json:"entity"`
  1175. }
  1176. func (m SimpleCommand) Reference() types.ManagedObjectReference {
  1177. return m.Self
  1178. }
  1179. func init() {
  1180. t["SimpleCommand"] = reflect.TypeOf((*SimpleCommand)(nil)).Elem()
  1181. }
  1182. type SiteInfoManager struct {
  1183. Self types.ManagedObjectReference `json:"self"`
  1184. }
  1185. func (m SiteInfoManager) Reference() types.ManagedObjectReference {
  1186. return m.Self
  1187. }
  1188. func init() {
  1189. t["SiteInfoManager"] = reflect.TypeOf((*SiteInfoManager)(nil)).Elem()
  1190. }
  1191. type StoragePod struct {
  1192. Folder
  1193. Summary *types.StoragePodSummary `json:"summary"`
  1194. PodStorageDrsEntry *types.PodStorageDrsEntry `json:"podStorageDrsEntry"`
  1195. }
  1196. func init() {
  1197. t["StoragePod"] = reflect.TypeOf((*StoragePod)(nil)).Elem()
  1198. }
  1199. type StorageQueryManager struct {
  1200. Self types.ManagedObjectReference `json:"self"`
  1201. }
  1202. func (m StorageQueryManager) Reference() types.ManagedObjectReference {
  1203. return m.Self
  1204. }
  1205. func init() {
  1206. t["StorageQueryManager"] = reflect.TypeOf((*StorageQueryManager)(nil)).Elem()
  1207. }
  1208. type StorageResourceManager struct {
  1209. Self types.ManagedObjectReference `json:"self"`
  1210. }
  1211. func (m StorageResourceManager) Reference() types.ManagedObjectReference {
  1212. return m.Self
  1213. }
  1214. func init() {
  1215. t["StorageResourceManager"] = reflect.TypeOf((*StorageResourceManager)(nil)).Elem()
  1216. }
  1217. type Task struct {
  1218. ExtensibleManagedObject
  1219. Info types.TaskInfo `json:"info"`
  1220. }
  1221. func init() {
  1222. t["Task"] = reflect.TypeOf((*Task)(nil)).Elem()
  1223. }
  1224. type TaskHistoryCollector struct {
  1225. HistoryCollector
  1226. LatestPage []types.TaskInfo `json:"latestPage"`
  1227. }
  1228. func init() {
  1229. t["TaskHistoryCollector"] = reflect.TypeOf((*TaskHistoryCollector)(nil)).Elem()
  1230. }
  1231. type TaskManager struct {
  1232. Self types.ManagedObjectReference `json:"self"`
  1233. RecentTask []types.ManagedObjectReference `json:"recentTask"`
  1234. Description types.TaskDescription `json:"description"`
  1235. MaxCollector int32 `json:"maxCollector"`
  1236. }
  1237. func (m TaskManager) Reference() types.ManagedObjectReference {
  1238. return m.Self
  1239. }
  1240. func init() {
  1241. t["TaskManager"] = reflect.TypeOf((*TaskManager)(nil)).Elem()
  1242. }
  1243. type TenantTenantManager struct {
  1244. Self types.ManagedObjectReference `json:"self"`
  1245. }
  1246. func (m TenantTenantManager) Reference() types.ManagedObjectReference {
  1247. return m.Self
  1248. }
  1249. func init() {
  1250. t["TenantTenantManager"] = reflect.TypeOf((*TenantTenantManager)(nil)).Elem()
  1251. }
  1252. type UserDirectory struct {
  1253. Self types.ManagedObjectReference `json:"self"`
  1254. DomainList []string `json:"domainList"`
  1255. }
  1256. func (m UserDirectory) Reference() types.ManagedObjectReference {
  1257. return m.Self
  1258. }
  1259. func init() {
  1260. t["UserDirectory"] = reflect.TypeOf((*UserDirectory)(nil)).Elem()
  1261. }
  1262. type VStorageObjectManagerBase struct {
  1263. Self types.ManagedObjectReference `json:"self"`
  1264. }
  1265. func (m VStorageObjectManagerBase) Reference() types.ManagedObjectReference {
  1266. return m.Self
  1267. }
  1268. func init() {
  1269. t["VStorageObjectManagerBase"] = reflect.TypeOf((*VStorageObjectManagerBase)(nil)).Elem()
  1270. }
  1271. type VcenterVStorageObjectManager struct {
  1272. VStorageObjectManagerBase
  1273. }
  1274. func init() {
  1275. t["VcenterVStorageObjectManager"] = reflect.TypeOf((*VcenterVStorageObjectManager)(nil)).Elem()
  1276. }
  1277. type View struct {
  1278. Self types.ManagedObjectReference `json:"self"`
  1279. }
  1280. func (m View) Reference() types.ManagedObjectReference {
  1281. return m.Self
  1282. }
  1283. func init() {
  1284. t["View"] = reflect.TypeOf((*View)(nil)).Elem()
  1285. }
  1286. type ViewManager struct {
  1287. Self types.ManagedObjectReference `json:"self"`
  1288. ViewList []types.ManagedObjectReference `json:"viewList"`
  1289. }
  1290. func (m ViewManager) Reference() types.ManagedObjectReference {
  1291. return m.Self
  1292. }
  1293. func init() {
  1294. t["ViewManager"] = reflect.TypeOf((*ViewManager)(nil)).Elem()
  1295. }
  1296. type VirtualApp struct {
  1297. ResourcePool
  1298. ParentFolder *types.ManagedObjectReference `json:"parentFolder"`
  1299. Datastore []types.ManagedObjectReference `json:"datastore"`
  1300. Network []types.ManagedObjectReference `json:"network"`
  1301. VAppConfig *types.VAppConfigInfo `json:"vAppConfig"`
  1302. ParentVApp *types.ManagedObjectReference `json:"parentVApp"`
  1303. ChildLink []types.VirtualAppLinkInfo `json:"childLink"`
  1304. }
  1305. func init() {
  1306. t["VirtualApp"] = reflect.TypeOf((*VirtualApp)(nil)).Elem()
  1307. }
  1308. type VirtualDiskManager struct {
  1309. Self types.ManagedObjectReference `json:"self"`
  1310. }
  1311. func (m VirtualDiskManager) Reference() types.ManagedObjectReference {
  1312. return m.Self
  1313. }
  1314. func init() {
  1315. t["VirtualDiskManager"] = reflect.TypeOf((*VirtualDiskManager)(nil)).Elem()
  1316. }
  1317. type VirtualMachine struct {
  1318. ManagedEntity
  1319. Capability types.VirtualMachineCapability `json:"capability"`
  1320. Config *types.VirtualMachineConfigInfo `json:"config"`
  1321. Layout *types.VirtualMachineFileLayout `json:"layout"`
  1322. LayoutEx *types.VirtualMachineFileLayoutEx `json:"layoutEx"`
  1323. Storage *types.VirtualMachineStorageInfo `json:"storage"`
  1324. EnvironmentBrowser types.ManagedObjectReference `json:"environmentBrowser"`
  1325. ResourcePool *types.ManagedObjectReference `json:"resourcePool"`
  1326. ParentVApp *types.ManagedObjectReference `json:"parentVApp"`
  1327. ResourceConfig *types.ResourceConfigSpec `json:"resourceConfig"`
  1328. Runtime types.VirtualMachineRuntimeInfo `json:"runtime"`
  1329. Guest *types.GuestInfo `json:"guest"`
  1330. Summary types.VirtualMachineSummary `json:"summary"`
  1331. Datastore []types.ManagedObjectReference `json:"datastore"`
  1332. Network []types.ManagedObjectReference `json:"network"`
  1333. Snapshot *types.VirtualMachineSnapshotInfo `json:"snapshot"`
  1334. RootSnapshot []types.ManagedObjectReference `json:"rootSnapshot"`
  1335. GuestHeartbeatStatus types.ManagedEntityStatus `json:"guestHeartbeatStatus"`
  1336. }
  1337. func (m *VirtualMachine) Entity() *ManagedEntity {
  1338. return &m.ManagedEntity
  1339. }
  1340. func init() {
  1341. t["VirtualMachine"] = reflect.TypeOf((*VirtualMachine)(nil)).Elem()
  1342. }
  1343. type VirtualMachineCompatibilityChecker struct {
  1344. Self types.ManagedObjectReference `json:"self"`
  1345. }
  1346. func (m VirtualMachineCompatibilityChecker) Reference() types.ManagedObjectReference {
  1347. return m.Self
  1348. }
  1349. func init() {
  1350. t["VirtualMachineCompatibilityChecker"] = reflect.TypeOf((*VirtualMachineCompatibilityChecker)(nil)).Elem()
  1351. }
  1352. type VirtualMachineGuestCustomizationManager struct {
  1353. Self types.ManagedObjectReference `json:"self"`
  1354. }
  1355. func (m VirtualMachineGuestCustomizationManager) Reference() types.ManagedObjectReference {
  1356. return m.Self
  1357. }
  1358. func init() {
  1359. t["VirtualMachineGuestCustomizationManager"] = reflect.TypeOf((*VirtualMachineGuestCustomizationManager)(nil)).Elem()
  1360. }
  1361. type VirtualMachineProvisioningChecker struct {
  1362. Self types.ManagedObjectReference `json:"self"`
  1363. }
  1364. func (m VirtualMachineProvisioningChecker) Reference() types.ManagedObjectReference {
  1365. return m.Self
  1366. }
  1367. func init() {
  1368. t["VirtualMachineProvisioningChecker"] = reflect.TypeOf((*VirtualMachineProvisioningChecker)(nil)).Elem()
  1369. }
  1370. type VirtualMachineSnapshot struct {
  1371. ExtensibleManagedObject
  1372. Config types.VirtualMachineConfigInfo `json:"config"`
  1373. ChildSnapshot []types.ManagedObjectReference `json:"childSnapshot"`
  1374. Vm types.ManagedObjectReference `json:"vm"`
  1375. }
  1376. func init() {
  1377. t["VirtualMachineSnapshot"] = reflect.TypeOf((*VirtualMachineSnapshot)(nil)).Elem()
  1378. }
  1379. type VirtualizationManager struct {
  1380. Self types.ManagedObjectReference `json:"self"`
  1381. }
  1382. func (m VirtualizationManager) Reference() types.ManagedObjectReference {
  1383. return m.Self
  1384. }
  1385. func init() {
  1386. t["VirtualizationManager"] = reflect.TypeOf((*VirtualizationManager)(nil)).Elem()
  1387. }
  1388. type VmwareDistributedVirtualSwitch struct {
  1389. DistributedVirtualSwitch
  1390. }
  1391. func init() {
  1392. t["VmwareDistributedVirtualSwitch"] = reflect.TypeOf((*VmwareDistributedVirtualSwitch)(nil)).Elem()
  1393. }
  1394. type VsanUpgradeSystem struct {
  1395. Self types.ManagedObjectReference `json:"self"`
  1396. }
  1397. func (m VsanUpgradeSystem) Reference() types.ManagedObjectReference {
  1398. return m.Self
  1399. }
  1400. func init() {
  1401. t["VsanUpgradeSystem"] = reflect.TypeOf((*VsanUpgradeSystem)(nil)).Elem()
  1402. }