public class HypervAddStorageResourceToHostGroup
extends java.lang.Object
Adds Storage Pools and Storage Logical Units to a Host Group
This task allows the user to add Storage Pools and Storage Logical Units to a Host Group.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervAddStorageResourceToHostGroup() |
|
HypervAddStorageResourceToHostGroup(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervAddStorageResourceToHostGroupResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getHostGroupIdentity() |
java.lang.String |
getStorageLogicalUnitIdentity() |
java.lang.String |
getStoragePoolIdentity() |
void |
setCuicServer(CuicServer api) |
void |
setHostGroupIdentity(java.lang.String hostGroupIdentity)
Select the host group
Accepts value from list type hypervHostGroupIdentity
|
void |
setStorageLogicalUnitIdentity(java.lang.String storageLogicalUnitIdentity)
Select Storage Logical Unit to be added to the Host Group
Accepts value from list type hypervStorageLUNIdentity
|
void |
setStoragePoolIdentity(java.lang.String storagePoolIdentity)
Select Storage Pool to be added to the Host Group
Accepts value from list type hypervStoragePoolIdentity
|
protected HypervAddStorageResourceToHostGroup()
public HypervAddStorageResourceToHostGroup(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getHostGroupIdentity()
public java.lang.String getStoragePoolIdentity()
public java.lang.String getStorageLogicalUnitIdentity()
public void setHostGroupIdentity(java.lang.String hostGroupIdentity)
public void setStoragePoolIdentity(java.lang.String storagePoolIdentity)
public void setStorageLogicalUnitIdentity(java.lang.String storageLogicalUnitIdentity)
public HypervAddStorageResourceToHostGroupResponse execute() throws java.lang.Exception
java.lang.Exception