public class InboundStub extends com.vmware.vapi.internal.bindings.Stub implements Inbound
Inbound
API service.
WARNING: Internal API, subject to change in future versions.
InboundTypes.DeleteFirewallRule, InboundTypes.FirewallAddressRule, InboundTypes.FirewallRulePolicy| Constructor and Description |
|---|
InboundStub(ApiProvider apiProvider,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long pos,
InboundTypes.FirewallAddressRule rule)
Add a firewall rule to allow or deny traffic from incoming IP address.
|
void |
add(long pos,
InboundTypes.FirewallAddressRule rule,
AsyncCallback<Void> asyncCallback)
Add a firewall rule to allow or deny traffic from incoming IP address.
|
void |
add(long pos,
InboundTypes.FirewallAddressRule rule,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Add a firewall rule to allow or deny traffic from incoming IP address.
|
void |
add(long pos,
InboundTypes.FirewallAddressRule rule,
InvocationConfig invocationConfig)
Add a firewall rule to allow or deny traffic from incoming IP address.
|
void |
delete(InboundTypes.DeleteFirewallRule config)
Delete specific rule at a given position or delete all rules.
|
void |
delete(InboundTypes.DeleteFirewallRule config,
AsyncCallback<Void> asyncCallback)
Delete specific rule at a given position or delete all rules.
|
void |
delete(InboundTypes.DeleteFirewallRule config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Delete specific rule at a given position or delete all rules.
|
void |
delete(InboundTypes.DeleteFirewallRule config,
InvocationConfig invocationConfig)
Delete specific rule at a given position or delete all rules.
|
List<InboundTypes.FirewallAddressRule> |
list()
Get ordered list of inbound IP addresses that are allowed or denied by firewall.
|
void |
list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> asyncCallback)
Get ordered list of inbound IP addresses that are allowed or denied by firewall.
|
void |
list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> asyncCallback,
InvocationConfig invocationConfig)
Get ordered list of inbound IP addresses that are allowed or denied by firewall.
|
List<InboundTypes.FirewallAddressRule> |
list(InvocationConfig invocationConfig)
Get ordered list of inbound IP addresses that are allowed or denied by firewall.
|
void |
set(List<InboundTypes.FirewallAddressRule> rules)
Set list of inbound IP addresses to allow or deny by firewall.
|
void |
set(List<InboundTypes.FirewallAddressRule> rules,
AsyncCallback<Void> asyncCallback)
Set list of inbound IP addresses to allow or deny by firewall.
|
void |
set(List<InboundTypes.FirewallAddressRule> rules,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set list of inbound IP addresses to allow or deny by firewall.
|
void |
set(List<InboundTypes.FirewallAddressRule> rules,
InvocationConfig invocationConfig)
Set list of inbound IP addresses to allow or deny by firewall.
|
public InboundStub(ApiProvider apiProvider, StubConfigurationBase config)
public void add(long pos,
InboundTypes.FirewallAddressRule rule)
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public void add(long pos,
InboundTypes.FirewallAddressRule rule,
InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
add in interface Inboundpos - Position before which to insert the rule (zero-based). If you try to insert the
rule in a position whose number is greater than the number of rules, the
firewall rule is inserted at the end of the list.rule - Firewall IP-based rule.invocationConfig - Configuration for the method invocation.public void add(long pos,
InboundTypes.FirewallAddressRule rule,
AsyncCallback<Void> asyncCallback)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
add in interface Inboundpos - Position before which to insert the rule (zero-based). If you try to insert the
rule in a position whose number is greater than the number of rules, the
firewall rule is inserted at the end of the list.rule - Firewall IP-based rule.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void add(long pos,
InboundTypes.FirewallAddressRule rule,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
InboundAsynchronous 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
add in interface Inboundpos - Position before which to insert the rule (zero-based). If you try to insert the
rule in a position whose number is greater than the number of rules, the
firewall rule is inserted at the end of the list.rule - Firewall IP-based rule.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void set(List<InboundTypes.FirewallAddressRule> rules)
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public void set(List<InboundTypes.FirewallAddressRule> rules, InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void set(List<InboundTypes.FirewallAddressRule> rules, AsyncCallback<Void> asyncCallback)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void set(List<InboundTypes.FirewallAddressRule> rules, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
InboundAsynchronous 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
public List<InboundTypes.FirewallAddressRule> list()
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public List<InboundTypes.FirewallAddressRule> list(InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> asyncCallback)
InboundAsynchronous 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
public void list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> asyncCallback, InvocationConfig invocationConfig)
InboundAsynchronous 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
public void delete(InboundTypes.DeleteFirewallRule config)
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(InboundTypes.DeleteFirewallRule config, InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void delete(InboundTypes.DeleteFirewallRule config, AsyncCallback<Void> asyncCallback)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void delete(InboundTypes.DeleteFirewallRule config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
InboundAsynchronous 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
Copyright © 2016. All Rights Reserved.