public class HypervAddStorageLogicalUnitToHost
extends java.lang.Object
Add Storage Logical Unit to Host
This task allows the user to add a lun to a host.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervAddStorageLogicalUnitToHost() |
|
HypervAddStorageLogicalUnitToHost(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervAddStorageLogicalUnitToHostResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getFileSystem() |
java.lang.String |
getHostIdentity() |
java.lang.String |
getLunIdentity() |
java.lang.String |
getPartitionStyle() |
java.lang.String |
getVolumeLabel() |
boolean |
isForceFormat() |
boolean |
isQuickFormat() |
void |
setCuicServer(CuicServer api) |
void |
setFileSystem(java.lang.String fileSystem)
Select File System
Accepts value from list type hypervFileSystemType
|
void |
setForceFormat(boolean forceFormat)
Force Format
|
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
Accepts value from list type hypervStorageLUNIdentity
|
void |
setPartitionStyle(java.lang.String partitionStyle)
Create MBR or GPT Partition
Accepts value from list type hypervPartitionType
|
void |
setQuickFormat(boolean quickFormat)
Quick Format
|
void |
setVolumeLabel(java.lang.String volumeLabel)
Enter Volume Label
|
protected HypervAddStorageLogicalUnitToHost()
public HypervAddStorageLogicalUnitToHost(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getHostIdentity()
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 void setHostIdentity(java.lang.String hostIdentity)
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 HypervAddStorageLogicalUnitToHostResponse execute() throws java.lang.Exception
java.lang.Exception