public class HypervRemoveStorageFromHostOrCluster
extends java.lang.Object
Removes Storage Logical Units or Storage File Shares from a Host or Cluster
This task allows the user to remove Storage Logical Units and File Shares Units from a Host/Cluster.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervRemoveStorageFromHostOrCluster() |
|
HypervRemoveStorageFromHostOrCluster(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervRemoveStorageFromHostOrClusterResponse |
execute() |
java.lang.String |
getClusterFileShareIdentity() |
java.lang.String |
getClusterIdentity() |
java.lang.String |
getClusterVolumeIdentity() |
CuicServer |
getCuicServer() |
java.lang.String |
getHostFileShareIdentity() |
java.lang.String |
getHostIdentity() |
java.lang.String |
getHostVolumeIdentity() |
java.lang.String |
getStorageType() |
java.lang.String |
getTargetType() |
boolean |
isRemovePermissionsFromShare() |
void |
setClusterFileShareIdentity(java.lang.String clusterFileShareIdentity)
Select the file share to remove
Accepts value from list type hypervFileShareIdentity
|
void |
setClusterIdentity(java.lang.String clusterIdentity)
Select the cluster to perform the action
Accepts value from list type hypervClusterIdentity
|
void |
setClusterVolumeIdentity(java.lang.String clusterVolumeIdentity)
Select the volume to be removed
Accepts value from list type hypervStorageLUNIdentity
|
void |
setCuicServer(CuicServer api) |
void |
setHostFileShareIdentity(java.lang.String hostFileShareIdentity)
Select the file share to remove
Accepts value from list type hypervFileShareIdentity
|
void |
setHostIdentity(java.lang.String hostIdentity)
Select the host to perform the action
Accepts value from list type hvHost
|
void |
setHostVolumeIdentity(java.lang.String hostVolumeIdentity)
Select the disk to be removed
Accepts value from list type hypervStorageLUNIdentity
|
void |
setRemovePermissionsFromShare(boolean removePermissionsFromShare)
Specify whether the permissions should be removed from the file share
Set this value only when storageType equals to SMB File Share
|
void |
setStorageType(java.lang.String storageType)
Select the type of Storage to be removed
|
void |
setTargetType(java.lang.String targetType)
Host/Cluster
|
protected HypervRemoveStorageFromHostOrCluster()
public HypervRemoveStorageFromHostOrCluster(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getTargetType()
public java.lang.String getHostIdentity()
public java.lang.String getClusterIdentity()
public java.lang.String getStorageType()
public java.lang.String getHostFileShareIdentity()
public boolean isRemovePermissionsFromShare()
public java.lang.String getClusterFileShareIdentity()
public java.lang.String getClusterVolumeIdentity()
public java.lang.String getHostVolumeIdentity()
public void setTargetType(java.lang.String targetType)
public void setHostIdentity(java.lang.String hostIdentity)
public void setClusterIdentity(java.lang.String clusterIdentity)
public void setStorageType(java.lang.String storageType)
public void setHostFileShareIdentity(java.lang.String hostFileShareIdentity)
public void setRemovePermissionsFromShare(boolean removePermissionsFromShare)
public void setClusterFileShareIdentity(java.lang.String clusterFileShareIdentity)
public void setClusterVolumeIdentity(java.lang.String clusterVolumeIdentity)
public void setHostVolumeIdentity(java.lang.String hostVolumeIdentity)
public HypervRemoveStorageFromHostOrClusterResponse execute() throws java.lang.Exception
java.lang.Exception