Interface Template.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Template
@ApiService("SoftLayer_Network_Firewall_Template") public static interface Template.Service extends Service
The SoftLayer_Network_Firewall_Template service can be used to retrieve recommended SoftLayer network firewall templates and template rules.
The provided firewall templates are recommend rule sets for use with SoftLayer Hardware Firewall (Dedicated). These optimized templates are designed to balance security restriction with application availability. The templates given may be altered to provide custom network security, or may be used as-is for basic security. At least one rule set MUST be applied for the firewall to block traffic. Use the [[SoftLayer Network Component Firewall]] service to view current rules. Use the [[SoftLayer Network Firewall Update Request]] service to submit a firewall update request.
The provided firewall templates are recommend rule sets for use with SoftLayer Hardware Firewall (Dedicated). These optimized templates are designed to balance security restriction with application availability. The templates given may be altered to provide custom network security, or may be used as-is for basic security. At least one rule set MUST be applied for the firewall to block traffic. Use the [[SoftLayer Network Component Firewall]] service to view current rules. Use the [[SoftLayer Network Firewall Update Request]] service to submit a firewall update request.
- See Also:
- SoftLayer_Network_Firewall_Template
-
Method Summary
Modifier and Type Method Description Template.ServiceAsync
asAsync()
Get an async version of this serviceList<Template>
getAllObjects()
Get all available firewall template objects.Template
getObject()
getObject returns a SoftLayer_Network_Firewall_Template object.List<Rule>
getRules()
The rule set that belongs to this firewall rules template.void
setMask(Template.Mask mask)
Template.Mask
withMask()
Use the existing mask on this service or create it if not presentTemplate.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Template.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Template.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
Template.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
getAllObjects
Get all available firewall template objects.
''getAllObjects'' returns an array of SoftLayer_Network_Firewall_Template objects upon success. -
getObject
getObject returns a SoftLayer_Network_Firewall_Template object. You can retrieve all available firewall templates. getAllObjects returns an array of all available SoftLayer_Network_Firewall_Template objects. You can use these templates to generate a [[SoftLayer Network Firewall Update Request]].
-
getRules
The rule set that belongs to this firewall rules template.
-