Package com.strongdm.api
Class Nodes
java.lang.Object
com.strongdm.api.Nodes
- All Implemented Interfaces:
SnapshotNodes
Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes:
- **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers.
- **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate registers a new Node.Delete removes a Node by ID.Get reads one Node by ID.List gets a list of Nodes matching a given set of criteria.Update replaces all the fields of a Node by ID.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Nodes service which has the given deadline set for all method calls.
-
Constructor Details
-
Nodes
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Nodes service which has the given deadline set for all method calls. -
create
Create registers a new Node.- Throws:
RpcException
-
get
Get reads one Node by ID.- Specified by:
get
in interfaceSnapshotNodes
- Throws:
RpcException
-
update
Update replaces all the fields of a Node by ID.- Throws:
RpcException
-
delete
Delete removes a Node by ID.- Throws:
RpcException
-
list
List gets a list of Nodes matching a given set of criteria.- Specified by:
list
in interfaceSnapshotNodes
- Throws:
RpcException
-