Search

Class VcSdkConnection

Extends java.lang.Object
This object represents a connection to a vCenter host. VcHostSystem represents an ESX host.

Attributes

Name Type Description
about VcAboutInfo Information about the service, such as the software version.
aboutInfo VcAboutInfo Information about the service, such as the software version. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#field_detail">about</a></i>
accountManager VcHostLocalAccountManager A singleton managed object that manages host local user and group accounts.
alarmManager VcAlarmManager A singleton managed object that manages alarms.
allClusterComputeResources VcClusterComputeResource[] Returns all ClusterComputeResources. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllClusterComputeResources">getAllClusterComputeResources(additionalPropertyFilters)</a></i>
allComputeResources VcComputeResource[] Returns all ComputeResources. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllComputeResources">getAllComputeResources(additionalPropertyFilters)</a></i>
allDatacenterFolders VcFolder[] Returns all DatacenterFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllDatacenterFolders">getAllDatacenterFolders(additionalPropertyFilters)</a></i>
allDatacenters VcDatacenter[] Returns all Datacenters. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllDatacenters">getAllDatacenters(additionalPropertyFilters)</a></i>
allDatastoreFolders VcFolder[] Returns all DatastoreFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllDatastoreFolders">getAllDatastoreFolders(additionalPropertyFilters)</a></i>
allDatastores VcDatastore[] Returns all Datastores. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllDatastores">getAllDatastores(additionalPropertyFilters)</a></i>
allDistributedVirtualPortgroups VcDistributedVirtualPortgroup[] Returns all DistributedVirtualPortgroups. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllDistributedVitualPortgroups">getAllDistributedVirtualPortgroups(additionalPropertyFilters)</a></i>
allHostfolders VcFolder[] Returns all HostFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllHostFolders">getAllHosts(additionalPropertyFilters)</a></i>
allHostSystems VcHostSystem[] Returns all DatacenterFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllHostSystems">getAllHostSystems(additionalPropertyFilters)</a></i>
allNetworkFolders VcFolder[] Returns all NetworkFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllNetworkFolders">getAllNetworkFolders(additionalPropertyFilters)</a></i>
allNetworks VcNetwork[] Returns all Networks. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllNetworks">getAllNetworks(additionalPropertyFilters)</a></i>
allResourcePools VcResourcePool[] Returns all ResourcePools. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllResourcePools">getAllResourcePools(additionalPropertyFilters)</a></i>
allTasks VcTask[] Returns all Tasks. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllTasks">getAllTasks(additionalPropertyFilters)</a></i>
allVirtualApps VcVirtualApp[] Returns all VirtualApps. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllVirtualApps">getAllVirtualApps(additionalPropertyFilters)</a></i>
allVirtualMachines VcVirtualMachine[] Returns all VirtualMachines. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllVirtualMachines">getAllVirtualMachines(additionalPropertyFilters)</a></i>
allVirtualMachineSnapshots VcVirtualMachineSnapshot[] Returns all VirtualMachineSnapshots. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllVirtualMachineSnapshots">getAllVirtualMachineSnapshots(additionalPropertyFilters)</a></i>
allVmFolders VcFolder[] Returns all VmFolders. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#getAllVmFolders">getAllVmFolders(additionalPropertyFilters)</a></i>
authorizationManager VcAuthorizationManager Manages permissions for managed entities in the service.
clusterProfileManager VcClusterProfileManager A singleton managed object that manages the cluster profiles.
complianceManager VcProfileComplianceManager A singleton managed object that manages compliance aspects of entities.
customFieldsManager VcCustomFieldsManager A singleton managed object that managed custom fields.
customizationSpecManager VcCustomizationSpecManager A singleton managed object that manages saved guest customization specifications.
diagnosticManager VcDiagnosticManager A singleton managed object that provides access to low-level log files.
dvSwitchManager VcDistributedVirtualSwitchManager A singleton managed object that provides relevant information of DistributedVirtualSwitch.
eventManager VcEventManager A singleton managed object that manages events.
extensionManager VcExtensionManager A singleton managed object that manages extensions.
fileManager VcFileManager A singleton managed object that allows management of files present on datastores.
guestOperationsManager VcGuestOperationsManager A singleton managed object that provides methods for guest operations.
hostLocalAccountManager VcHostLocalAccountManager A singleton managed object that manages host local user and group accounts.</br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#field_detail">accountManager</a></i>
hostProfileManager VcHostProfileManager A singleton managed object that manages the host profiles.
ipPoolManager VcIpPoolManager A singleton managed object that supports management of IpPool objects. IP pools are used when allocating IPv4 and IPv6 addresses to vApps.
licenseManager VcLicenseManager A singleton managed object that manages licensing
localizationManager VcLocalizationManager A singleton managed object that provides methods for retrieving message catalogs for client-side localization support.
optionManager VcOptionManager Generic configuration for a management server. This is for example by VirtualCenter to store the VirtualCenter Settings. This is not used for a stand-alone host, instead the vim.host.ConfigManager.advancedOption is used.</br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#field_detail">setting</a></i>
ovfManager VcOvfManager A singleton managed object that can generate OVF descriptors (export) and create VMs and VServices based on OVF descriptors (import).
perfManager VcPerformanceManager A singleton managed object that manages the collection and reporting of performance statistics.
performanceManager VcPerformanceManager A singleton managed object that manages the collection and reporting of performance statistics. </br><i>As of vSphere API 4.0, use <a href="_VcPlugin.html#field_detail">perfManager</a></i>
propertyCollector VcPropertyCollector Reference to a per-session object for retrieving properties and updates.
rootFolder VcFolder Reference to the top of the inventory managed by this service.
scheduledTaskManager VcScheduledTaskManager A singleton managed object that manages scheduled tasks.
SDK_TYPE String
SDK_TYPE_RELATIONS String
searchIndex VcSearchIndex A singleton managed object that allows search of the inventory.
serviceInstance VcServiceInstance The ServiceInstance managed object is the singleton root object of the inventory on both vCenter servers and servers running on standalone host agents.
sessionManager VcSessionManager Managed object for logging in and managing sessions.
setting VcOptionManager Generic configuration for a management server. This is for example by VirtualCenter to store the VirtualCenter Settings. This is not used for a stand-alone host, instead the vim.host.ConfigManager.advancedOption is used.
snmpSystem VcHostSnmpSystem A singleton managed object that allows SNMP configuration. Not set if not supported on a particular platform.
storageResourceManager VcStorageResourceManager A singleton managed object that provides methods for storage resource management.
taskManager VcTaskManager A singleton managed object that manages tasks.
userDirectory VcUserDirectory A user directory managed object.
viewManager VcViewManager A singleton managed object for tracking custom sets of objects.
virtualDiskManager VcVirtualDiskManager A singleton managed object that allows management of virtual disks on datastores.
virtualizationManger VcVirtualizationManager A singleton managed object that manages the discovery, analysis, recommendation and virtualization of physical machines.
vmCompatibilityChecker VcVirtualMachineCompatibilityChecker A singleton managed object that can answer questions about compatibility of a virtual machine with a host.
vmProvisioningChecker VcVirtualMachineProvisioningChecker A singleton managed object that can answer questions about the feasibility of certain provisioning operations.

