Package com.strongdm.api
Class Relay
java.lang.Object
com.strongdm.api.Relay
- All Implemented Interfaces:
Node
Relay represents a StrongDM CLI installation running in relay mode.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDevice is a read only device name uploaded by the gateway process when it comes online.GatewayFilter can be used to restrict the peering between relays and gateways.getId()
Unique identifier of the Relay.Location is a read only network location uploaded by the gateway process when it comes online.Maintenance Windows define when this node is allowed to restart.getName()
Unique human-readable name of the Relay.getState()
The current state of the relay, one of the NodeState constants.getTags()
Tags is a map of key, value pairs.Version is a read only sdm binary version uploaded by the gateway process when it comes online.void
Device is a read only device name uploaded by the gateway process when it comes online.void
GatewayFilter can be used to restrict the peering between relays and gateways.void
Unique identifier of the Relay.void
setLocation
(String in) Location is a read only network location uploaded by the gateway process when it comes online.void
Maintenance Windows define when this node is allowed to restart.void
Unique human-readable name of the Relay.void
The current state of the relay, one of the NodeState constants.void
Tags is a map of key, value pairs.void
setVersion
(String in) Version is a read only sdm binary version uploaded by the gateway process when it comes online.
-
Constructor Details
-
Relay
public Relay()
-
-
Method Details
-
getDevice
Device is a read only device name uploaded by the gateway process when it comes online. -
setDevice
Device is a read only device name uploaded by the gateway process when it comes online. -
getGatewayFilter
GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated. -
setGatewayFilter
GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated. -
getId
Unique identifier of the Relay. -
setId
Unique identifier of the Relay. -
getLocation
Location is a read only network location uploaded by the gateway process when it comes online. -
setLocation
Location is a read only network location uploaded by the gateway process when it comes online. -
getMaintenanceWindows
Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day. -
setMaintenanceWindows
Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day. -
getName
Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. -
setName
Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. -
getState
The current state of the relay, one of the NodeState constants. -
setState
The current state of the relay, one of the NodeState constants. -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs. -
getVersion
Version is a read only sdm binary version uploaded by the gateway process when it comes online. -
setVersion
Version is a read only sdm binary version uploaded by the gateway process when it comes online.
-