Interface Firewall.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Firewall
@ApiService("SoftLayer_Network_Vlan_Firewall") public static interface Firewall.Service extends Service
The SoftLayer_Network_Vlan_Firewall service accesses general information relating to a single SoftLayer VLAN firewall. This is the object which ties the running rules to a specific downstream server. The current running rule set can be pulled from this service. Use the [[SoftLayer Network Firewall Template]] service to pull SoftLayer recommended rule set templates. Use the [[SoftLayer Network Firewall Update Request]] service to submit a firewall update request.- See Also:
- SoftLayer_Network_Vlan_Firewall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Void
approveBypassRequest()
Approve a request from technical support to bypass the firewall.Firewall.ServiceAsync
asAsync()
Get an async version of this serviceLong
getAccountId()
BigDecimal
getBandwidthAllocation()
A firewall's allotted bandwidth (measured in GB).List<Usage>
getBillingCycleBandwidthUsage()
The raw bandwidth usage data for the current billing cycle.Usage
getBillingCyclePrivateBandwidthUsage()
The raw private bandwidth usage data for the current billing cycle.Usage
getBillingCyclePublicBandwidthUsage()
The raw public bandwidth usage data for the current billing cycle.Item
getBillingItem()
The billing item for a Hardware Firewall (Dedicated).String
getBypassRequestStatus()
Administrative bypass request status.Location
getDatacenter()
The datacenter that the firewall resides in.String
getFirewallFirmwareVersion()
Retrieve the firewall device firmware version from database.String
getFirewallType()
The firewall device type.String
getFullyQualifiedDomainName()
A name reflecting the hostname and domain of the firewall.Password
getManagementCredentials()
The credentials to log in to a firewall device.Object
getMetricTrackingObject()
A firewall's metric tracking object.Long
getMetricTrackingObjectId()
The metric tracking object ID for this firewall.List<Request>
getNetworkFirewallUpdateRequests()
The update requests made for this firewall.Gateway
getNetworkGateway()
The gateway associated with this firewall, if any.Vlan
getNetworkVlan()
The VLAN object that a firewall is associated with and protecting.List<Vlan>
getNetworkVlans()
The VLAN objects that a firewall is associated with and protecting.Firewall
getObject()
getObject returns a SoftLayer_Network_Vlan_Firewall object.List<Rule>
getRules()
The currently running rule set of this network component firewall.List<Reference>
getTagReferences()
Request
getUpgradeRequest()
A firewall's associated upgrade request object, if any.Boolean
hasActiveTransactions()
Check for active transactions for the Firewall.Boolean
isAccountAllowed()
Checks if the account is allowed to use some features of FSA1G and Hardware firewall (Dedicated)Boolean
isHighAvailabilityUpgradeAvailable()
Whether this firewall qualifies for High Availability upgrade.Void
rejectBypassRequest()
Reject a request from technical support to bypass the firewall.Transaction
restoreDefaults()
This will completely reset the firewall to factory settings.void
setMask(Firewall.Mask mask)
Boolean
setTags(String tags)
This method will associate a comma separated list of tags with this object.Transaction
updateRouteBypass(Boolean bypass)
Enable or disable route bypass for this context.Firewall.Mask
withMask()
Use the existing mask on this service or create it if not presentFirewall.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Firewall.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Firewall.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Firewall.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Firewall.Mask mask)
-
approveBypassRequest
@ApiMethod(instanceRequired=true) Void approveBypassRequest()
Approve a request from technical support to bypass the firewall. Once approved, support will be able to route and unroute the VLAN on the firewall.
-
getFirewallFirmwareVersion
@ApiMethod(instanceRequired=true) String getFirewallFirmwareVersion()
Retrieve the firewall device firmware version from database.
-
getObject
@ApiMethod(instanceRequired=true) Firewall getObject()
getObject returns a SoftLayer_Network_Vlan_Firewall object. You can only get objects for vlans attached to your account that have a network firewall enabled.
-
hasActiveTransactions
@ApiMethod(instanceRequired=true) Boolean hasActiveTransactions()
Check for active transactions for the Firewall.
-
isAccountAllowed
@ApiMethod(instanceRequired=true) Boolean isAccountAllowed()
Checks if the account is allowed to use some features of FSA1G and Hardware firewall (Dedicated)
-
isHighAvailabilityUpgradeAvailable
@ApiMethod(instanceRequired=true) Boolean isHighAvailabilityUpgradeAvailable()
Whether this firewall qualifies for High Availability upgrade.
-
rejectBypassRequest
@ApiMethod(instanceRequired=true) Void rejectBypassRequest()
Reject a request from technical support to bypass the firewall. Once rejected, IBM support will not be able to route and unroute the VLAN on the firewall.
-
restoreDefaults
@ApiMethod(instanceRequired=true) Transaction restoreDefaults()
This will completely reset the firewall to factory settings. If the firewall is not a FSA 10G appliance an error will occur. Note, this process is performed asynchronously. During the process all traffic will not be routed through the firewall.
-
setTags
@ApiMethod(instanceRequired=true) Boolean setTags(String tags)
This method will associate a comma separated list of tags with this object.- See Also:
- SoftLayer_Network_Vlan_Firewall::setTags
-
updateRouteBypass
@ApiMethod(instanceRequired=true) Transaction updateRouteBypass(Boolean bypass)
Enable or disable route bypass for this context. If enabled, this will bypass the firewall entirely and all traffic will be routed directly to the host(s) behind it. If disabled, traffic will flow through the firewall normally. This feature is only available for Hardware Firewall (Dedicated) and dedicated appliances.
-
getAccountId
@ApiMethod(instanceRequired=true) Long getAccountId()
-
getBandwidthAllocation
@ApiMethod(instanceRequired=true) BigDecimal getBandwidthAllocation()
A firewall's allotted bandwidth (measured in GB).
-
getBillingCycleBandwidthUsage
@ApiMethod(instanceRequired=true) List<Usage> getBillingCycleBandwidthUsage()
The raw bandwidth usage data for the current billing cycle. One object will be returned for each network this firewall is attached to.
-
getBillingCyclePrivateBandwidthUsage
@ApiMethod(instanceRequired=true) Usage getBillingCyclePrivateBandwidthUsage()
The raw private bandwidth usage data for the current billing cycle.
-
getBillingCyclePublicBandwidthUsage
@ApiMethod(instanceRequired=true) Usage getBillingCyclePublicBandwidthUsage()
The raw public bandwidth usage data for the current billing cycle.
-
getBillingItem
@ApiMethod(instanceRequired=true) Item getBillingItem()
The billing item for a Hardware Firewall (Dedicated).
-
getBypassRequestStatus
@ApiMethod(instanceRequired=true) String getBypassRequestStatus()
Administrative bypass request status.
-
getDatacenter
@ApiMethod(instanceRequired=true) Location getDatacenter()
The datacenter that the firewall resides in.
-
getFirewallType
@ApiMethod(instanceRequired=true) String getFirewallType()
The firewall device type.
-
getFullyQualifiedDomainName
@ApiMethod(instanceRequired=true) String getFullyQualifiedDomainName()
A name reflecting the hostname and domain of the firewall. This is created from the combined values of the firewall's logical name and vlan number automatically, and thus can not be edited directly.
-
getManagementCredentials
@ApiMethod(instanceRequired=true) Password getManagementCredentials()
The credentials to log in to a firewall device. This is only present for dedicated appliances.
-
getMetricTrackingObject
@ApiMethod(instanceRequired=true) Object getMetricTrackingObject()
A firewall's metric tracking object.
-
getMetricTrackingObjectId
@ApiMethod(instanceRequired=true) Long getMetricTrackingObjectId()
The metric tracking object ID for this firewall.
-
getNetworkFirewallUpdateRequests
@ApiMethod(instanceRequired=true) List<Request> getNetworkFirewallUpdateRequests()
The update requests made for this firewall.
-
getNetworkGateway
@ApiMethod(instanceRequired=true) Gateway getNetworkGateway()
The gateway associated with this firewall, if any.
-
getNetworkVlan
@ApiMethod(instanceRequired=true) Vlan getNetworkVlan()
The VLAN object that a firewall is associated with and protecting.
-
getNetworkVlans
@ApiMethod(instanceRequired=true) List<Vlan> getNetworkVlans()
The VLAN objects that a firewall is associated with and protecting.
-
getRules
@ApiMethod(instanceRequired=true) List<Rule> getRules()
The currently running rule set of this network component firewall.
-
getTagReferences
@ApiMethod(instanceRequired=true) List<Reference> getTagReferences()
-
getUpgradeRequest
@ApiMethod(instanceRequired=true) Request getUpgradeRequest()
A firewall's associated upgrade request object, if any.
-
-