Package com.softlayer.api.service
Interface Network.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Network
@ApiService("SoftLayer_Network") public static interface Network.Service extends Service
Provides services oriented to network-centric discovery and manipulation.- See Also:
- SoftLayer_Network
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Network.ServiceAsyncasAsync()Get an async version of this serviceBooleanconnectPrivateEndpointService()Initiate the automated process to establish connectivity granting the account private back-end network access to the services available through IBM Cloud Service Endpoint.BooleandisconnectPrivateEndpointService()Initiate the automated process to revoke mutual connectivity from the account network and IBM Cloud Service Endpoint network.NetworkgetObject()BooleanisConnectedToPrivateEndpointService()Accessing select IBM Cloud services attached to the private back-end network is made possible by establishing a network relationship between an account's private network and the Service Endpoint network.voidsetMask(Network.Mask mask)Network.MaskwithMask()Use the existing mask on this service or create it if not presentNetwork.MaskwithNewMask()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
Network.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Network.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Network.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Network.Mask mask)
-
connectPrivateEndpointService
@ApiMethod Boolean connectPrivateEndpointService()
Initiate the automated process to establish connectivity granting the account private back-end network access to the services available through IBM Cloud Service Endpoint. Once initiated, the configuration process occurs asynchronously in the background.
Responses
TrueThe request to connect was successfully initiated.
FalseThe account and Service Endpoint networks are already connected.
Exceptions
SoftLayer_Exception_NotReadyThrown when the current network configuration will not support connection alteration.
-
disconnectPrivateEndpointService
@ApiMethod Boolean disconnectPrivateEndpointService()
Initiate the automated process to revoke mutual connectivity from the account network and IBM Cloud Service Endpoint network. Once initiated, the configuration process occurs asynchronously in the background.
Responses
TrueThe request to disconnect was successfully initiated.
FalseThe account and Service Endpoint networks are already disconnected.
Exceptions
SoftLayer_Exception_NotReadyThrown when the current network configuration will not support connection alteration.
-
getObject
@ApiMethod(instanceRequired=true) Network getObject()
- See Also:
- SoftLayer_Network::getObject
-
isConnectedToPrivateEndpointService
@ApiMethod Boolean isConnectedToPrivateEndpointService()
Accessing select IBM Cloud services attached to the private back-end network is made possible by establishing a network relationship between an account's private network and the Service Endpoint network.
Responses
TrueThe account and Service Endpoint networks are currently connected.
FalseThe account and Service Endpoint networks are not connected; both networks are properly configured to connect.
Exceptions
SoftLayer_Exception_NotReadyThrown when the current network configuration will not support connection alteration.
-
-