sdm.Node
Explore with Pulumi AI
Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes:
- Relay: creates connectivity to your datasources, while maintaining the egress-only nature of your firewall
- Gateways: a relay that also listens for connections from strongDM clients
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdm from "@pierskarsenbarg/sdm";
const gateway = new sdm.Node("gateway", {gateway: {
bindAddress: "0.0.0.0:21222",
listenAddress: "165.23.40.1:21222",
name: "test-gateway",
tags: {
env: "dev",
region: "us-west",
},
}});
const relay = new sdm.Node("relay", {relay: {
name: "test-relay",
tags: {
env: "dev",
region: "us-west",
},
}});
import pulumi
import pierskarsenbarg_pulumi_sdm as sdm
gateway = sdm.Node("gateway", gateway={
"bind_address": "0.0.0.0:21222",
"listen_address": "165.23.40.1:21222",
"name": "test-gateway",
"tags": {
"env": "dev",
"region": "us-west",
},
})
relay = sdm.Node("relay", relay={
"name": "test-relay",
"tags": {
"env": "dev",
"region": "us-west",
},
})
package main
import (
"github.com/pierskarsenbarg/pulumi-sdm/sdk/go/sdm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdm.NewNode(ctx, "gateway", &sdm.NodeArgs{
Gateway: &sdm.NodeGatewayArgs{
BindAddress: pulumi.String("0.0.0.0:21222"),
ListenAddress: pulumi.String("165.23.40.1:21222"),
Name: pulumi.String("test-gateway"),
Tags: pulumi.StringMap{
"env": pulumi.String("dev"),
"region": pulumi.String("us-west"),
},
},
})
if err != nil {
return err
}
_, err = sdm.NewNode(ctx, "relay", &sdm.NodeArgs{
Relay: &sdm.NodeRelayArgs{
Name: pulumi.String("test-relay"),
Tags: pulumi.StringMap{
"env": pulumi.String("dev"),
"region": pulumi.String("us-west"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdm = PiersKarsenbarg.Sdm;
return await Deployment.RunAsync(() =>
{
var gateway = new Sdm.Node("gateway", new()
{
Gateway = new Sdm.Inputs.NodeGatewayArgs
{
BindAddress = "0.0.0.0:21222",
ListenAddress = "165.23.40.1:21222",
Name = "test-gateway",
Tags =
{
{ "env", "dev" },
{ "region", "us-west" },
},
},
});
var relay = new Sdm.Node("relay", new()
{
Relay = new Sdm.Inputs.NodeRelayArgs
{
Name = "test-relay",
Tags =
{
{ "env", "dev" },
{ "region", "us-west" },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdm.Node;
import com.pulumi.sdm.NodeArgs;
import com.pulumi.sdm.inputs.NodeGatewayArgs;
import com.pulumi.sdm.inputs.NodeRelayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var gateway = new Node("gateway", NodeArgs.builder()
.gateway(NodeGatewayArgs.builder()
.bindAddress("0.0.0.0:21222")
.listenAddress("165.23.40.1:21222")
.name("test-gateway")
.tags(Map.ofEntries(
Map.entry("env", "dev"),
Map.entry("region", "us-west")
))
.build())
.build());
var relay = new Node("relay", NodeArgs.builder()
.relay(NodeRelayArgs.builder()
.name("test-relay")
.tags(Map.ofEntries(
Map.entry("env", "dev"),
Map.entry("region", "us-west")
))
.build())
.build());
}
}
resources:
gateway:
type: sdm:Node
properties:
gateway:
bindAddress: 0.0.0.0:21222
listenAddress: 165.23.40.1:21222
name: test-gateway
tags:
env: dev
region: us-west
relay:
type: sdm:Node
properties:
relay:
name: test-relay
tags:
env: dev
region: us-west
This resource can be imported using the import command.
Create Node Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Node(name: string, args?: NodeArgs, opts?: CustomResourceOptions);
@overload
def Node(resource_name: str,
args: Optional[NodeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Node(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway: Optional[NodeGatewayArgs] = None,
proxy_cluster: Optional[NodeProxyClusterArgs] = None,
relay: Optional[NodeRelayArgs] = None)
func NewNode(ctx *Context, name string, args *NodeArgs, opts ...ResourceOption) (*Node, error)
public Node(string name, NodeArgs? args = null, CustomResourceOptions? opts = null)
type: sdm:Node
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodeResource = new Sdm.Node("nodeResource", new()
{
Gateway = new Sdm.Inputs.NodeGatewayArgs
{
ListenAddress = "string",
BindAddress = "string",
Device = "string",
GatewayFilter = "string",
Location = "string",
MaintenanceWindows = new[]
{
new Sdm.Inputs.NodeGatewayMaintenanceWindowArgs
{
CronSchedule = "string",
RequireIdleness = false,
},
},
Name = "string",
Tags =
{
{ "string", "string" },
},
Token = "string",
Version = "string",
},
ProxyCluster = new Sdm.Inputs.NodeProxyClusterArgs
{
Address = "string",
MaintenanceWindows = new[]
{
new Sdm.Inputs.NodeProxyClusterMaintenanceWindowArgs
{
CronSchedule = "string",
RequireIdleness = false,
},
},
Name = "string",
Tags =
{
{ "string", "string" },
},
},
Relay = new Sdm.Inputs.NodeRelayArgs
{
Device = "string",
GatewayFilter = "string",
Location = "string",
MaintenanceWindows = new[]
{
new Sdm.Inputs.NodeRelayMaintenanceWindowArgs
{
CronSchedule = "string",
RequireIdleness = false,
},
},
Name = "string",
Tags =
{
{ "string", "string" },
},
Token = "string",
Version = "string",
},
});
example, err := sdm.NewNode(ctx, "nodeResource", &sdm.NodeArgs{
Gateway: &sdm.NodeGatewayArgs{
ListenAddress: pulumi.String("string"),
BindAddress: pulumi.String("string"),
Device: pulumi.String("string"),
GatewayFilter: pulumi.String("string"),
Location: pulumi.String("string"),
MaintenanceWindows: sdm.NodeGatewayMaintenanceWindowArray{
&sdm.NodeGatewayMaintenanceWindowArgs{
CronSchedule: pulumi.String("string"),
RequireIdleness: pulumi.Bool(false),
},
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Token: pulumi.String("string"),
Version: pulumi.String("string"),
},
ProxyCluster: &sdm.NodeProxyClusterArgs{
Address: pulumi.String("string"),
MaintenanceWindows: sdm.NodeProxyClusterMaintenanceWindowArray{
&sdm.NodeProxyClusterMaintenanceWindowArgs{
CronSchedule: pulumi.String("string"),
RequireIdleness: pulumi.Bool(false),
},
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Relay: &sdm.NodeRelayArgs{
Device: pulumi.String("string"),
GatewayFilter: pulumi.String("string"),
Location: pulumi.String("string"),
MaintenanceWindows: sdm.NodeRelayMaintenanceWindowArray{
&sdm.NodeRelayMaintenanceWindowArgs{
CronSchedule: pulumi.String("string"),
RequireIdleness: pulumi.Bool(false),
},
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Token: pulumi.String("string"),
Version: pulumi.String("string"),
},
})
var nodeResource = new Node("nodeResource", NodeArgs.builder()
.gateway(NodeGatewayArgs.builder()
.listenAddress("string")
.bindAddress("string")
.device("string")
.gatewayFilter("string")
.location("string")
.maintenanceWindows(NodeGatewayMaintenanceWindowArgs.builder()
.cronSchedule("string")
.requireIdleness(false)
.build())
.name("string")
.tags(Map.of("string", "string"))
.token("string")
.version("string")
.build())
.proxyCluster(NodeProxyClusterArgs.builder()
.address("string")
.maintenanceWindows(NodeProxyClusterMaintenanceWindowArgs.builder()
.cronSchedule("string")
.requireIdleness(false)
.build())
.name("string")
.tags(Map.of("string", "string"))
.build())
.relay(NodeRelayArgs.builder()
.device("string")
.gatewayFilter("string")
.location("string")
.maintenanceWindows(NodeRelayMaintenanceWindowArgs.builder()
.cronSchedule("string")
.requireIdleness(false)
.build())
.name("string")
.tags(Map.of("string", "string"))
.token("string")
.version("string")
.build())
.build());
node_resource = sdm.Node("nodeResource",
gateway=sdm.NodeGatewayArgs(
listen_address="string",
bind_address="string",
device="string",
gateway_filter="string",
location="string",
maintenance_windows=[sdm.NodeGatewayMaintenanceWindowArgs(
cron_schedule="string",
require_idleness=False,
)],
name="string",
tags={
"string": "string",
},
token="string",
version="string",
),
proxy_cluster=sdm.NodeProxyClusterArgs(
address="string",
maintenance_windows=[sdm.NodeProxyClusterMaintenanceWindowArgs(
cron_schedule="string",
require_idleness=False,
)],
name="string",
tags={
"string": "string",
},
),
relay=sdm.NodeRelayArgs(
device="string",
gateway_filter="string",
location="string",
maintenance_windows=[sdm.NodeRelayMaintenanceWindowArgs(
cron_schedule="string",
require_idleness=False,
)],
name="string",
tags={
"string": "string",
},
token="string",
version="string",
))
const nodeResource = new sdm.Node("nodeResource", {
gateway: {
listenAddress: "string",
bindAddress: "string",
device: "string",
gatewayFilter: "string",
location: "string",
maintenanceWindows: [{
cronSchedule: "string",
requireIdleness: false,
}],
name: "string",
tags: {
string: "string",
},
token: "string",
version: "string",
},
proxyCluster: {
address: "string",
maintenanceWindows: [{
cronSchedule: "string",
requireIdleness: false,
}],
name: "string",
tags: {
string: "string",
},
},
relay: {
device: "string",
gatewayFilter: "string",
location: "string",
maintenanceWindows: [{
cronSchedule: "string",
requireIdleness: false,
}],
name: "string",
tags: {
string: "string",
},
token: "string",
version: "string",
},
});
type: sdm:Node
properties:
gateway:
bindAddress: string
device: string
gatewayFilter: string
listenAddress: string
location: string
maintenanceWindows:
- cronSchedule: string
requireIdleness: false
name: string
tags:
string: string
token: string
version: string
proxyCluster:
address: string
maintenanceWindows:
- cronSchedule: string
requireIdleness: false
name: string
tags:
string: string
relay:
device: string
gatewayFilter: string
location: string
maintenanceWindows:
- cronSchedule: string
requireIdleness: false
name: string
tags:
string: string
token: string
version: string
Node Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Node resource accepts the following input properties:
- Gateway
Piers
Karsenbarg. Sdm. Inputs. Node Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- Proxy
Cluster PiersKarsenbarg. Sdm. Inputs. Node Proxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- Relay
Piers
Karsenbarg. Sdm. Inputs. Node Relay - Relay represents a StrongDM CLI installation running in relay mode.
- Gateway
Node
Gateway Args - Gateway represents a StrongDM CLI installation running in gateway mode.
- Proxy
Cluster NodeProxy Cluster Args - ProxyCluster represents a cluster of StrongDM proxies.
- Relay
Node
Relay Args - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster NodeProxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster NodeProxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway Args - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy_
cluster NodeProxy Cluster Args - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay Args - Relay represents a StrongDM CLI installation running in relay mode.
- gateway Property Map
- Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster Property Map - ProxyCluster represents a cluster of StrongDM proxies.
- relay Property Map
- Relay represents a StrongDM CLI installation running in relay mode.
Outputs
All input properties are implicitly available as output properties. Additionally, the Node resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Node Resource
Get an existing Node resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NodeState, opts?: CustomResourceOptions): Node
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gateway: Optional[NodeGatewayArgs] = None,
proxy_cluster: Optional[NodeProxyClusterArgs] = None,
relay: Optional[NodeRelayArgs] = None) -> Node
func GetNode(ctx *Context, name string, id IDInput, state *NodeState, opts ...ResourceOption) (*Node, error)
public static Node Get(string name, Input<string> id, NodeState? state, CustomResourceOptions? opts = null)
public static Node get(String name, Output<String> id, NodeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Gateway
Piers
Karsenbarg. Sdm. Inputs. Node Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- Proxy
Cluster PiersKarsenbarg. Sdm. Inputs. Node Proxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- Relay
Piers
Karsenbarg. Sdm. Inputs. Node Relay - Relay represents a StrongDM CLI installation running in relay mode.
- Gateway
Node
Gateway Args - Gateway represents a StrongDM CLI installation running in gateway mode.
- Proxy
Cluster NodeProxy Cluster Args - ProxyCluster represents a cluster of StrongDM proxies.
- Relay
Node
Relay Args - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster NodeProxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster NodeProxy Cluster - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay - Relay represents a StrongDM CLI installation running in relay mode.
- gateway
Node
Gateway Args - Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy_
cluster NodeProxy Cluster Args - ProxyCluster represents a cluster of StrongDM proxies.
- relay
Node
Relay Args - Relay represents a StrongDM CLI installation running in relay mode.
- gateway Property Map
- Gateway represents a StrongDM CLI installation running in gateway mode.
- proxy
Cluster Property Map - ProxyCluster represents a cluster of StrongDM proxies.
- relay Property Map
- Relay represents a StrongDM CLI installation running in relay mode.
Supporting Types
NodeGateway, NodeGatewayArgs
- Listen
Address string - The public hostname/port tuple at which the gateway will be accessible to clients.
- Bind
Address string - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- Device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- Gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- Location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- Maintenance
Windows List<PiersKarsenbarg. Sdm. Inputs. Node Gateway Maintenance Window> - 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.
- Name string
- 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.
- Dictionary<string, string>
- Tags is a map of key, value pairs.
- Token string
- Version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- Listen
Address string - The public hostname/port tuple at which the gateway will be accessible to clients.
- Bind
Address string - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- Device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- Gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- Location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- Maintenance
Windows []NodeGateway Maintenance Window - 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.
- Name string
- 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.
- map[string]string
- Tags is a map of key, value pairs.
- Token string
- Version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- listen
Address String - The public hostname/port tuple at which the gateway will be accessible to clients.
- bind
Address String - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- device String
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter String - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location String
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows List<NodeGateway Maintenance Window> - 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.
- name String
- 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.
- Map<String,String>
- Tags is a map of key, value pairs.
- token String
- version String
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- listen
Address string - The public hostname/port tuple at which the gateway will be accessible to clients.
- bind
Address string - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows NodeGateway Maintenance Window[] - 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.
- name string
- 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.
- {[key: string]: string}
- Tags is a map of key, value pairs.
- token string
- version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- listen_
address str - The public hostname/port tuple at which the gateway will be accessible to clients.
- bind_
address str - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- device str
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway_
filter str - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location str
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance_
windows Sequence[NodeGateway Maintenance Window] - 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.
- name str
- 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.
- Mapping[str, str]
- Tags is a map of key, value pairs.
- token str
- version str
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- listen
Address String - The public hostname/port tuple at which the gateway will be accessible to clients.
- bind
Address String - The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
- device String
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter String - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location String
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows List<Property Map> - 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.
- name String
- 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.
- Map<String>
- Tags is a map of key, value pairs.
- token String
- version String
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
NodeGatewayMaintenanceWindow, NodeGatewayMaintenanceWindowArgs
- Cron
Schedule string - Require
Idleness bool
- Cron
Schedule string - Require
Idleness bool
- cron
Schedule String - require
Idleness Boolean
- cron
Schedule string - require
Idleness boolean
- cron_
schedule str - require_
idleness bool
- cron
Schedule String - require
Idleness Boolean
NodeProxyCluster, NodeProxyClusterArgs
- Address string
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- Maintenance
Windows List<PiersKarsenbarg. Sdm. Inputs. Node Proxy Cluster Maintenance Window> - 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.
- Name string
- 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.
- Dictionary<string, string>
- Tags is a map of key, value pairs.
- Address string
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- Maintenance
Windows []NodeProxy Cluster Maintenance Window - 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.
- Name string
- 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.
- map[string]string
- Tags is a map of key, value pairs.
- address String
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- maintenance
Windows List<NodeProxy Cluster Maintenance Window> - 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.
- name String
- 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.
- Map<String,String>
- Tags is a map of key, value pairs.
- address string
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- maintenance
Windows NodeProxy Cluster Maintenance Window[] - 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.
- name string
- 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.
- {[key: string]: string}
- Tags is a map of key, value pairs.
- address str
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- maintenance_
windows Sequence[NodeProxy Cluster Maintenance Window] - 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.
- name str
- 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.
- Mapping[str, str]
- Tags is a map of key, value pairs.
- address String
- The public hostname/port tuple at which the proxy cluster will be accessible to clients.
- maintenance
Windows List<Property Map> - 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.
- name String
- 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.
- Map<String>
- Tags is a map of key, value pairs.
NodeProxyClusterMaintenanceWindow, NodeProxyClusterMaintenanceWindowArgs
- Cron
Schedule string - Require
Idleness bool
- Cron
Schedule string - Require
Idleness bool
- cron
Schedule String - require
Idleness Boolean
- cron
Schedule string - require
Idleness boolean
- cron_
schedule str - require_
idleness bool
- cron
Schedule String - require
Idleness Boolean
NodeRelay, NodeRelayArgs
- Device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- Gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- Location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- Maintenance
Windows List<PiersKarsenbarg. Sdm. Inputs. Node Relay Maintenance Window> - 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.
- Name string
- 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.
- Dictionary<string, string>
- Tags is a map of key, value pairs.
- Token string
- Version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- Device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- Gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- Location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- Maintenance
Windows []NodeRelay Maintenance Window - 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.
- Name string
- 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.
- map[string]string
- Tags is a map of key, value pairs.
- Token string
- Version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- device String
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter String - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location String
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows List<NodeRelay Maintenance Window> - 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.
- name String
- 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.
- Map<String,String>
- Tags is a map of key, value pairs.
- token String
- version String
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- device string
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter string - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location string
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows NodeRelay Maintenance Window[] - 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.
- name string
- 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.
- {[key: string]: string}
- Tags is a map of key, value pairs.
- token string
- version string
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- device str
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway_
filter str - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location str
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance_
windows Sequence[NodeRelay Maintenance Window] - 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.
- name str
- 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.
- Mapping[str, str]
- Tags is a map of key, value pairs.
- token str
- version str
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
- device String
- Device is a read only device name uploaded by the gateway process when it comes online.
- gateway
Filter String - GatewayFilter can be used to restrict the peering between relays and gateways. Deprecated.
- location String
- Location is a read only network location uploaded by the gateway process when it comes online.
- maintenance
Windows List<Property Map> - 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.
- name String
- 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.
- Map<String>
- Tags is a map of key, value pairs.
- token String
- version String
- Version is a read only sdm binary version uploaded by the gateway process when it comes online.
NodeRelayMaintenanceWindow, NodeRelayMaintenanceWindowArgs
- Cron
Schedule string - Require
Idleness bool
- Cron
Schedule string - Require
Idleness bool
- cron
Schedule String - require
Idleness Boolean
- cron
Schedule string - require
Idleness boolean
- cron_
schedule str - require_
idleness bool
- cron
Schedule String - require
Idleness Boolean
Import
A Node can be imported using the id, e.g.,
$ pulumi import sdm:index/node:Node example n-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdm pierskarsenbarg/pulumi-sdm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdm
Terraform Provider.