public class HypervAddStorageToHostOrCluster
extends java.lang.Object
Adds Storage Logical Units or Storage File Shares to a Host or Cluster
This task allows the user to add Storage Logical Units and File Shares Units to a Host/Cluster.
Storage Logical Units that are visible to the Host Group of the Host or Cluster can be added to it.
Only File Shares that are managed can be added to a Host/Cluster.
This task is applicable for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervAddStorageToHostOrCluster() |
|
HypervAddStorageToHostOrCluster(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervAddStorageToHostOrClusterResponse |
execute() |
java.lang.String |
getClusterFileShareIdentity() |
java.lang.String |
getClusterIdentity() |
CuicServer |
getCuicServer() |
java.lang.String |
getFileSystem() |
java.lang.String |
getHostFileShareIdentity() |
java.lang.String |
getHostIdentity() |
java.lang.String |
getLunIdentity() |
java.lang.String |
getPartitionStyle() |
java.lang.String |
getRunAsAccountIdentity() |
java.lang.String |
getStorageType() |
java.lang.String |
getTargetType() |
java.lang.String |
getVolumeLabel() |
boolean |
isForceFormat() |
boolean |
isQuickFormat() |
void |
setClusterFileShareIdentity(java.lang.String clusterFileShareIdentity)
Select the file share to add
Set this value only when storageType not equals to External LUNAccepts 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 |
setCuicServer(CuicServer api) |
void |
setFileSystem(java.lang.String fileSystem)
Select File System
Set this value only when storageType not equals to SMB File Share
|
void |
setForceFormat(boolean forceFormat)
Force Format
Set this value only when storageType not equals to SMB File Share
|
void |
setHostFileShareIdentity(java.lang.String hostFileShareIdentity)
Select the file share to add
Set this value only when storageType not equals to External LUNAccepts 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 |
setLunIdentity(java.lang.String lunIdentity)
Select the lun to be added
Set this value only when storageType not equals to SMB File ShareAccepts value from list type hypervStorageLUNIdentity
|
void |
setPartitionStyle(java.lang.String partitionStyle)
Create MBR or GPT Partition
Set this value only when storageType not equals to SMB File Share
|
void |
setQuickFormat(boolean quickFormat)
Quick Format
Set this value only when storageType not equals to SMB File Share
|
void |
setRunAsAccountIdentity(java.lang.String runAsAccountIdentity)
Select the Run As Account to perform the operation
Set this value only when storageType not equals to External LUNAccepts value from list type hypervRunAsAccountIdentity
|
void |
setStorageType(java.lang.String storageType)
Select the type of storage to be added to the Host/Cluster
|
void |
setTargetType(java.lang.String targetType)
Host/Cluster
|
void |
setVolumeLabel(java.lang.String volumeLabel)
Enter Volume Label
Set this value only when storageType not equals to SMB File Share
|
protected HypervAddStorageToHostOrCluster()
public HypervAddStorageToHostOrCluster(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 java.lang.String getClusterFileShareIdentity()
public java.lang.String getLunIdentity()
public java.lang.String getPartitionStyle()
public java.lang.String getFileSystem()
public java.lang.String getVolumeLabel()
public boolean isQuickFormat()
public boolean isForceFormat()
public java.lang.String getRunAsAccountIdentity()
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 setClusterFileShareIdentity(java.lang.String clusterFileShareIdentity)
public void setLunIdentity(java.lang.String lunIdentity)
public void setPartitionStyle(java.lang.String partitionStyle)
public void setFileSystem(java.lang.String fileSystem)
public void setVolumeLabel(java.lang.String volumeLabel)
public void setQuickFormat(boolean quickFormat)
public void setForceFormat(boolean forceFormat)
public void setRunAsAccountIdentity(java.lang.String runAsAccountIdentity)
public HypervAddStorageToHostOrClusterResponse execute() throws java.lang.Exception
java.lang.Exception