Methods

Name Returns
VcSdkConnection(String , java.net.URL , com.vmware.vmo.plugin.vi4.VimSession , String , String ) constructor
checkUsable() boolean
equals(Object ) boolean
executeQuery(String xQuery) String
getAllClusterComputeResources(String[] additionalPropertyFilters, String query) VcClusterComputeResource[]
getAllComputeResources(String[] additionalPropertyFilters, String query) VcComputeResource[]
getAllDatacenterFolders(String[] additionalPropertyFilters, String query) VcFolder[]
getAllDatacenters(String[] additionalPropertyFilters, String query) VcDatacenter[]
getAllDatastoreFolders(String[] additionalPropertyFilters, String query) VcFolder[]
getAllDatastores(String[] additionalPropertyFilters, String query) VcDatastore[]
getAllDistributedVirtualPortgroups(String[] additionalPropertyFilters, String query) VcDistributedVirtualPortgroup[]
getAllHostFolders(String[] additionalPropertyFilters, String query) VcFolder[]
getAllHostSystems(String[] additionalPropertyFilters, String query) VcHostSystem[]
getAllManagedObjects(String sdkType, String[] additionalPropertyFilters, String query) VcManagedObject[]
getAllNetworkFolders(String[] additionalPropertyFilters, String query) VcFolder[]
getAllNetworks(String[] additionalPropertyFilters, String query) VcNetwork[]
getAllResourcePools(String[] additionalPropertyFilters, String query) VcResourcePool[]
getAllTasks(String[] additionalPropertyFilters, String query) VcTask[]
getAllVirtualApps(String[] additionalPropertyFilters, String query) VcVirtualApp[]
getAllVirtualMachines(String[] additionalPropertyFilters, String query) VcVirtualMachine[]
getAllVirtualMachineSnapshots(String[] additionalPropertyFilters, String query) VcVirtualMachineSnapshot[]
getAllVmFolders(String[] additionalPropertyFilters, String query) VcFolder[]
getDatastoreNamespaceManager() VcDatastoreNamespaceManager
getDisplayName() String
getId() String
getInstanceUuid() String
getLastError() java.lang.Throwable
getName() String
getPerformanceChartManager() com.vmware.vmo.plugin.vi4.chart.VimPerformanceChartManager
getPluginName() String
getSdkId() String
getSdkType() String
getServiceManager() VcServiceManager
getUrl() java.net.URL
getUsername() String
getVimFactory() com.vmware.vmo.plugin.vi4.model.IVimObjectFactory
getVirtualizationManager() VcVirtualizationManager
hashCode() Number
invalidate() void
isInventoryServiceAvailable() String
isSharedLoginMode() boolean
isUsable() boolean
sdkType2vimType(String ) String
setLastError(java.lang.Throwable ) void
setSharedLoginMode(boolean ) void
setUsable(boolean ) void
toString() String

Returned by

Method Returns
com.vmware.vmo.plugin.vi4.model.IVimObjectFactory.getVimHost() VcSdkConnection
com.vmware.vmo.plugin.vi4.model.VimManagedObject.getVimHost() VcSdkConnection
VcPlugin.registerHost(boolean , String , Number , Number , String , boolean , String , String , String ) VcSdkConnection
VcPlugin.registerVCenterServerInstance(boolean enabled, String hostName, Number port, Number tunnelPort, String path, boolean sessionPerUser, String userName, String password, String domain) VcSdkConnection

Referenced in

Method Returns
VcPlugin.registerExtension(VcSdkConnection host) VcExtension
VcPlugin.unregisterExtension(VcSdkConnection host, String key) void