Interface Request.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Request
@ApiService("SoftLayer_Network_Firewall_Update_Request") public static interface Request.Service extends Service
The SoftLayer_Network_Firewall_Update_Request service can be used to create SoftLayer network component firewall rules update requests. Update requests are added to a transaction queue and are typically posted in about 60 seconds. After they are posted, they are listed as current rules via the [[SoftLayer Network Component Firewall]] service. Use the [[SoftLayer Network Component Firewall]] service to view current rules. Use the [[SoftLayer Network Firewall Template]] service to pull SoftLayer recommended rule set templates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Request.ServiceAsync
asAsync()
Get an async version of this serviceRequest
createObject(Request templateObject)
Create a new firewall update request.Interface
getAuthorizingUser()
The user that authorized this firewall update request.Attribute
getFirewallUpdateRequestRuleAttributes()
Get the possible attribute values for a firewall update request rule.Guest
getGuest()
The downstream virtual server that the rule set will be applied to.Hardware
getHardware()
The downstream server that the rule set will be applied to.Firewall
getNetworkComponentFirewall()
The network component firewall that the rule set will be applied to.Request
getObject()
''getObject'' returns a SoftLayer_Network_Firewall_Update_Request object.List<Rule>
getRules()
The group of rules contained within the update request.void
setMask(Request.Mask mask)
Boolean
updateRuleNote(Rule fwRule, String note)
Request.Mask
withMask()
Use the existing mask on this service or create it if not presentRequest.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
Request.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Request.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
Request.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Request.Mask mask)
-
createObject
@ApiMethod Request createObject(Request templateObject)
Create a new firewall update request. The SoftLayer_Network_Firewall_Update_Request object passed to this function must have at least one rule.
''createObject'' returns a Boolean ''true'' on successful object creation or ''false'' if your firewall update request was unable to be created.
-
getFirewallUpdateRequestRuleAttributes
@ApiMethod Attribute getFirewallUpdateRequestRuleAttributes()
Get the possible attribute values for a firewall update request rule. These are the valid values which may be submitted as rule parameters for a firewall update request.
''getFirewallUpdateRequestRuleAttributes'' returns a SoftLayer_Container_Utility_Network_Firewall_Rule_Attribute object upon success.
-
getObject
@ApiMethod(instanceRequired=true) Request getObject()
''getObject'' returns a SoftLayer_Network_Firewall_Update_Request object. You can only get historical objects for servers attached to your account that have a network firewall enabled. ''createObject'' inserts a new SoftLayer_Network_Firewall_Update_Request object. You can only insert requests for servers attached to your account that have a network firewall enabled. ''getFirewallUpdateRequestRuleAttributes'' Get the possible attribute values for a firewall update request rule.
-
updateRuleNote
@ApiMethod Boolean updateRuleNote(Rule fwRule, String note)
-
getAuthorizingUser
@ApiMethod(instanceRequired=true) Interface getAuthorizingUser()
The user that authorized this firewall update request.
-
getGuest
@ApiMethod(instanceRequired=true) Guest getGuest()
The downstream virtual server that the rule set will be applied to.
-
getHardware
@ApiMethod(instanceRequired=true) Hardware getHardware()
The downstream server that the rule set will be applied to.
-
getNetworkComponentFirewall
@ApiMethod(instanceRequired=true) Firewall getNetworkComponentFirewall()
The network component firewall that the rule set will be applied to.
-
getRules
@ApiMethod(instanceRequired=true) List<Rule> getRules()
The group of rules contained within the update request.
-
-