UNPKG

@emailbob/twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

75 lines (74 loc) 2.52 kB
import * as pulumi from "@pulumi/pulumi"; /** * Connectors provide connectivity to Remote Networks. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/understanding-access-nodes). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateConnector({ * id: "<your connector's id>", * }); * ``` * <!--End PulumiCodeChooser --> */ export declare function getTwingateConnector(args: GetTwingateConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetTwingateConnectorResult>; /** * A collection of arguments for invoking getTwingateConnector. */ export interface GetTwingateConnectorArgs { /** * The ID of the Connector. The ID for the Connector can be obtained from the Admin API or the URL string in the Admin Console. */ id: string; } /** * A collection of values returned by getTwingateConnector. */ export interface GetTwingateConnectorResult { /** * The ID of the Connector. The ID for the Connector can be obtained from the Admin API or the URL string in the Admin Console. */ readonly id: string; /** * The name of the Connector. */ readonly name: string; /** * The ID of the Remote Network the Connector is attached to. */ readonly remoteNetworkId: string; /** * Determines whether status notifications are enabled for the Connector. */ readonly statusUpdatesEnabled: boolean; } /** * Connectors provide connectivity to Remote Networks. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/understanding-access-nodes). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateConnector({ * id: "<your connector's id>", * }); * ``` * <!--End PulumiCodeChooser --> */ export declare function getTwingateConnectorOutput(args: GetTwingateConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTwingateConnectorResult>; /** * A collection of arguments for invoking getTwingateConnector. */ export interface GetTwingateConnectorOutputArgs { /** * The ID of the Connector. The ID for the Connector can be obtained from the Admin API or the URL string in the Admin Console. */ id: pulumi.Input<string>; }