public class HypervRemoveFileShareFromHost
extends java.lang.Object
Remove File Share from Host
This task allows the user to remove a file share from a host.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervRemoveFileShareFromHost() |
|
HypervRemoveFileShareFromHost(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervRemoveFileShareFromHostResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getHostFileShareIdentity() |
java.lang.String |
getHostIdentity() |
boolean |
isRemovePermissionsFromShare() |
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 |
setRemovePermissionsFromShare(boolean removePermissionsFromShare)
Specify whether the permissions should be removed from the file share
|
protected HypervRemoveFileShareFromHost()
public HypervRemoveFileShareFromHost(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getHostIdentity()
public java.lang.String getHostFileShareIdentity()
public boolean isRemovePermissionsFromShare()
public void setHostIdentity(java.lang.String hostIdentity)
public void setHostFileShareIdentity(java.lang.String hostFileShareIdentity)
public void setRemovePermissionsFromShare(boolean removePermissionsFromShare)
public HypervRemoveFileShareFromHostResponse execute() throws java.lang.Exception
java.lang.Exception