|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.extension.HostType>
com.vmware.vcloud.sdk.admin.extensions.VMWHost
public class VMWHost
Helper class for the VMWHost Resource in vCloud Admin Extension API.
| Method Summary | |
|---|---|
Task |
disableHost()
Disable the Host |
static Task |
disableHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwHostRef)
Disable the Host |
Task |
enableHost()
Enable the Host |
static Task |
enableHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwHostRef)
Enable the Host |
static VMWHost |
getVMWHostById(VcloudClient client,
String vCloudId)
Get VMWHost helper using the vCloud ID |
static VMWHost |
getVMWHostByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType reference)
Returns the VMWHost Helper for the given vmw host reference |
Task |
prepareHost(String username,
String password)
Preparing the host |
static Task |
prepareHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef,
String username,
String password)
Preparing the host |
Task |
repairHost()
Repair the host |
static Task |
repairHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
Repair the host |
Task |
unPrepareHost()
UnPreparing the host |
static Task |
unPrepareHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
UnPreparing the host |
Task |
upgradeHost()
Upgrades the host agent |
static Task |
upgradeHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
Upgrades the host agent |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity |
|---|
getMetadata, getReference, getTasks |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudResource |
|---|
getResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static VMWHost getVMWHostByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType reference)
throws VCloudException
client - reference -
VMWHost
VCloudException
public static VMWHost getVMWHostById(VcloudClient client,
String vCloudId)
throws VCloudException
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:media:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
VMWHost
VCloudException
public Task disableHost()
throws VCloudException
Task
VCloudException
public static Task disableHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwHostRef)
throws VCloudException
client - VcloudClientvmwHostRef -
Task
VCloudException
public Task enableHost()
throws VCloudException
Task
VCloudException
public static Task enableHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwHostRef)
throws VCloudException
client - VcloudClientvmwHostRef -
Task
VCloudException
public Task unPrepareHost()
throws VCloudException
Task
VCloudException
public static Task unPrepareHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
throws VCloudException
client - hostRef -
Task
VCloudException
public Task prepareHost(String username,
String password)
throws VCloudException
username - Stringpassword - String
Task
VCloudException
public static Task prepareHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef,
String username,
String password)
throws VCloudException
client - hostRef - ReferenceTypeusername - Stringpassword - String
Task
VCloudException
public Task repairHost()
throws VCloudException
Task
VCloudException
public static Task repairHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
throws VCloudException
client - hostRef -
Task
VCloudException
public Task upgradeHost()
throws VCloudException
Task
VCloudException
public static Task upgradeHost(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType hostRef)
throws VCloudException
client - hostRef -
Task
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||