public interface Inbound extends Service, InboundTypes
Inbound interface provides methods to manage inbound firewall rules.
This interface was added in vSphere API 6.7.1.InboundTypes.Policy, InboundTypes.Rule_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.util.List<InboundTypes.Rule> |
get()
Get the ordered list of firewall rules.
|
void |
get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
Get the ordered list of firewall rules.
|
void |
get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback,
InvocationConfig invocationConfig)
Get the ordered list of firewall rules.
|
java.util.List<InboundTypes.Rule> |
get(InvocationConfig invocationConfig)
Get the ordered list of firewall rules.
|
void |
set(java.util.List<InboundTypes.Rule> rules)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
AsyncCallback<java.lang.Void> asyncCallback)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
InvocationConfig invocationConfig)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void set(java.util.List<InboundTypes.Rule> rules)
| Address | Prefix | Interface Name | Policy |
|---|---|---|---|
| 10.112.0.1 | 0 | * | REJECT |
| 10.112.0.1 | 0 | nic0 | ACCEPT |
Synchronous method overload. Result of the invocation will be reported as a method return value.
rules - List of address-based firewall rules.Error - Generic errorvoid set(java.util.List<InboundTypes.Rule> rules, InvocationConfig invocationConfig)
| Address | Prefix | Interface Name | Policy |
|---|---|---|---|
| 10.112.0.1 | 0 | * | REJECT |
| 10.112.0.1 | 0 | nic0 | ACCEPT |
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
rules - List of address-based firewall rules.invocationConfig - Configuration for the method invocation.Error - Generic errorvoid set(java.util.List<InboundTypes.Rule> rules, AsyncCallback<java.lang.Void> asyncCallback)
| Address | Prefix | Interface Name | Policy |
|---|---|---|---|
| 10.112.0.1 | 0 | * | REJECT |
| 10.112.0.1 | 0 | nic0 | ACCEPT |
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
rules - List of address-based firewall rules.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void set(java.util.List<InboundTypes.Rule> rules, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
| Address | Prefix | Interface Name | Policy |
|---|---|---|---|
| 10.112.0.1 | 0 | * | REJECT |
| 10.112.0.1 | 0 | nic0 | ACCEPT |
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error
rules - List of address-based firewall rules.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.util.List<InboundTypes.Rule> get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - Generic errorjava.util.List<InboundTypes.Rule> get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
invocationConfig - Configuration for the method invocation.Error - Generic errorvoid get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of address-based firewall rules.
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
List of address-based firewall rules.
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.