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