Package com.vmware.vim25.mo
Class Datacenter
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.Datacenter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchQueryConnectInfo(HostConnectSpec[] hostSpecs) Network[]old signature for back compatibility with 2.5 and 4.0powerOnMultiVM_Task(VirtualMachine[] vms, OptionValue[] option) queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint) queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint, String sslCertificate) This method provides a way of getting basic information about a host without adding it to a datacenter.reconfigureDatacenter_Task(DatacenterConfigSpec spec, boolean modify) Methods inherited from class com.vmware.vim25.mo.ManagedEntity
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getName, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_TaskMethods inherited from class com.vmware.vim25.mo.ExtensibleManagedObject
getAvailableField, getValues, setCustomValueMethods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
Datacenter
-
-
Method Details
-
getConfiguration
-
getDatastore
-
getDatastoreFolder
-
getHostFolder
-
getNetwork
-
getNetworkFolder
-
getVmFolder
-
batchQueryConnectInfo
public DatacenterBasicConnectInfo[] batchQueryConnectInfo(HostConnectSpec[] hostSpecs) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
queryConfigOptionDescriptor
public VirtualMachineConfigOptionDescriptor[] queryConfigOptionDescriptor() throws RuntimeFault, RemoteException- Throws:
RuntimeFaultRemoteException
-
queryConnectionInfo
public HostConnectInfo queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint, String sslCertificate) throws HostConnectFault, InvalidLogin, RuntimeFault, RemoteException -
reconfigureDatacenter_Task
public Task reconfigureDatacenter_Task(DatacenterConfigSpec spec, boolean modify) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
powerOnMultiVM_Task
old signature for back compatibility with 2.5 and 4.0- Throws:
RuntimeFaultRemoteException
-
powerOnMultiVM_Task
public Task powerOnMultiVM_Task(VirtualMachine[] vms, OptionValue[] option) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException- Since:
- SDK4.1
-
queryConnectionInfo
public HostConnectInfo queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint) throws InvalidLogin, HostConnectFault, RuntimeFault, RemoteException -
queryDatacenterConfigOptionDescriptor
public VirtualMachineConfigOptionDescriptor[] queryDatacenterConfigOptionDescriptor() throws RuntimeFault, RemoteException- Throws:
RuntimeFaultRemoteException- Since:
- SDK5.1
-
queryConnectionInfoViaSpec
public HostConnectInfo queryConnectionInfoViaSpec(HostConnectSpec spec) throws GatewayConnectFault, GatewayHostNotReachable, GatewayNotFound, GatewayNotReachable, GatewayOperationRefused, GatewayToHostAuthFault, GatewayToHostTrustVerifyFault, HostConnectFault, InvalidArgument, InvalidLogin, RuntimeFault, RemoteException This method provides a way of getting basic information about a host without adding it to a datacenter. This method is similar to QueryConnectionInfo, but it takes a HostConnectSpec as argument, instead of list of parameters.- Parameters:
spec- The connection spec for the host to be queried. It must contain values for all parameters required by QueryConnectionInfo See QueryConnectionInfo or a list of thrown expections.- Returns:
- HostConnectInfo
- Throws:
GatewayConnectFaultGatewayHostNotReachableGatewayNotFoundGatewayNotReachableGatewayOperationRefusedGatewayToHostAuthFaultGatewayToHostTrustVerifyFaultHostConnectFaultInvalidArgumentInvalidLoginRuntimeFaultRemoteException- Since:
- 6.0
-