github.com/vmware/govmomi@v0.51.0/vim25/mo/mo.go (about) 1 // © Broadcom. All Rights Reserved. 2 // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. 3 // SPDX-License-Identifier: Apache-2.0 4 5 package mo 6 7 import ( 8 "reflect" 9 "time" 10 11 "github.com/vmware/govmomi/vim25/types" 12 ) 13 14 type Alarm struct { 15 ExtensibleManagedObject 16 17 Info types.AlarmInfo `json:"info"` 18 } 19 20 func init() { 21 t["Alarm"] = reflect.TypeOf((*Alarm)(nil)).Elem() 22 } 23 24 type AlarmManager struct { 25 Self types.ManagedObjectReference `json:"self"` 26 27 DefaultExpression []types.BaseAlarmExpression `json:"defaultExpression"` 28 Description types.AlarmDescription `json:"description"` 29 } 30 31 func (m AlarmManager) Reference() types.ManagedObjectReference { 32 return m.Self 33 } 34 35 func init() { 36 t["AlarmManager"] = reflect.TypeOf((*AlarmManager)(nil)).Elem() 37 } 38 39 type AuthorizationManager struct { 40 Self types.ManagedObjectReference `json:"self"` 41 42 PrivilegeList []types.AuthorizationPrivilege `json:"privilegeList"` 43 RoleList []types.AuthorizationRole `json:"roleList"` 44 Description types.AuthorizationDescription `json:"description"` 45 } 46 47 func (m AuthorizationManager) Reference() types.ManagedObjectReference { 48 return m.Self 49 } 50 51 func init() { 52 t["AuthorizationManager"] = reflect.TypeOf((*AuthorizationManager)(nil)).Elem() 53 } 54 55 type CertificateManager struct { 56 Self types.ManagedObjectReference `json:"self"` 57 } 58 59 func (m CertificateManager) Reference() types.ManagedObjectReference { 60 return m.Self 61 } 62 63 func init() { 64 t["CertificateManager"] = reflect.TypeOf((*CertificateManager)(nil)).Elem() 65 } 66 67 type ClusterComputeResource struct { 68 ComputeResource 69 70 Configuration types.ClusterConfigInfo `json:"configuration"` 71 Recommendation []types.ClusterRecommendation `json:"recommendation"` 72 DrsRecommendation []types.ClusterDrsRecommendation `json:"drsRecommendation"` 73 HciConfig *types.ClusterComputeResourceHCIConfigInfo `json:"hciConfig"` 74 MigrationHistory []types.ClusterDrsMigration `json:"migrationHistory"` 75 ActionHistory []types.ClusterActionHistory `json:"actionHistory"` 76 DrsFault []types.ClusterDrsFaults `json:"drsFault"` 77 } 78 79 func init() { 80 t["ClusterComputeResource"] = reflect.TypeOf((*ClusterComputeResource)(nil)).Elem() 81 } 82 83 type ClusterEVCManager struct { 84 ExtensibleManagedObject 85 86 ManagedCluster types.ManagedObjectReference `json:"managedCluster"` 87 EvcState types.ClusterEVCManagerEVCState `json:"evcState"` 88 } 89 90 func init() { 91 t["ClusterEVCManager"] = reflect.TypeOf((*ClusterEVCManager)(nil)).Elem() 92 } 93 94 type ClusterProfile struct { 95 Profile 96 } 97 98 func init() { 99 t["ClusterProfile"] = reflect.TypeOf((*ClusterProfile)(nil)).Elem() 100 } 101 102 type ClusterProfileManager struct { 103 ProfileManager 104 } 105 106 func init() { 107 t["ClusterProfileManager"] = reflect.TypeOf((*ClusterProfileManager)(nil)).Elem() 108 } 109 110 type ComputeResource struct { 111 ManagedEntity 112 113 ResourcePool *types.ManagedObjectReference `json:"resourcePool"` 114 Host []types.ManagedObjectReference `json:"host"` 115 Datastore []types.ManagedObjectReference `json:"datastore"` 116 Network []types.ManagedObjectReference `json:"network"` 117 Summary types.BaseComputeResourceSummary `json:"summary"` 118 EnvironmentBrowser *types.ManagedObjectReference `json:"environmentBrowser"` 119 ConfigurationEx types.BaseComputeResourceConfigInfo `json:"configurationEx"` 120 LifecycleManaged *bool `json:"lifecycleManaged"` 121 } 122 123 func (m *ComputeResource) Entity() *ManagedEntity { 124 return &m.ManagedEntity 125 } 126 127 func init() { 128 t["ComputeResource"] = reflect.TypeOf((*ComputeResource)(nil)).Elem() 129 } 130 131 type ContainerView struct { 132 ManagedObjectView 133 134 Container types.ManagedObjectReference `json:"container"` 135 Type []string `json:"type"` 136 Recursive bool `json:"recursive"` 137 } 138 139 func init() { 140 t["ContainerView"] = reflect.TypeOf((*ContainerView)(nil)).Elem() 141 } 142 143 type CryptoManager struct { 144 Self types.ManagedObjectReference `json:"self"` 145 146 Enabled bool `json:"enabled"` 147 } 148 149 func (m CryptoManager) Reference() types.ManagedObjectReference { 150 return m.Self 151 } 152 153 func init() { 154 t["CryptoManager"] = reflect.TypeOf((*CryptoManager)(nil)).Elem() 155 } 156 157 type CryptoManagerHost struct { 158 CryptoManager 159 } 160 161 func init() { 162 t["CryptoManagerHost"] = reflect.TypeOf((*CryptoManagerHost)(nil)).Elem() 163 } 164 165 type CryptoManagerHostKMS struct { 166 CryptoManagerHost 167 } 168 169 func init() { 170 t["CryptoManagerHostKMS"] = reflect.TypeOf((*CryptoManagerHostKMS)(nil)).Elem() 171 } 172 173 type CryptoManagerKmip struct { 174 CryptoManager 175 176 KmipServers []types.KmipClusterInfo `json:"kmipServers"` 177 } 178 179 func init() { 180 t["CryptoManagerKmip"] = reflect.TypeOf((*CryptoManagerKmip)(nil)).Elem() 181 } 182 183 type CustomFieldsManager struct { 184 Self types.ManagedObjectReference `json:"self"` 185 186 Field []types.CustomFieldDef `json:"field"` 187 } 188 189 func (m CustomFieldsManager) Reference() types.ManagedObjectReference { 190 return m.Self 191 } 192 193 func init() { 194 t["CustomFieldsManager"] = reflect.TypeOf((*CustomFieldsManager)(nil)).Elem() 195 } 196 197 type CustomizationSpecManager struct { 198 Self types.ManagedObjectReference `json:"self"` 199 200 Info []types.CustomizationSpecInfo `json:"info"` 201 EncryptionKey types.ByteSlice `json:"encryptionKey"` 202 } 203 204 func (m CustomizationSpecManager) Reference() types.ManagedObjectReference { 205 return m.Self 206 } 207 208 func init() { 209 t["CustomizationSpecManager"] = reflect.TypeOf((*CustomizationSpecManager)(nil)).Elem() 210 } 211 212 type Datacenter struct { 213 ManagedEntity 214 215 VmFolder types.ManagedObjectReference `json:"vmFolder"` 216 HostFolder types.ManagedObjectReference `json:"hostFolder"` 217 DatastoreFolder types.ManagedObjectReference `json:"datastoreFolder"` 218 NetworkFolder types.ManagedObjectReference `json:"networkFolder"` 219 Datastore []types.ManagedObjectReference `json:"datastore"` 220 Network []types.ManagedObjectReference `json:"network"` 221 Configuration types.DatacenterConfigInfo `json:"configuration"` 222 } 223 224 func (m *Datacenter) Entity() *ManagedEntity { 225 return &m.ManagedEntity 226 } 227 228 func init() { 229 t["Datacenter"] = reflect.TypeOf((*Datacenter)(nil)).Elem() 230 } 231 232 type Datastore struct { 233 ManagedEntity 234 235 Info types.BaseDatastoreInfo `json:"info"` 236 Summary types.DatastoreSummary `json:"summary"` 237 Host []types.DatastoreHostMount `json:"host"` 238 Vm []types.ManagedObjectReference `json:"vm"` 239 Browser types.ManagedObjectReference `json:"browser"` 240 Capability types.DatastoreCapability `json:"capability"` 241 IormConfiguration *types.StorageIORMInfo `json:"iormConfiguration"` 242 } 243 244 func (m *Datastore) Entity() *ManagedEntity { 245 return &m.ManagedEntity 246 } 247 248 func init() { 249 t["Datastore"] = reflect.TypeOf((*Datastore)(nil)).Elem() 250 } 251 252 type DatastoreNamespaceManager struct { 253 Self types.ManagedObjectReference `json:"self"` 254 } 255 256 func (m DatastoreNamespaceManager) Reference() types.ManagedObjectReference { 257 return m.Self 258 } 259 260 func init() { 261 t["DatastoreNamespaceManager"] = reflect.TypeOf((*DatastoreNamespaceManager)(nil)).Elem() 262 } 263 264 type DiagnosticManager struct { 265 Self types.ManagedObjectReference `json:"self"` 266 } 267 268 func (m DiagnosticManager) Reference() types.ManagedObjectReference { 269 return m.Self 270 } 271 272 func init() { 273 t["DiagnosticManager"] = reflect.TypeOf((*DiagnosticManager)(nil)).Elem() 274 } 275 276 type DistributedVirtualPortgroup struct { 277 Network 278 279 Key string `json:"key"` 280 Config types.DVPortgroupConfigInfo `json:"config"` 281 PortKeys []string `json:"portKeys"` 282 } 283 284 func init() { 285 t["DistributedVirtualPortgroup"] = reflect.TypeOf((*DistributedVirtualPortgroup)(nil)).Elem() 286 } 287 288 type DistributedVirtualSwitch struct { 289 ManagedEntity 290 291 Uuid string `json:"uuid"` 292 Capability types.DVSCapability `json:"capability"` 293 Summary types.DVSSummary `json:"summary"` 294 Config types.BaseDVSConfigInfo `json:"config"` 295 NetworkResourcePool []types.DVSNetworkResourcePool `json:"networkResourcePool"` 296 Portgroup []types.ManagedObjectReference `json:"portgroup"` 297 Runtime *types.DVSRuntimeInfo `json:"runtime"` 298 } 299 300 func (m *DistributedVirtualSwitch) Entity() *ManagedEntity { 301 return &m.ManagedEntity 302 } 303 304 func init() { 305 t["DistributedVirtualSwitch"] = reflect.TypeOf((*DistributedVirtualSwitch)(nil)).Elem() 306 } 307 308 type DistributedVirtualSwitchManager struct { 309 Self types.ManagedObjectReference `json:"self"` 310 } 311 312 func (m DistributedVirtualSwitchManager) Reference() types.ManagedObjectReference { 313 return m.Self 314 } 315 316 func init() { 317 t["DistributedVirtualSwitchManager"] = reflect.TypeOf((*DistributedVirtualSwitchManager)(nil)).Elem() 318 } 319 320 type EnvironmentBrowser struct { 321 Self types.ManagedObjectReference `json:"self"` 322 323 DatastoreBrowser *types.ManagedObjectReference `json:"datastoreBrowser"` 324 } 325 326 func (m EnvironmentBrowser) Reference() types.ManagedObjectReference { 327 return m.Self 328 } 329 330 func init() { 331 t["EnvironmentBrowser"] = reflect.TypeOf((*EnvironmentBrowser)(nil)).Elem() 332 } 333 334 type EventHistoryCollector struct { 335 HistoryCollector 336 337 LatestPage []types.BaseEvent `json:"latestPage"` 338 } 339 340 func init() { 341 t["EventHistoryCollector"] = reflect.TypeOf((*EventHistoryCollector)(nil)).Elem() 342 } 343 344 type EventManager struct { 345 Self types.ManagedObjectReference `json:"self"` 346 347 Description types.EventDescription `json:"description"` 348 LatestEvent types.BaseEvent `json:"latestEvent"` 349 MaxCollector int32 `json:"maxCollector"` 350 } 351 352 func (m EventManager) Reference() types.ManagedObjectReference { 353 return m.Self 354 } 355 356 func init() { 357 t["EventManager"] = reflect.TypeOf((*EventManager)(nil)).Elem() 358 } 359 360 type ExtensibleManagedObject struct { 361 Self types.ManagedObjectReference `json:"self"` 362 363 Value []types.BaseCustomFieldValue `json:"value"` 364 AvailableField []types.CustomFieldDef `json:"availableField"` 365 } 366 367 func (m ExtensibleManagedObject) Reference() types.ManagedObjectReference { 368 return m.Self 369 } 370 371 func init() { 372 t["ExtensibleManagedObject"] = reflect.TypeOf((*ExtensibleManagedObject)(nil)).Elem() 373 } 374 375 type ExtensionManager struct { 376 Self types.ManagedObjectReference `json:"self"` 377 378 ExtensionList []types.Extension `json:"extensionList"` 379 } 380 381 func (m ExtensionManager) Reference() types.ManagedObjectReference { 382 return m.Self 383 } 384 385 func init() { 386 t["ExtensionManager"] = reflect.TypeOf((*ExtensionManager)(nil)).Elem() 387 } 388 389 type FailoverClusterConfigurator struct { 390 Self types.ManagedObjectReference `json:"self"` 391 392 DisabledConfigureMethod []string `json:"disabledConfigureMethod"` 393 } 394 395 func (m FailoverClusterConfigurator) Reference() types.ManagedObjectReference { 396 return m.Self 397 } 398 399 func init() { 400 t["FailoverClusterConfigurator"] = reflect.TypeOf((*FailoverClusterConfigurator)(nil)).Elem() 401 } 402 403 type FailoverClusterManager struct { 404 Self types.ManagedObjectReference `json:"self"` 405 406 DisabledClusterMethod []string `json:"disabledClusterMethod"` 407 } 408 409 func (m FailoverClusterManager) Reference() types.ManagedObjectReference { 410 return m.Self 411 } 412 413 func init() { 414 t["FailoverClusterManager"] = reflect.TypeOf((*FailoverClusterManager)(nil)).Elem() 415 } 416 417 type FileManager struct { 418 Self types.ManagedObjectReference `json:"self"` 419 } 420 421 func (m FileManager) Reference() types.ManagedObjectReference { 422 return m.Self 423 } 424 425 func init() { 426 t["FileManager"] = reflect.TypeOf((*FileManager)(nil)).Elem() 427 } 428 429 type Folder struct { 430 ManagedEntity 431 432 ChildType []string `json:"childType"` 433 ChildEntity []types.ManagedObjectReference `json:"childEntity"` 434 Namespace *string `json:"namespace"` 435 } 436 437 func (m *Folder) Entity() *ManagedEntity { 438 return &m.ManagedEntity 439 } 440 441 func init() { 442 t["Folder"] = reflect.TypeOf((*Folder)(nil)).Elem() 443 } 444 445 type GuestAliasManager struct { 446 Self types.ManagedObjectReference `json:"self"` 447 } 448 449 func (m GuestAliasManager) Reference() types.ManagedObjectReference { 450 return m.Self 451 } 452 453 func init() { 454 t["GuestAliasManager"] = reflect.TypeOf((*GuestAliasManager)(nil)).Elem() 455 } 456 457 type GuestAuthManager struct { 458 Self types.ManagedObjectReference `json:"self"` 459 } 460 461 func (m GuestAuthManager) Reference() types.ManagedObjectReference { 462 return m.Self 463 } 464 465 func init() { 466 t["GuestAuthManager"] = reflect.TypeOf((*GuestAuthManager)(nil)).Elem() 467 } 468 469 type GuestFileManager struct { 470 Self types.ManagedObjectReference `json:"self"` 471 } 472 473 func (m GuestFileManager) Reference() types.ManagedObjectReference { 474 return m.Self 475 } 476 477 func init() { 478 t["GuestFileManager"] = reflect.TypeOf((*GuestFileManager)(nil)).Elem() 479 } 480 481 type GuestOperationsManager struct { 482 Self types.ManagedObjectReference `json:"self"` 483 484 AuthManager *types.ManagedObjectReference `json:"authManager"` 485 FileManager *types.ManagedObjectReference `json:"fileManager"` 486 ProcessManager *types.ManagedObjectReference `json:"processManager"` 487 GuestWindowsRegistryManager *types.ManagedObjectReference `json:"guestWindowsRegistryManager"` 488 AliasManager *types.ManagedObjectReference `json:"aliasManager"` 489 } 490 491 func (m GuestOperationsManager) Reference() types.ManagedObjectReference { 492 return m.Self 493 } 494 495 func init() { 496 t["GuestOperationsManager"] = reflect.TypeOf((*GuestOperationsManager)(nil)).Elem() 497 } 498 499 type GuestProcessManager struct { 500 Self types.ManagedObjectReference `json:"self"` 501 } 502 503 func (m GuestProcessManager) Reference() types.ManagedObjectReference { 504 return m.Self 505 } 506 507 func init() { 508 t["GuestProcessManager"] = reflect.TypeOf((*GuestProcessManager)(nil)).Elem() 509 } 510 511 type GuestWindowsRegistryManager struct { 512 Self types.ManagedObjectReference `json:"self"` 513 } 514 515 func (m GuestWindowsRegistryManager) Reference() types.ManagedObjectReference { 516 return m.Self 517 } 518 519 func init() { 520 t["GuestWindowsRegistryManager"] = reflect.TypeOf((*GuestWindowsRegistryManager)(nil)).Elem() 521 } 522 523 type HealthUpdateManager struct { 524 Self types.ManagedObjectReference `json:"self"` 525 } 526 527 func (m HealthUpdateManager) Reference() types.ManagedObjectReference { 528 return m.Self 529 } 530 531 func init() { 532 t["HealthUpdateManager"] = reflect.TypeOf((*HealthUpdateManager)(nil)).Elem() 533 } 534 535 type HistoryCollector struct { 536 Self types.ManagedObjectReference `json:"self"` 537 538 Filter types.AnyType `json:"filter"` 539 } 540 541 func (m HistoryCollector) Reference() types.ManagedObjectReference { 542 return m.Self 543 } 544 545 func init() { 546 t["HistoryCollector"] = reflect.TypeOf((*HistoryCollector)(nil)).Elem() 547 } 548 549 type HostAccessManager struct { 550 Self types.ManagedObjectReference `json:"self"` 551 552 LockdownMode types.HostLockdownMode `json:"lockdownMode"` 553 } 554 555 func (m HostAccessManager) Reference() types.ManagedObjectReference { 556 return m.Self 557 } 558 559 func init() { 560 t["HostAccessManager"] = reflect.TypeOf((*HostAccessManager)(nil)).Elem() 561 } 562 563 type HostActiveDirectoryAuthentication struct { 564 HostDirectoryStore 565 } 566 567 func init() { 568 t["HostActiveDirectoryAuthentication"] = reflect.TypeOf((*HostActiveDirectoryAuthentication)(nil)).Elem() 569 } 570 571 type HostAssignableHardwareManager struct { 572 Self types.ManagedObjectReference `json:"self"` 573 574 Binding []types.HostAssignableHardwareBinding `json:"binding"` 575 Config types.HostAssignableHardwareConfig `json:"config"` 576 } 577 578 func (m HostAssignableHardwareManager) Reference() types.ManagedObjectReference { 579 return m.Self 580 } 581 582 func init() { 583 t["HostAssignableHardwareManager"] = reflect.TypeOf((*HostAssignableHardwareManager)(nil)).Elem() 584 } 585 586 type HostAuthenticationManager struct { 587 Self types.ManagedObjectReference `json:"self"` 588 589 Info types.HostAuthenticationManagerInfo `json:"info"` 590 SupportedStore []types.ManagedObjectReference `json:"supportedStore"` 591 } 592 593 func (m HostAuthenticationManager) Reference() types.ManagedObjectReference { 594 return m.Self 595 } 596 597 func init() { 598 t["HostAuthenticationManager"] = reflect.TypeOf((*HostAuthenticationManager)(nil)).Elem() 599 } 600 601 type HostAuthenticationStore struct { 602 Self types.ManagedObjectReference `json:"self"` 603 604 Info types.BaseHostAuthenticationStoreInfo `json:"info"` 605 } 606 607 func (m HostAuthenticationStore) Reference() types.ManagedObjectReference { 608 return m.Self 609 } 610 611 func init() { 612 t["HostAuthenticationStore"] = reflect.TypeOf((*HostAuthenticationStore)(nil)).Elem() 613 } 614 615 type HostAutoStartManager struct { 616 Self types.ManagedObjectReference `json:"self"` 617 618 Config types.HostAutoStartManagerConfig `json:"config"` 619 } 620 621 func (m HostAutoStartManager) Reference() types.ManagedObjectReference { 622 return m.Self 623 } 624 625 func init() { 626 t["HostAutoStartManager"] = reflect.TypeOf((*HostAutoStartManager)(nil)).Elem() 627 } 628 629 type HostBootDeviceSystem struct { 630 Self types.ManagedObjectReference `json:"self"` 631 } 632 633 func (m HostBootDeviceSystem) Reference() types.ManagedObjectReference { 634 return m.Self 635 } 636 637 func init() { 638 t["HostBootDeviceSystem"] = reflect.TypeOf((*HostBootDeviceSystem)(nil)).Elem() 639 } 640 641 type HostCacheConfigurationManager struct { 642 Self types.ManagedObjectReference `json:"self"` 643 644 CacheConfigurationInfo []types.HostCacheConfigurationInfo `json:"cacheConfigurationInfo"` 645 } 646 647 func (m HostCacheConfigurationManager) Reference() types.ManagedObjectReference { 648 return m.Self 649 } 650 651 func init() { 652 t["HostCacheConfigurationManager"] = reflect.TypeOf((*HostCacheConfigurationManager)(nil)).Elem() 653 } 654 655 type HostCertificateManager struct { 656 Self types.ManagedObjectReference `json:"self"` 657 658 CertificateInfo types.HostCertificateManagerCertificateInfo `json:"certificateInfo"` 659 } 660 661 func (m HostCertificateManager) Reference() types.ManagedObjectReference { 662 return m.Self 663 } 664 665 func init() { 666 t["HostCertificateManager"] = reflect.TypeOf((*HostCertificateManager)(nil)).Elem() 667 } 668 669 type HostCpuSchedulerSystem struct { 670 ExtensibleManagedObject 671 672 HyperthreadInfo *types.HostHyperThreadScheduleInfo `json:"hyperthreadInfo"` 673 } 674 675 func init() { 676 t["HostCpuSchedulerSystem"] = reflect.TypeOf((*HostCpuSchedulerSystem)(nil)).Elem() 677 } 678 679 type HostDatastoreBrowser struct { 680 Self types.ManagedObjectReference `json:"self"` 681 682 Datastore []types.ManagedObjectReference `json:"datastore"` 683 SupportedType []types.BaseFileQuery `json:"supportedType"` 684 } 685 686 func (m HostDatastoreBrowser) Reference() types.ManagedObjectReference { 687 return m.Self 688 } 689 690 func init() { 691 t["HostDatastoreBrowser"] = reflect.TypeOf((*HostDatastoreBrowser)(nil)).Elem() 692 } 693 694 type HostDatastoreSystem struct { 695 Self types.ManagedObjectReference `json:"self"` 696 697 Datastore []types.ManagedObjectReference `json:"datastore"` 698 Capabilities types.HostDatastoreSystemCapabilities `json:"capabilities"` 699 } 700 701 func (m HostDatastoreSystem) Reference() types.ManagedObjectReference { 702 return m.Self 703 } 704 705 func init() { 706 t["HostDatastoreSystem"] = reflect.TypeOf((*HostDatastoreSystem)(nil)).Elem() 707 } 708 709 type HostDateTimeSystem struct { 710 Self types.ManagedObjectReference `json:"self"` 711 712 DateTimeInfo types.HostDateTimeInfo `json:"dateTimeInfo"` 713 } 714 715 func (m HostDateTimeSystem) Reference() types.ManagedObjectReference { 716 return m.Self 717 } 718 719 func init() { 720 t["HostDateTimeSystem"] = reflect.TypeOf((*HostDateTimeSystem)(nil)).Elem() 721 } 722 723 type HostDiagnosticSystem struct { 724 Self types.ManagedObjectReference `json:"self"` 725 726 ActivePartition *types.HostDiagnosticPartition `json:"activePartition"` 727 } 728 729 func (m HostDiagnosticSystem) Reference() types.ManagedObjectReference { 730 return m.Self 731 } 732 733 func init() { 734 t["HostDiagnosticSystem"] = reflect.TypeOf((*HostDiagnosticSystem)(nil)).Elem() 735 } 736 737 type HostDirectoryStore struct { 738 HostAuthenticationStore 739 } 740 741 func init() { 742 t["HostDirectoryStore"] = reflect.TypeOf((*HostDirectoryStore)(nil)).Elem() 743 } 744 745 type HostEsxAgentHostManager struct { 746 Self types.ManagedObjectReference `json:"self"` 747 748 ConfigInfo types.HostEsxAgentHostManagerConfigInfo `json:"configInfo"` 749 } 750 751 func (m HostEsxAgentHostManager) Reference() types.ManagedObjectReference { 752 return m.Self 753 } 754 755 func init() { 756 t["HostEsxAgentHostManager"] = reflect.TypeOf((*HostEsxAgentHostManager)(nil)).Elem() 757 } 758 759 type HostFirewallSystem struct { 760 ExtensibleManagedObject 761 762 FirewallInfo *types.HostFirewallInfo `json:"firewallInfo"` 763 } 764 765 func init() { 766 t["HostFirewallSystem"] = reflect.TypeOf((*HostFirewallSystem)(nil)).Elem() 767 } 768 769 type HostFirmwareSystem struct { 770 Self types.ManagedObjectReference `json:"self"` 771 } 772 773 func (m HostFirmwareSystem) Reference() types.ManagedObjectReference { 774 return m.Self 775 } 776 777 func init() { 778 t["HostFirmwareSystem"] = reflect.TypeOf((*HostFirmwareSystem)(nil)).Elem() 779 } 780 781 type HostGraphicsManager struct { 782 ExtensibleManagedObject 783 784 GraphicsInfo []types.HostGraphicsInfo `json:"graphicsInfo"` 785 GraphicsConfig *types.HostGraphicsConfig `json:"graphicsConfig"` 786 SharedPassthruGpuTypes []string `json:"sharedPassthruGpuTypes"` 787 SharedGpuCapabilities []types.HostSharedGpuCapabilities `json:"sharedGpuCapabilities"` 788 } 789 790 func init() { 791 t["HostGraphicsManager"] = reflect.TypeOf((*HostGraphicsManager)(nil)).Elem() 792 } 793 794 type HostHealthStatusSystem struct { 795 Self types.ManagedObjectReference `json:"self"` 796 797 Runtime types.HealthSystemRuntime `json:"runtime"` 798 } 799 800 func (m HostHealthStatusSystem) Reference() types.ManagedObjectReference { 801 return m.Self 802 } 803 804 func init() { 805 t["HostHealthStatusSystem"] = reflect.TypeOf((*HostHealthStatusSystem)(nil)).Elem() 806 } 807 808 type HostImageConfigManager struct { 809 Self types.ManagedObjectReference `json:"self"` 810 } 811 812 func (m HostImageConfigManager) Reference() types.ManagedObjectReference { 813 return m.Self 814 } 815 816 func init() { 817 t["HostImageConfigManager"] = reflect.TypeOf((*HostImageConfigManager)(nil)).Elem() 818 } 819 820 type HostKernelModuleSystem struct { 821 Self types.ManagedObjectReference `json:"self"` 822 } 823 824 func (m HostKernelModuleSystem) Reference() types.ManagedObjectReference { 825 return m.Self 826 } 827 828 func init() { 829 t["HostKernelModuleSystem"] = reflect.TypeOf((*HostKernelModuleSystem)(nil)).Elem() 830 } 831 832 type HostLocalAccountManager struct { 833 Self types.ManagedObjectReference `json:"self"` 834 } 835 836 func (m HostLocalAccountManager) Reference() types.ManagedObjectReference { 837 return m.Self 838 } 839 840 func init() { 841 t["HostLocalAccountManager"] = reflect.TypeOf((*HostLocalAccountManager)(nil)).Elem() 842 } 843 844 type HostLocalAuthentication struct { 845 HostAuthenticationStore 846 } 847 848 func init() { 849 t["HostLocalAuthentication"] = reflect.TypeOf((*HostLocalAuthentication)(nil)).Elem() 850 } 851 852 type HostMemorySystem struct { 853 ExtensibleManagedObject 854 855 ConsoleReservationInfo *types.ServiceConsoleReservationInfo `json:"consoleReservationInfo"` 856 VirtualMachineReservationInfo *types.VirtualMachineMemoryReservationInfo `json:"virtualMachineReservationInfo"` 857 } 858 859 func init() { 860 t["HostMemorySystem"] = reflect.TypeOf((*HostMemorySystem)(nil)).Elem() 861 } 862 863 type HostNetworkSystem struct { 864 ExtensibleManagedObject 865 866 Capabilities *types.HostNetCapabilities `json:"capabilities"` 867 NetworkInfo *types.HostNetworkInfo `json:"networkInfo"` 868 OffloadCapabilities *types.HostNetOffloadCapabilities `json:"offloadCapabilities"` 869 NetworkConfig *types.HostNetworkConfig `json:"networkConfig"` 870 DnsConfig types.BaseHostDnsConfig `json:"dnsConfig"` 871 IpRouteConfig types.BaseHostIpRouteConfig `json:"ipRouteConfig"` 872 ConsoleIpRouteConfig types.BaseHostIpRouteConfig `json:"consoleIpRouteConfig"` 873 } 874 875 func init() { 876 t["HostNetworkSystem"] = reflect.TypeOf((*HostNetworkSystem)(nil)).Elem() 877 } 878 879 type HostNvdimmSystem struct { 880 Self types.ManagedObjectReference `json:"self"` 881 882 NvdimmSystemInfo types.NvdimmSystemInfo `json:"nvdimmSystemInfo"` 883 } 884 885 func (m HostNvdimmSystem) Reference() types.ManagedObjectReference { 886 return m.Self 887 } 888 889 func init() { 890 t["HostNvdimmSystem"] = reflect.TypeOf((*HostNvdimmSystem)(nil)).Elem() 891 } 892 893 type HostPatchManager struct { 894 Self types.ManagedObjectReference `json:"self"` 895 } 896 897 func (m HostPatchManager) Reference() types.ManagedObjectReference { 898 return m.Self 899 } 900 901 func init() { 902 t["HostPatchManager"] = reflect.TypeOf((*HostPatchManager)(nil)).Elem() 903 } 904 905 type HostPciPassthruSystem struct { 906 ExtensibleManagedObject 907 908 PciPassthruInfo []types.BaseHostPciPassthruInfo `json:"pciPassthruInfo"` 909 SriovDevicePoolInfo []types.BaseHostSriovDevicePoolInfo `json:"sriovDevicePoolInfo"` 910 } 911 912 func init() { 913 t["HostPciPassthruSystem"] = reflect.TypeOf((*HostPciPassthruSystem)(nil)).Elem() 914 } 915 916 type HostPowerSystem struct { 917 Self types.ManagedObjectReference `json:"self"` 918 919 Capability types.PowerSystemCapability `json:"capability"` 920 Info types.PowerSystemInfo `json:"info"` 921 } 922 923 func (m HostPowerSystem) Reference() types.ManagedObjectReference { 924 return m.Self 925 } 926 927 func init() { 928 t["HostPowerSystem"] = reflect.TypeOf((*HostPowerSystem)(nil)).Elem() 929 } 930 931 type HostProfile struct { 932 Profile 933 934 ValidationState *string `json:"validationState"` 935 ValidationStateUpdateTime *time.Time `json:"validationStateUpdateTime"` 936 ValidationFailureInfo *types.HostProfileValidationFailureInfo `json:"validationFailureInfo"` 937 ReferenceHost *types.ManagedObjectReference `json:"referenceHost"` 938 } 939 940 func init() { 941 t["HostProfile"] = reflect.TypeOf((*HostProfile)(nil)).Elem() 942 } 943 944 type HostProfileManager struct { 945 ProfileManager 946 } 947 948 func init() { 949 t["HostProfileManager"] = reflect.TypeOf((*HostProfileManager)(nil)).Elem() 950 } 951 952 type HostServiceSystem struct { 953 ExtensibleManagedObject 954 955 ServiceInfo types.HostServiceInfo `json:"serviceInfo"` 956 } 957 958 func init() { 959 t["HostServiceSystem"] = reflect.TypeOf((*HostServiceSystem)(nil)).Elem() 960 } 961 962 type HostSnmpSystem struct { 963 Self types.ManagedObjectReference `json:"self"` 964 965 Configuration types.HostSnmpConfigSpec `json:"configuration"` 966 Limits types.HostSnmpSystemAgentLimits `json:"limits"` 967 } 968 969 func (m HostSnmpSystem) Reference() types.ManagedObjectReference { 970 return m.Self 971 } 972 973 func init() { 974 t["HostSnmpSystem"] = reflect.TypeOf((*HostSnmpSystem)(nil)).Elem() 975 } 976 977 type HostSpecificationManager struct { 978 Self types.ManagedObjectReference `json:"self"` 979 } 980 981 func (m HostSpecificationManager) Reference() types.ManagedObjectReference { 982 return m.Self 983 } 984 985 func init() { 986 t["HostSpecificationManager"] = reflect.TypeOf((*HostSpecificationManager)(nil)).Elem() 987 } 988 989 type HostStorageSystem struct { 990 ExtensibleManagedObject 991 992 StorageDeviceInfo *types.HostStorageDeviceInfo `json:"storageDeviceInfo"` 993 FileSystemVolumeInfo types.HostFileSystemVolumeInfo `json:"fileSystemVolumeInfo"` 994 SystemFile []string `json:"systemFile"` 995 MultipathStateInfo *types.HostMultipathStateInfo `json:"multipathStateInfo"` 996 } 997 998 func init() { 999 t["HostStorageSystem"] = reflect.TypeOf((*HostStorageSystem)(nil)).Elem() 1000 } 1001 1002 type HostSystem struct { 1003 ManagedEntity 1004 1005 Runtime types.HostRuntimeInfo `json:"runtime"` 1006 Summary types.HostListSummary `json:"summary"` 1007 Hardware *types.HostHardwareInfo `json:"hardware"` 1008 Capability *types.HostCapability `json:"capability"` 1009 LicensableResource types.HostLicensableResourceInfo `json:"licensableResource"` 1010 RemediationState *types.HostSystemRemediationState `json:"remediationState"` 1011 PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `json:"precheckRemediationResult"` 1012 RemediationResult *types.ApplyHostProfileConfigurationResult `json:"remediationResult"` 1013 ComplianceCheckState *types.HostSystemComplianceCheckState `json:"complianceCheckState"` 1014 ComplianceCheckResult *types.ComplianceResult `json:"complianceCheckResult"` 1015 ConfigManager types.HostConfigManager `json:"configManager"` 1016 Config *types.HostConfigInfo `json:"config"` 1017 Vm []types.ManagedObjectReference `json:"vm"` 1018 Datastore []types.ManagedObjectReference `json:"datastore"` 1019 Network []types.ManagedObjectReference `json:"network"` 1020 DatastoreBrowser types.ManagedObjectReference `json:"datastoreBrowser"` 1021 SystemResources *types.HostSystemResourceInfo `json:"systemResources"` 1022 AnswerFileValidationState *types.AnswerFileStatusResult `json:"answerFileValidationState"` 1023 AnswerFileValidationResult *types.AnswerFileStatusResult `json:"answerFileValidationResult"` 1024 } 1025 1026 func (m *HostSystem) Entity() *ManagedEntity { 1027 return &m.ManagedEntity 1028 } 1029 1030 func init() { 1031 t["HostSystem"] = reflect.TypeOf((*HostSystem)(nil)).Elem() 1032 } 1033 1034 type HostVFlashManager struct { 1035 Self types.ManagedObjectReference `json:"self"` 1036 1037 VFlashConfigInfo *types.HostVFlashManagerVFlashConfigInfo `json:"vFlashConfigInfo"` 1038 } 1039 1040 func (m HostVFlashManager) Reference() types.ManagedObjectReference { 1041 return m.Self 1042 } 1043 1044 func init() { 1045 t["HostVFlashManager"] = reflect.TypeOf((*HostVFlashManager)(nil)).Elem() 1046 } 1047 1048 type HostVMotionSystem struct { 1049 ExtensibleManagedObject 1050 1051 NetConfig *types.HostVMotionNetConfig `json:"netConfig"` 1052 IpConfig *types.HostIpConfig `json:"ipConfig"` 1053 } 1054 1055 func init() { 1056 t["HostVMotionSystem"] = reflect.TypeOf((*HostVMotionSystem)(nil)).Elem() 1057 } 1058 1059 type HostVStorageObjectManager struct { 1060 VStorageObjectManagerBase 1061 } 1062 1063 func init() { 1064 t["HostVStorageObjectManager"] = reflect.TypeOf((*HostVStorageObjectManager)(nil)).Elem() 1065 } 1066 1067 type HostVirtualNicManager struct { 1068 ExtensibleManagedObject 1069 1070 Info types.HostVirtualNicManagerInfo `json:"info"` 1071 } 1072 1073 func init() { 1074 t["HostVirtualNicManager"] = reflect.TypeOf((*HostVirtualNicManager)(nil)).Elem() 1075 } 1076 1077 type HostVsanInternalSystem struct { 1078 Self types.ManagedObjectReference `json:"self"` 1079 } 1080 1081 func (m HostVsanInternalSystem) Reference() types.ManagedObjectReference { 1082 return m.Self 1083 } 1084 1085 func init() { 1086 t["HostVsanInternalSystem"] = reflect.TypeOf((*HostVsanInternalSystem)(nil)).Elem() 1087 } 1088 1089 type HostVsanSystem struct { 1090 Self types.ManagedObjectReference `json:"self"` 1091 1092 Config types.VsanHostConfigInfo `json:"config"` 1093 } 1094 1095 func (m HostVsanSystem) Reference() types.ManagedObjectReference { 1096 return m.Self 1097 } 1098 1099 func init() { 1100 t["HostVsanSystem"] = reflect.TypeOf((*HostVsanSystem)(nil)).Elem() 1101 } 1102 1103 type HttpNfcLease struct { 1104 Self types.ManagedObjectReference `json:"self"` 1105 1106 InitializeProgress int32 `json:"initializeProgress"` 1107 TransferProgress int32 `json:"transferProgress"` 1108 Mode string `json:"mode"` 1109 Capabilities types.HttpNfcLeaseCapabilities `json:"capabilities"` 1110 Info *types.HttpNfcLeaseInfo `json:"info"` 1111 State types.HttpNfcLeaseState `json:"state"` 1112 Error *types.LocalizedMethodFault `json:"error"` 1113 } 1114 1115 func (m HttpNfcLease) Reference() types.ManagedObjectReference { 1116 return m.Self 1117 } 1118 1119 func init() { 1120 t["HttpNfcLease"] = reflect.TypeOf((*HttpNfcLease)(nil)).Elem() 1121 } 1122 1123 type InventoryView struct { 1124 ManagedObjectView 1125 } 1126 1127 func init() { 1128 t["InventoryView"] = reflect.TypeOf((*InventoryView)(nil)).Elem() 1129 } 1130 1131 type IoFilterManager struct { 1132 Self types.ManagedObjectReference `json:"self"` 1133 } 1134 1135 func (m IoFilterManager) Reference() types.ManagedObjectReference { 1136 return m.Self 1137 } 1138 1139 func init() { 1140 t["IoFilterManager"] = reflect.TypeOf((*IoFilterManager)(nil)).Elem() 1141 } 1142 1143 type IpPoolManager struct { 1144 Self types.ManagedObjectReference `json:"self"` 1145 } 1146 1147 func (m IpPoolManager) Reference() types.ManagedObjectReference { 1148 return m.Self 1149 } 1150 1151 func init() { 1152 t["IpPoolManager"] = reflect.TypeOf((*IpPoolManager)(nil)).Elem() 1153 } 1154 1155 type IscsiManager struct { 1156 Self types.ManagedObjectReference `json:"self"` 1157 } 1158 1159 func (m IscsiManager) Reference() types.ManagedObjectReference { 1160 return m.Self 1161 } 1162 1163 func init() { 1164 t["IscsiManager"] = reflect.TypeOf((*IscsiManager)(nil)).Elem() 1165 } 1166 1167 type LicenseAssignmentManager struct { 1168 Self types.ManagedObjectReference `json:"self"` 1169 } 1170 1171 func (m LicenseAssignmentManager) Reference() types.ManagedObjectReference { 1172 return m.Self 1173 } 1174 1175 func init() { 1176 t["LicenseAssignmentManager"] = reflect.TypeOf((*LicenseAssignmentManager)(nil)).Elem() 1177 } 1178 1179 type LicenseManager struct { 1180 Self types.ManagedObjectReference `json:"self"` 1181 1182 Source types.BaseLicenseSource `json:"source"` 1183 SourceAvailable bool `json:"sourceAvailable"` 1184 Diagnostics *types.LicenseDiagnostics `json:"diagnostics"` 1185 FeatureInfo []types.LicenseFeatureInfo `json:"featureInfo"` 1186 LicensedEdition string `json:"licensedEdition"` 1187 Licenses []types.LicenseManagerLicenseInfo `json:"licenses"` 1188 LicenseAssignmentManager *types.ManagedObjectReference `json:"licenseAssignmentManager"` 1189 Evaluation types.LicenseManagerEvaluationInfo `json:"evaluation"` 1190 } 1191 1192 func (m LicenseManager) Reference() types.ManagedObjectReference { 1193 return m.Self 1194 } 1195 1196 func init() { 1197 t["LicenseManager"] = reflect.TypeOf((*LicenseManager)(nil)).Elem() 1198 } 1199 1200 type ListView struct { 1201 ManagedObjectView 1202 } 1203 1204 func init() { 1205 t["ListView"] = reflect.TypeOf((*ListView)(nil)).Elem() 1206 } 1207 1208 type LocalizationManager struct { 1209 Self types.ManagedObjectReference `json:"self"` 1210 1211 Catalog []types.LocalizationManagerMessageCatalog `json:"catalog"` 1212 } 1213 1214 func (m LocalizationManager) Reference() types.ManagedObjectReference { 1215 return m.Self 1216 } 1217 1218 func init() { 1219 t["LocalizationManager"] = reflect.TypeOf((*LocalizationManager)(nil)).Elem() 1220 } 1221 1222 type ManagedEntity struct { 1223 ExtensibleManagedObject 1224 1225 Parent *types.ManagedObjectReference `json:"parent"` 1226 CustomValue []types.BaseCustomFieldValue `json:"customValue"` 1227 OverallStatus types.ManagedEntityStatus `json:"overallStatus"` 1228 ConfigStatus types.ManagedEntityStatus `json:"configStatus"` 1229 ConfigIssue []types.BaseEvent `json:"configIssue"` 1230 EffectiveRole []int32 `json:"effectiveRole"` 1231 Permission []types.Permission `json:"permission"` 1232 Name string `json:"name"` 1233 DisabledMethod []string `json:"disabledMethod"` 1234 RecentTask []types.ManagedObjectReference `json:"recentTask"` 1235 DeclaredAlarmState []types.AlarmState `json:"declaredAlarmState"` 1236 TriggeredAlarmState []types.AlarmState `json:"triggeredAlarmState"` 1237 AlarmActionsEnabled *bool `json:"alarmActionsEnabled"` 1238 Tag []types.Tag `json:"tag"` 1239 } 1240 1241 func init() { 1242 t["ManagedEntity"] = reflect.TypeOf((*ManagedEntity)(nil)).Elem() 1243 } 1244 1245 type ManagedObjectView struct { 1246 Self types.ManagedObjectReference `json:"self"` 1247 1248 View []types.ManagedObjectReference `json:"view"` 1249 } 1250 1251 func (m ManagedObjectView) Reference() types.ManagedObjectReference { 1252 return m.Self 1253 } 1254 1255 func init() { 1256 t["ManagedObjectView"] = reflect.TypeOf((*ManagedObjectView)(nil)).Elem() 1257 } 1258 1259 type MessageBusProxy struct { 1260 Self types.ManagedObjectReference `json:"self"` 1261 } 1262 1263 func (m MessageBusProxy) Reference() types.ManagedObjectReference { 1264 return m.Self 1265 } 1266 1267 func init() { 1268 t["MessageBusProxy"] = reflect.TypeOf((*MessageBusProxy)(nil)).Elem() 1269 } 1270 1271 type Network struct { 1272 ManagedEntity 1273 1274 Summary types.BaseNetworkSummary `json:"summary"` 1275 Host []types.ManagedObjectReference `json:"host"` 1276 Vm []types.ManagedObjectReference `json:"vm"` 1277 Name string `json:"name"` 1278 } 1279 1280 func (m *Network) Entity() *ManagedEntity { 1281 return &m.ManagedEntity 1282 } 1283 1284 func init() { 1285 t["Network"] = reflect.TypeOf((*Network)(nil)).Elem() 1286 } 1287 1288 type OpaqueNetwork struct { 1289 Network 1290 1291 Capability *types.OpaqueNetworkCapability `json:"capability"` 1292 ExtraConfig []types.BaseOptionValue `json:"extraConfig"` 1293 } 1294 1295 func init() { 1296 t["OpaqueNetwork"] = reflect.TypeOf((*OpaqueNetwork)(nil)).Elem() 1297 } 1298 1299 type OptionManager struct { 1300 Self types.ManagedObjectReference `json:"self"` 1301 1302 SupportedOption []types.OptionDef `json:"supportedOption"` 1303 Setting []types.BaseOptionValue `json:"setting"` 1304 } 1305 1306 func (m OptionManager) Reference() types.ManagedObjectReference { 1307 return m.Self 1308 } 1309 1310 func init() { 1311 t["OptionManager"] = reflect.TypeOf((*OptionManager)(nil)).Elem() 1312 } 1313 1314 type OverheadMemoryManager struct { 1315 Self types.ManagedObjectReference `json:"self"` 1316 } 1317 1318 func (m OverheadMemoryManager) Reference() types.ManagedObjectReference { 1319 return m.Self 1320 } 1321 1322 func init() { 1323 t["OverheadMemoryManager"] = reflect.TypeOf((*OverheadMemoryManager)(nil)).Elem() 1324 } 1325 1326 type OvfManager struct { 1327 Self types.ManagedObjectReference `json:"self"` 1328 1329 OvfImportOption []types.OvfOptionInfo `json:"ovfImportOption"` 1330 OvfExportOption []types.OvfOptionInfo `json:"ovfExportOption"` 1331 } 1332 1333 func (m OvfManager) Reference() types.ManagedObjectReference { 1334 return m.Self 1335 } 1336 1337 func init() { 1338 t["OvfManager"] = reflect.TypeOf((*OvfManager)(nil)).Elem() 1339 } 1340 1341 type PerformanceManager struct { 1342 Self types.ManagedObjectReference `json:"self"` 1343 1344 Description types.PerformanceDescription `json:"description"` 1345 HistoricalInterval []types.PerfInterval `json:"historicalInterval"` 1346 PerfCounter []types.PerfCounterInfo `json:"perfCounter"` 1347 } 1348 1349 func (m PerformanceManager) Reference() types.ManagedObjectReference { 1350 return m.Self 1351 } 1352 1353 func init() { 1354 t["PerformanceManager"] = reflect.TypeOf((*PerformanceManager)(nil)).Elem() 1355 } 1356 1357 type Profile struct { 1358 Self types.ManagedObjectReference `json:"self"` 1359 1360 Config types.BaseProfileConfigInfo `json:"config"` 1361 Description *types.ProfileDescription `json:"description"` 1362 Name string `json:"name"` 1363 CreatedTime time.Time `json:"createdTime"` 1364 ModifiedTime time.Time `json:"modifiedTime"` 1365 Entity []types.ManagedObjectReference `json:"entity"` 1366 ComplianceStatus string `json:"complianceStatus"` 1367 } 1368 1369 func (m Profile) Reference() types.ManagedObjectReference { 1370 return m.Self 1371 } 1372 1373 func init() { 1374 t["Profile"] = reflect.TypeOf((*Profile)(nil)).Elem() 1375 } 1376 1377 type ProfileComplianceManager struct { 1378 Self types.ManagedObjectReference `json:"self"` 1379 } 1380 1381 func (m ProfileComplianceManager) Reference() types.ManagedObjectReference { 1382 return m.Self 1383 } 1384 1385 func init() { 1386 t["ProfileComplianceManager"] = reflect.TypeOf((*ProfileComplianceManager)(nil)).Elem() 1387 } 1388 1389 type ProfileManager struct { 1390 Self types.ManagedObjectReference `json:"self"` 1391 1392 Profile []types.ManagedObjectReference `json:"profile"` 1393 } 1394 1395 func (m ProfileManager) Reference() types.ManagedObjectReference { 1396 return m.Self 1397 } 1398 1399 func init() { 1400 t["ProfileManager"] = reflect.TypeOf((*ProfileManager)(nil)).Elem() 1401 } 1402 1403 type PropertyCollector struct { 1404 Self types.ManagedObjectReference `json:"self"` 1405 1406 Filter []types.ManagedObjectReference `json:"filter"` 1407 } 1408 1409 func (m PropertyCollector) Reference() types.ManagedObjectReference { 1410 return m.Self 1411 } 1412 1413 func init() { 1414 t["PropertyCollector"] = reflect.TypeOf((*PropertyCollector)(nil)).Elem() 1415 } 1416 1417 type PropertyFilter struct { 1418 Self types.ManagedObjectReference `json:"self"` 1419 1420 Spec types.PropertyFilterSpec `json:"spec"` 1421 PartialUpdates bool `json:"partialUpdates"` 1422 } 1423 1424 func (m PropertyFilter) Reference() types.ManagedObjectReference { 1425 return m.Self 1426 } 1427 1428 func init() { 1429 t["PropertyFilter"] = reflect.TypeOf((*PropertyFilter)(nil)).Elem() 1430 } 1431 1432 type ResourcePlanningManager struct { 1433 Self types.ManagedObjectReference `json:"self"` 1434 } 1435 1436 func (m ResourcePlanningManager) Reference() types.ManagedObjectReference { 1437 return m.Self 1438 } 1439 1440 func init() { 1441 t["ResourcePlanningManager"] = reflect.TypeOf((*ResourcePlanningManager)(nil)).Elem() 1442 } 1443 1444 type ResourcePool struct { 1445 ManagedEntity 1446 1447 Summary types.BaseResourcePoolSummary `json:"summary"` 1448 Runtime types.ResourcePoolRuntimeInfo `json:"runtime"` 1449 Owner types.ManagedObjectReference `json:"owner"` 1450 ResourcePool []types.ManagedObjectReference `json:"resourcePool"` 1451 Vm []types.ManagedObjectReference `json:"vm"` 1452 Config types.ResourceConfigSpec `json:"config"` 1453 Namespace *string `json:"namespace"` 1454 ChildConfiguration []types.ResourceConfigSpec `json:"childConfiguration"` 1455 } 1456 1457 func (m *ResourcePool) Entity() *ManagedEntity { 1458 return &m.ManagedEntity 1459 } 1460 1461 func init() { 1462 t["ResourcePool"] = reflect.TypeOf((*ResourcePool)(nil)).Elem() 1463 } 1464 1465 type ScheduledTask struct { 1466 ExtensibleManagedObject 1467 1468 Info types.ScheduledTaskInfo `json:"info"` 1469 } 1470 1471 func init() { 1472 t["ScheduledTask"] = reflect.TypeOf((*ScheduledTask)(nil)).Elem() 1473 } 1474 1475 type ScheduledTaskManager struct { 1476 Self types.ManagedObjectReference `json:"self"` 1477 1478 ScheduledTask []types.ManagedObjectReference `json:"scheduledTask"` 1479 Description types.ScheduledTaskDescription `json:"description"` 1480 } 1481 1482 func (m ScheduledTaskManager) Reference() types.ManagedObjectReference { 1483 return m.Self 1484 } 1485 1486 func init() { 1487 t["ScheduledTaskManager"] = reflect.TypeOf((*ScheduledTaskManager)(nil)).Elem() 1488 } 1489 1490 type SearchIndex struct { 1491 Self types.ManagedObjectReference `json:"self"` 1492 } 1493 1494 func (m SearchIndex) Reference() types.ManagedObjectReference { 1495 return m.Self 1496 } 1497 1498 func init() { 1499 t["SearchIndex"] = reflect.TypeOf((*SearchIndex)(nil)).Elem() 1500 } 1501 1502 type ServiceInstance struct { 1503 Self types.ManagedObjectReference `json:"self"` 1504 1505 ServerClock time.Time `json:"serverClock"` 1506 Capability types.Capability `json:"capability"` 1507 Content types.ServiceContent `json:"content"` 1508 } 1509 1510 func (m ServiceInstance) Reference() types.ManagedObjectReference { 1511 return m.Self 1512 } 1513 1514 func init() { 1515 t["ServiceInstance"] = reflect.TypeOf((*ServiceInstance)(nil)).Elem() 1516 } 1517 1518 type ServiceManager struct { 1519 Self types.ManagedObjectReference `json:"self"` 1520 1521 Service []types.ServiceManagerServiceInfo `json:"service"` 1522 } 1523 1524 func (m ServiceManager) Reference() types.ManagedObjectReference { 1525 return m.Self 1526 } 1527 1528 func init() { 1529 t["ServiceManager"] = reflect.TypeOf((*ServiceManager)(nil)).Elem() 1530 } 1531 1532 type SessionManager struct { 1533 Self types.ManagedObjectReference `json:"self"` 1534 1535 SessionList []types.UserSession `json:"sessionList"` 1536 CurrentSession *types.UserSession `json:"currentSession"` 1537 Message *string `json:"message"` 1538 MessageLocaleList []string `json:"messageLocaleList"` 1539 SupportedLocaleList []string `json:"supportedLocaleList"` 1540 DefaultLocale string `json:"defaultLocale"` 1541 } 1542 1543 func (m SessionManager) Reference() types.ManagedObjectReference { 1544 return m.Self 1545 } 1546 1547 func init() { 1548 t["SessionManager"] = reflect.TypeOf((*SessionManager)(nil)).Elem() 1549 } 1550 1551 type SimpleCommand struct { 1552 Self types.ManagedObjectReference `json:"self"` 1553 1554 EncodingType types.SimpleCommandEncoding `json:"encodingType"` 1555 Entity types.ServiceManagerServiceInfo `json:"entity"` 1556 } 1557 1558 func (m SimpleCommand) Reference() types.ManagedObjectReference { 1559 return m.Self 1560 } 1561 1562 func init() { 1563 t["SimpleCommand"] = reflect.TypeOf((*SimpleCommand)(nil)).Elem() 1564 } 1565 1566 type SiteInfoManager struct { 1567 Self types.ManagedObjectReference `json:"self"` 1568 } 1569 1570 func (m SiteInfoManager) Reference() types.ManagedObjectReference { 1571 return m.Self 1572 } 1573 1574 func init() { 1575 t["SiteInfoManager"] = reflect.TypeOf((*SiteInfoManager)(nil)).Elem() 1576 } 1577 1578 type StoragePod struct { 1579 Folder 1580 1581 Summary *types.StoragePodSummary `json:"summary"` 1582 PodStorageDrsEntry *types.PodStorageDrsEntry `json:"podStorageDrsEntry"` 1583 } 1584 1585 func init() { 1586 t["StoragePod"] = reflect.TypeOf((*StoragePod)(nil)).Elem() 1587 } 1588 1589 type StorageQueryManager struct { 1590 Self types.ManagedObjectReference `json:"self"` 1591 } 1592 1593 func (m StorageQueryManager) Reference() types.ManagedObjectReference { 1594 return m.Self 1595 } 1596 1597 func init() { 1598 t["StorageQueryManager"] = reflect.TypeOf((*StorageQueryManager)(nil)).Elem() 1599 } 1600 1601 type StorageResourceManager struct { 1602 Self types.ManagedObjectReference `json:"self"` 1603 } 1604 1605 func (m StorageResourceManager) Reference() types.ManagedObjectReference { 1606 return m.Self 1607 } 1608 1609 func init() { 1610 t["StorageResourceManager"] = reflect.TypeOf((*StorageResourceManager)(nil)).Elem() 1611 } 1612 1613 type Task struct { 1614 ExtensibleManagedObject 1615 1616 Info types.TaskInfo `json:"info"` 1617 } 1618 1619 func init() { 1620 t["Task"] = reflect.TypeOf((*Task)(nil)).Elem() 1621 } 1622 1623 type TaskHistoryCollector struct { 1624 HistoryCollector 1625 1626 LatestPage []types.TaskInfo `json:"latestPage"` 1627 } 1628 1629 func init() { 1630 t["TaskHistoryCollector"] = reflect.TypeOf((*TaskHistoryCollector)(nil)).Elem() 1631 } 1632 1633 type TaskManager struct { 1634 Self types.ManagedObjectReference `json:"self"` 1635 1636 RecentTask []types.ManagedObjectReference `json:"recentTask"` 1637 Description types.TaskDescription `json:"description"` 1638 MaxCollector int32 `json:"maxCollector"` 1639 } 1640 1641 func (m TaskManager) Reference() types.ManagedObjectReference { 1642 return m.Self 1643 } 1644 1645 func init() { 1646 t["TaskManager"] = reflect.TypeOf((*TaskManager)(nil)).Elem() 1647 } 1648 1649 type TenantTenantManager struct { 1650 Self types.ManagedObjectReference `json:"self"` 1651 } 1652 1653 func (m TenantTenantManager) Reference() types.ManagedObjectReference { 1654 return m.Self 1655 } 1656 1657 func init() { 1658 t["TenantTenantManager"] = reflect.TypeOf((*TenantTenantManager)(nil)).Elem() 1659 } 1660 1661 type UserDirectory struct { 1662 Self types.ManagedObjectReference `json:"self"` 1663 1664 DomainList []string `json:"domainList"` 1665 } 1666 1667 func (m UserDirectory) Reference() types.ManagedObjectReference { 1668 return m.Self 1669 } 1670 1671 func init() { 1672 t["UserDirectory"] = reflect.TypeOf((*UserDirectory)(nil)).Elem() 1673 } 1674 1675 type VStorageObjectManagerBase struct { 1676 Self types.ManagedObjectReference `json:"self"` 1677 } 1678 1679 func (m VStorageObjectManagerBase) Reference() types.ManagedObjectReference { 1680 return m.Self 1681 } 1682 1683 func init() { 1684 t["VStorageObjectManagerBase"] = reflect.TypeOf((*VStorageObjectManagerBase)(nil)).Elem() 1685 } 1686 1687 type VcenterVStorageObjectManager struct { 1688 VStorageObjectManagerBase 1689 } 1690 1691 func init() { 1692 t["VcenterVStorageObjectManager"] = reflect.TypeOf((*VcenterVStorageObjectManager)(nil)).Elem() 1693 } 1694 1695 type View struct { 1696 Self types.ManagedObjectReference `json:"self"` 1697 } 1698 1699 func (m View) Reference() types.ManagedObjectReference { 1700 return m.Self 1701 } 1702 1703 func init() { 1704 t["View"] = reflect.TypeOf((*View)(nil)).Elem() 1705 } 1706 1707 type ViewManager struct { 1708 Self types.ManagedObjectReference `json:"self"` 1709 1710 ViewList []types.ManagedObjectReference `json:"viewList"` 1711 } 1712 1713 func (m ViewManager) Reference() types.ManagedObjectReference { 1714 return m.Self 1715 } 1716 1717 func init() { 1718 t["ViewManager"] = reflect.TypeOf((*ViewManager)(nil)).Elem() 1719 } 1720 1721 type VirtualApp struct { 1722 ResourcePool 1723 1724 ParentFolder *types.ManagedObjectReference `json:"parentFolder"` 1725 Datastore []types.ManagedObjectReference `json:"datastore"` 1726 Network []types.ManagedObjectReference `json:"network"` 1727 VAppConfig *types.VAppConfigInfo `json:"vAppConfig"` 1728 ParentVApp *types.ManagedObjectReference `json:"parentVApp"` 1729 ChildLink []types.VirtualAppLinkInfo `json:"childLink"` 1730 } 1731 1732 func init() { 1733 t["VirtualApp"] = reflect.TypeOf((*VirtualApp)(nil)).Elem() 1734 } 1735 1736 type VirtualDiskManager struct { 1737 Self types.ManagedObjectReference `json:"self"` 1738 } 1739 1740 func (m VirtualDiskManager) Reference() types.ManagedObjectReference { 1741 return m.Self 1742 } 1743 1744 func init() { 1745 t["VirtualDiskManager"] = reflect.TypeOf((*VirtualDiskManager)(nil)).Elem() 1746 } 1747 1748 type VirtualMachine struct { 1749 ManagedEntity 1750 1751 Capability types.VirtualMachineCapability `json:"capability"` 1752 Config *types.VirtualMachineConfigInfo `json:"config"` 1753 Layout *types.VirtualMachineFileLayout `json:"layout"` 1754 LayoutEx *types.VirtualMachineFileLayoutEx `json:"layoutEx"` 1755 Storage *types.VirtualMachineStorageInfo `json:"storage"` 1756 EnvironmentBrowser types.ManagedObjectReference `json:"environmentBrowser"` 1757 ResourcePool *types.ManagedObjectReference `json:"resourcePool"` 1758 ParentVApp *types.ManagedObjectReference `json:"parentVApp"` 1759 ResourceConfig *types.ResourceConfigSpec `json:"resourceConfig"` 1760 Runtime types.VirtualMachineRuntimeInfo `json:"runtime"` 1761 Guest *types.GuestInfo `json:"guest"` 1762 Summary types.VirtualMachineSummary `json:"summary"` 1763 Datastore []types.ManagedObjectReference `json:"datastore"` 1764 Network []types.ManagedObjectReference `json:"network"` 1765 Snapshot *types.VirtualMachineSnapshotInfo `json:"snapshot"` 1766 RootSnapshot []types.ManagedObjectReference `json:"rootSnapshot"` 1767 GuestHeartbeatStatus types.ManagedEntityStatus `json:"guestHeartbeatStatus"` 1768 } 1769 1770 func (m *VirtualMachine) Entity() *ManagedEntity { 1771 return &m.ManagedEntity 1772 } 1773 1774 func init() { 1775 t["VirtualMachine"] = reflect.TypeOf((*VirtualMachine)(nil)).Elem() 1776 } 1777 1778 type VirtualMachineCompatibilityChecker struct { 1779 Self types.ManagedObjectReference `json:"self"` 1780 } 1781 1782 func (m VirtualMachineCompatibilityChecker) Reference() types.ManagedObjectReference { 1783 return m.Self 1784 } 1785 1786 func init() { 1787 t["VirtualMachineCompatibilityChecker"] = reflect.TypeOf((*VirtualMachineCompatibilityChecker)(nil)).Elem() 1788 } 1789 1790 type VirtualMachineGuestCustomizationManager struct { 1791 Self types.ManagedObjectReference `json:"self"` 1792 } 1793 1794 func (m VirtualMachineGuestCustomizationManager) Reference() types.ManagedObjectReference { 1795 return m.Self 1796 } 1797 1798 func init() { 1799 t["VirtualMachineGuestCustomizationManager"] = reflect.TypeOf((*VirtualMachineGuestCustomizationManager)(nil)).Elem() 1800 } 1801 1802 type VirtualMachineProvisioningChecker struct { 1803 Self types.ManagedObjectReference `json:"self"` 1804 } 1805 1806 func (m VirtualMachineProvisioningChecker) Reference() types.ManagedObjectReference { 1807 return m.Self 1808 } 1809 1810 func init() { 1811 t["VirtualMachineProvisioningChecker"] = reflect.TypeOf((*VirtualMachineProvisioningChecker)(nil)).Elem() 1812 } 1813 1814 type VirtualMachineSnapshot struct { 1815 ExtensibleManagedObject 1816 1817 Config types.VirtualMachineConfigInfo `json:"config"` 1818 ChildSnapshot []types.ManagedObjectReference `json:"childSnapshot"` 1819 Vm types.ManagedObjectReference `json:"vm"` 1820 } 1821 1822 func init() { 1823 t["VirtualMachineSnapshot"] = reflect.TypeOf((*VirtualMachineSnapshot)(nil)).Elem() 1824 } 1825 1826 type VirtualizationManager struct { 1827 Self types.ManagedObjectReference `json:"self"` 1828 } 1829 1830 func (m VirtualizationManager) Reference() types.ManagedObjectReference { 1831 return m.Self 1832 } 1833 1834 func init() { 1835 t["VirtualizationManager"] = reflect.TypeOf((*VirtualizationManager)(nil)).Elem() 1836 } 1837 1838 type VmwareDistributedVirtualSwitch struct { 1839 DistributedVirtualSwitch 1840 } 1841 1842 func init() { 1843 t["VmwareDistributedVirtualSwitch"] = reflect.TypeOf((*VmwareDistributedVirtualSwitch)(nil)).Elem() 1844 } 1845 1846 type VsanUpgradeSystem struct { 1847 Self types.ManagedObjectReference `json:"self"` 1848 } 1849 1850 func (m VsanUpgradeSystem) Reference() types.ManagedObjectReference { 1851 return m.Self 1852 } 1853 1854 func init() { 1855 t["VsanUpgradeSystem"] = reflect.TypeOf((*VsanUpgradeSystem)(nil)).Elem() 1856 }