public interface Inbound extends Service, InboundTypes
Inbound
interface provides methods Operations for Firewall rules.InboundTypes.DeleteFirewallRule, InboundTypes.FirewallAddressRule, InboundTypes.FirewallRulePolicy
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.
|
void add(long pos, InboundTypes.FirewallAddressRule rule)
Synchronous method overload. Result of the invocation will be reported as a method return value.
pos
- 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.Error
- Generic errorvoid add(long pos, InboundTypes.FirewallAddressRule rule, 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.
pos
- 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.Error
- Generic errorvoid add(long pos, InboundTypes.FirewallAddressRule rule, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
pos
- 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.void add(long pos, InboundTypes.FirewallAddressRule rule, AsyncCallback<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
pos
- 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.void set(List<InboundTypes.FirewallAddressRule> 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(List<InboundTypes.FirewallAddressRule> 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(List<InboundTypes.FirewallAddressRule> rules, AsyncCallback<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(List<InboundTypes.FirewallAddressRule> rules, AsyncCallback<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.List<InboundTypes.FirewallAddressRule> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorList<InboundTypes.FirewallAddressRule> list(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 list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> 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 list(AsyncCallback<List<InboundTypes.FirewallAddressRule>> 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.void delete(InboundTypes.DeleteFirewallRule config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Delete a firewall ruleError
- Generic errorvoid delete(InboundTypes.DeleteFirewallRule config, 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.
config
- Delete a firewall ruleinvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid delete(InboundTypes.DeleteFirewallRule config, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- Delete a firewall ruleasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(InboundTypes.DeleteFirewallRule config, AsyncCallback<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
config
- Delete a firewall ruleasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.