Twingate v3.5.0 published on Monday, Sep 22, 2025 by Twingate
Twingate v3.5.0 published on Monday, Sep 22, 2025 by Twingate
Connectors provide connectivity to Remote Networks. For more information, see Twingate’s documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as twingate from "@twingate/pulumi-twingate";
const all = twingate.getTwingateConnectors({
name: "<your connector's name>",
});
import pulumi
import pulumi_twingate as twingate
all = twingate.get_twingate_connectors(name="<your connector's name>")
package main
import (
"github.com/Twingate/pulumi-twingate/sdk/v3/go/twingate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := twingate.GetTwingateConnectors(ctx, &twingate.GetTwingateConnectorsArgs{
Name: pulumi.StringRef("<your connector's name>"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Twingate = Pulumi.Twingate;
return await Deployment.RunAsync(() =>
{
var all = Twingate.GetTwingateConnectors.Invoke(new()
{
Name = "<your connector's name>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.twingate.TwingateFunctions;
import com.pulumi.twingate.inputs.GetTwingateConnectorsArgs;
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) {
final var all = TwingateFunctions.getTwingateConnectors(GetTwingateConnectorsArgs.builder()
.name("<your connector's name>")
.build());
}
}
variables:
all:
fn::invoke:
function: twingate:getTwingateConnectors
arguments:
name: <your connector's name>
Using getTwingateConnectors
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTwingateConnectors(args: GetTwingateConnectorsArgs, opts?: InvokeOptions): Promise<GetTwingateConnectorsResult>
function getTwingateConnectorsOutput(args: GetTwingateConnectorsOutputArgs, opts?: InvokeOptions): Output<GetTwingateConnectorsResult>def get_twingate_connectors(name: Optional[str] = None,
name_contains: Optional[str] = None,
name_exclude: Optional[str] = None,
name_prefix: Optional[str] = None,
name_regexp: Optional[str] = None,
name_suffix: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTwingateConnectorsResult
def get_twingate_connectors_output(name: Optional[pulumi.Input[str]] = None,
name_contains: Optional[pulumi.Input[str]] = None,
name_exclude: Optional[pulumi.Input[str]] = None,
name_prefix: Optional[pulumi.Input[str]] = None,
name_regexp: Optional[pulumi.Input[str]] = None,
name_suffix: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTwingateConnectorsResult]func GetTwingateConnectors(ctx *Context, args *GetTwingateConnectorsArgs, opts ...InvokeOption) (*GetTwingateConnectorsResult, error)
func GetTwingateConnectorsOutput(ctx *Context, args *GetTwingateConnectorsOutputArgs, opts ...InvokeOption) GetTwingateConnectorsResultOutput> Note: This function is named GetTwingateConnectors in the Go SDK.
public static class GetTwingateConnectors
{
public static Task<GetTwingateConnectorsResult> InvokeAsync(GetTwingateConnectorsArgs args, InvokeOptions? opts = null)
public static Output<GetTwingateConnectorsResult> Invoke(GetTwingateConnectorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTwingateConnectorsResult> getTwingateConnectors(GetTwingateConnectorsArgs args, InvokeOptions options)
public static Output<GetTwingateConnectorsResult> getTwingateConnectors(GetTwingateConnectorsArgs args, InvokeOptions options)
fn::invoke:
function: twingate:index/getTwingateConnectors:getTwingateConnectors
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- Name
Contains string - Match when the value exist in the name of the connector.
- Name
Exclude string - Match when the exact value does not exist in the name of the connector.
- Name
Prefix string - The name of the connector must start with the value.
- Name
Regexp string - The regular expression match of the name of the connector.
- Name
Suffix string - The name of the connector must end with the value.
- Name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- Name
Contains string - Match when the value exist in the name of the connector.
- Name
Exclude string - Match when the exact value does not exist in the name of the connector.
- Name
Prefix string - The name of the connector must start with the value.
- Name
Regexp string - The regular expression match of the name of the connector.
- Name
Suffix string - The name of the connector must end with the value.
- name String
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains String - Match when the value exist in the name of the connector.
- name
Exclude String - Match when the exact value does not exist in the name of the connector.
- name
Prefix String - The name of the connector must start with the value.
- name
Regexp String - The regular expression match of the name of the connector.
- name
Suffix String - The name of the connector must end with the value.
- name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains string - Match when the value exist in the name of the connector.
- name
Exclude string - Match when the exact value does not exist in the name of the connector.
- name
Prefix string - The name of the connector must start with the value.
- name
Regexp string - The regular expression match of the name of the connector.
- name
Suffix string - The name of the connector must end with the value.
- name str
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name_
contains str - Match when the value exist in the name of the connector.
- name_
exclude str - Match when the exact value does not exist in the name of the connector.
- name_
prefix str - The name of the connector must start with the value.
- name_
regexp str - The regular expression match of the name of the connector.
- name_
suffix str - The name of the connector must end with the value.
- name String
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains String - Match when the value exist in the name of the connector.
- name
Exclude String - Match when the exact value does not exist in the name of the connector.
- name
Prefix String - The name of the connector must start with the value.
- name
Regexp String - The regular expression match of the name of the connector.
- name
Suffix String - The name of the connector must end with the value.
getTwingateConnectors Result
The following output properties are available:
- Connectors
List<Twingate.
Twingate. Outputs. Get Twingate Connectors Connector> - List of Connectors
- Id string
- The ID of this resource.
- Name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- Name
Contains string - Match when the value exist in the name of the connector.
- Name
Exclude string - Match when the exact value does not exist in the name of the connector.
- Name
Prefix string - The name of the connector must start with the value.
- Name
Regexp string - The regular expression match of the name of the connector.
- Name
Suffix string - The name of the connector must end with the value.
- Connectors
[]Get
Twingate Connectors Connector - List of Connectors
- Id string
- The ID of this resource.
- Name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- Name
Contains string - Match when the value exist in the name of the connector.
- Name
Exclude string - Match when the exact value does not exist in the name of the connector.
- Name
Prefix string - The name of the connector must start with the value.
- Name
Regexp string - The regular expression match of the name of the connector.
- Name
Suffix string - The name of the connector must end with the value.
- connectors
List<Get
Twingate Connectors Connector> - List of Connectors
- id String
- The ID of this resource.
- name String
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains String - Match when the value exist in the name of the connector.
- name
Exclude String - Match when the exact value does not exist in the name of the connector.
- name
Prefix String - The name of the connector must start with the value.
- name
Regexp String - The regular expression match of the name of the connector.
- name
Suffix String - The name of the connector must end with the value.
- connectors
Get
Twingate Connectors Connector[] - List of Connectors
- id string
- The ID of this resource.
- name string
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains string - Match when the value exist in the name of the connector.
- name
Exclude string - Match when the exact value does not exist in the name of the connector.
- name
Prefix string - The name of the connector must start with the value.
- name
Regexp string - The regular expression match of the name of the connector.
- name
Suffix string - The name of the connector must end with the value.
- connectors
Sequence[Get
Twingate Connectors Connector] - List of Connectors
- id str
- The ID of this resource.
- name str
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name_
contains str - Match when the value exist in the name of the connector.
- name_
exclude str - Match when the exact value does not exist in the name of the connector.
- name_
prefix str - The name of the connector must start with the value.
- name_
regexp str - The regular expression match of the name of the connector.
- name_
suffix str - The name of the connector must end with the value.
- connectors List<Property Map>
- List of Connectors
- id String
- The ID of this resource.
- name String
- Returns only connectors that exactly match this name. If no options are passed it will return all connectors. Only one option can be used at a time.
- name
Contains String - Match when the value exist in the name of the connector.
- name
Exclude String - Match when the exact value does not exist in the name of the connector.
- name
Prefix String - The name of the connector must start with the value.
- name
Regexp String - The regular expression match of the name of the connector.
- name
Suffix String - The name of the connector must end with the value.
Supporting Types
GetTwingateConnectorsConnector
- Hostname string
- The hostname of the machine hosting the Connector.
- Id string
- The ID of the Connector.
- Name string
- The Name of the Connector.
- Private
Ips List<string> - The Connector's private IP addresses.
- Public
Ip string - The Connector's public IP address.
- Remote
Network stringId - The ID of the Remote Network attached to the Connector.
- State string
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - Status
Updates boolEnabled - Determines whether status notifications are enabled for the Connector.
- Version string
- The Connector's version.
- Hostname string
- The hostname of the machine hosting the Connector.
- Id string
- The ID of the Connector.
- Name string
- The Name of the Connector.
- Private
Ips []string - The Connector's private IP addresses.
- Public
Ip string - The Connector's public IP address.
- Remote
Network stringId - The ID of the Remote Network attached to the Connector.
- State string
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - Status
Updates boolEnabled - Determines whether status notifications are enabled for the Connector.
- Version string
- The Connector's version.
- hostname String
- The hostname of the machine hosting the Connector.
- id String
- The ID of the Connector.
- name String
- The Name of the Connector.
- private
Ips List<String> - The Connector's private IP addresses.
- public
Ip String - The Connector's public IP address.
- remote
Network StringId - The ID of the Remote Network attached to the Connector.
- state String
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - status
Updates BooleanEnabled - Determines whether status notifications are enabled for the Connector.
- version String
- The Connector's version.
- hostname string
- The hostname of the machine hosting the Connector.
- id string
- The ID of the Connector.
- name string
- The Name of the Connector.
- private
Ips string[] - The Connector's private IP addresses.
- public
Ip string - The Connector's public IP address.
- remote
Network stringId - The ID of the Remote Network attached to the Connector.
- state string
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - status
Updates booleanEnabled - Determines whether status notifications are enabled for the Connector.
- version string
- The Connector's version.
- hostname str
- The hostname of the machine hosting the Connector.
- id str
- The ID of the Connector.
- name str
- The Name of the Connector.
- private_
ips Sequence[str] - The Connector's private IP addresses.
- public_
ip str - The Connector's public IP address.
- remote_
network_ strid - The ID of the Remote Network attached to the Connector.
- state str
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - status_
updates_ boolenabled - Determines whether status notifications are enabled for the Connector.
- version str
- The Connector's version.
- hostname String
- The hostname of the machine hosting the Connector.
- id String
- The ID of the Connector.
- name String
- The Name of the Connector.
- private
Ips List<String> - The Connector's private IP addresses.
- public
Ip String - The Connector's public IP address.
- remote
Network StringId - The ID of the Remote Network attached to the Connector.
- state String
- The Connector's state. One of
ALIVE,DEAD_NO_HEARTBEAT,DEAD_HEARTBEAT_TOO_OLDorDEAD_NO_RELAYS. - status
Updates BooleanEnabled - Determines whether status notifications are enabled for the Connector.
- version String
- The Connector's version.
Package Details
- Repository
- twingate Twingate/pulumi-twingate
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
twingateTerraform Provider.
Twingate v3.5.0 published on Monday, Sep 22, 2025 by Twingate
