public interface Inbound extends Service, InboundTypes
Inbound
interface provides methods to manage inbound firewall rules.
This interface was added in vSphere API 6.7 U1.InboundTypes.Policy, InboundTypes.Rule
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)
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)
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)
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)
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
.
Operation 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.
Operation 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.