|
||||||||||
| 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.DatastoreType>
com.vmware.vcloud.sdk.admin.extensions.VMWDatastore
public class VMWDatastore
Helper class for the VMWDatastore Resource in vCloud Admin Extension API.
| Method Summary | |
|---|---|
void |
delete()
Delete the VMWDatastore. |
static void |
delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
Delete the VMWDatastore. |
VMWDatastore |
disable()
Disable the Datastore |
static VMWDatastore |
disable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
Disable the Datastore |
VMWDatastore |
enable()
Enable the Datastore |
static VMWDatastore |
enable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
Enable the Datastore |
com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType |
getDatastoreVimRef()
Returns the Datastore VIM Object reference. |
static VMWDatastore |
getVMWDatastoreById(VcloudClient client,
String vCloudId)
Get VMWDatastore helper using the vCloud ID |
static VMWDatastore |
getVMWDatastoreByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType reference)
Returns the VMWDatastore Helper for the given datastore reference |
VMWDatastore |
updateVMWDatastore(com.vmware.vcloud.api.rest.schema.extension.DatastoreType vmwDatastoreType)
Update the VMWDatastore |
| 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 VMWDatastore getVMWDatastoreByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType reference)
throws VCloudException
client - reference -
VMWDatastore
VCloudException
public static VMWDatastore getVMWDatastoreById(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
VMWDatastore
VCloudException
public VMWDatastore updateVMWDatastore(com.vmware.vcloud.api.rest.schema.extension.DatastoreType vmwDatastoreType)
throws VCloudException
vmwDatastoreType - DatastoreType
VMWDatastore
VCloudException
public VMWDatastore disable()
throws VCloudException
VMWDatastore
VCloudException
public static VMWDatastore disable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
throws VCloudException
client - VcloudClientvmwDatastoreRef -
VMWDatastore
VCloudException
public VMWDatastore enable()
throws VCloudException
VMWDatastore
VCloudException
public static VMWDatastore enable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
throws VCloudException
client - VcloudClientvmwDatastoreRef -
VCloudException
public void delete()
throws VCloudException
VCloudException
public static void delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vmwDatastoreRef)
throws VCloudException
client - vmwDatastoreRef -
VCloudException
public com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType getDatastoreVimRef()
throws VCloudException
VimObjectRefType
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||