Documentation ¶
Index ¶
- func ApplyPropertyChange(obj Reference, changes []types.PropertyChange)
- func IsManagedObjectType(kind string) bool
- func LoadObjectContent(content []types.ObjectContent, dst interface{}) error
- func ObjectContentToType(o types.ObjectContent, ptr ...bool) (interface{}, error)
- func References(s interface{}, follow ...bool) []types.ManagedObjectReference
- func RetrieveProperties(ctx context.Context, r soap.RoundTripper, pc, obj types.ManagedObjectReference, ...) error
- func RetrievePropertiesEx(ctx context.Context, r soap.RoundTripper, req types.RetrievePropertiesEx) ([]types.ObjectContent, error)
- func RetrievePropertiesForRequest(ctx context.Context, r soap.RoundTripper, req types.RetrieveProperties, ...) error
- type Alarm
- type AlarmManager
- type AuthorizationManager
- type CertificateManager
- type ClusterComputeResource
- type ClusterEVCManager
- type ClusterProfile
- type ClusterProfileManager
- type ComputeResource
- type ContainerView
- type CryptoManager
- type CryptoManagerHost
- type CryptoManagerHostKMS
- type CryptoManagerKmip
- type CustomFieldsManager
- type CustomizationSpecManager
- type Datacenter
- type Datastore
- type DatastoreNamespaceManager
- type DiagnosticManager
- type DistributedVirtualPortgroup
- type DistributedVirtualSwitch
- type DistributedVirtualSwitchManager
- type Entity
- type EnvironmentBrowser
- type EventHistoryCollector
- type EventManager
- type ExtensibleManagedObject
- type ExtensionManager
- type FailoverClusterConfigurator
- type FailoverClusterManager
- type FileManager
- type Folder
- type GuestAliasManager
- type GuestAuthManager
- type GuestFileManager
- type GuestOperationsManager
- type GuestProcessManager
- type GuestWindowsRegistryManager
- type HealthUpdateManager
- type HistoryCollector
- type HostAccessManager
- type HostActiveDirectoryAuthentication
- type HostAssignableHardwareManager
- type HostAuthenticationManager
- type HostAuthenticationStore
- type HostAutoStartManager
- type HostBootDeviceSystem
- type HostCacheConfigurationManager
- type HostCertificateManager
- type HostCpuSchedulerSystem
- type HostDatastoreBrowser
- type HostDatastoreSystem
- type HostDateTimeSystem
- type HostDiagnosticSystem
- type HostDirectoryStore
- type HostEsxAgentHostManager
- type HostFirewallSystem
- type HostFirmwareSystem
- type HostGraphicsManager
- type HostHealthStatusSystem
- type HostImageConfigManager
- type HostKernelModuleSystem
- type HostLocalAccountManager
- type HostLocalAuthentication
- type HostMemorySystem
- type HostNetworkSystem
- type HostNvdimmSystem
- type HostPatchManager
- type HostPciPassthruSystem
- type HostPowerSystem
- type HostProfile
- type HostProfileManager
- type HostServiceSystem
- type HostSnmpSystem
- type HostSpecificationManager
- type HostStorageSystem
- type HostSystem
- type HostVFlashManager
- type HostVMotionSystem
- type HostVStorageObjectManager
- type HostVirtualNicManager
- type HostVsanInternalSystem
- type HostVsanSystem
- type HttpNfcLease
- type InventoryView
- type IoFilterManager
- type IpPoolManager
- type IsManagedEntity
- type IscsiManager
- type LicenseAssignmentManager
- type LicenseManager
- type ListView
- type LocalizationManager
- type ManagedEntity
- type ManagedObjectView
- type MessageBusProxy
- type Network
- type OpaqueNetwork
- type OptionManager
- type OverheadMemoryManager
- type OvfManager
- type PerformanceManager
- type Profile
- type ProfileComplianceManager
- type ProfileManager
- type PropertyCollector
- type PropertyFilter
- type Reference
- type ResourcePlanningManager
- type ResourcePool
- type ScheduledTask
- type ScheduledTaskManager
- type SearchIndex
- type ServiceInstance
- type ServiceManager
- type SessionManager
- type SimpleCommand
- type SiteInfoManager
- type StoragePod
- type StorageQueryManager
- type StorageResourceManager
- type Task
- type TaskHistoryCollector
- type TaskManager
- type TenantTenantManager
- type UserDirectory
- type VStorageObjectManagerBase
- type VcenterVStorageObjectManager
- type View
- type ViewManager
- type VirtualApp
- type VirtualDiskManager
- type VirtualMachine
- type VirtualMachineCompatibilityChecker
- type VirtualMachineGuestCustomizationManager
- type VirtualMachineProvisioningChecker
- type VirtualMachineSnapshot
- type VirtualizationManager
- type VmwareDistributedVirtualSwitch
- type VsanUpgradeSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPropertyChange ¶ added in v0.19.0
func ApplyPropertyChange(obj Reference, changes []types.PropertyChange)
ApplyPropertyChange converts the response of a call to WaitForUpdates and applies it to the given managed object.
func IsManagedObjectType ¶ added in v0.27.0
func LoadObjectContent ¶ added in v0.22.0
func LoadObjectContent(content []types.ObjectContent, dst interface{}) error
LoadObjectContent converts the response of a call to RetrieveProperties{Ex} to one or more managed objects.
func ObjectContentToType ¶
func ObjectContentToType(o types.ObjectContent, ptr ...bool) (interface{}, error)
ObjectContentToType loads an ObjectContent value into the value it represents. If the ObjectContent value has a non-empty 'MissingSet' field, it returns the first fault it finds there as error. If the 'MissingSet' field is empty, it returns a pointer to a reflect.Value. It handles contain nested properties, such as 'guest.ipAddress' or 'config.hardware'.
func References ¶ added in v0.22.0
func References(s interface{}, follow ...bool) []types.ManagedObjectReference
References returns all non-nil moref field values in the given struct. Only Anonymous struct fields are followed by default. The optional follow param will follow any struct fields when true.
func RetrieveProperties ¶
func RetrieveProperties(ctx context.Context, r soap.RoundTripper, pc, obj types.ManagedObjectReference, dst interface{}) error
RetrieveProperties retrieves the properties of the managed object specified as obj and decodes the response struct into the value pointed to by dst.
func RetrievePropertiesEx ¶ added in v0.37.0
func RetrievePropertiesEx(ctx context.Context, r soap.RoundTripper, req types.RetrievePropertiesEx) ([]types.ObjectContent, error)
RetrievePropertiesEx wraps RetrievePropertiesEx and ContinueRetrievePropertiesEx to collect properties in batches.
func RetrievePropertiesForRequest ¶
func RetrievePropertiesForRequest(ctx context.Context, r soap.RoundTripper, req types.RetrieveProperties, dst interface{}) error
RetrievePropertiesForRequest calls the RetrieveProperties method with the specified request and decodes the response struct into the value pointed to by dst.
Types ¶
type Alarm ¶
type Alarm struct { ExtensibleManagedObject Info types.AlarmInfo `json:"info"` }
type AlarmManager ¶
type AlarmManager struct { Self types.ManagedObjectReference `json:"self"` DefaultExpression []types.BaseAlarmExpression `json:"defaultExpression"` Description types.AlarmDescription `json:"description"` }
func (AlarmManager) Reference ¶
func (m AlarmManager) Reference() types.ManagedObjectReference
type AuthorizationManager ¶
type AuthorizationManager struct { Self types.ManagedObjectReference `json:"self"` PrivilegeList []types.AuthorizationPrivilege `json:"privilegeList"` RoleList []types.AuthorizationRole `json:"roleList"` Description types.AuthorizationDescription `json:"description"` }
func (AuthorizationManager) Reference ¶
func (m AuthorizationManager) Reference() types.ManagedObjectReference
type CertificateManager ¶ added in v0.4.0
type CertificateManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (CertificateManager) Reference ¶ added in v0.4.0
func (m CertificateManager) Reference() types.ManagedObjectReference
type ClusterComputeResource ¶
type ClusterComputeResource struct { ComputeResource Configuration types.ClusterConfigInfo `json:"configuration"` Recommendation []types.ClusterRecommendation `json:"recommendation"` DrsRecommendation []types.ClusterDrsRecommendation `json:"drsRecommendation"` HciConfig *types.ClusterComputeResourceHCIConfigInfo `json:"hciConfig"` MigrationHistory []types.ClusterDrsMigration `json:"migrationHistory"` ActionHistory []types.ClusterActionHistory `json:"actionHistory"` DrsFault []types.ClusterDrsFaults `json:"drsFault"` }
type ClusterEVCManager ¶ added in v0.4.0
type ClusterEVCManager struct { ExtensibleManagedObject ManagedCluster types.ManagedObjectReference `json:"managedCluster"` EvcState types.ClusterEVCManagerEVCState `json:"evcState"` }
type ClusterProfile ¶
type ClusterProfile struct {
Profile
}
type ClusterProfileManager ¶
type ClusterProfileManager struct {
ProfileManager
}
type ComputeResource ¶
type ComputeResource struct { ManagedEntity ResourcePool *types.ManagedObjectReference `json:"resourcePool"` Host []types.ManagedObjectReference `json:"host"` Datastore []types.ManagedObjectReference `json:"datastore"` Network []types.ManagedObjectReference `json:"network"` Summary types.BaseComputeResourceSummary `json:"summary"` EnvironmentBrowser *types.ManagedObjectReference `json:"environmentBrowser"` ConfigurationEx types.BaseComputeResourceConfigInfo `json:"configurationEx"` LifecycleManaged *bool `json:"lifecycleManaged"` }
func (*ComputeResource) Entity ¶ added in v0.6.0
func (m *ComputeResource) Entity() *ManagedEntity
func (ComputeResource) GetManagedEntity ¶
func (m ComputeResource) GetManagedEntity() ManagedEntity
type ContainerView ¶
type ContainerView struct { ManagedObjectView Container types.ManagedObjectReference `json:"container"` Type []string `json:"type"` Recursive bool `json:"recursive"` }
type CryptoManager ¶ added in v0.15.0
type CryptoManager struct { Self types.ManagedObjectReference `json:"self"` Enabled bool `json:"enabled"` }
func (CryptoManager) Reference ¶ added in v0.15.0
func (m CryptoManager) Reference() types.ManagedObjectReference
type CryptoManagerHost ¶ added in v0.18.0
type CryptoManagerHost struct {
CryptoManager
}
type CryptoManagerHostKMS ¶ added in v0.18.0
type CryptoManagerHostKMS struct {
CryptoManagerHost
}
type CryptoManagerKmip ¶ added in v0.15.0
type CryptoManagerKmip struct { CryptoManager KmipServers []types.KmipClusterInfo `json:"kmipServers"` }
type CustomFieldsManager ¶
type CustomFieldsManager struct { Self types.ManagedObjectReference `json:"self"` Field []types.CustomFieldDef `json:"field"` }
func (CustomFieldsManager) Reference ¶
func (m CustomFieldsManager) Reference() types.ManagedObjectReference
type CustomizationSpecManager ¶
type CustomizationSpecManager struct { Self types.ManagedObjectReference `json:"self"` Info []types.CustomizationSpecInfo `json:"info"` EncryptionKey []byte `json:"encryptionKey"` }
func (CustomizationSpecManager) Reference ¶
func (m CustomizationSpecManager) Reference() types.ManagedObjectReference
type Datacenter ¶
type Datacenter struct { ManagedEntity VmFolder types.ManagedObjectReference `json:"vmFolder"` HostFolder types.ManagedObjectReference `json:"hostFolder"` DatastoreFolder types.ManagedObjectReference `json:"datastoreFolder"` NetworkFolder types.ManagedObjectReference `json:"networkFolder"` Datastore []types.ManagedObjectReference `json:"datastore"` Network []types.ManagedObjectReference `json:"network"` Configuration types.DatacenterConfigInfo `json:"configuration"` }
func (*Datacenter) Entity ¶ added in v0.6.0
func (m *Datacenter) Entity() *ManagedEntity
func (Datacenter) GetManagedEntity ¶
func (m Datacenter) GetManagedEntity() ManagedEntity
type Datastore ¶
type Datastore struct { ManagedEntity Info types.BaseDatastoreInfo `json:"info"` Summary types.DatastoreSummary `json:"summary"` Host []types.DatastoreHostMount `json:"host"` Vm []types.ManagedObjectReference `json:"vm"` Browser types.ManagedObjectReference `json:"browser"` Capability types.DatastoreCapability `json:"capability"` IormConfiguration *types.StorageIORMInfo `json:"iormConfiguration"` }
func (*Datastore) Entity ¶ added in v0.6.0
func (m *Datastore) Entity() *ManagedEntity
func (Datastore) GetManagedEntity ¶
func (m Datastore) GetManagedEntity() ManagedEntity
type DatastoreNamespaceManager ¶
type DatastoreNamespaceManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (DatastoreNamespaceManager) Reference ¶
func (m DatastoreNamespaceManager) Reference() types.ManagedObjectReference
type DiagnosticManager ¶
type DiagnosticManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (DiagnosticManager) Reference ¶
func (m DiagnosticManager) Reference() types.ManagedObjectReference
type DistributedVirtualPortgroup ¶
type DistributedVirtualPortgroup struct { Network Key string `json:"key"` Config types.DVPortgroupConfigInfo `json:"config"` PortKeys []string `json:"portKeys"` }
func (DistributedVirtualPortgroup) GetManagedEntity ¶ added in v0.8.0
func (m DistributedVirtualPortgroup) GetManagedEntity() ManagedEntity
type DistributedVirtualSwitch ¶
type DistributedVirtualSwitch struct { ManagedEntity Uuid string `json:"uuid"` Capability types.DVSCapability `json:"capability"` Summary types.DVSSummary `json:"summary"` Config types.BaseDVSConfigInfo `json:"config"` NetworkResourcePool []types.DVSNetworkResourcePool `json:"networkResourcePool"` Portgroup []types.ManagedObjectReference `json:"portgroup"` Runtime *types.DVSRuntimeInfo `json:"runtime"` }
func (*DistributedVirtualSwitch) Entity ¶ added in v0.6.0
func (m *DistributedVirtualSwitch) Entity() *ManagedEntity
func (DistributedVirtualSwitch) GetManagedEntity ¶
func (m DistributedVirtualSwitch) GetManagedEntity() ManagedEntity
type DistributedVirtualSwitchManager ¶
type DistributedVirtualSwitchManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (DistributedVirtualSwitchManager) Reference ¶
func (m DistributedVirtualSwitchManager) Reference() types.ManagedObjectReference
type Entity ¶ added in v0.6.0
type Entity interface { Reference Entity() *ManagedEntity }
Entity is the interface that is implemented by all managed objects that extend ManagedEntity.
type EnvironmentBrowser ¶
type EnvironmentBrowser struct { Self types.ManagedObjectReference `json:"self"` DatastoreBrowser *types.ManagedObjectReference `json:"datastoreBrowser"` }
func (EnvironmentBrowser) Reference ¶
func (m EnvironmentBrowser) Reference() types.ManagedObjectReference
type EventHistoryCollector ¶
type EventHistoryCollector struct { HistoryCollector LatestPage []types.BaseEvent `json:"latestPage"` }
type EventManager ¶
type EventManager struct { Self types.ManagedObjectReference `json:"self"` Description types.EventDescription `json:"description"` LatestEvent types.BaseEvent `json:"latestEvent"` MaxCollector int32 `json:"maxCollector"` }
func (EventManager) Reference ¶
func (m EventManager) Reference() types.ManagedObjectReference
type ExtensibleManagedObject ¶
type ExtensibleManagedObject struct { Self types.ManagedObjectReference `json:"self"` Value []types.BaseCustomFieldValue `json:"value"` AvailableField []types.CustomFieldDef `json:"availableField"` }
func (ExtensibleManagedObject) Reference ¶
func (m ExtensibleManagedObject) Reference() types.ManagedObjectReference
type ExtensionManager ¶
type ExtensionManager struct { Self types.ManagedObjectReference `json:"self"` ExtensionList []types.Extension `json:"extensionList"` }
func (ExtensionManager) Reference ¶
func (m ExtensionManager) Reference() types.ManagedObjectReference
type FailoverClusterConfigurator ¶ added in v0.15.0
type FailoverClusterConfigurator struct { Self types.ManagedObjectReference `json:"self"` DisabledConfigureMethod []string `json:"disabledConfigureMethod"` }
func (FailoverClusterConfigurator) Reference ¶ added in v0.15.0
func (m FailoverClusterConfigurator) Reference() types.ManagedObjectReference
type FailoverClusterManager ¶ added in v0.15.0
type FailoverClusterManager struct { Self types.ManagedObjectReference `json:"self"` DisabledClusterMethod []string `json:"disabledClusterMethod"` }
func (FailoverClusterManager) Reference ¶ added in v0.15.0
func (m FailoverClusterManager) Reference() types.ManagedObjectReference
type FileManager ¶
type FileManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (FileManager) Reference ¶
func (m FileManager) Reference() types.ManagedObjectReference
type Folder ¶
type Folder struct { ManagedEntity ChildType []string `json:"childType"` ChildEntity []types.ManagedObjectReference `json:"childEntity"` Namespace *string `json:"namespace"` }
func (*Folder) Entity ¶ added in v0.6.0
func (m *Folder) Entity() *ManagedEntity
func (Folder) GetManagedEntity ¶
func (m Folder) GetManagedEntity() ManagedEntity
type GuestAliasManager ¶ added in v0.4.0
type GuestAliasManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (GuestAliasManager) Reference ¶ added in v0.4.0
func (m GuestAliasManager) Reference() types.ManagedObjectReference
type GuestAuthManager ¶
type GuestAuthManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (GuestAuthManager) Reference ¶
func (m GuestAuthManager) Reference() types.ManagedObjectReference
type GuestFileManager ¶
type GuestFileManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (GuestFileManager) Reference ¶
func (m GuestFileManager) Reference() types.ManagedObjectReference
type GuestOperationsManager ¶
type GuestOperationsManager struct { Self types.ManagedObjectReference `json:"self"` AuthManager *types.ManagedObjectReference `json:"authManager"` FileManager *types.ManagedObjectReference `json:"fileManager"` ProcessManager *types.ManagedObjectReference `json:"processManager"` GuestWindowsRegistryManager *types.ManagedObjectReference `json:"guestWindowsRegistryManager"` AliasManager *types.ManagedObjectReference `json:"aliasManager"` }
func (GuestOperationsManager) Reference ¶
func (m GuestOperationsManager) Reference() types.ManagedObjectReference
type GuestProcessManager ¶
type GuestProcessManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (GuestProcessManager) Reference ¶
func (m GuestProcessManager) Reference() types.ManagedObjectReference
type GuestWindowsRegistryManager ¶ added in v0.4.0
type GuestWindowsRegistryManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (GuestWindowsRegistryManager) Reference ¶ added in v0.4.0
func (m GuestWindowsRegistryManager) Reference() types.ManagedObjectReference
type HealthUpdateManager ¶ added in v0.15.0
type HealthUpdateManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HealthUpdateManager) Reference ¶ added in v0.15.0
func (m HealthUpdateManager) Reference() types.ManagedObjectReference
type HistoryCollector ¶
type HistoryCollector struct { Self types.ManagedObjectReference `json:"self"` Filter types.AnyType `json:"filter"` }
func (HistoryCollector) Reference ¶
func (m HistoryCollector) Reference() types.ManagedObjectReference
type HostAccessManager ¶ added in v0.4.0
type HostAccessManager struct { Self types.ManagedObjectReference `json:"self"` LockdownMode types.HostLockdownMode `json:"lockdownMode"` }
func (HostAccessManager) Reference ¶ added in v0.4.0
func (m HostAccessManager) Reference() types.ManagedObjectReference
type HostActiveDirectoryAuthentication ¶
type HostActiveDirectoryAuthentication struct {
HostDirectoryStore
}
type HostAssignableHardwareManager ¶ added in v0.23.0
type HostAssignableHardwareManager struct { Self types.ManagedObjectReference `json:"self"` Binding []types.HostAssignableHardwareBinding `json:"binding"` Config types.HostAssignableHardwareConfig `json:"config"` }
func (HostAssignableHardwareManager) Reference ¶ added in v0.23.0
func (m HostAssignableHardwareManager) Reference() types.ManagedObjectReference
type HostAuthenticationManager ¶
type HostAuthenticationManager struct { Self types.ManagedObjectReference `json:"self"` Info types.HostAuthenticationManagerInfo `json:"info"` SupportedStore []types.ManagedObjectReference `json:"supportedStore"` }
func (HostAuthenticationManager) Reference ¶
func (m HostAuthenticationManager) Reference() types.ManagedObjectReference
type HostAuthenticationStore ¶
type HostAuthenticationStore struct { Self types.ManagedObjectReference `json:"self"` Info types.BaseHostAuthenticationStoreInfo `json:"info"` }
func (HostAuthenticationStore) Reference ¶
func (m HostAuthenticationStore) Reference() types.ManagedObjectReference
type HostAutoStartManager ¶
type HostAutoStartManager struct { Self types.ManagedObjectReference `json:"self"` Config types.HostAutoStartManagerConfig `json:"config"` }
func (HostAutoStartManager) Reference ¶
func (m HostAutoStartManager) Reference() types.ManagedObjectReference
type HostBootDeviceSystem ¶
type HostBootDeviceSystem struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostBootDeviceSystem) Reference ¶
func (m HostBootDeviceSystem) Reference() types.ManagedObjectReference
type HostCacheConfigurationManager ¶
type HostCacheConfigurationManager struct { Self types.ManagedObjectReference `json:"self"` CacheConfigurationInfo []types.HostCacheConfigurationInfo `json:"cacheConfigurationInfo"` }
func (HostCacheConfigurationManager) Reference ¶
func (m HostCacheConfigurationManager) Reference() types.ManagedObjectReference
type HostCertificateManager ¶ added in v0.4.0
type HostCertificateManager struct { Self types.ManagedObjectReference `json:"self"` CertificateInfo types.HostCertificateManagerCertificateInfo `json:"certificateInfo"` }
func (HostCertificateManager) Reference ¶ added in v0.4.0
func (m HostCertificateManager) Reference() types.ManagedObjectReference
type HostCpuSchedulerSystem ¶
type HostCpuSchedulerSystem struct { ExtensibleManagedObject HyperthreadInfo *types.HostHyperThreadScheduleInfo `json:"hyperthreadInfo"` }
type HostDatastoreBrowser ¶
type HostDatastoreBrowser struct { Self types.ManagedObjectReference `json:"self"` Datastore []types.ManagedObjectReference `json:"datastore"` SupportedType []types.BaseFileQuery `json:"supportedType"` }
func (HostDatastoreBrowser) Reference ¶
func (m HostDatastoreBrowser) Reference() types.ManagedObjectReference
type HostDatastoreSystem ¶
type HostDatastoreSystem struct { Self types.ManagedObjectReference `json:"self"` Datastore []types.ManagedObjectReference `json:"datastore"` Capabilities types.HostDatastoreSystemCapabilities `json:"capabilities"` }
func (HostDatastoreSystem) Reference ¶
func (m HostDatastoreSystem) Reference() types.ManagedObjectReference
type HostDateTimeSystem ¶
type HostDateTimeSystem struct { Self types.ManagedObjectReference `json:"self"` DateTimeInfo types.HostDateTimeInfo `json:"dateTimeInfo"` }
func (HostDateTimeSystem) Reference ¶
func (m HostDateTimeSystem) Reference() types.ManagedObjectReference
type HostDiagnosticSystem ¶
type HostDiagnosticSystem struct { Self types.ManagedObjectReference `json:"self"` ActivePartition *types.HostDiagnosticPartition `json:"activePartition"` }
func (HostDiagnosticSystem) Reference ¶
func (m HostDiagnosticSystem) Reference() types.ManagedObjectReference
type HostDirectoryStore ¶
type HostDirectoryStore struct {
HostAuthenticationStore
}
type HostEsxAgentHostManager ¶
type HostEsxAgentHostManager struct { Self types.ManagedObjectReference `json:"self"` ConfigInfo types.HostEsxAgentHostManagerConfigInfo `json:"configInfo"` }
func (HostEsxAgentHostManager) Reference ¶
func (m HostEsxAgentHostManager) Reference() types.ManagedObjectReference
type HostFirewallSystem ¶
type HostFirewallSystem struct { ExtensibleManagedObject FirewallInfo *types.HostFirewallInfo `json:"firewallInfo"` }
type HostFirmwareSystem ¶
type HostFirmwareSystem struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostFirmwareSystem) Reference ¶
func (m HostFirmwareSystem) Reference() types.ManagedObjectReference
type HostGraphicsManager ¶
type HostGraphicsManager struct { ExtensibleManagedObject GraphicsInfo []types.HostGraphicsInfo `json:"graphicsInfo"` GraphicsConfig *types.HostGraphicsConfig `json:"graphicsConfig"` }
type HostHealthStatusSystem ¶
type HostHealthStatusSystem struct { Self types.ManagedObjectReference `json:"self"` Runtime types.HealthSystemRuntime `json:"runtime"` }
func (HostHealthStatusSystem) Reference ¶
func (m HostHealthStatusSystem) Reference() types.ManagedObjectReference
type HostImageConfigManager ¶
type HostImageConfigManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostImageConfigManager) Reference ¶
func (m HostImageConfigManager) Reference() types.ManagedObjectReference
type HostKernelModuleSystem ¶
type HostKernelModuleSystem struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostKernelModuleSystem) Reference ¶
func (m HostKernelModuleSystem) Reference() types.ManagedObjectReference
type HostLocalAccountManager ¶
type HostLocalAccountManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostLocalAccountManager) Reference ¶
func (m HostLocalAccountManager) Reference() types.ManagedObjectReference
type HostLocalAuthentication ¶
type HostLocalAuthentication struct {
HostAuthenticationStore
}
type HostMemorySystem ¶
type HostMemorySystem struct { ExtensibleManagedObject ConsoleReservationInfo *types.ServiceConsoleReservationInfo `json:"consoleReservationInfo"` VirtualMachineReservationInfo *types.VirtualMachineMemoryReservationInfo `json:"virtualMachineReservationInfo"` }
type HostNetworkSystem ¶
type HostNetworkSystem struct { ExtensibleManagedObject Capabilities *types.HostNetCapabilities `json:"capabilities"` NetworkInfo *types.HostNetworkInfo `json:"networkInfo"` OffloadCapabilities *types.HostNetOffloadCapabilities `json:"offloadCapabilities"` NetworkConfig *types.HostNetworkConfig `json:"networkConfig"` DnsConfig types.BaseHostDnsConfig `json:"dnsConfig"` IpRouteConfig types.BaseHostIpRouteConfig `json:"ipRouteConfig"` ConsoleIpRouteConfig types.BaseHostIpRouteConfig `json:"consoleIpRouteConfig"` }
type HostNvdimmSystem ¶ added in v0.18.0
type HostNvdimmSystem struct { Self types.ManagedObjectReference `json:"self"` NvdimmSystemInfo types.NvdimmSystemInfo `json:"nvdimmSystemInfo"` }
func (HostNvdimmSystem) Reference ¶ added in v0.18.0
func (m HostNvdimmSystem) Reference() types.ManagedObjectReference
type HostPatchManager ¶
type HostPatchManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostPatchManager) Reference ¶
func (m HostPatchManager) Reference() types.ManagedObjectReference
type HostPciPassthruSystem ¶
type HostPciPassthruSystem struct { ExtensibleManagedObject PciPassthruInfo []types.BaseHostPciPassthruInfo `json:"pciPassthruInfo"` SriovDevicePoolInfo []types.BaseHostSriovDevicePoolInfo `json:"sriovDevicePoolInfo"` }
type HostPowerSystem ¶
type HostPowerSystem struct { Self types.ManagedObjectReference `json:"self"` Capability types.PowerSystemCapability `json:"capability"` Info types.PowerSystemInfo `json:"info"` }
func (HostPowerSystem) Reference ¶
func (m HostPowerSystem) Reference() types.ManagedObjectReference
type HostProfile ¶
type HostProfile struct { Profile ValidationState *string `json:"validationState"` ValidationStateUpdateTime *time.Time `json:"validationStateUpdateTime"` ValidationFailureInfo *types.HostProfileValidationFailureInfo `json:"validationFailureInfo"` ReferenceHost *types.ManagedObjectReference `json:"referenceHost"` }
type HostProfileManager ¶
type HostProfileManager struct {
ProfileManager
}
type HostServiceSystem ¶
type HostServiceSystem struct { ExtensibleManagedObject ServiceInfo types.HostServiceInfo `json:"serviceInfo"` }
type HostSnmpSystem ¶
type HostSnmpSystem struct { Self types.ManagedObjectReference `json:"self"` Configuration types.HostSnmpConfigSpec `json:"configuration"` Limits types.HostSnmpSystemAgentLimits `json:"limits"` }
func (HostSnmpSystem) Reference ¶
func (m HostSnmpSystem) Reference() types.ManagedObjectReference
type HostSpecificationManager ¶ added in v0.15.0
type HostSpecificationManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostSpecificationManager) Reference ¶ added in v0.15.0
func (m HostSpecificationManager) Reference() types.ManagedObjectReference
type HostStorageSystem ¶
type HostStorageSystem struct { ExtensibleManagedObject StorageDeviceInfo *types.HostStorageDeviceInfo `json:"storageDeviceInfo"` FileSystemVolumeInfo types.HostFileSystemVolumeInfo `json:"fileSystemVolumeInfo"` SystemFile []string `json:"systemFile"` MultipathStateInfo *types.HostMultipathStateInfo `json:"multipathStateInfo"` }
type HostSystem ¶
type HostSystem struct { ManagedEntity Runtime types.HostRuntimeInfo `json:"runtime"` Summary types.HostListSummary `json:"summary"` Hardware *types.HostHardwareInfo `json:"hardware"` Capability *types.HostCapability `json:"capability"` LicensableResource types.HostLicensableResourceInfo `json:"licensableResource"` RemediationState *types.HostSystemRemediationState `json:"remediationState"` PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `json:"precheckRemediationResult"` RemediationResult *types.ApplyHostProfileConfigurationResult `json:"remediationResult"` ComplianceCheckState *types.HostSystemComplianceCheckState `json:"complianceCheckState"` ComplianceCheckResult *types.ComplianceResult `json:"complianceCheckResult"` ConfigManager types.HostConfigManager `json:"configManager"` Config *types.HostConfigInfo `json:"config"` Vm []types.ManagedObjectReference `json:"vm"` Datastore []types.ManagedObjectReference `json:"datastore"` Network []types.ManagedObjectReference `json:"network"` DatastoreBrowser types.ManagedObjectReference `json:"datastoreBrowser"` SystemResources *types.HostSystemResourceInfo `json:"systemResources"` AnswerFileValidationState *types.AnswerFileStatusResult `json:"answerFileValidationState"` AnswerFileValidationResult *types.AnswerFileStatusResult `json:"answerFileValidationResult"` }
func (*HostSystem) Entity ¶ added in v0.6.0
func (m *HostSystem) Entity() *ManagedEntity
func (HostSystem) GetManagedEntity ¶
func (m HostSystem) GetManagedEntity() ManagedEntity
type HostVFlashManager ¶
type HostVFlashManager struct { Self types.ManagedObjectReference `json:"self"` VFlashConfigInfo *types.HostVFlashManagerVFlashConfigInfo `json:"vFlashConfigInfo"` }
func (HostVFlashManager) Reference ¶
func (m HostVFlashManager) Reference() types.ManagedObjectReference
type HostVMotionSystem ¶
type HostVMotionSystem struct { ExtensibleManagedObject NetConfig *types.HostVMotionNetConfig `json:"netConfig"` IpConfig *types.HostIpConfig `json:"ipConfig"` }
type HostVStorageObjectManager ¶ added in v0.15.0
type HostVStorageObjectManager struct {
VStorageObjectManagerBase
}
type HostVirtualNicManager ¶
type HostVirtualNicManager struct { ExtensibleManagedObject Info types.HostVirtualNicManagerInfo `json:"info"` }
type HostVsanInternalSystem ¶
type HostVsanInternalSystem struct {
Self types.ManagedObjectReference `json:"self"`
}
func (HostVsanInternalSystem) Reference ¶
func (m HostVsanInternalSystem) Reference() types.ManagedObjectReference
type HostVsanSystem ¶
type HostVsanSystem struct { Self types.ManagedObjectReference `json:"self"` Config types.VsanHostConfigInfo `json:"config"` }
func (HostVsanSystem) Reference ¶
func (m HostVsanSystem) Reference() types.ManagedObjectReference
type HttpNfcLease ¶
type HttpNfcLease struct { Self types.ManagedObjectReference `json:"self"` InitializeProgress int32 `json:"initializeProgress"` TransferProgress int32 `json:"transferProgress"` Mode string `json:"mode"` Capabilities types.HttpNfcLeaseCapabilities `json:"capabilities"` Info *types.HttpNfcLeaseInfo `json:"info"` State types.HttpNfcLeaseState `json:"state"` Error *types.LocalizedMethodFault `json:"error"` }
func (HttpNfcLease) Reference ¶
func (m HttpNfcLease) Reference() types.ManagedObjectReference
type InventoryView ¶
type InventoryView struct {
ManagedObjectView
}
type IoFilterManager ¶ added in v0.4.0
type IoFilterManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (IoFilterManager) Reference ¶ added in v0.4.0
func (m IoFilterManager) Reference() types.ManagedObjectReference
type IpPoolManager ¶
type IpPoolManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (IpPoolManager) Reference ¶
func (m IpPoolManager) Reference() types.ManagedObjectReference
type IsManagedEntity ¶
type IsManagedEntity interface {
GetManagedEntity() ManagedEntity
}
type IscsiManager ¶
type IscsiManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (IscsiManager) Reference ¶
func (m IscsiManager) Reference() types.ManagedObjectReference
type LicenseAssignmentManager ¶
type LicenseAssignmentManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (LicenseAssignmentManager) Reference ¶
func (m LicenseAssignmentManager) Reference() types.ManagedObjectReference
type LicenseManager ¶
type LicenseManager struct { Self types.ManagedObjectReference `json:"self"` Source types.BaseLicenseSource `json:"source"` SourceAvailable bool `json:"sourceAvailable"` Diagnostics *types.LicenseDiagnostics `json:"diagnostics"` FeatureInfo []types.LicenseFeatureInfo `json:"featureInfo"` LicensedEdition string `json:"licensedEdition"` Licenses []types.LicenseManagerLicenseInfo `json:"licenses"` LicenseAssignmentManager *types.ManagedObjectReference `json:"licenseAssignmentManager"` Evaluation types.LicenseManagerEvaluationInfo `json:"evaluation"` }
func (LicenseManager) Reference ¶
func (m LicenseManager) Reference() types.ManagedObjectReference
type ListView ¶
type ListView struct {
ManagedObjectView
}
type LocalizationManager ¶
type LocalizationManager struct { Self types.ManagedObjectReference `json:"self"` Catalog []types.LocalizationManagerMessageCatalog `json:"catalog"` }
func (LocalizationManager) Reference ¶
func (m LocalizationManager) Reference() types.ManagedObjectReference
type ManagedEntity ¶
type ManagedEntity struct { ExtensibleManagedObject Parent *types.ManagedObjectReference `json:"parent"` CustomValue []types.BaseCustomFieldValue `json:"customValue"` OverallStatus types.ManagedEntityStatus `json:"overallStatus"` ConfigStatus types.ManagedEntityStatus `json:"configStatus"` ConfigIssue []types.BaseEvent `json:"configIssue"` EffectiveRole []int32 `json:"effectiveRole"` Permission []types.Permission `json:"permission"` Name string `json:"name"` DisabledMethod []string `json:"disabledMethod"` RecentTask []types.ManagedObjectReference `json:"recentTask"` DeclaredAlarmState []types.AlarmState `json:"declaredAlarmState"` TriggeredAlarmState []types.AlarmState `json:"triggeredAlarmState"` AlarmActionsEnabled *bool `json:"alarmActionsEnabled"` Tag []types.Tag `json:"tag"` }
func Ancestors ¶
func Ancestors(ctx context.Context, rt soap.RoundTripper, pc, obj types.ManagedObjectReference) ([]ManagedEntity, error)
Ancestors returns the entire ancestry tree of a specified managed object. The return value includes the root node and the specified object itself.
type ManagedObjectView ¶
type ManagedObjectView struct { Self types.ManagedObjectReference `json:"self"` View []types.ManagedObjectReference `json:"view"` }
func (ManagedObjectView) Reference ¶
func (m ManagedObjectView) Reference() types.ManagedObjectReference
type MessageBusProxy ¶ added in v0.4.0
type MessageBusProxy struct {
Self types.ManagedObjectReference `json:"self"`
}
func (MessageBusProxy) Reference ¶ added in v0.4.0
func (m MessageBusProxy) Reference() types.ManagedObjectReference
type Network ¶
type Network struct { ManagedEntity Summary types.BaseNetworkSummary `json:"summary"` Host []types.ManagedObjectReference `json:"host"` Vm []types.ManagedObjectReference `json:"vm"` Name string `json:"name"` }
func (*Network) Entity ¶ added in v0.6.0
func (m *Network) Entity() *ManagedEntity
func (Network) GetManagedEntity ¶
func (m Network) GetManagedEntity() ManagedEntity
type OpaqueNetwork ¶
type OpaqueNetwork struct { Network Capability *types.OpaqueNetworkCapability `json:"capability"` ExtraConfig []types.BaseOptionValue `json:"extraConfig"` }
type OptionManager ¶
type OptionManager struct { Self types.ManagedObjectReference `json:"self"` SupportedOption []types.OptionDef `json:"supportedOption"` Setting []types.BaseOptionValue `json:"setting"` }
func (OptionManager) Reference ¶
func (m OptionManager) Reference() types.ManagedObjectReference
type OverheadMemoryManager ¶ added in v0.4.0
type OverheadMemoryManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (OverheadMemoryManager) Reference ¶ added in v0.4.0
func (m OverheadMemoryManager) Reference() types.ManagedObjectReference
type OvfManager ¶
type OvfManager struct { Self types.ManagedObjectReference `json:"self"` OvfImportOption []types.OvfOptionInfo `json:"ovfImportOption"` OvfExportOption []types.OvfOptionInfo `json:"ovfExportOption"` }
func (OvfManager) Reference ¶
func (m OvfManager) Reference() types.ManagedObjectReference
type PerformanceManager ¶
type PerformanceManager struct { Self types.ManagedObjectReference `json:"self"` Description types.PerformanceDescription `json:"description"` HistoricalInterval []types.PerfInterval `json:"historicalInterval"` PerfCounter []types.PerfCounterInfo `json:"perfCounter"` }
func (PerformanceManager) Reference ¶
func (m PerformanceManager) Reference() types.ManagedObjectReference
type Profile ¶
type Profile struct { Self types.ManagedObjectReference `json:"self"` Config types.BaseProfileConfigInfo `json:"config"` Description *types.ProfileDescription `json:"description"` Name string `json:"name"` CreatedTime time.Time `json:"createdTime"` ModifiedTime time.Time `json:"modifiedTime"` Entity []types.ManagedObjectReference `json:"entity"` ComplianceStatus string `json:"complianceStatus"` }
func (Profile) Reference ¶
func (m Profile) Reference() types.ManagedObjectReference
type ProfileComplianceManager ¶
type ProfileComplianceManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (ProfileComplianceManager) Reference ¶
func (m ProfileComplianceManager) Reference() types.ManagedObjectReference
type ProfileManager ¶
type ProfileManager struct { Self types.ManagedObjectReference `json:"self"` Profile []types.ManagedObjectReference `json:"profile"` }
func (ProfileManager) Reference ¶
func (m ProfileManager) Reference() types.ManagedObjectReference
type PropertyCollector ¶
type PropertyCollector struct { Self types.ManagedObjectReference `json:"self"` Filter []types.ManagedObjectReference `json:"filter"` }
func (PropertyCollector) Reference ¶
func (m PropertyCollector) Reference() types.ManagedObjectReference
type PropertyFilter ¶
type PropertyFilter struct { Self types.ManagedObjectReference `json:"self"` Spec types.PropertyFilterSpec `json:"spec"` PartialUpdates bool `json:"partialUpdates"` }
func (PropertyFilter) Reference ¶
func (m PropertyFilter) Reference() types.ManagedObjectReference
type Reference ¶
type Reference interface {
Reference() types.ManagedObjectReference
}
Reference is the interface that is implemented by all the managed objects defined in this package. It specifies that these managed objects have a function that returns the managed object reference to themselves.
type ResourcePlanningManager ¶
type ResourcePlanningManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (ResourcePlanningManager) Reference ¶
func (m ResourcePlanningManager) Reference() types.ManagedObjectReference
type ResourcePool ¶
type ResourcePool struct { ManagedEntity Summary types.BaseResourcePoolSummary `json:"summary"` Runtime types.ResourcePoolRuntimeInfo `json:"runtime"` Owner types.ManagedObjectReference `json:"owner"` ResourcePool []types.ManagedObjectReference `json:"resourcePool"` Vm []types.ManagedObjectReference `json:"vm"` Config types.ResourceConfigSpec `json:"config"` Namespace *string `json:"namespace"` ChildConfiguration []types.ResourceConfigSpec `json:"childConfiguration"` }
func (*ResourcePool) Entity ¶ added in v0.6.0
func (m *ResourcePool) Entity() *ManagedEntity
func (ResourcePool) GetManagedEntity ¶
func (m ResourcePool) GetManagedEntity() ManagedEntity
type ScheduledTask ¶
type ScheduledTask struct { ExtensibleManagedObject Info types.ScheduledTaskInfo `json:"info"` }
type ScheduledTaskManager ¶
type ScheduledTaskManager struct { Self types.ManagedObjectReference `json:"self"` ScheduledTask []types.ManagedObjectReference `json:"scheduledTask"` Description types.ScheduledTaskDescription `json:"description"` }
func (ScheduledTaskManager) Reference ¶
func (m ScheduledTaskManager) Reference() types.ManagedObjectReference
type SearchIndex ¶
type SearchIndex struct {
Self types.ManagedObjectReference `json:"self"`
}
func (SearchIndex) Reference ¶
func (m SearchIndex) Reference() types.ManagedObjectReference
type ServiceInstance ¶
type ServiceInstance struct { Self types.ManagedObjectReference `json:"self"` ServerClock time.Time `json:"serverClock"` Capability types.Capability `json:"capability"` Content types.ServiceContent `json:"content"` }
func (ServiceInstance) Reference ¶
func (m ServiceInstance) Reference() types.ManagedObjectReference
type ServiceManager ¶
type ServiceManager struct { Self types.ManagedObjectReference `json:"self"` Service []types.ServiceManagerServiceInfo `json:"service"` }
func (ServiceManager) Reference ¶
func (m ServiceManager) Reference() types.ManagedObjectReference
type SessionManager ¶
type SessionManager struct { Self types.ManagedObjectReference `json:"self"` SessionList []types.UserSession `json:"sessionList"` CurrentSession *types.UserSession `json:"currentSession"` Message *string `json:"message"` MessageLocaleList []string `json:"messageLocaleList"` SupportedLocaleList []string `json:"supportedLocaleList"` DefaultLocale string `json:"defaultLocale"` }
func (SessionManager) Reference ¶
func (m SessionManager) Reference() types.ManagedObjectReference
type SimpleCommand ¶
type SimpleCommand struct { Self types.ManagedObjectReference `json:"self"` EncodingType types.SimpleCommandEncoding `json:"encodingType"` Entity types.ServiceManagerServiceInfo `json:"entity"` }
func (SimpleCommand) Reference ¶
func (m SimpleCommand) Reference() types.ManagedObjectReference
type SiteInfoManager ¶ added in v0.23.0
type SiteInfoManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (SiteInfoManager) Reference ¶ added in v0.23.0
func (m SiteInfoManager) Reference() types.ManagedObjectReference
type StoragePod ¶
type StoragePod struct { Folder Summary *types.StoragePodSummary `json:"summary"` PodStorageDrsEntry *types.PodStorageDrsEntry `json:"podStorageDrsEntry"` }
type StorageQueryManager ¶ added in v0.23.0
type StorageQueryManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (StorageQueryManager) Reference ¶ added in v0.23.0
func (m StorageQueryManager) Reference() types.ManagedObjectReference
type StorageResourceManager ¶
type StorageResourceManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (StorageResourceManager) Reference ¶
func (m StorageResourceManager) Reference() types.ManagedObjectReference
type Task ¶
type Task struct { ExtensibleManagedObject Info types.TaskInfo `json:"info"` }
type TaskHistoryCollector ¶
type TaskHistoryCollector struct { HistoryCollector LatestPage []types.TaskInfo `json:"latestPage"` }
type TaskManager ¶
type TaskManager struct { Self types.ManagedObjectReference `json:"self"` RecentTask []types.ManagedObjectReference `json:"recentTask"` Description types.TaskDescription `json:"description"` MaxCollector int32 `json:"maxCollector"` }
func (TaskManager) Reference ¶
func (m TaskManager) Reference() types.ManagedObjectReference
type TenantTenantManager ¶ added in v0.23.0
type TenantTenantManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (TenantTenantManager) Reference ¶ added in v0.23.0
func (m TenantTenantManager) Reference() types.ManagedObjectReference
type UserDirectory ¶
type UserDirectory struct { Self types.ManagedObjectReference `json:"self"` DomainList []string `json:"domainList"` }
func (UserDirectory) Reference ¶
func (m UserDirectory) Reference() types.ManagedObjectReference
type VStorageObjectManagerBase ¶ added in v0.15.0
type VStorageObjectManagerBase struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VStorageObjectManagerBase) Reference ¶ added in v0.15.0
func (m VStorageObjectManagerBase) Reference() types.ManagedObjectReference
type VcenterVStorageObjectManager ¶ added in v0.15.0
type VcenterVStorageObjectManager struct {
VStorageObjectManagerBase
}
type View ¶
type View struct {
Self types.ManagedObjectReference `json:"self"`
}
func (View) Reference ¶
func (m View) Reference() types.ManagedObjectReference
type ViewManager ¶
type ViewManager struct { Self types.ManagedObjectReference `json:"self"` ViewList []types.ManagedObjectReference `json:"viewList"` }
func (ViewManager) Reference ¶
func (m ViewManager) Reference() types.ManagedObjectReference
type VirtualApp ¶
type VirtualApp struct { ResourcePool ParentFolder *types.ManagedObjectReference `json:"parentFolder"` Datastore []types.ManagedObjectReference `json:"datastore"` Network []types.ManagedObjectReference `json:"network"` VAppConfig *types.VAppConfigInfo `json:"vAppConfig"` ParentVApp *types.ManagedObjectReference `json:"parentVApp"` ChildLink []types.VirtualAppLinkInfo `json:"childLink"` }
type VirtualDiskManager ¶
type VirtualDiskManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VirtualDiskManager) Reference ¶
func (m VirtualDiskManager) Reference() types.ManagedObjectReference
type VirtualMachine ¶
type VirtualMachine struct { ManagedEntity Capability types.VirtualMachineCapability `json:"capability"` Config *types.VirtualMachineConfigInfo `json:"config"` Layout *types.VirtualMachineFileLayout `json:"layout"` LayoutEx *types.VirtualMachineFileLayoutEx `json:"layoutEx"` Storage *types.VirtualMachineStorageInfo `json:"storage"` EnvironmentBrowser types.ManagedObjectReference `json:"environmentBrowser"` ResourcePool *types.ManagedObjectReference `json:"resourcePool"` ParentVApp *types.ManagedObjectReference `json:"parentVApp"` ResourceConfig *types.ResourceConfigSpec `json:"resourceConfig"` Runtime types.VirtualMachineRuntimeInfo `json:"runtime"` Guest *types.GuestInfo `json:"guest"` Summary types.VirtualMachineSummary `json:"summary"` Datastore []types.ManagedObjectReference `json:"datastore"` Network []types.ManagedObjectReference `json:"network"` Snapshot *types.VirtualMachineSnapshotInfo `json:"snapshot"` RootSnapshot []types.ManagedObjectReference `json:"rootSnapshot"` GuestHeartbeatStatus types.ManagedEntityStatus `json:"guestHeartbeatStatus"` }
func (*VirtualMachine) Entity ¶ added in v0.6.0
func (m *VirtualMachine) Entity() *ManagedEntity
func (VirtualMachine) GetManagedEntity ¶
func (m VirtualMachine) GetManagedEntity() ManagedEntity
type VirtualMachineCompatibilityChecker ¶
type VirtualMachineCompatibilityChecker struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VirtualMachineCompatibilityChecker) Reference ¶
func (m VirtualMachineCompatibilityChecker) Reference() types.ManagedObjectReference
type VirtualMachineGuestCustomizationManager ¶ added in v0.23.0
type VirtualMachineGuestCustomizationManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VirtualMachineGuestCustomizationManager) Reference ¶ added in v0.23.0
func (m VirtualMachineGuestCustomizationManager) Reference() types.ManagedObjectReference
type VirtualMachineProvisioningChecker ¶
type VirtualMachineProvisioningChecker struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VirtualMachineProvisioningChecker) Reference ¶
func (m VirtualMachineProvisioningChecker) Reference() types.ManagedObjectReference
type VirtualMachineSnapshot ¶
type VirtualMachineSnapshot struct { ExtensibleManagedObject Config types.VirtualMachineConfigInfo `json:"config"` ChildSnapshot []types.ManagedObjectReference `json:"childSnapshot"` Vm types.ManagedObjectReference `json:"vm"` }
type VirtualizationManager ¶
type VirtualizationManager struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VirtualizationManager) Reference ¶
func (m VirtualizationManager) Reference() types.ManagedObjectReference
type VmwareDistributedVirtualSwitch ¶
type VmwareDistributedVirtualSwitch struct {
DistributedVirtualSwitch
}
type VsanUpgradeSystem ¶ added in v0.4.0
type VsanUpgradeSystem struct {
Self types.ManagedObjectReference `json:"self"`
}
func (VsanUpgradeSystem) Reference ¶ added in v0.4.0
func (m VsanUpgradeSystem) Reference() types.ManagedObjectReference