Package com.vmware.fcd
Class FcdReconcileDatastoreInventoryOperations
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.fcd.FcdReconcileDatastoreInventoryOperations
-
@Sample(name="fcd-reconciledatastoreinventoryoperations", description="This sample reconcile the datastore inventory info of virtual storage objects and schedules reconcile of the inventory info of virtual storage objects on one of the hosts that is connected with the datastore from vslm.") public class FcdReconcileDatastoreInventoryOperations extends com.vmware.connection.ConnectedVimServiceBaseFcdReconcileDatastoreInventoryOperations This sample executes reconcile related operations on a given VStorageObject from vslm: 1. Reconcile the datastore inventory info of virtual storage objects. 2. Schedule reconcile of the inventory info of virtual storage objects on one of the hosts that is connected with the datastore Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication datastorename [required] : Name of the datastore which contains the virtual storage object Command Line: Reconcile the datastore inventory info of virtual storage objects. run.bat com.vmware.fcd.FcdReconcileDatastoreInventoryOperations --url [webserviceurl] --username [username] --password [password] --datastorename [datastorename]
-
-
Constructor Summary
Constructors Constructor Description FcdReconcileDatastoreInventoryOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsetDatastoreName(java.lang.String datastoreName)
-
-
-
Method Detail
-
setDatastoreName
@Option(name="datastorename", required=true, description="Name of datastore that needs to be reconciled from vslm.") public void setDatastoreName(java.lang.String datastoreName)- Parameters:
datastoreName- the datastoreName to set
-
run
@Action public void run() throws java.lang.Exception- Throws:
java.lang.Exception
-
-