Interface Subnet.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Subnet
@ApiService("SoftLayer_Network_Customer_Subnet") public static interface Subnet.Service extends Service
Every Customer subnet is defined in the SoftLayer_Network_Customer_Subnet service. SoftLayer keeps track of subnets outside of the SoftLayer Network that are associated to SoftLayer subnets or systems.
For example, customer subnets are tracked for proper management of network tunnels. This service allows for managing subnets on the remote end of the network tunnel.
For example, customer subnets are tracked for proper management of network tunnels. This service allows for managing subnets on the remote end of the network tunnel.
- See Also:
- SoftLayer_Network_Customer_Subnet
-
Method Summary
Modifier and Type Method Description Subnet.ServiceAsync
asAsync()
Get an async version of this serviceSubnet
createObject(Subnet templateObject)
For IPSec network tunnels, customers can create their local subnets using this method.List<IpAddress>
getIpAddresses()
All ip addresses associated with a subnet.Subnet
getObject()
getObject retrieves the SoftLayer_Network_Customer_Subnet object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Customer_Subnet service.void
setMask(Subnet.Mask mask)
Subnet.Mask
withMask()
Use the existing mask on this service or create it if not presentSubnet.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
Subnet.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Subnet.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
Subnet.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
createObject
For IPSec network tunnels, customers can create their local subnets using this method. After the customer is created successfully, the customer subnet can then be added to the IPSec network tunnel. -
getObject
getObject retrieves the SoftLayer_Network_Customer_Subnet object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Customer_Subnet service. You can only retrieve the subnet whose account matches the account that your portal user is assigned to. -
getIpAddresses
All ip addresses associated with a subnet.
-