public class HypervAddVirtualPortToLogicalSwitch
extends java.lang.Object
Add virtual port to logical switch
This task allows classifying the virtual port and one port profile may be selected.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervAddVirtualPortToLogicalSwitch() |
|
HypervAddVirtualPortToLogicalSwitch(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervAddVirtualPortToLogicalSwitchResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getLogicalSwitchID() |
java.lang.String |
getPortClassification() |
java.lang.String |
getVnaPortProfile() |
boolean |
isIncludeVNAPortProfile() |
void |
setCuicServer(CuicServer api) |
void |
setIncludeVNAPortProfile(boolean includeVNAPortProfile)
Choose this options to include virtual network adapter port profile
|
void |
setLogicalSwitchID(java.lang.String logicalSwitchID)
Select a logical switch
Accepts value from list type hypervLogicalSwitchIdentity
|
void |
setPortClassification(java.lang.String portClassification)
Select a port Classification
Accepts value from list type hypervPortClassificationIdentity
|
void |
setVnaPortProfile(java.lang.String vnaPortProfile)
Select a native virtual network adapter port profile
Set this value only when includeVNAPortProfile not equals to falseAccepts value from list type hypervVnaPortProfileIdentity
|
protected HypervAddVirtualPortToLogicalSwitch()
public HypervAddVirtualPortToLogicalSwitch(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getLogicalSwitchID()
public java.lang.String getPortClassification()
public boolean isIncludeVNAPortProfile()
public java.lang.String getVnaPortProfile()
public void setLogicalSwitchID(java.lang.String logicalSwitchID)
public void setPortClassification(java.lang.String portClassification)
public void setIncludeVNAPortProfile(boolean includeVNAPortProfile)
public void setVnaPortProfile(java.lang.String vnaPortProfile)
public HypervAddVirtualPortToLogicalSwitchResponse execute() throws java.lang.Exception
java.lang.Exception