twingate

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Twingate cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetTwingateConnectorsArgs

type GetTwingateConnectorsArgs struct {
	// The Name of the Connector.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the connector.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the connector.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the connector must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the connector.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the connector must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateConnectors.

type GetTwingateConnectorsConnector

type GetTwingateConnectorsConnector struct {
	// The ID of the Connector.
	Id string `pulumi:"id"`
	// The Name of the Connector.
	Name string `pulumi:"name"`
	// The ID of the Remote Network attached to the Connector.
	RemoteNetworkId string `pulumi:"remoteNetworkId"`
	// Determines whether status notifications are enabled for the Connector.
	StatusUpdatesEnabled bool `pulumi:"statusUpdatesEnabled"`
}

type GetTwingateConnectorsConnectorArgs

type GetTwingateConnectorsConnectorArgs struct {
	// The ID of the Connector.
	Id pulumi.StringInput `pulumi:"id"`
	// The Name of the Connector.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the Remote Network attached to the Connector.
	RemoteNetworkId pulumi.StringInput `pulumi:"remoteNetworkId"`
	// Determines whether status notifications are enabled for the Connector.
	StatusUpdatesEnabled pulumi.BoolInput `pulumi:"statusUpdatesEnabled"`
}

func (GetTwingateConnectorsConnectorArgs) ElementType

func (GetTwingateConnectorsConnectorArgs) ToGetTwingateConnectorsConnectorOutput

func (i GetTwingateConnectorsConnectorArgs) ToGetTwingateConnectorsConnectorOutput() GetTwingateConnectorsConnectorOutput

func (GetTwingateConnectorsConnectorArgs) ToGetTwingateConnectorsConnectorOutputWithContext

func (i GetTwingateConnectorsConnectorArgs) ToGetTwingateConnectorsConnectorOutputWithContext(ctx context.Context) GetTwingateConnectorsConnectorOutput

type GetTwingateConnectorsConnectorArray

type GetTwingateConnectorsConnectorArray []GetTwingateConnectorsConnectorInput

func (GetTwingateConnectorsConnectorArray) ElementType

func (GetTwingateConnectorsConnectorArray) ToGetTwingateConnectorsConnectorArrayOutput

func (i GetTwingateConnectorsConnectorArray) ToGetTwingateConnectorsConnectorArrayOutput() GetTwingateConnectorsConnectorArrayOutput

func (GetTwingateConnectorsConnectorArray) ToGetTwingateConnectorsConnectorArrayOutputWithContext

func (i GetTwingateConnectorsConnectorArray) ToGetTwingateConnectorsConnectorArrayOutputWithContext(ctx context.Context) GetTwingateConnectorsConnectorArrayOutput

type GetTwingateConnectorsConnectorArrayInput

type GetTwingateConnectorsConnectorArrayInput interface {
	pulumi.Input

	ToGetTwingateConnectorsConnectorArrayOutput() GetTwingateConnectorsConnectorArrayOutput
	ToGetTwingateConnectorsConnectorArrayOutputWithContext(context.Context) GetTwingateConnectorsConnectorArrayOutput
}

GetTwingateConnectorsConnectorArrayInput is an input type that accepts GetTwingateConnectorsConnectorArray and GetTwingateConnectorsConnectorArrayOutput values. You can construct a concrete instance of `GetTwingateConnectorsConnectorArrayInput` via:

GetTwingateConnectorsConnectorArray{ GetTwingateConnectorsConnectorArgs{...} }

type GetTwingateConnectorsConnectorArrayOutput

type GetTwingateConnectorsConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateConnectorsConnectorArrayOutput) ElementType

func (GetTwingateConnectorsConnectorArrayOutput) Index

func (GetTwingateConnectorsConnectorArrayOutput) ToGetTwingateConnectorsConnectorArrayOutput

func (o GetTwingateConnectorsConnectorArrayOutput) ToGetTwingateConnectorsConnectorArrayOutput() GetTwingateConnectorsConnectorArrayOutput

func (GetTwingateConnectorsConnectorArrayOutput) ToGetTwingateConnectorsConnectorArrayOutputWithContext

func (o GetTwingateConnectorsConnectorArrayOutput) ToGetTwingateConnectorsConnectorArrayOutputWithContext(ctx context.Context) GetTwingateConnectorsConnectorArrayOutput

type GetTwingateConnectorsConnectorInput

type GetTwingateConnectorsConnectorInput interface {
	pulumi.Input

	ToGetTwingateConnectorsConnectorOutput() GetTwingateConnectorsConnectorOutput
	ToGetTwingateConnectorsConnectorOutputWithContext(context.Context) GetTwingateConnectorsConnectorOutput
}

GetTwingateConnectorsConnectorInput is an input type that accepts GetTwingateConnectorsConnectorArgs and GetTwingateConnectorsConnectorOutput values. You can construct a concrete instance of `GetTwingateConnectorsConnectorInput` via:

GetTwingateConnectorsConnectorArgs{...}

type GetTwingateConnectorsConnectorOutput

type GetTwingateConnectorsConnectorOutput struct{ *pulumi.OutputState }

func (GetTwingateConnectorsConnectorOutput) ElementType

func (GetTwingateConnectorsConnectorOutput) Id

The ID of the Connector.

func (GetTwingateConnectorsConnectorOutput) Name

The Name of the Connector.

func (GetTwingateConnectorsConnectorOutput) RemoteNetworkId

The ID of the Remote Network attached to the Connector.

func (GetTwingateConnectorsConnectorOutput) StatusUpdatesEnabled

func (o GetTwingateConnectorsConnectorOutput) StatusUpdatesEnabled() pulumi.BoolOutput

Determines whether status notifications are enabled for the Connector.

func (GetTwingateConnectorsConnectorOutput) ToGetTwingateConnectorsConnectorOutput

func (o GetTwingateConnectorsConnectorOutput) ToGetTwingateConnectorsConnectorOutput() GetTwingateConnectorsConnectorOutput

func (GetTwingateConnectorsConnectorOutput) ToGetTwingateConnectorsConnectorOutputWithContext

func (o GetTwingateConnectorsConnectorOutput) ToGetTwingateConnectorsConnectorOutputWithContext(ctx context.Context) GetTwingateConnectorsConnectorOutput

type GetTwingateConnectorsOutputArgs

type GetTwingateConnectorsOutputArgs struct {
	// The Name of the Connector.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the connector.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the connector.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the connector must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the connector.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the connector must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateConnectors.

func (GetTwingateConnectorsOutputArgs) ElementType

type GetTwingateConnectorsResult

type GetTwingateConnectorsResult struct {
	// List of Connectors
	Connectors []GetTwingateConnectorsConnector `pulumi:"connectors"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// 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 *string `pulumi:"name"`
	// Match when the value exist in the name of the connector.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the connector.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the connector must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the connector.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the connector must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of values returned by getTwingateConnectors.

func GetTwingateConnectors

func GetTwingateConnectors(ctx *pulumi.Context, args *GetTwingateConnectorsArgs, opts ...pulumi.InvokeOption) (*GetTwingateConnectorsResult, error)

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 --> ```go 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
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateConnectorsResultOutput

type GetTwingateConnectorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateConnectors.

func (GetTwingateConnectorsResultOutput) Connectors

List of Connectors

func (GetTwingateConnectorsResultOutput) ElementType

func (GetTwingateConnectorsResultOutput) Id

The ID of this resource.

func (GetTwingateConnectorsResultOutput) Name

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.

func (GetTwingateConnectorsResultOutput) NameContains

Match when the value exist in the name of the connector.

func (GetTwingateConnectorsResultOutput) NameExclude

Match when the exact value does not exist in the name of the connector.

func (GetTwingateConnectorsResultOutput) NamePrefix

The name of the connector must start with the value.

func (GetTwingateConnectorsResultOutput) NameRegexp

The regular expression match of the name of the connector.

func (GetTwingateConnectorsResultOutput) NameSuffix

The name of the connector must end with the value.

func (GetTwingateConnectorsResultOutput) ToGetTwingateConnectorsResultOutput

func (o GetTwingateConnectorsResultOutput) ToGetTwingateConnectorsResultOutput() GetTwingateConnectorsResultOutput

func (GetTwingateConnectorsResultOutput) ToGetTwingateConnectorsResultOutputWithContext

func (o GetTwingateConnectorsResultOutput) ToGetTwingateConnectorsResultOutputWithContext(ctx context.Context) GetTwingateConnectorsResultOutput

type GetTwingateGroupsArgs

type GetTwingateGroupsArgs struct {
	// Indicates if the Group is active
	IsActive *bool `pulumi:"isActive"`
	// The name of the Group
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the group.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the group.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the group must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the group.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the group must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
	// Returns groups that match a list of types. valid types: `MANUAL`, `SYNCED`, `SYSTEM`.
	Types []string `pulumi:"types"`
}

A collection of arguments for invoking getTwingateGroups.

type GetTwingateGroupsGroup

type GetTwingateGroupsGroup struct {
	// The ID of the Group
	Id string `pulumi:"id"`
	// Indicates if the Group is active
	IsActive bool `pulumi:"isActive"`
	// The name of the Group
	Name string `pulumi:"name"`
	// The Security Policy assigned to the Group.
	SecurityPolicyId string `pulumi:"securityPolicyId"`
	// The type of the Group
	Type string `pulumi:"type"`
}

type GetTwingateGroupsGroupArgs

type GetTwingateGroupsGroupArgs struct {
	// The ID of the Group
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates if the Group is active
	IsActive pulumi.BoolInput `pulumi:"isActive"`
	// The name of the Group
	Name pulumi.StringInput `pulumi:"name"`
	// The Security Policy assigned to the Group.
	SecurityPolicyId pulumi.StringInput `pulumi:"securityPolicyId"`
	// The type of the Group
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetTwingateGroupsGroupArgs) ElementType

func (GetTwingateGroupsGroupArgs) ElementType() reflect.Type

func (GetTwingateGroupsGroupArgs) ToGetTwingateGroupsGroupOutput

func (i GetTwingateGroupsGroupArgs) ToGetTwingateGroupsGroupOutput() GetTwingateGroupsGroupOutput

func (GetTwingateGroupsGroupArgs) ToGetTwingateGroupsGroupOutputWithContext

func (i GetTwingateGroupsGroupArgs) ToGetTwingateGroupsGroupOutputWithContext(ctx context.Context) GetTwingateGroupsGroupOutput

type GetTwingateGroupsGroupArray

type GetTwingateGroupsGroupArray []GetTwingateGroupsGroupInput

func (GetTwingateGroupsGroupArray) ElementType

func (GetTwingateGroupsGroupArray) ToGetTwingateGroupsGroupArrayOutput

func (i GetTwingateGroupsGroupArray) ToGetTwingateGroupsGroupArrayOutput() GetTwingateGroupsGroupArrayOutput

func (GetTwingateGroupsGroupArray) ToGetTwingateGroupsGroupArrayOutputWithContext

func (i GetTwingateGroupsGroupArray) ToGetTwingateGroupsGroupArrayOutputWithContext(ctx context.Context) GetTwingateGroupsGroupArrayOutput

type GetTwingateGroupsGroupArrayInput

type GetTwingateGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetTwingateGroupsGroupArrayOutput() GetTwingateGroupsGroupArrayOutput
	ToGetTwingateGroupsGroupArrayOutputWithContext(context.Context) GetTwingateGroupsGroupArrayOutput
}

GetTwingateGroupsGroupArrayInput is an input type that accepts GetTwingateGroupsGroupArray and GetTwingateGroupsGroupArrayOutput values. You can construct a concrete instance of `GetTwingateGroupsGroupArrayInput` via:

GetTwingateGroupsGroupArray{ GetTwingateGroupsGroupArgs{...} }

type GetTwingateGroupsGroupArrayOutput

type GetTwingateGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateGroupsGroupArrayOutput) ElementType

func (GetTwingateGroupsGroupArrayOutput) Index

func (GetTwingateGroupsGroupArrayOutput) ToGetTwingateGroupsGroupArrayOutput

func (o GetTwingateGroupsGroupArrayOutput) ToGetTwingateGroupsGroupArrayOutput() GetTwingateGroupsGroupArrayOutput

func (GetTwingateGroupsGroupArrayOutput) ToGetTwingateGroupsGroupArrayOutputWithContext

func (o GetTwingateGroupsGroupArrayOutput) ToGetTwingateGroupsGroupArrayOutputWithContext(ctx context.Context) GetTwingateGroupsGroupArrayOutput

type GetTwingateGroupsGroupInput

type GetTwingateGroupsGroupInput interface {
	pulumi.Input

	ToGetTwingateGroupsGroupOutput() GetTwingateGroupsGroupOutput
	ToGetTwingateGroupsGroupOutputWithContext(context.Context) GetTwingateGroupsGroupOutput
}

GetTwingateGroupsGroupInput is an input type that accepts GetTwingateGroupsGroupArgs and GetTwingateGroupsGroupOutput values. You can construct a concrete instance of `GetTwingateGroupsGroupInput` via:

GetTwingateGroupsGroupArgs{...}

type GetTwingateGroupsGroupOutput

type GetTwingateGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetTwingateGroupsGroupOutput) ElementType

func (GetTwingateGroupsGroupOutput) Id

The ID of the Group

func (GetTwingateGroupsGroupOutput) IsActive

Indicates if the Group is active

func (GetTwingateGroupsGroupOutput) Name

The name of the Group

func (GetTwingateGroupsGroupOutput) SecurityPolicyId

func (o GetTwingateGroupsGroupOutput) SecurityPolicyId() pulumi.StringOutput

The Security Policy assigned to the Group.

func (GetTwingateGroupsGroupOutput) ToGetTwingateGroupsGroupOutput

func (o GetTwingateGroupsGroupOutput) ToGetTwingateGroupsGroupOutput() GetTwingateGroupsGroupOutput

func (GetTwingateGroupsGroupOutput) ToGetTwingateGroupsGroupOutputWithContext

func (o GetTwingateGroupsGroupOutput) ToGetTwingateGroupsGroupOutputWithContext(ctx context.Context) GetTwingateGroupsGroupOutput

func (GetTwingateGroupsGroupOutput) Type

The type of the Group

type GetTwingateGroupsOutputArgs

type GetTwingateGroupsOutputArgs struct {
	// Indicates if the Group is active
	IsActive pulumi.BoolPtrInput `pulumi:"isActive"`
	// The name of the Group
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the group.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the group.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the group must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the group.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the group must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
	// Returns groups that match a list of types. valid types: `MANUAL`, `SYNCED`, `SYSTEM`.
	Types pulumi.StringArrayInput `pulumi:"types"`
}

A collection of arguments for invoking getTwingateGroups.

func (GetTwingateGroupsOutputArgs) ElementType

type GetTwingateGroupsResult

type GetTwingateGroupsResult struct {
	// List of Groups
	Groups []GetTwingateGroupsGroup `pulumi:"groups"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only Groups matching the specified state.
	IsActive *bool `pulumi:"isActive"`
	// Returns only groups that exactly match this name. If no options are passed it will return all resources. Only one option can be used at a time.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the group.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the group.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the group must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the group.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the group must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
	// Returns groups that match a list of types. valid types: `MANUAL`, `SYNCED`, `SYSTEM`.
	Types []string `pulumi:"types"`
}

A collection of values returned by getTwingateGroups.

func GetTwingateGroups

func GetTwingateGroups(ctx *pulumi.Context, args *GetTwingateGroupsArgs, opts ...pulumi.InvokeOption) (*GetTwingateGroupsResult, error)

Groups are how users are authorized to access Resources. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/groups).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateGroups(ctx, &twingate.GetTwingateGroupsArgs{
			Name: pulumi.StringRef("<your group's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateGroupsResultOutput

type GetTwingateGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateGroups.

func (GetTwingateGroupsResultOutput) ElementType

func (GetTwingateGroupsResultOutput) Groups

List of Groups

func (GetTwingateGroupsResultOutput) Id

The ID of this resource.

func (GetTwingateGroupsResultOutput) IsActive

Returns only Groups matching the specified state.

func (GetTwingateGroupsResultOutput) Name

Returns only groups that exactly match this name. If no options are passed it will return all resources. Only one option can be used at a time.

func (GetTwingateGroupsResultOutput) NameContains

Match when the value exist in the name of the group.

func (GetTwingateGroupsResultOutput) NameExclude

Match when the exact value does not exist in the name of the group.

func (GetTwingateGroupsResultOutput) NamePrefix

The name of the group must start with the value.

func (GetTwingateGroupsResultOutput) NameRegexp

The regular expression match of the name of the group.

func (GetTwingateGroupsResultOutput) NameSuffix

The name of the group must end with the value.

func (GetTwingateGroupsResultOutput) ToGetTwingateGroupsResultOutput

func (o GetTwingateGroupsResultOutput) ToGetTwingateGroupsResultOutput() GetTwingateGroupsResultOutput

func (GetTwingateGroupsResultOutput) ToGetTwingateGroupsResultOutputWithContext

func (o GetTwingateGroupsResultOutput) ToGetTwingateGroupsResultOutputWithContext(ctx context.Context) GetTwingateGroupsResultOutput

func (GetTwingateGroupsResultOutput) Types

Returns groups that match a list of types. valid types: `MANUAL`, `SYNCED`, `SYSTEM`.

type GetTwingateRemoteNetworksArgs

type GetTwingateRemoteNetworksArgs struct {
	// The name of the Remote Network.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the remote network.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the remote network.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the remote network must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the remote network.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the remote network must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateRemoteNetworks.

type GetTwingateRemoteNetworksOutputArgs

type GetTwingateRemoteNetworksOutputArgs struct {
	// The name of the Remote Network.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the remote network.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the remote network.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the remote network must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the remote network.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the remote network must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateRemoteNetworks.

func (GetTwingateRemoteNetworksOutputArgs) ElementType

type GetTwingateRemoteNetworksRemoteNetwork

type GetTwingateRemoteNetworksRemoteNetwork struct {
	// The ID of the Remote Network.
	Id string `pulumi:"id"`
	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location string `pulumi:"location"`
	// The name of the Remote Network.
	Name *string `pulumi:"name"`
}

type GetTwingateRemoteNetworksRemoteNetworkArgs

type GetTwingateRemoteNetworksRemoteNetworkArgs struct {
	// The ID of the Remote Network.
	Id pulumi.StringInput `pulumi:"id"`
	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location pulumi.StringInput `pulumi:"location"`
	// The name of the Remote Network.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (GetTwingateRemoteNetworksRemoteNetworkArgs) ElementType

func (GetTwingateRemoteNetworksRemoteNetworkArgs) ToGetTwingateRemoteNetworksRemoteNetworkOutput

func (i GetTwingateRemoteNetworksRemoteNetworkArgs) ToGetTwingateRemoteNetworksRemoteNetworkOutput() GetTwingateRemoteNetworksRemoteNetworkOutput

func (GetTwingateRemoteNetworksRemoteNetworkArgs) ToGetTwingateRemoteNetworksRemoteNetworkOutputWithContext

func (i GetTwingateRemoteNetworksRemoteNetworkArgs) ToGetTwingateRemoteNetworksRemoteNetworkOutputWithContext(ctx context.Context) GetTwingateRemoteNetworksRemoteNetworkOutput

type GetTwingateRemoteNetworksRemoteNetworkArray

type GetTwingateRemoteNetworksRemoteNetworkArray []GetTwingateRemoteNetworksRemoteNetworkInput

func (GetTwingateRemoteNetworksRemoteNetworkArray) ElementType

func (GetTwingateRemoteNetworksRemoteNetworkArray) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutput

func (i GetTwingateRemoteNetworksRemoteNetworkArray) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutput() GetTwingateRemoteNetworksRemoteNetworkArrayOutput

func (GetTwingateRemoteNetworksRemoteNetworkArray) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutputWithContext

func (i GetTwingateRemoteNetworksRemoteNetworkArray) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutputWithContext(ctx context.Context) GetTwingateRemoteNetworksRemoteNetworkArrayOutput

type GetTwingateRemoteNetworksRemoteNetworkArrayInput

type GetTwingateRemoteNetworksRemoteNetworkArrayInput interface {
	pulumi.Input

	ToGetTwingateRemoteNetworksRemoteNetworkArrayOutput() GetTwingateRemoteNetworksRemoteNetworkArrayOutput
	ToGetTwingateRemoteNetworksRemoteNetworkArrayOutputWithContext(context.Context) GetTwingateRemoteNetworksRemoteNetworkArrayOutput
}

GetTwingateRemoteNetworksRemoteNetworkArrayInput is an input type that accepts GetTwingateRemoteNetworksRemoteNetworkArray and GetTwingateRemoteNetworksRemoteNetworkArrayOutput values. You can construct a concrete instance of `GetTwingateRemoteNetworksRemoteNetworkArrayInput` via:

GetTwingateRemoteNetworksRemoteNetworkArray{ GetTwingateRemoteNetworksRemoteNetworkArgs{...} }

type GetTwingateRemoteNetworksRemoteNetworkArrayOutput

type GetTwingateRemoteNetworksRemoteNetworkArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateRemoteNetworksRemoteNetworkArrayOutput) ElementType

func (GetTwingateRemoteNetworksRemoteNetworkArrayOutput) Index

func (GetTwingateRemoteNetworksRemoteNetworkArrayOutput) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutput

func (o GetTwingateRemoteNetworksRemoteNetworkArrayOutput) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutput() GetTwingateRemoteNetworksRemoteNetworkArrayOutput

func (GetTwingateRemoteNetworksRemoteNetworkArrayOutput) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutputWithContext

func (o GetTwingateRemoteNetworksRemoteNetworkArrayOutput) ToGetTwingateRemoteNetworksRemoteNetworkArrayOutputWithContext(ctx context.Context) GetTwingateRemoteNetworksRemoteNetworkArrayOutput

type GetTwingateRemoteNetworksRemoteNetworkInput

type GetTwingateRemoteNetworksRemoteNetworkInput interface {
	pulumi.Input

	ToGetTwingateRemoteNetworksRemoteNetworkOutput() GetTwingateRemoteNetworksRemoteNetworkOutput
	ToGetTwingateRemoteNetworksRemoteNetworkOutputWithContext(context.Context) GetTwingateRemoteNetworksRemoteNetworkOutput
}

GetTwingateRemoteNetworksRemoteNetworkInput is an input type that accepts GetTwingateRemoteNetworksRemoteNetworkArgs and GetTwingateRemoteNetworksRemoteNetworkOutput values. You can construct a concrete instance of `GetTwingateRemoteNetworksRemoteNetworkInput` via:

GetTwingateRemoteNetworksRemoteNetworkArgs{...}

type GetTwingateRemoteNetworksRemoteNetworkOutput

type GetTwingateRemoteNetworksRemoteNetworkOutput struct{ *pulumi.OutputState }

func (GetTwingateRemoteNetworksRemoteNetworkOutput) ElementType

func (GetTwingateRemoteNetworksRemoteNetworkOutput) Id

The ID of the Remote Network.

func (GetTwingateRemoteNetworksRemoteNetworkOutput) Location

The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.

func (GetTwingateRemoteNetworksRemoteNetworkOutput) Name

The name of the Remote Network.

func (GetTwingateRemoteNetworksRemoteNetworkOutput) ToGetTwingateRemoteNetworksRemoteNetworkOutput

func (o GetTwingateRemoteNetworksRemoteNetworkOutput) ToGetTwingateRemoteNetworksRemoteNetworkOutput() GetTwingateRemoteNetworksRemoteNetworkOutput

func (GetTwingateRemoteNetworksRemoteNetworkOutput) ToGetTwingateRemoteNetworksRemoteNetworkOutputWithContext

func (o GetTwingateRemoteNetworksRemoteNetworkOutput) ToGetTwingateRemoteNetworksRemoteNetworkOutputWithContext(ctx context.Context) GetTwingateRemoteNetworksRemoteNetworkOutput

type GetTwingateRemoteNetworksResult

type GetTwingateRemoteNetworksResult struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only remote networks that exactly match this name. If no options are passed it will return all remote networks. Only one option can be used at a time.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the remote network.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the remote network.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the remote network must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the remote network.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the remote network must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
	// List of Remote Networks
	RemoteNetworks []GetTwingateRemoteNetworksRemoteNetwork `pulumi:"remoteNetworks"`
}

A collection of values returned by getTwingateRemoteNetworks.

func GetTwingateRemoteNetworks

func GetTwingateRemoteNetworks(ctx *pulumi.Context, args *GetTwingateRemoteNetworksArgs, opts ...pulumi.InvokeOption) (*GetTwingateRemoteNetworksResult, error)

A Remote Network represents a single private network in Twingate that can have one or more Connectors and Resources assigned to it. You must create a Remote Network before creating Resources and Connectors that belong to it. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/remote-networks).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateRemoteNetworks(ctx, &twingate.GetTwingateRemoteNetworksArgs{
			Name: pulumi.StringRef("<your network's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateRemoteNetworksResultOutput

type GetTwingateRemoteNetworksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateRemoteNetworks.

func (GetTwingateRemoteNetworksResultOutput) ElementType

func (GetTwingateRemoteNetworksResultOutput) Id

The ID of this resource.

func (GetTwingateRemoteNetworksResultOutput) Name

Returns only remote networks that exactly match this name. If no options are passed it will return all remote networks. Only one option can be used at a time.

func (GetTwingateRemoteNetworksResultOutput) NameContains

Match when the value exist in the name of the remote network.

func (GetTwingateRemoteNetworksResultOutput) NameExclude

Match when the exact value does not exist in the name of the remote network.

func (GetTwingateRemoteNetworksResultOutput) NamePrefix

The name of the remote network must start with the value.

func (GetTwingateRemoteNetworksResultOutput) NameRegexp

The regular expression match of the name of the remote network.

func (GetTwingateRemoteNetworksResultOutput) NameSuffix

The name of the remote network must end with the value.

func (GetTwingateRemoteNetworksResultOutput) RemoteNetworks

List of Remote Networks

func (GetTwingateRemoteNetworksResultOutput) ToGetTwingateRemoteNetworksResultOutput

func (o GetTwingateRemoteNetworksResultOutput) ToGetTwingateRemoteNetworksResultOutput() GetTwingateRemoteNetworksResultOutput

func (GetTwingateRemoteNetworksResultOutput) ToGetTwingateRemoteNetworksResultOutputWithContext

func (o GetTwingateRemoteNetworksResultOutput) ToGetTwingateRemoteNetworksResultOutputWithContext(ctx context.Context) GetTwingateRemoteNetworksResultOutput

type GetTwingateResourceProtocols

type GetTwingateResourceProtocols struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp bool                             `pulumi:"allowIcmp"`
	Tcp       *GetTwingateResourceProtocolsTcp `pulumi:"tcp"`
	Udp       *GetTwingateResourceProtocolsUdp `pulumi:"udp"`
}

type GetTwingateResourceProtocolsArgs

type GetTwingateResourceProtocolsArgs struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp pulumi.BoolInput                        `pulumi:"allowIcmp"`
	Tcp       GetTwingateResourceProtocolsTcpPtrInput `pulumi:"tcp"`
	Udp       GetTwingateResourceProtocolsUdpPtrInput `pulumi:"udp"`
}

func (GetTwingateResourceProtocolsArgs) ElementType

func (GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsOutput

func (i GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsOutput() GetTwingateResourceProtocolsOutput

func (GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsOutputWithContext

func (i GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsOutput

func (GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsPtrOutput

func (i GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsPtrOutput() GetTwingateResourceProtocolsPtrOutput

func (GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsPtrOutputWithContext

func (i GetTwingateResourceProtocolsArgs) ToGetTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsPtrOutput

type GetTwingateResourceProtocolsInput

type GetTwingateResourceProtocolsInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsOutput() GetTwingateResourceProtocolsOutput
	ToGetTwingateResourceProtocolsOutputWithContext(context.Context) GetTwingateResourceProtocolsOutput
}

GetTwingateResourceProtocolsInput is an input type that accepts GetTwingateResourceProtocolsArgs and GetTwingateResourceProtocolsOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsInput` via:

GetTwingateResourceProtocolsArgs{...}

type GetTwingateResourceProtocolsOutput

type GetTwingateResourceProtocolsOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsOutput) AllowIcmp

Whether to allow ICMP (ping) traffic

func (GetTwingateResourceProtocolsOutput) ElementType

func (GetTwingateResourceProtocolsOutput) Tcp

func (GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsOutput

func (o GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsOutput() GetTwingateResourceProtocolsOutput

func (GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsOutputWithContext

func (o GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsOutput

func (GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsPtrOutput

func (o GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsPtrOutput() GetTwingateResourceProtocolsPtrOutput

func (GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsPtrOutputWithContext

func (o GetTwingateResourceProtocolsOutput) ToGetTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsPtrOutput

func (GetTwingateResourceProtocolsOutput) Udp

type GetTwingateResourceProtocolsPtrInput

type GetTwingateResourceProtocolsPtrInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsPtrOutput() GetTwingateResourceProtocolsPtrOutput
	ToGetTwingateResourceProtocolsPtrOutputWithContext(context.Context) GetTwingateResourceProtocolsPtrOutput
}

GetTwingateResourceProtocolsPtrInput is an input type that accepts GetTwingateResourceProtocolsArgs, GetTwingateResourceProtocolsPtr and GetTwingateResourceProtocolsPtrOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsPtrInput` via:

        GetTwingateResourceProtocolsArgs{...}

or:

        nil

type GetTwingateResourceProtocolsPtrOutput

type GetTwingateResourceProtocolsPtrOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsPtrOutput) AllowIcmp

Whether to allow ICMP (ping) traffic

func (GetTwingateResourceProtocolsPtrOutput) Elem

func (GetTwingateResourceProtocolsPtrOutput) ElementType

func (GetTwingateResourceProtocolsPtrOutput) Tcp

func (GetTwingateResourceProtocolsPtrOutput) ToGetTwingateResourceProtocolsPtrOutput

func (o GetTwingateResourceProtocolsPtrOutput) ToGetTwingateResourceProtocolsPtrOutput() GetTwingateResourceProtocolsPtrOutput

func (GetTwingateResourceProtocolsPtrOutput) ToGetTwingateResourceProtocolsPtrOutputWithContext

func (o GetTwingateResourceProtocolsPtrOutput) ToGetTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsPtrOutput

func (GetTwingateResourceProtocolsPtrOutput) Udp

type GetTwingateResourceProtocolsTcp

type GetTwingateResourceProtocolsTcp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type GetTwingateResourceProtocolsTcpArgs

type GetTwingateResourceProtocolsTcpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (GetTwingateResourceProtocolsTcpArgs) ElementType

func (GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpOutput

func (i GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpOutput() GetTwingateResourceProtocolsTcpOutput

func (GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpOutputWithContext

func (i GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsTcpOutput

func (GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpPtrOutput

func (i GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpPtrOutput() GetTwingateResourceProtocolsTcpPtrOutput

func (GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext

func (i GetTwingateResourceProtocolsTcpArgs) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsTcpPtrOutput

type GetTwingateResourceProtocolsTcpInput

type GetTwingateResourceProtocolsTcpInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsTcpOutput() GetTwingateResourceProtocolsTcpOutput
	ToGetTwingateResourceProtocolsTcpOutputWithContext(context.Context) GetTwingateResourceProtocolsTcpOutput
}

GetTwingateResourceProtocolsTcpInput is an input type that accepts GetTwingateResourceProtocolsTcpArgs and GetTwingateResourceProtocolsTcpOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsTcpInput` via:

GetTwingateResourceProtocolsTcpArgs{...}

type GetTwingateResourceProtocolsTcpOutput

type GetTwingateResourceProtocolsTcpOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsTcpOutput) ElementType

func (GetTwingateResourceProtocolsTcpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourceProtocolsTcpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpOutput

func (o GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpOutput() GetTwingateResourceProtocolsTcpOutput

func (GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpOutputWithContext

func (o GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsTcpOutput

func (GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpPtrOutput

func (o GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpPtrOutput() GetTwingateResourceProtocolsTcpPtrOutput

func (GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext

func (o GetTwingateResourceProtocolsTcpOutput) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsTcpPtrOutput

type GetTwingateResourceProtocolsTcpPtrInput

type GetTwingateResourceProtocolsTcpPtrInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsTcpPtrOutput() GetTwingateResourceProtocolsTcpPtrOutput
	ToGetTwingateResourceProtocolsTcpPtrOutputWithContext(context.Context) GetTwingateResourceProtocolsTcpPtrOutput
}

GetTwingateResourceProtocolsTcpPtrInput is an input type that accepts GetTwingateResourceProtocolsTcpArgs, GetTwingateResourceProtocolsTcpPtr and GetTwingateResourceProtocolsTcpPtrOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsTcpPtrInput` via:

        GetTwingateResourceProtocolsTcpArgs{...}

or:

        nil

type GetTwingateResourceProtocolsTcpPtrOutput

type GetTwingateResourceProtocolsTcpPtrOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsTcpPtrOutput) Elem

func (GetTwingateResourceProtocolsTcpPtrOutput) ElementType

func (GetTwingateResourceProtocolsTcpPtrOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourceProtocolsTcpPtrOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourceProtocolsTcpPtrOutput) ToGetTwingateResourceProtocolsTcpPtrOutput

func (o GetTwingateResourceProtocolsTcpPtrOutput) ToGetTwingateResourceProtocolsTcpPtrOutput() GetTwingateResourceProtocolsTcpPtrOutput

func (GetTwingateResourceProtocolsTcpPtrOutput) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext

func (o GetTwingateResourceProtocolsTcpPtrOutput) ToGetTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsTcpPtrOutput

type GetTwingateResourceProtocolsUdp

type GetTwingateResourceProtocolsUdp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type GetTwingateResourceProtocolsUdpArgs

type GetTwingateResourceProtocolsUdpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (GetTwingateResourceProtocolsUdpArgs) ElementType

func (GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpOutput

func (i GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpOutput() GetTwingateResourceProtocolsUdpOutput

func (GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpOutputWithContext

func (i GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsUdpOutput

func (GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpPtrOutput

func (i GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpPtrOutput() GetTwingateResourceProtocolsUdpPtrOutput

func (GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext

func (i GetTwingateResourceProtocolsUdpArgs) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsUdpPtrOutput

type GetTwingateResourceProtocolsUdpInput

type GetTwingateResourceProtocolsUdpInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsUdpOutput() GetTwingateResourceProtocolsUdpOutput
	ToGetTwingateResourceProtocolsUdpOutputWithContext(context.Context) GetTwingateResourceProtocolsUdpOutput
}

GetTwingateResourceProtocolsUdpInput is an input type that accepts GetTwingateResourceProtocolsUdpArgs and GetTwingateResourceProtocolsUdpOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsUdpInput` via:

GetTwingateResourceProtocolsUdpArgs{...}

type GetTwingateResourceProtocolsUdpOutput

type GetTwingateResourceProtocolsUdpOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsUdpOutput) ElementType

func (GetTwingateResourceProtocolsUdpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourceProtocolsUdpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpOutput

func (o GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpOutput() GetTwingateResourceProtocolsUdpOutput

func (GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpOutputWithContext

func (o GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsUdpOutput

func (GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpPtrOutput

func (o GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpPtrOutput() GetTwingateResourceProtocolsUdpPtrOutput

func (GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext

func (o GetTwingateResourceProtocolsUdpOutput) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsUdpPtrOutput

type GetTwingateResourceProtocolsUdpPtrInput

type GetTwingateResourceProtocolsUdpPtrInput interface {
	pulumi.Input

	ToGetTwingateResourceProtocolsUdpPtrOutput() GetTwingateResourceProtocolsUdpPtrOutput
	ToGetTwingateResourceProtocolsUdpPtrOutputWithContext(context.Context) GetTwingateResourceProtocolsUdpPtrOutput
}

GetTwingateResourceProtocolsUdpPtrInput is an input type that accepts GetTwingateResourceProtocolsUdpArgs, GetTwingateResourceProtocolsUdpPtr and GetTwingateResourceProtocolsUdpPtrOutput values. You can construct a concrete instance of `GetTwingateResourceProtocolsUdpPtrInput` via:

        GetTwingateResourceProtocolsUdpArgs{...}

or:

        nil

type GetTwingateResourceProtocolsUdpPtrOutput

type GetTwingateResourceProtocolsUdpPtrOutput struct{ *pulumi.OutputState }

func (GetTwingateResourceProtocolsUdpPtrOutput) Elem

func (GetTwingateResourceProtocolsUdpPtrOutput) ElementType

func (GetTwingateResourceProtocolsUdpPtrOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourceProtocolsUdpPtrOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourceProtocolsUdpPtrOutput) ToGetTwingateResourceProtocolsUdpPtrOutput

func (o GetTwingateResourceProtocolsUdpPtrOutput) ToGetTwingateResourceProtocolsUdpPtrOutput() GetTwingateResourceProtocolsUdpPtrOutput

func (GetTwingateResourceProtocolsUdpPtrOutput) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext

func (o GetTwingateResourceProtocolsUdpPtrOutput) ToGetTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) GetTwingateResourceProtocolsUdpPtrOutput

type GetTwingateResourcesArgs

type GetTwingateResourcesArgs struct {
	// The name of the Resource
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the resource.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the resource.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the resource must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the resource.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the resource must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateResources.

type GetTwingateResourcesOutputArgs

type GetTwingateResourcesOutputArgs struct {
	// The name of the Resource
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the resource.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the resource.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the resource must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the resource.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the resource must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateResources.

func (GetTwingateResourcesOutputArgs) ElementType

type GetTwingateResourcesResource

type GetTwingateResourcesResource struct {
	// The Resource's IP/CIDR or FQDN/DNS zone
	Address string `pulumi:"address"`
	// The id of the Resource
	Id string `pulumi:"id"`
	// The name of the Resource
	Name string `pulumi:"name"`
	// Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.
	Protocols GetTwingateResourcesResourceProtocols `pulumi:"protocols"`
	// Remote Network ID where the Resource lives
	RemoteNetworkId string `pulumi:"remoteNetworkId"`
}

type GetTwingateResourcesResourceArgs

type GetTwingateResourcesResourceArgs struct {
	// The Resource's IP/CIDR or FQDN/DNS zone
	Address pulumi.StringInput `pulumi:"address"`
	// The id of the Resource
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the Resource
	Name pulumi.StringInput `pulumi:"name"`
	// Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.
	Protocols GetTwingateResourcesResourceProtocolsInput `pulumi:"protocols"`
	// Remote Network ID where the Resource lives
	RemoteNetworkId pulumi.StringInput `pulumi:"remoteNetworkId"`
}

func (GetTwingateResourcesResourceArgs) ElementType

func (GetTwingateResourcesResourceArgs) ToGetTwingateResourcesResourceOutput

func (i GetTwingateResourcesResourceArgs) ToGetTwingateResourcesResourceOutput() GetTwingateResourcesResourceOutput

func (GetTwingateResourcesResourceArgs) ToGetTwingateResourcesResourceOutputWithContext

func (i GetTwingateResourcesResourceArgs) ToGetTwingateResourcesResourceOutputWithContext(ctx context.Context) GetTwingateResourcesResourceOutput

type GetTwingateResourcesResourceArray

type GetTwingateResourcesResourceArray []GetTwingateResourcesResourceInput

func (GetTwingateResourcesResourceArray) ElementType

func (GetTwingateResourcesResourceArray) ToGetTwingateResourcesResourceArrayOutput

func (i GetTwingateResourcesResourceArray) ToGetTwingateResourcesResourceArrayOutput() GetTwingateResourcesResourceArrayOutput

func (GetTwingateResourcesResourceArray) ToGetTwingateResourcesResourceArrayOutputWithContext

func (i GetTwingateResourcesResourceArray) ToGetTwingateResourcesResourceArrayOutputWithContext(ctx context.Context) GetTwingateResourcesResourceArrayOutput

type GetTwingateResourcesResourceArrayInput

type GetTwingateResourcesResourceArrayInput interface {
	pulumi.Input

	ToGetTwingateResourcesResourceArrayOutput() GetTwingateResourcesResourceArrayOutput
	ToGetTwingateResourcesResourceArrayOutputWithContext(context.Context) GetTwingateResourcesResourceArrayOutput
}

GetTwingateResourcesResourceArrayInput is an input type that accepts GetTwingateResourcesResourceArray and GetTwingateResourcesResourceArrayOutput values. You can construct a concrete instance of `GetTwingateResourcesResourceArrayInput` via:

GetTwingateResourcesResourceArray{ GetTwingateResourcesResourceArgs{...} }

type GetTwingateResourcesResourceArrayOutput

type GetTwingateResourcesResourceArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateResourcesResourceArrayOutput) ElementType

func (GetTwingateResourcesResourceArrayOutput) Index

func (GetTwingateResourcesResourceArrayOutput) ToGetTwingateResourcesResourceArrayOutput

func (o GetTwingateResourcesResourceArrayOutput) ToGetTwingateResourcesResourceArrayOutput() GetTwingateResourcesResourceArrayOutput

func (GetTwingateResourcesResourceArrayOutput) ToGetTwingateResourcesResourceArrayOutputWithContext

func (o GetTwingateResourcesResourceArrayOutput) ToGetTwingateResourcesResourceArrayOutputWithContext(ctx context.Context) GetTwingateResourcesResourceArrayOutput

type GetTwingateResourcesResourceInput

type GetTwingateResourcesResourceInput interface {
	pulumi.Input

	ToGetTwingateResourcesResourceOutput() GetTwingateResourcesResourceOutput
	ToGetTwingateResourcesResourceOutputWithContext(context.Context) GetTwingateResourcesResourceOutput
}

GetTwingateResourcesResourceInput is an input type that accepts GetTwingateResourcesResourceArgs and GetTwingateResourcesResourceOutput values. You can construct a concrete instance of `GetTwingateResourcesResourceInput` via:

GetTwingateResourcesResourceArgs{...}

type GetTwingateResourcesResourceOutput

type GetTwingateResourcesResourceOutput struct{ *pulumi.OutputState }

func (GetTwingateResourcesResourceOutput) Address

The Resource's IP/CIDR or FQDN/DNS zone

func (GetTwingateResourcesResourceOutput) ElementType

func (GetTwingateResourcesResourceOutput) Id

The id of the Resource

func (GetTwingateResourcesResourceOutput) Name

The name of the Resource

func (GetTwingateResourcesResourceOutput) Protocols

Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.

func (GetTwingateResourcesResourceOutput) RemoteNetworkId

Remote Network ID where the Resource lives

func (GetTwingateResourcesResourceOutput) ToGetTwingateResourcesResourceOutput

func (o GetTwingateResourcesResourceOutput) ToGetTwingateResourcesResourceOutput() GetTwingateResourcesResourceOutput

func (GetTwingateResourcesResourceOutput) ToGetTwingateResourcesResourceOutputWithContext

func (o GetTwingateResourcesResourceOutput) ToGetTwingateResourcesResourceOutputWithContext(ctx context.Context) GetTwingateResourcesResourceOutput

type GetTwingateResourcesResourceProtocols

type GetTwingateResourcesResourceProtocols struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp bool                                     `pulumi:"allowIcmp"`
	Tcp       GetTwingateResourcesResourceProtocolsTcp `pulumi:"tcp"`
	Udp       GetTwingateResourcesResourceProtocolsUdp `pulumi:"udp"`
}

type GetTwingateResourcesResourceProtocolsArgs

type GetTwingateResourcesResourceProtocolsArgs struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp pulumi.BoolInput                              `pulumi:"allowIcmp"`
	Tcp       GetTwingateResourcesResourceProtocolsTcpInput `pulumi:"tcp"`
	Udp       GetTwingateResourcesResourceProtocolsUdpInput `pulumi:"udp"`
}

func (GetTwingateResourcesResourceProtocolsArgs) ElementType

func (GetTwingateResourcesResourceProtocolsArgs) ToGetTwingateResourcesResourceProtocolsOutput

func (i GetTwingateResourcesResourceProtocolsArgs) ToGetTwingateResourcesResourceProtocolsOutput() GetTwingateResourcesResourceProtocolsOutput

func (GetTwingateResourcesResourceProtocolsArgs) ToGetTwingateResourcesResourceProtocolsOutputWithContext

func (i GetTwingateResourcesResourceProtocolsArgs) ToGetTwingateResourcesResourceProtocolsOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsOutput

type GetTwingateResourcesResourceProtocolsInput

type GetTwingateResourcesResourceProtocolsInput interface {
	pulumi.Input

	ToGetTwingateResourcesResourceProtocolsOutput() GetTwingateResourcesResourceProtocolsOutput
	ToGetTwingateResourcesResourceProtocolsOutputWithContext(context.Context) GetTwingateResourcesResourceProtocolsOutput
}

GetTwingateResourcesResourceProtocolsInput is an input type that accepts GetTwingateResourcesResourceProtocolsArgs and GetTwingateResourcesResourceProtocolsOutput values. You can construct a concrete instance of `GetTwingateResourcesResourceProtocolsInput` via:

GetTwingateResourcesResourceProtocolsArgs{...}

type GetTwingateResourcesResourceProtocolsOutput

type GetTwingateResourcesResourceProtocolsOutput struct{ *pulumi.OutputState }

func (GetTwingateResourcesResourceProtocolsOutput) AllowIcmp

Whether to allow ICMP (ping) traffic

func (GetTwingateResourcesResourceProtocolsOutput) ElementType

func (GetTwingateResourcesResourceProtocolsOutput) Tcp

func (GetTwingateResourcesResourceProtocolsOutput) ToGetTwingateResourcesResourceProtocolsOutput

func (o GetTwingateResourcesResourceProtocolsOutput) ToGetTwingateResourcesResourceProtocolsOutput() GetTwingateResourcesResourceProtocolsOutput

func (GetTwingateResourcesResourceProtocolsOutput) ToGetTwingateResourcesResourceProtocolsOutputWithContext

func (o GetTwingateResourcesResourceProtocolsOutput) ToGetTwingateResourcesResourceProtocolsOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsOutput

func (GetTwingateResourcesResourceProtocolsOutput) Udp

type GetTwingateResourcesResourceProtocolsTcp

type GetTwingateResourcesResourceProtocolsTcp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type GetTwingateResourcesResourceProtocolsTcpArgs

type GetTwingateResourcesResourceProtocolsTcpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (GetTwingateResourcesResourceProtocolsTcpArgs) ElementType

func (GetTwingateResourcesResourceProtocolsTcpArgs) ToGetTwingateResourcesResourceProtocolsTcpOutput

func (i GetTwingateResourcesResourceProtocolsTcpArgs) ToGetTwingateResourcesResourceProtocolsTcpOutput() GetTwingateResourcesResourceProtocolsTcpOutput

func (GetTwingateResourcesResourceProtocolsTcpArgs) ToGetTwingateResourcesResourceProtocolsTcpOutputWithContext

func (i GetTwingateResourcesResourceProtocolsTcpArgs) ToGetTwingateResourcesResourceProtocolsTcpOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsTcpOutput

type GetTwingateResourcesResourceProtocolsTcpInput

type GetTwingateResourcesResourceProtocolsTcpInput interface {
	pulumi.Input

	ToGetTwingateResourcesResourceProtocolsTcpOutput() GetTwingateResourcesResourceProtocolsTcpOutput
	ToGetTwingateResourcesResourceProtocolsTcpOutputWithContext(context.Context) GetTwingateResourcesResourceProtocolsTcpOutput
}

GetTwingateResourcesResourceProtocolsTcpInput is an input type that accepts GetTwingateResourcesResourceProtocolsTcpArgs and GetTwingateResourcesResourceProtocolsTcpOutput values. You can construct a concrete instance of `GetTwingateResourcesResourceProtocolsTcpInput` via:

GetTwingateResourcesResourceProtocolsTcpArgs{...}

type GetTwingateResourcesResourceProtocolsTcpOutput

type GetTwingateResourcesResourceProtocolsTcpOutput struct{ *pulumi.OutputState }

func (GetTwingateResourcesResourceProtocolsTcpOutput) ElementType

func (GetTwingateResourcesResourceProtocolsTcpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourcesResourceProtocolsTcpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourcesResourceProtocolsTcpOutput) ToGetTwingateResourcesResourceProtocolsTcpOutput

func (o GetTwingateResourcesResourceProtocolsTcpOutput) ToGetTwingateResourcesResourceProtocolsTcpOutput() GetTwingateResourcesResourceProtocolsTcpOutput

func (GetTwingateResourcesResourceProtocolsTcpOutput) ToGetTwingateResourcesResourceProtocolsTcpOutputWithContext

func (o GetTwingateResourcesResourceProtocolsTcpOutput) ToGetTwingateResourcesResourceProtocolsTcpOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsTcpOutput

type GetTwingateResourcesResourceProtocolsUdp

type GetTwingateResourcesResourceProtocolsUdp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type GetTwingateResourcesResourceProtocolsUdpArgs

type GetTwingateResourcesResourceProtocolsUdpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (GetTwingateResourcesResourceProtocolsUdpArgs) ElementType

func (GetTwingateResourcesResourceProtocolsUdpArgs) ToGetTwingateResourcesResourceProtocolsUdpOutput

func (i GetTwingateResourcesResourceProtocolsUdpArgs) ToGetTwingateResourcesResourceProtocolsUdpOutput() GetTwingateResourcesResourceProtocolsUdpOutput

func (GetTwingateResourcesResourceProtocolsUdpArgs) ToGetTwingateResourcesResourceProtocolsUdpOutputWithContext

func (i GetTwingateResourcesResourceProtocolsUdpArgs) ToGetTwingateResourcesResourceProtocolsUdpOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsUdpOutput

type GetTwingateResourcesResourceProtocolsUdpInput

type GetTwingateResourcesResourceProtocolsUdpInput interface {
	pulumi.Input

	ToGetTwingateResourcesResourceProtocolsUdpOutput() GetTwingateResourcesResourceProtocolsUdpOutput
	ToGetTwingateResourcesResourceProtocolsUdpOutputWithContext(context.Context) GetTwingateResourcesResourceProtocolsUdpOutput
}

GetTwingateResourcesResourceProtocolsUdpInput is an input type that accepts GetTwingateResourcesResourceProtocolsUdpArgs and GetTwingateResourcesResourceProtocolsUdpOutput values. You can construct a concrete instance of `GetTwingateResourcesResourceProtocolsUdpInput` via:

GetTwingateResourcesResourceProtocolsUdpArgs{...}

type GetTwingateResourcesResourceProtocolsUdpOutput

type GetTwingateResourcesResourceProtocolsUdpOutput struct{ *pulumi.OutputState }

func (GetTwingateResourcesResourceProtocolsUdpOutput) ElementType

func (GetTwingateResourcesResourceProtocolsUdpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (GetTwingateResourcesResourceProtocolsUdpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (GetTwingateResourcesResourceProtocolsUdpOutput) ToGetTwingateResourcesResourceProtocolsUdpOutput

func (o GetTwingateResourcesResourceProtocolsUdpOutput) ToGetTwingateResourcesResourceProtocolsUdpOutput() GetTwingateResourcesResourceProtocolsUdpOutput

func (GetTwingateResourcesResourceProtocolsUdpOutput) ToGetTwingateResourcesResourceProtocolsUdpOutputWithContext

func (o GetTwingateResourcesResourceProtocolsUdpOutput) ToGetTwingateResourcesResourceProtocolsUdpOutputWithContext(ctx context.Context) GetTwingateResourcesResourceProtocolsUdpOutput

type GetTwingateResourcesResult

type GetTwingateResourcesResult struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only resources that exactly match this name. If no options are passed it will return all resources. Only one option can be used at a time.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the resource.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the resource.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the resource must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the resource.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the resource must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
	// List of Resources
	Resources []GetTwingateResourcesResource `pulumi:"resources"`
}

A collection of values returned by getTwingateResources.

func GetTwingateResources

func GetTwingateResources(ctx *pulumi.Context, args *GetTwingateResourcesArgs, opts ...pulumi.InvokeOption) (*GetTwingateResourcesResult, error)

Resources in Twingate represent servers on the private network that clients can connect to. Resources can be defined by IP, CIDR range, FQDN, or DNS zone. For more information, see the Twingate [documentation](https://docs.twingate.com/docs/resources-and-access-nodes).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateResources(ctx, &twingate.GetTwingateResourcesArgs{
			Name: pulumi.StringRef("<your resource's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateResourcesResultOutput

type GetTwingateResourcesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateResources.

func (GetTwingateResourcesResultOutput) ElementType

func (GetTwingateResourcesResultOutput) Id

The ID of this resource.

func (GetTwingateResourcesResultOutput) Name

Returns only resources that exactly match this name. If no options are passed it will return all resources. Only one option can be used at a time.

func (GetTwingateResourcesResultOutput) NameContains

Match when the value exist in the name of the resource.

func (GetTwingateResourcesResultOutput) NameExclude

Match when the exact value does not exist in the name of the resource.

func (GetTwingateResourcesResultOutput) NamePrefix

The name of the resource must start with the value.

func (GetTwingateResourcesResultOutput) NameRegexp

The regular expression match of the name of the resource.

func (GetTwingateResourcesResultOutput) NameSuffix

The name of the resource must end with the value.

func (GetTwingateResourcesResultOutput) Resources

List of Resources

func (GetTwingateResourcesResultOutput) ToGetTwingateResourcesResultOutput

func (o GetTwingateResourcesResultOutput) ToGetTwingateResourcesResultOutput() GetTwingateResourcesResultOutput

func (GetTwingateResourcesResultOutput) ToGetTwingateResourcesResultOutputWithContext

func (o GetTwingateResourcesResultOutput) ToGetTwingateResourcesResultOutputWithContext(ctx context.Context) GetTwingateResourcesResultOutput

type GetTwingateSecurityPoliciesArgs

type GetTwingateSecurityPoliciesArgs struct {
	// Return a Security Policy that exactly matches this name.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the security policy.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the security policy.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the security policy must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the security policy.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the security policy must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateSecurityPolicies.

type GetTwingateSecurityPoliciesOutputArgs

type GetTwingateSecurityPoliciesOutputArgs struct {
	// Return a Security Policy that exactly matches this name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the security policy.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the security policy.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the security policy must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the security policy.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the security policy must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateSecurityPolicies.

func (GetTwingateSecurityPoliciesOutputArgs) ElementType

type GetTwingateSecurityPoliciesResult

type GetTwingateSecurityPoliciesResult struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only security policies that exactly match this name. If no options are passed it will return all security policies. Only one option can be used at a time.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the security policy.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the security policy.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the security policy must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the security policy.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the security policy must end with the value.
	NameSuffix       *string                                     `pulumi:"nameSuffix"`
	SecurityPolicies []GetTwingateSecurityPoliciesSecurityPolicy `pulumi:"securityPolicies"`
}

A collection of values returned by getTwingateSecurityPolicies.

func GetTwingateSecurityPolicies

func GetTwingateSecurityPolicies(ctx *pulumi.Context, args *GetTwingateSecurityPoliciesArgs, opts ...pulumi.InvokeOption) (*GetTwingateSecurityPoliciesResult, error)

Security Policies are defined in the Twingate Admin Console and determine user and device authentication requirements for Resources.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateSecurityPolicies(ctx, &twingate.GetTwingateSecurityPoliciesArgs{
			Name: pulumi.StringRef("<your security policy's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateSecurityPoliciesResultOutput

type GetTwingateSecurityPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateSecurityPolicies.

func (GetTwingateSecurityPoliciesResultOutput) ElementType

func (GetTwingateSecurityPoliciesResultOutput) Id

The ID of this resource.

func (GetTwingateSecurityPoliciesResultOutput) Name

Returns only security policies that exactly match this name. If no options are passed it will return all security policies. Only one option can be used at a time.

func (GetTwingateSecurityPoliciesResultOutput) NameContains

Match when the value exist in the name of the security policy.

func (GetTwingateSecurityPoliciesResultOutput) NameExclude

Match when the exact value does not exist in the name of the security policy.

func (GetTwingateSecurityPoliciesResultOutput) NamePrefix

The name of the security policy must start with the value.

func (GetTwingateSecurityPoliciesResultOutput) NameRegexp

The regular expression match of the name of the security policy.

func (GetTwingateSecurityPoliciesResultOutput) NameSuffix

The name of the security policy must end with the value.

func (GetTwingateSecurityPoliciesResultOutput) SecurityPolicies

func (GetTwingateSecurityPoliciesResultOutput) ToGetTwingateSecurityPoliciesResultOutput

func (o GetTwingateSecurityPoliciesResultOutput) ToGetTwingateSecurityPoliciesResultOutput() GetTwingateSecurityPoliciesResultOutput

func (GetTwingateSecurityPoliciesResultOutput) ToGetTwingateSecurityPoliciesResultOutputWithContext

func (o GetTwingateSecurityPoliciesResultOutput) ToGetTwingateSecurityPoliciesResultOutputWithContext(ctx context.Context) GetTwingateSecurityPoliciesResultOutput

type GetTwingateSecurityPoliciesSecurityPolicy

type GetTwingateSecurityPoliciesSecurityPolicy struct {
	// Return a matching Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
	// Return a Security Policy that exactly matches this name.
	Name string `pulumi:"name"`
}

type GetTwingateSecurityPoliciesSecurityPolicyArgs

type GetTwingateSecurityPoliciesSecurityPolicyArgs struct {
	// Return a matching Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.
	Id pulumi.StringInput `pulumi:"id"`
	// Return a Security Policy that exactly matches this name.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetTwingateSecurityPoliciesSecurityPolicyArgs) ElementType

func (GetTwingateSecurityPoliciesSecurityPolicyArgs) ToGetTwingateSecurityPoliciesSecurityPolicyOutput

func (i GetTwingateSecurityPoliciesSecurityPolicyArgs) ToGetTwingateSecurityPoliciesSecurityPolicyOutput() GetTwingateSecurityPoliciesSecurityPolicyOutput

func (GetTwingateSecurityPoliciesSecurityPolicyArgs) ToGetTwingateSecurityPoliciesSecurityPolicyOutputWithContext

func (i GetTwingateSecurityPoliciesSecurityPolicyArgs) ToGetTwingateSecurityPoliciesSecurityPolicyOutputWithContext(ctx context.Context) GetTwingateSecurityPoliciesSecurityPolicyOutput

type GetTwingateSecurityPoliciesSecurityPolicyArray

type GetTwingateSecurityPoliciesSecurityPolicyArray []GetTwingateSecurityPoliciesSecurityPolicyInput

func (GetTwingateSecurityPoliciesSecurityPolicyArray) ElementType

func (GetTwingateSecurityPoliciesSecurityPolicyArray) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutput

func (i GetTwingateSecurityPoliciesSecurityPolicyArray) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutput() GetTwingateSecurityPoliciesSecurityPolicyArrayOutput

func (GetTwingateSecurityPoliciesSecurityPolicyArray) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutputWithContext

func (i GetTwingateSecurityPoliciesSecurityPolicyArray) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutputWithContext(ctx context.Context) GetTwingateSecurityPoliciesSecurityPolicyArrayOutput

type GetTwingateSecurityPoliciesSecurityPolicyArrayInput

type GetTwingateSecurityPoliciesSecurityPolicyArrayInput interface {
	pulumi.Input

	ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutput() GetTwingateSecurityPoliciesSecurityPolicyArrayOutput
	ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutputWithContext(context.Context) GetTwingateSecurityPoliciesSecurityPolicyArrayOutput
}

GetTwingateSecurityPoliciesSecurityPolicyArrayInput is an input type that accepts GetTwingateSecurityPoliciesSecurityPolicyArray and GetTwingateSecurityPoliciesSecurityPolicyArrayOutput values. You can construct a concrete instance of `GetTwingateSecurityPoliciesSecurityPolicyArrayInput` via:

GetTwingateSecurityPoliciesSecurityPolicyArray{ GetTwingateSecurityPoliciesSecurityPolicyArgs{...} }

type GetTwingateSecurityPoliciesSecurityPolicyArrayOutput

type GetTwingateSecurityPoliciesSecurityPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateSecurityPoliciesSecurityPolicyArrayOutput) ElementType

func (GetTwingateSecurityPoliciesSecurityPolicyArrayOutput) Index

func (GetTwingateSecurityPoliciesSecurityPolicyArrayOutput) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutput

func (GetTwingateSecurityPoliciesSecurityPolicyArrayOutput) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutputWithContext

func (o GetTwingateSecurityPoliciesSecurityPolicyArrayOutput) ToGetTwingateSecurityPoliciesSecurityPolicyArrayOutputWithContext(ctx context.Context) GetTwingateSecurityPoliciesSecurityPolicyArrayOutput

type GetTwingateSecurityPoliciesSecurityPolicyInput

type GetTwingateSecurityPoliciesSecurityPolicyInput interface {
	pulumi.Input

	ToGetTwingateSecurityPoliciesSecurityPolicyOutput() GetTwingateSecurityPoliciesSecurityPolicyOutput
	ToGetTwingateSecurityPoliciesSecurityPolicyOutputWithContext(context.Context) GetTwingateSecurityPoliciesSecurityPolicyOutput
}

GetTwingateSecurityPoliciesSecurityPolicyInput is an input type that accepts GetTwingateSecurityPoliciesSecurityPolicyArgs and GetTwingateSecurityPoliciesSecurityPolicyOutput values. You can construct a concrete instance of `GetTwingateSecurityPoliciesSecurityPolicyInput` via:

GetTwingateSecurityPoliciesSecurityPolicyArgs{...}

type GetTwingateSecurityPoliciesSecurityPolicyOutput

type GetTwingateSecurityPoliciesSecurityPolicyOutput struct{ *pulumi.OutputState }

func (GetTwingateSecurityPoliciesSecurityPolicyOutput) ElementType

func (GetTwingateSecurityPoliciesSecurityPolicyOutput) Id

Return a matching Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.

func (GetTwingateSecurityPoliciesSecurityPolicyOutput) Name

Return a Security Policy that exactly matches this name.

func (GetTwingateSecurityPoliciesSecurityPolicyOutput) ToGetTwingateSecurityPoliciesSecurityPolicyOutput

func (o GetTwingateSecurityPoliciesSecurityPolicyOutput) ToGetTwingateSecurityPoliciesSecurityPolicyOutput() GetTwingateSecurityPoliciesSecurityPolicyOutput

func (GetTwingateSecurityPoliciesSecurityPolicyOutput) ToGetTwingateSecurityPoliciesSecurityPolicyOutputWithContext

func (o GetTwingateSecurityPoliciesSecurityPolicyOutput) ToGetTwingateSecurityPoliciesSecurityPolicyOutputWithContext(ctx context.Context) GetTwingateSecurityPoliciesSecurityPolicyOutput

type GetTwingateSecurityPolicyArgs

type GetTwingateSecurityPolicyArgs struct {
	// Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.
	Id *string `pulumi:"id"`
	// Return a Security Policy that exactly matches this name.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getTwingateSecurityPolicy.

type GetTwingateSecurityPolicyOutputArgs

type GetTwingateSecurityPolicyOutputArgs struct {
	// Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Return a Security Policy that exactly matches this name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getTwingateSecurityPolicy.

func (GetTwingateSecurityPolicyOutputArgs) ElementType

type GetTwingateSecurityPolicyResult

type GetTwingateSecurityPolicyResult struct {
	// Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.
	Id *string `pulumi:"id"`
	// Return a Security Policy that exactly matches this name.
	Name *string `pulumi:"name"`
}

A collection of values returned by getTwingateSecurityPolicy.

func GetTwingateSecurityPolicy

func GetTwingateSecurityPolicy(ctx *pulumi.Context, args *GetTwingateSecurityPolicyArgs, opts ...pulumi.InvokeOption) (*GetTwingateSecurityPolicyResult, error)

Security Policies are defined in the Twingate Admin Console and determine user and device authentication requirements for Resources.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateSecurityPolicy(ctx, &twingate.GetTwingateSecurityPolicyArgs{
			Name: pulumi.StringRef("<your security policy name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateSecurityPolicyResultOutput

type GetTwingateSecurityPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateSecurityPolicy.

func (GetTwingateSecurityPolicyResultOutput) ElementType

func (GetTwingateSecurityPolicyResultOutput) Id

Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console.

func (GetTwingateSecurityPolicyResultOutput) Name

Return a Security Policy that exactly matches this name.

func (GetTwingateSecurityPolicyResultOutput) ToGetTwingateSecurityPolicyResultOutput

func (o GetTwingateSecurityPolicyResultOutput) ToGetTwingateSecurityPolicyResultOutput() GetTwingateSecurityPolicyResultOutput

func (GetTwingateSecurityPolicyResultOutput) ToGetTwingateSecurityPolicyResultOutputWithContext

func (o GetTwingateSecurityPolicyResultOutput) ToGetTwingateSecurityPolicyResultOutputWithContext(ctx context.Context) GetTwingateSecurityPolicyResultOutput

type GetTwingateServiceAccountsArgs

type GetTwingateServiceAccountsArgs struct {
	// Name of the Service Account
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the service account.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the service account.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the service account must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the service account.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the service account must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateServiceAccounts.

type GetTwingateServiceAccountsOutputArgs

type GetTwingateServiceAccountsOutputArgs struct {
	// Name of the Service Account
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Match when the value exist in the name of the service account.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the service account.
	NameExclude pulumi.StringPtrInput `pulumi:"nameExclude"`
	// The name of the service account must start with the value.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// The regular expression match of the name of the service account.
	NameRegexp pulumi.StringPtrInput `pulumi:"nameRegexp"`
	// The name of the service account must end with the value.
	NameSuffix pulumi.StringPtrInput `pulumi:"nameSuffix"`
}

A collection of arguments for invoking getTwingateServiceAccounts.

func (GetTwingateServiceAccountsOutputArgs) ElementType

type GetTwingateServiceAccountsResult

type GetTwingateServiceAccountsResult struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only service accounts that exactly match this name. If no options are passed it will return all service accounts. Only one option can be used at a time.
	Name *string `pulumi:"name"`
	// Match when the value exist in the name of the service account.
	NameContains *string `pulumi:"nameContains"`
	// Match when the exact value does not exist in the name of the service account.
	NameExclude *string `pulumi:"nameExclude"`
	// The name of the service account must start with the value.
	NamePrefix *string `pulumi:"namePrefix"`
	// The regular expression match of the name of the service account.
	NameRegexp *string `pulumi:"nameRegexp"`
	// The name of the service account must end with the value.
	NameSuffix *string `pulumi:"nameSuffix"`
	// List of Service Accounts
	ServiceAccounts []GetTwingateServiceAccountsServiceAccount `pulumi:"serviceAccounts"`
}

A collection of values returned by getTwingateServiceAccounts.

func GetTwingateServiceAccounts

func GetTwingateServiceAccounts(ctx *pulumi.Context, args *GetTwingateServiceAccountsArgs, opts ...pulumi.InvokeOption) (*GetTwingateServiceAccountsResult, error)

Service Accounts offer a way to provide programmatic, centrally-controlled, and consistent access controls.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateServiceAccounts(ctx, &twingate.GetTwingateServiceAccountsArgs{
			Name: pulumi.StringRef("<your service account's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateServiceAccountsResultOutput

type GetTwingateServiceAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateServiceAccounts.

func (GetTwingateServiceAccountsResultOutput) ElementType

func (GetTwingateServiceAccountsResultOutput) Id

The ID of this resource.

func (GetTwingateServiceAccountsResultOutput) Name

Returns only service accounts that exactly match this name. If no options are passed it will return all service accounts. Only one option can be used at a time.

func (GetTwingateServiceAccountsResultOutput) NameContains

Match when the value exist in the name of the service account.

func (GetTwingateServiceAccountsResultOutput) NameExclude

Match when the exact value does not exist in the name of the service account.

func (GetTwingateServiceAccountsResultOutput) NamePrefix

The name of the service account must start with the value.

func (GetTwingateServiceAccountsResultOutput) NameRegexp

The regular expression match of the name of the service account.

func (GetTwingateServiceAccountsResultOutput) NameSuffix

The name of the service account must end with the value.

func (GetTwingateServiceAccountsResultOutput) ServiceAccounts

List of Service Accounts

func (GetTwingateServiceAccountsResultOutput) ToGetTwingateServiceAccountsResultOutput

func (o GetTwingateServiceAccountsResultOutput) ToGetTwingateServiceAccountsResultOutput() GetTwingateServiceAccountsResultOutput

func (GetTwingateServiceAccountsResultOutput) ToGetTwingateServiceAccountsResultOutputWithContext

func (o GetTwingateServiceAccountsResultOutput) ToGetTwingateServiceAccountsResultOutputWithContext(ctx context.Context) GetTwingateServiceAccountsResultOutput

type GetTwingateServiceAccountsServiceAccount

type GetTwingateServiceAccountsServiceAccount struct {
	// ID of the Service Account resource
	Id string `pulumi:"id"`
	// List of twingate*service*account_key IDs that are assigned to the Service Account.
	KeyIds []string `pulumi:"keyIds"`
	// Name of the Service Account
	Name string `pulumi:"name"`
	// List of TwingateResource IDs that the Service Account is assigned to.
	ResourceIds []string `pulumi:"resourceIds"`
}

type GetTwingateServiceAccountsServiceAccountArgs

type GetTwingateServiceAccountsServiceAccountArgs struct {
	// ID of the Service Account resource
	Id pulumi.StringInput `pulumi:"id"`
	// List of twingate*service*account_key IDs that are assigned to the Service Account.
	KeyIds pulumi.StringArrayInput `pulumi:"keyIds"`
	// Name of the Service Account
	Name pulumi.StringInput `pulumi:"name"`
	// List of TwingateResource IDs that the Service Account is assigned to.
	ResourceIds pulumi.StringArrayInput `pulumi:"resourceIds"`
}

func (GetTwingateServiceAccountsServiceAccountArgs) ElementType

func (GetTwingateServiceAccountsServiceAccountArgs) ToGetTwingateServiceAccountsServiceAccountOutput

func (i GetTwingateServiceAccountsServiceAccountArgs) ToGetTwingateServiceAccountsServiceAccountOutput() GetTwingateServiceAccountsServiceAccountOutput

func (GetTwingateServiceAccountsServiceAccountArgs) ToGetTwingateServiceAccountsServiceAccountOutputWithContext

func (i GetTwingateServiceAccountsServiceAccountArgs) ToGetTwingateServiceAccountsServiceAccountOutputWithContext(ctx context.Context) GetTwingateServiceAccountsServiceAccountOutput

type GetTwingateServiceAccountsServiceAccountArray

type GetTwingateServiceAccountsServiceAccountArray []GetTwingateServiceAccountsServiceAccountInput

func (GetTwingateServiceAccountsServiceAccountArray) ElementType

func (GetTwingateServiceAccountsServiceAccountArray) ToGetTwingateServiceAccountsServiceAccountArrayOutput

func (i GetTwingateServiceAccountsServiceAccountArray) ToGetTwingateServiceAccountsServiceAccountArrayOutput() GetTwingateServiceAccountsServiceAccountArrayOutput

func (GetTwingateServiceAccountsServiceAccountArray) ToGetTwingateServiceAccountsServiceAccountArrayOutputWithContext

func (i GetTwingateServiceAccountsServiceAccountArray) ToGetTwingateServiceAccountsServiceAccountArrayOutputWithContext(ctx context.Context) GetTwingateServiceAccountsServiceAccountArrayOutput

type GetTwingateServiceAccountsServiceAccountArrayInput

type GetTwingateServiceAccountsServiceAccountArrayInput interface {
	pulumi.Input

	ToGetTwingateServiceAccountsServiceAccountArrayOutput() GetTwingateServiceAccountsServiceAccountArrayOutput
	ToGetTwingateServiceAccountsServiceAccountArrayOutputWithContext(context.Context) GetTwingateServiceAccountsServiceAccountArrayOutput
}

GetTwingateServiceAccountsServiceAccountArrayInput is an input type that accepts GetTwingateServiceAccountsServiceAccountArray and GetTwingateServiceAccountsServiceAccountArrayOutput values. You can construct a concrete instance of `GetTwingateServiceAccountsServiceAccountArrayInput` via:

GetTwingateServiceAccountsServiceAccountArray{ GetTwingateServiceAccountsServiceAccountArgs{...} }

type GetTwingateServiceAccountsServiceAccountArrayOutput

type GetTwingateServiceAccountsServiceAccountArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateServiceAccountsServiceAccountArrayOutput) ElementType

func (GetTwingateServiceAccountsServiceAccountArrayOutput) Index

func (GetTwingateServiceAccountsServiceAccountArrayOutput) ToGetTwingateServiceAccountsServiceAccountArrayOutput

func (o GetTwingateServiceAccountsServiceAccountArrayOutput) ToGetTwingateServiceAccountsServiceAccountArrayOutput() GetTwingateServiceAccountsServiceAccountArrayOutput

func (GetTwingateServiceAccountsServiceAccountArrayOutput) ToGetTwingateServiceAccountsServiceAccountArrayOutputWithContext

func (o GetTwingateServiceAccountsServiceAccountArrayOutput) ToGetTwingateServiceAccountsServiceAccountArrayOutputWithContext(ctx context.Context) GetTwingateServiceAccountsServiceAccountArrayOutput

type GetTwingateServiceAccountsServiceAccountInput

type GetTwingateServiceAccountsServiceAccountInput interface {
	pulumi.Input

	ToGetTwingateServiceAccountsServiceAccountOutput() GetTwingateServiceAccountsServiceAccountOutput
	ToGetTwingateServiceAccountsServiceAccountOutputWithContext(context.Context) GetTwingateServiceAccountsServiceAccountOutput
}

GetTwingateServiceAccountsServiceAccountInput is an input type that accepts GetTwingateServiceAccountsServiceAccountArgs and GetTwingateServiceAccountsServiceAccountOutput values. You can construct a concrete instance of `GetTwingateServiceAccountsServiceAccountInput` via:

GetTwingateServiceAccountsServiceAccountArgs{...}

type GetTwingateServiceAccountsServiceAccountOutput

type GetTwingateServiceAccountsServiceAccountOutput struct{ *pulumi.OutputState }

func (GetTwingateServiceAccountsServiceAccountOutput) ElementType

func (GetTwingateServiceAccountsServiceAccountOutput) Id

ID of the Service Account resource

func (GetTwingateServiceAccountsServiceAccountOutput) KeyIds

List of twingate*service*account_key IDs that are assigned to the Service Account.

func (GetTwingateServiceAccountsServiceAccountOutput) Name

Name of the Service Account

func (GetTwingateServiceAccountsServiceAccountOutput) ResourceIds

List of TwingateResource IDs that the Service Account is assigned to.

func (GetTwingateServiceAccountsServiceAccountOutput) ToGetTwingateServiceAccountsServiceAccountOutput

func (o GetTwingateServiceAccountsServiceAccountOutput) ToGetTwingateServiceAccountsServiceAccountOutput() GetTwingateServiceAccountsServiceAccountOutput

func (GetTwingateServiceAccountsServiceAccountOutput) ToGetTwingateServiceAccountsServiceAccountOutputWithContext

func (o GetTwingateServiceAccountsServiceAccountOutput) ToGetTwingateServiceAccountsServiceAccountOutputWithContext(ctx context.Context) GetTwingateServiceAccountsServiceAccountOutput

type GetTwingateUsersArgs

type GetTwingateUsersArgs struct {
	// The email address of the User
	Email *string `pulumi:"email"`
	// Match when the value exist in the email of the user.
	EmailContains *string `pulumi:"emailContains"`
	// Match when the value does not exist in the email of the user.
	EmailExclude *string `pulumi:"emailExclude"`
	// The email of the user must start with the value.
	EmailPrefix *string `pulumi:"emailPrefix"`
	// The regular expression match of the email of the user.
	EmailRegexp *string `pulumi:"emailRegexp"`
	// The email of the user must end with the value.
	EmailSuffix *string `pulumi:"emailSuffix"`
	// The first name of the User
	FirstName *string `pulumi:"firstName"`
	// Match when the value exist in the first name of the user.
	FirstNameContains *string `pulumi:"firstNameContains"`
	// Match when the value does not exist in the first name of the user.
	FirstNameExclude *string `pulumi:"firstNameExclude"`
	// The first name of the user must start with the value.
	FirstNamePrefix *string `pulumi:"firstNamePrefix"`
	// The regular expression match of the first name of the user.
	FirstNameRegexp *string `pulumi:"firstNameRegexp"`
	// The first name of the user must end with the value.
	FirstNameSuffix *string `pulumi:"firstNameSuffix"`
	// The last name of the User
	LastName *string `pulumi:"lastName"`
	// Match when the value exist in the last name of the user.
	LastNameContains *string `pulumi:"lastNameContains"`
	// Match when the value does not exist in the last name of the user.
	LastNameExclude *string `pulumi:"lastNameExclude"`
	// The last name of the user must start with the value.
	LastNamePrefix *string `pulumi:"lastNamePrefix"`
	// The regular expression match of the last name of the user.
	LastNameRegexp *string `pulumi:"lastNameRegexp"`
	// The last name of the user must end with the value.
	LastNameSuffix *string `pulumi:"lastNameSuffix"`
	// Returns users that match a list of roles. Valid roles: `ADMIN`, `DEVOPS`, `SUPPORT`, `MEMBER`.
	Roles []string `pulumi:"roles"`
}

A collection of arguments for invoking getTwingateUsers.

type GetTwingateUsersOutputArgs

type GetTwingateUsersOutputArgs struct {
	// The email address of the User
	Email pulumi.StringPtrInput `pulumi:"email"`
	// Match when the value exist in the email of the user.
	EmailContains pulumi.StringPtrInput `pulumi:"emailContains"`
	// Match when the value does not exist in the email of the user.
	EmailExclude pulumi.StringPtrInput `pulumi:"emailExclude"`
	// The email of the user must start with the value.
	EmailPrefix pulumi.StringPtrInput `pulumi:"emailPrefix"`
	// The regular expression match of the email of the user.
	EmailRegexp pulumi.StringPtrInput `pulumi:"emailRegexp"`
	// The email of the user must end with the value.
	EmailSuffix pulumi.StringPtrInput `pulumi:"emailSuffix"`
	// The first name of the User
	FirstName pulumi.StringPtrInput `pulumi:"firstName"`
	// Match when the value exist in the first name of the user.
	FirstNameContains pulumi.StringPtrInput `pulumi:"firstNameContains"`
	// Match when the value does not exist in the first name of the user.
	FirstNameExclude pulumi.StringPtrInput `pulumi:"firstNameExclude"`
	// The first name of the user must start with the value.
	FirstNamePrefix pulumi.StringPtrInput `pulumi:"firstNamePrefix"`
	// The regular expression match of the first name of the user.
	FirstNameRegexp pulumi.StringPtrInput `pulumi:"firstNameRegexp"`
	// The first name of the user must end with the value.
	FirstNameSuffix pulumi.StringPtrInput `pulumi:"firstNameSuffix"`
	// The last name of the User
	LastName pulumi.StringPtrInput `pulumi:"lastName"`
	// Match when the value exist in the last name of the user.
	LastNameContains pulumi.StringPtrInput `pulumi:"lastNameContains"`
	// Match when the value does not exist in the last name of the user.
	LastNameExclude pulumi.StringPtrInput `pulumi:"lastNameExclude"`
	// The last name of the user must start with the value.
	LastNamePrefix pulumi.StringPtrInput `pulumi:"lastNamePrefix"`
	// The regular expression match of the last name of the user.
	LastNameRegexp pulumi.StringPtrInput `pulumi:"lastNameRegexp"`
	// The last name of the user must end with the value.
	LastNameSuffix pulumi.StringPtrInput `pulumi:"lastNameSuffix"`
	// Returns users that match a list of roles. Valid roles: `ADMIN`, `DEVOPS`, `SUPPORT`, `MEMBER`.
	Roles pulumi.StringArrayInput `pulumi:"roles"`
}

A collection of arguments for invoking getTwingateUsers.

func (GetTwingateUsersOutputArgs) ElementType

func (GetTwingateUsersOutputArgs) ElementType() reflect.Type

type GetTwingateUsersResult

type GetTwingateUsersResult struct {
	// Returns only users that exactly match this email.
	Email *string `pulumi:"email"`
	// Match when the value exist in the email of the user.
	EmailContains *string `pulumi:"emailContains"`
	// Match when the value does not exist in the email of the user.
	EmailExclude *string `pulumi:"emailExclude"`
	// The email of the user must start with the value.
	EmailPrefix *string `pulumi:"emailPrefix"`
	// The regular expression match of the email of the user.
	EmailRegexp *string `pulumi:"emailRegexp"`
	// The email of the user must end with the value.
	EmailSuffix *string `pulumi:"emailSuffix"`
	// Returns only users that exactly match the first name.
	FirstName *string `pulumi:"firstName"`
	// Match when the value exist in the first name of the user.
	FirstNameContains *string `pulumi:"firstNameContains"`
	// Match when the value does not exist in the first name of the user.
	FirstNameExclude *string `pulumi:"firstNameExclude"`
	// The first name of the user must start with the value.
	FirstNamePrefix *string `pulumi:"firstNamePrefix"`
	// The regular expression match of the first name of the user.
	FirstNameRegexp *string `pulumi:"firstNameRegexp"`
	// The first name of the user must end with the value.
	FirstNameSuffix *string `pulumi:"firstNameSuffix"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Returns only users that exactly match the last name.
	LastName *string `pulumi:"lastName"`
	// Match when the value exist in the last name of the user.
	LastNameContains *string `pulumi:"lastNameContains"`
	// Match when the value does not exist in the last name of the user.
	LastNameExclude *string `pulumi:"lastNameExclude"`
	// The last name of the user must start with the value.
	LastNamePrefix *string `pulumi:"lastNamePrefix"`
	// The regular expression match of the last name of the user.
	LastNameRegexp *string `pulumi:"lastNameRegexp"`
	// The last name of the user must end with the value.
	LastNameSuffix *string `pulumi:"lastNameSuffix"`
	// Returns users that match a list of roles. Valid roles: `ADMIN`, `DEVOPS`, `SUPPORT`, `MEMBER`.
	Roles []string               `pulumi:"roles"`
	Users []GetTwingateUsersUser `pulumi:"users"`
}

A collection of values returned by getTwingateUsers.

func GetTwingateUsers

func GetTwingateUsers(ctx *pulumi.Context, args *GetTwingateUsersArgs, opts ...pulumi.InvokeOption) (*GetTwingateUsersResult, error)

Users in Twingate can be given access to Twingate Resources and may either be added manually or automatically synchronized with a 3rd party identity provider. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/users).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.GetTwingateUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTwingateUsersResultOutput

type GetTwingateUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateUsers.

func (GetTwingateUsersResultOutput) ElementType

func (GetTwingateUsersResultOutput) Email

Returns only users that exactly match this email.

func (GetTwingateUsersResultOutput) EmailContains

Match when the value exist in the email of the user.

func (GetTwingateUsersResultOutput) EmailExclude

Match when the value does not exist in the email of the user.

func (GetTwingateUsersResultOutput) EmailPrefix

The email of the user must start with the value.

func (GetTwingateUsersResultOutput) EmailRegexp

The regular expression match of the email of the user.

func (GetTwingateUsersResultOutput) EmailSuffix

The email of the user must end with the value.

func (GetTwingateUsersResultOutput) FirstName

Returns only users that exactly match the first name.

func (GetTwingateUsersResultOutput) FirstNameContains

func (o GetTwingateUsersResultOutput) FirstNameContains() pulumi.StringPtrOutput

Match when the value exist in the first name of the user.

func (GetTwingateUsersResultOutput) FirstNameExclude

Match when the value does not exist in the first name of the user.

func (GetTwingateUsersResultOutput) FirstNamePrefix

The first name of the user must start with the value.

func (GetTwingateUsersResultOutput) FirstNameRegexp

The regular expression match of the first name of the user.

func (GetTwingateUsersResultOutput) FirstNameSuffix

The first name of the user must end with the value.

func (GetTwingateUsersResultOutput) Id

The ID of this resource.

func (GetTwingateUsersResultOutput) LastName

Returns only users that exactly match the last name.

func (GetTwingateUsersResultOutput) LastNameContains

Match when the value exist in the last name of the user.

func (GetTwingateUsersResultOutput) LastNameExclude

Match when the value does not exist in the last name of the user.

func (GetTwingateUsersResultOutput) LastNamePrefix

The last name of the user must start with the value.

func (GetTwingateUsersResultOutput) LastNameRegexp

The regular expression match of the last name of the user.

func (GetTwingateUsersResultOutput) LastNameSuffix

The last name of the user must end with the value.

func (GetTwingateUsersResultOutput) Roles

Returns users that match a list of roles. Valid roles: `ADMIN`, `DEVOPS`, `SUPPORT`, `MEMBER`.

func (GetTwingateUsersResultOutput) ToGetTwingateUsersResultOutput

func (o GetTwingateUsersResultOutput) ToGetTwingateUsersResultOutput() GetTwingateUsersResultOutput

func (GetTwingateUsersResultOutput) ToGetTwingateUsersResultOutputWithContext

func (o GetTwingateUsersResultOutput) ToGetTwingateUsersResultOutputWithContext(ctx context.Context) GetTwingateUsersResultOutput

func (GetTwingateUsersResultOutput) Users

type GetTwingateUsersUser

type GetTwingateUsersUser struct {
	// The email address of the User
	Email string `pulumi:"email"`
	// The first name of the User
	FirstName string `pulumi:"firstName"`
	// The ID of the User
	Id string `pulumi:"id"`
	// The last name of the User
	LastName string `pulumi:"lastName"`
	// Indicates the User's role. Either ADMIN, DEVOPS, SUPPORT, or MEMBER.
	Role string `pulumi:"role"`
	// Indicates the User's type. Either MANUAL or SYNCED.
	Type string `pulumi:"type"`
}

type GetTwingateUsersUserArgs

type GetTwingateUsersUserArgs struct {
	// The email address of the User
	Email pulumi.StringInput `pulumi:"email"`
	// The first name of the User
	FirstName pulumi.StringInput `pulumi:"firstName"`
	// The ID of the User
	Id pulumi.StringInput `pulumi:"id"`
	// The last name of the User
	LastName pulumi.StringInput `pulumi:"lastName"`
	// Indicates the User's role. Either ADMIN, DEVOPS, SUPPORT, or MEMBER.
	Role pulumi.StringInput `pulumi:"role"`
	// Indicates the User's type. Either MANUAL or SYNCED.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetTwingateUsersUserArgs) ElementType

func (GetTwingateUsersUserArgs) ElementType() reflect.Type

func (GetTwingateUsersUserArgs) ToGetTwingateUsersUserOutput

func (i GetTwingateUsersUserArgs) ToGetTwingateUsersUserOutput() GetTwingateUsersUserOutput

func (GetTwingateUsersUserArgs) ToGetTwingateUsersUserOutputWithContext

func (i GetTwingateUsersUserArgs) ToGetTwingateUsersUserOutputWithContext(ctx context.Context) GetTwingateUsersUserOutput

type GetTwingateUsersUserArray

type GetTwingateUsersUserArray []GetTwingateUsersUserInput

func (GetTwingateUsersUserArray) ElementType

func (GetTwingateUsersUserArray) ElementType() reflect.Type

func (GetTwingateUsersUserArray) ToGetTwingateUsersUserArrayOutput

func (i GetTwingateUsersUserArray) ToGetTwingateUsersUserArrayOutput() GetTwingateUsersUserArrayOutput

func (GetTwingateUsersUserArray) ToGetTwingateUsersUserArrayOutputWithContext

func (i GetTwingateUsersUserArray) ToGetTwingateUsersUserArrayOutputWithContext(ctx context.Context) GetTwingateUsersUserArrayOutput

type GetTwingateUsersUserArrayInput

type GetTwingateUsersUserArrayInput interface {
	pulumi.Input

	ToGetTwingateUsersUserArrayOutput() GetTwingateUsersUserArrayOutput
	ToGetTwingateUsersUserArrayOutputWithContext(context.Context) GetTwingateUsersUserArrayOutput
}

GetTwingateUsersUserArrayInput is an input type that accepts GetTwingateUsersUserArray and GetTwingateUsersUserArrayOutput values. You can construct a concrete instance of `GetTwingateUsersUserArrayInput` via:

GetTwingateUsersUserArray{ GetTwingateUsersUserArgs{...} }

type GetTwingateUsersUserArrayOutput

type GetTwingateUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetTwingateUsersUserArrayOutput) ElementType

func (GetTwingateUsersUserArrayOutput) Index

func (GetTwingateUsersUserArrayOutput) ToGetTwingateUsersUserArrayOutput

func (o GetTwingateUsersUserArrayOutput) ToGetTwingateUsersUserArrayOutput() GetTwingateUsersUserArrayOutput

func (GetTwingateUsersUserArrayOutput) ToGetTwingateUsersUserArrayOutputWithContext

func (o GetTwingateUsersUserArrayOutput) ToGetTwingateUsersUserArrayOutputWithContext(ctx context.Context) GetTwingateUsersUserArrayOutput

type GetTwingateUsersUserInput

type GetTwingateUsersUserInput interface {
	pulumi.Input

	ToGetTwingateUsersUserOutput() GetTwingateUsersUserOutput
	ToGetTwingateUsersUserOutputWithContext(context.Context) GetTwingateUsersUserOutput
}

GetTwingateUsersUserInput is an input type that accepts GetTwingateUsersUserArgs and GetTwingateUsersUserOutput values. You can construct a concrete instance of `GetTwingateUsersUserInput` via:

GetTwingateUsersUserArgs{...}

type GetTwingateUsersUserOutput

type GetTwingateUsersUserOutput struct{ *pulumi.OutputState }

func (GetTwingateUsersUserOutput) ElementType

func (GetTwingateUsersUserOutput) ElementType() reflect.Type

func (GetTwingateUsersUserOutput) Email

The email address of the User

func (GetTwingateUsersUserOutput) FirstName

The first name of the User

func (GetTwingateUsersUserOutput) Id

The ID of the User

func (GetTwingateUsersUserOutput) LastName

The last name of the User

func (GetTwingateUsersUserOutput) Role

Indicates the User's role. Either ADMIN, DEVOPS, SUPPORT, or MEMBER.

func (GetTwingateUsersUserOutput) ToGetTwingateUsersUserOutput

func (o GetTwingateUsersUserOutput) ToGetTwingateUsersUserOutput() GetTwingateUsersUserOutput

func (GetTwingateUsersUserOutput) ToGetTwingateUsersUserOutputWithContext

func (o GetTwingateUsersUserOutput) ToGetTwingateUsersUserOutputWithContext(ctx context.Context) GetTwingateUsersUserOutput

func (GetTwingateUsersUserOutput) Type

Indicates the User's type. Either MANUAL or SYNCED.

type LookupTwingateConnectorArgs

type LookupTwingateConnectorArgs struct {
	// 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 `pulumi:"id"`
}

A collection of arguments for invoking getTwingateConnector.

type LookupTwingateConnectorOutputArgs

type LookupTwingateConnectorOutputArgs struct {
	// 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.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getTwingateConnector.

func (LookupTwingateConnectorOutputArgs) ElementType

type LookupTwingateConnectorResult

type LookupTwingateConnectorResult struct {
	// 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 `pulumi:"id"`
	// The name of the Connector.
	Name string `pulumi:"name"`
	// The ID of the Remote Network the Connector is attached to.
	RemoteNetworkId string `pulumi:"remoteNetworkId"`
	// Determines whether status notifications are enabled for the Connector.
	StatusUpdatesEnabled bool `pulumi:"statusUpdatesEnabled"`
}

A collection of values returned by getTwingateConnector.

func LookupTwingateConnector

func LookupTwingateConnector(ctx *pulumi.Context, args *LookupTwingateConnectorArgs, opts ...pulumi.InvokeOption) (*LookupTwingateConnectorResult, error)

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 --> ```go 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.LookupTwingateConnector(ctx, &twingate.LookupTwingateConnectorArgs{
			Id: "<your connector's id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTwingateConnectorResultOutput

type LookupTwingateConnectorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateConnector.

func (LookupTwingateConnectorResultOutput) ElementType

func (LookupTwingateConnectorResultOutput) Id

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.

func (LookupTwingateConnectorResultOutput) Name

The name of the Connector.

func (LookupTwingateConnectorResultOutput) RemoteNetworkId

The ID of the Remote Network the Connector is attached to.

func (LookupTwingateConnectorResultOutput) StatusUpdatesEnabled

func (o LookupTwingateConnectorResultOutput) StatusUpdatesEnabled() pulumi.BoolOutput

Determines whether status notifications are enabled for the Connector.

func (LookupTwingateConnectorResultOutput) ToLookupTwingateConnectorResultOutput

func (o LookupTwingateConnectorResultOutput) ToLookupTwingateConnectorResultOutput() LookupTwingateConnectorResultOutput

func (LookupTwingateConnectorResultOutput) ToLookupTwingateConnectorResultOutputWithContext

func (o LookupTwingateConnectorResultOutput) ToLookupTwingateConnectorResultOutputWithContext(ctx context.Context) LookupTwingateConnectorResultOutput

type LookupTwingateGroupArgs

type LookupTwingateGroupArgs struct {
	// The ID of the Group. The ID for the Group can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getTwingateGroup.

type LookupTwingateGroupOutputArgs

type LookupTwingateGroupOutputArgs struct {
	// The ID of the Group. The ID for the Group can be obtained from the Admin API or the URL string in the Admin Console.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getTwingateGroup.

func (LookupTwingateGroupOutputArgs) ElementType

type LookupTwingateGroupResult

type LookupTwingateGroupResult struct {
	// The ID of the Group. The ID for the Group can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
	// Indicates if the Group is active
	IsActive bool `pulumi:"isActive"`
	// The name of the Group
	Name string `pulumi:"name"`
	// The Security Policy assigned to the Group.
	SecurityPolicyId string `pulumi:"securityPolicyId"`
	// The type of the Group
	Type string `pulumi:"type"`
}

A collection of values returned by getTwingateGroup.

func LookupTwingateGroup

func LookupTwingateGroup(ctx *pulumi.Context, args *LookupTwingateGroupArgs, opts ...pulumi.InvokeOption) (*LookupTwingateGroupResult, error)

Groups are how users are authorized to access Resources. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/groups).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.LookupTwingateGroup(ctx, &twingate.LookupTwingateGroupArgs{
			Id: "<your group's id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTwingateGroupResultOutput

type LookupTwingateGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateGroup.

func (LookupTwingateGroupResultOutput) ElementType

func (LookupTwingateGroupResultOutput) Id

The ID of the Group. The ID for the Group can be obtained from the Admin API or the URL string in the Admin Console.

func (LookupTwingateGroupResultOutput) IsActive

Indicates if the Group is active

func (LookupTwingateGroupResultOutput) Name

The name of the Group

func (LookupTwingateGroupResultOutput) SecurityPolicyId

The Security Policy assigned to the Group.

func (LookupTwingateGroupResultOutput) ToLookupTwingateGroupResultOutput

func (o LookupTwingateGroupResultOutput) ToLookupTwingateGroupResultOutput() LookupTwingateGroupResultOutput

func (LookupTwingateGroupResultOutput) ToLookupTwingateGroupResultOutputWithContext

func (o LookupTwingateGroupResultOutput) ToLookupTwingateGroupResultOutputWithContext(ctx context.Context) LookupTwingateGroupResultOutput

func (LookupTwingateGroupResultOutput) Type

The type of the Group

type LookupTwingateRemoteNetworkArgs

type LookupTwingateRemoteNetworkArgs struct {
	// The ID of the Remote Network
	Id *string `pulumi:"id"`
	// The name of the Remote Network
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getTwingateRemoteNetwork.

type LookupTwingateRemoteNetworkOutputArgs

type LookupTwingateRemoteNetworkOutputArgs struct {
	// The ID of the Remote Network
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Remote Network
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getTwingateRemoteNetwork.

func (LookupTwingateRemoteNetworkOutputArgs) ElementType

type LookupTwingateRemoteNetworkResult

type LookupTwingateRemoteNetworkResult struct {
	// The ID of the Remote Network
	Id *string `pulumi:"id"`
	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location string `pulumi:"location"`
	// The name of the Remote Network
	Name *string `pulumi:"name"`
}

A collection of values returned by getTwingateRemoteNetwork.

func LookupTwingateRemoteNetwork

func LookupTwingateRemoteNetwork(ctx *pulumi.Context, args *LookupTwingateRemoteNetworkArgs, opts ...pulumi.InvokeOption) (*LookupTwingateRemoteNetworkResult, error)

A Remote Network represents a single private network in Twingate that can have one or more Connectors and Resources assigned to it. You must create a Remote Network before creating Resources and Connectors that belong to it. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/remote-networks).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.LookupTwingateRemoteNetwork(ctx, &twingate.LookupTwingateRemoteNetworkArgs{
			Name: pulumi.StringRef("<your network's name>"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTwingateRemoteNetworkResultOutput

type LookupTwingateRemoteNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateRemoteNetwork.

func (LookupTwingateRemoteNetworkResultOutput) ElementType

func (LookupTwingateRemoteNetworkResultOutput) Id

The ID of the Remote Network

func (LookupTwingateRemoteNetworkResultOutput) Location

The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.

func (LookupTwingateRemoteNetworkResultOutput) Name

The name of the Remote Network

func (LookupTwingateRemoteNetworkResultOutput) ToLookupTwingateRemoteNetworkResultOutput

func (o LookupTwingateRemoteNetworkResultOutput) ToLookupTwingateRemoteNetworkResultOutput() LookupTwingateRemoteNetworkResultOutput

func (LookupTwingateRemoteNetworkResultOutput) ToLookupTwingateRemoteNetworkResultOutputWithContext

func (o LookupTwingateRemoteNetworkResultOutput) ToLookupTwingateRemoteNetworkResultOutputWithContext(ctx context.Context) LookupTwingateRemoteNetworkResultOutput

type LookupTwingateResourceArgs

type LookupTwingateResourceArgs struct {
	// The ID of the Resource. The ID for the Resource can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
	// By default (when this argument is not defined) no restriction is applied, and all protocols and ports are allowed.
	Protocols *GetTwingateResourceProtocols `pulumi:"protocols"`
}

A collection of arguments for invoking getTwingateResource.

type LookupTwingateResourceOutputArgs

type LookupTwingateResourceOutputArgs struct {
	// The ID of the Resource. The ID for the Resource can be obtained from the Admin API or the URL string in the Admin Console.
	Id pulumi.StringInput `pulumi:"id"`
	// By default (when this argument is not defined) no restriction is applied, and all protocols and ports are allowed.
	Protocols GetTwingateResourceProtocolsPtrInput `pulumi:"protocols"`
}

A collection of arguments for invoking getTwingateResource.

func (LookupTwingateResourceOutputArgs) ElementType

type LookupTwingateResourceResult

type LookupTwingateResourceResult struct {
	// The Resource's address, which may be an IP address, CIDR range, or DNS address
	Address string `pulumi:"address"`
	// The ID of the Resource. The ID for the Resource can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
	// The name of the Resource
	Name string `pulumi:"name"`
	// By default (when this argument is not defined) no restriction is applied, and all protocols and ports are allowed.
	Protocols *GetTwingateResourceProtocols `pulumi:"protocols"`
	// The Remote Network ID that the Resource is associated with. Resources may only be associated with a single Remote Network.
	RemoteNetworkId string `pulumi:"remoteNetworkId"`
}

A collection of values returned by getTwingateResource.

func LookupTwingateResource

func LookupTwingateResource(ctx *pulumi.Context, args *LookupTwingateResourceArgs, opts ...pulumi.InvokeOption) (*LookupTwingateResourceResult, error)

Resources in Twingate represent any network destination address that you wish to provide private access to for users authorized via the Twingate Client application. Resources can be defined by either IP or DNS address, and all private DNS addresses will be automatically resolved with no client configuration changes. For more information, see the Twingate [documentation](https://docs.twingate.com/docs/resources-and-access-nodes).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.LookupTwingateResource(ctx, &twingate.LookupTwingateResourceArgs{
			Id: "<your resource's id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTwingateResourceResultOutput

type LookupTwingateResourceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateResource.

func (LookupTwingateResourceResultOutput) Address

The Resource's address, which may be an IP address, CIDR range, or DNS address

func (LookupTwingateResourceResultOutput) ElementType

func (LookupTwingateResourceResultOutput) Id

The ID of the Resource. The ID for the Resource can be obtained from the Admin API or the URL string in the Admin Console.

func (LookupTwingateResourceResultOutput) Name

The name of the Resource

func (LookupTwingateResourceResultOutput) Protocols

By default (when this argument is not defined) no restriction is applied, and all protocols and ports are allowed.

func (LookupTwingateResourceResultOutput) RemoteNetworkId

The Remote Network ID that the Resource is associated with. Resources may only be associated with a single Remote Network.

func (LookupTwingateResourceResultOutput) ToLookupTwingateResourceResultOutput

func (o LookupTwingateResourceResultOutput) ToLookupTwingateResourceResultOutput() LookupTwingateResourceResultOutput

func (LookupTwingateResourceResultOutput) ToLookupTwingateResourceResultOutputWithContext

func (o LookupTwingateResourceResultOutput) ToLookupTwingateResourceResultOutputWithContext(ctx context.Context) LookupTwingateResourceResultOutput

type LookupTwingateUserArgs

type LookupTwingateUserArgs struct {
	// The ID of the User. The ID for the User can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getTwingateUser.

type LookupTwingateUserOutputArgs

type LookupTwingateUserOutputArgs struct {
	// The ID of the User. The ID for the User can be obtained from the Admin API or the URL string in the Admin Console.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getTwingateUser.

func (LookupTwingateUserOutputArgs) ElementType

type LookupTwingateUserResult

type LookupTwingateUserResult struct {
	// The email address of the User
	Email string `pulumi:"email"`
	// The first name of the User
	FirstName string `pulumi:"firstName"`
	// The ID of the User. The ID for the User can be obtained from the Admin API or the URL string in the Admin Console.
	Id string `pulumi:"id"`
	// The last name of the User
	LastName string `pulumi:"lastName"`
	// Indicates the User's role. Either ADMIN, DEVOPS, SUPPORT, or MEMBER
	Role string `pulumi:"role"`
	// Indicates the User's type. Either MANUAL or SYNCED.
	Type string `pulumi:"type"`
}

A collection of values returned by getTwingateUser.

func LookupTwingateUser

func LookupTwingateUser(ctx *pulumi.Context, args *LookupTwingateUserArgs, opts ...pulumi.InvokeOption) (*LookupTwingateUserResult, error)

Users in Twingate can be given access to Twingate Resources and may either be added manually or automatically synchronized with a 3rd party identity provider. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/users).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.LookupTwingateUser(ctx, &twingate.LookupTwingateUserArgs{
			Id: "<your user's id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTwingateUserResultOutput

type LookupTwingateUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTwingateUser.

func (LookupTwingateUserResultOutput) ElementType

func (LookupTwingateUserResultOutput) Email

The email address of the User

func (LookupTwingateUserResultOutput) FirstName

The first name of the User

func (LookupTwingateUserResultOutput) Id

The ID of the User. The ID for the User can be obtained from the Admin API or the URL string in the Admin Console.

func (LookupTwingateUserResultOutput) LastName

The last name of the User

func (LookupTwingateUserResultOutput) Role

Indicates the User's role. Either ADMIN, DEVOPS, SUPPORT, or MEMBER

func (LookupTwingateUserResultOutput) ToLookupTwingateUserResultOutput

func (o LookupTwingateUserResultOutput) ToLookupTwingateUserResultOutput() LookupTwingateUserResultOutput

func (LookupTwingateUserResultOutput) ToLookupTwingateUserResultOutputWithContext

func (o LookupTwingateUserResultOutput) ToLookupTwingateUserResultOutputWithContext(ctx context.Context) LookupTwingateUserResultOutput

func (LookupTwingateUserResultOutput) Type

Indicates the User's type. Either MANUAL or SYNCED.

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The access key for API operations. You can retrieve this from the Twingate Admin Console
	// ([documentation](https://docs.twingate.com/docs/api-overview)). Alternatively, this can be specified using the
	// TWINGATE_API_TOKEN environment variable.
	ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"`
	// Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example:
	// `autoco.twingate.com`, where `autoco` is your network ID Alternatively, this can be specified using the TWINGATE_NETWORK
	// environment variable.
	Network pulumi.StringPtrOutput `pulumi:"network"`
	// The default is 'twingate.com' This is optional and shouldn't be changed under normal circumstances.
	Url pulumi.StringPtrOutput `pulumi:"url"`
}

The provider type for the twingate package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The access key for API operations. You can retrieve this from the Twingate Admin Console
	// ([documentation](https://docs.twingate.com/docs/api-overview)). Alternatively, this can be specified using the
	// TWINGATE_API_TOKEN environment variable.
	ApiToken pulumi.StringPtrInput
	// Specifies a retry limit for the http requests made. The default value is 10. Alternatively, this can be specified using
	// the TWINGATE_HTTP_MAX_RETRY environment variable
	HttpMaxRetry pulumi.IntPtrInput
	// Specifies a time limit in seconds for the http requests made. The default value is 35 seconds. Alternatively, this can
	// be specified using the TWINGATE_HTTP_TIMEOUT environment variable
	HttpTimeout pulumi.IntPtrInput
	// Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example:
	// `autoco.twingate.com`, where `autoco` is your network ID Alternatively, this can be specified using the TWINGATE_NETWORK
	// environment variable.
	Network pulumi.StringPtrInput
	// The default is 'twingate.com' This is optional and shouldn't be changed under normal circumstances.
	Url pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiToken

func (o ProviderOutput) ApiToken() pulumi.StringPtrOutput

The access key for API operations. You can retrieve this from the Twingate Admin Console ([documentation](https://docs.twingate.com/docs/api-overview)). Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Network

Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example: `autoco.twingate.com`, where `autoco` is your network ID Alternatively, this can be specified using the TWINGATE_NETWORK environment variable.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Url

The default is 'twingate.com' This is optional and shouldn't be changed under normal circumstances.

type TwingateConnector

type TwingateConnector struct {
	pulumi.CustomResourceState

	// Name of the Connector, if not provided one will be generated.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Remote Network the Connector is attached to.
	RemoteNetworkId pulumi.StringOutput `pulumi:"remoteNetworkId"`
	// Determines whether status notifications are enabled for the Connector. Default is `true`.
	StatusUpdatesEnabled pulumi.BoolOutput `pulumi:"statusUpdatesEnabled"`
}

Connectors provide connectivity to Remote Networks. This resource type will create the Connector in the Twingate Admin Console, but in order to successfully deploy it, you must also generate Connector tokens that authenticate the Connector with Twingate. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/understanding-access-nodes).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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 {
		awsNetwork, err := twingate.NewTwingateRemoteNetwork(ctx, "awsNetwork", nil)
		if err != nil {
			return err
		}
		_, err = twingate.NewTwingateConnector(ctx, "awsConnector", &twingate.TwingateConnectorArgs{
			RemoteNetworkId:      awsNetwork.ID(),
			StatusUpdatesEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

```sh $ pulumi import twingate:index/twingateConnector:TwingateConnector aws_connector Q29ubmVjdG9yOjI2NzM= ```

func GetTwingateConnector

func GetTwingateConnector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateConnectorState, opts ...pulumi.ResourceOption) (*TwingateConnector, error)

GetTwingateConnector gets an existing TwingateConnector resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateConnector

func NewTwingateConnector(ctx *pulumi.Context,
	name string, args *TwingateConnectorArgs, opts ...pulumi.ResourceOption) (*TwingateConnector, error)

NewTwingateConnector registers a new resource with the given unique name, arguments, and options.

func (*TwingateConnector) ElementType

func (*TwingateConnector) ElementType() reflect.Type

func (*TwingateConnector) ToTwingateConnectorOutput

func (i *TwingateConnector) ToTwingateConnectorOutput() TwingateConnectorOutput

func (*TwingateConnector) ToTwingateConnectorOutputWithContext

func (i *TwingateConnector) ToTwingateConnectorOutputWithContext(ctx context.Context) TwingateConnectorOutput

type TwingateConnectorArgs

type TwingateConnectorArgs struct {
	// Name of the Connector, if not provided one will be generated.
	Name pulumi.StringPtrInput
	// The ID of the Remote Network the Connector is attached to.
	RemoteNetworkId pulumi.StringInput
	// Determines whether status notifications are enabled for the Connector. Default is `true`.
	StatusUpdatesEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a TwingateConnector resource.

func (TwingateConnectorArgs) ElementType

func (TwingateConnectorArgs) ElementType() reflect.Type

type TwingateConnectorArray

type TwingateConnectorArray []TwingateConnectorInput

func (TwingateConnectorArray) ElementType

func (TwingateConnectorArray) ElementType() reflect.Type

func (TwingateConnectorArray) ToTwingateConnectorArrayOutput

func (i TwingateConnectorArray) ToTwingateConnectorArrayOutput() TwingateConnectorArrayOutput

func (TwingateConnectorArray) ToTwingateConnectorArrayOutputWithContext

func (i TwingateConnectorArray) ToTwingateConnectorArrayOutputWithContext(ctx context.Context) TwingateConnectorArrayOutput

type TwingateConnectorArrayInput

type TwingateConnectorArrayInput interface {
	pulumi.Input

	ToTwingateConnectorArrayOutput() TwingateConnectorArrayOutput
	ToTwingateConnectorArrayOutputWithContext(context.Context) TwingateConnectorArrayOutput
}

TwingateConnectorArrayInput is an input type that accepts TwingateConnectorArray and TwingateConnectorArrayOutput values. You can construct a concrete instance of `TwingateConnectorArrayInput` via:

TwingateConnectorArray{ TwingateConnectorArgs{...} }

type TwingateConnectorArrayOutput

type TwingateConnectorArrayOutput struct{ *pulumi.OutputState }

func (TwingateConnectorArrayOutput) ElementType

func (TwingateConnectorArrayOutput) Index

func (TwingateConnectorArrayOutput) ToTwingateConnectorArrayOutput

func (o TwingateConnectorArrayOutput) ToTwingateConnectorArrayOutput() TwingateConnectorArrayOutput

func (TwingateConnectorArrayOutput) ToTwingateConnectorArrayOutputWithContext

func (o TwingateConnectorArrayOutput) ToTwingateConnectorArrayOutputWithContext(ctx context.Context) TwingateConnectorArrayOutput

type TwingateConnectorInput

type TwingateConnectorInput interface {
	pulumi.Input

	ToTwingateConnectorOutput() TwingateConnectorOutput
	ToTwingateConnectorOutputWithContext(ctx context.Context) TwingateConnectorOutput
}

type TwingateConnectorMap

type TwingateConnectorMap map[string]TwingateConnectorInput

func (TwingateConnectorMap) ElementType

func (TwingateConnectorMap) ElementType() reflect.Type

func (TwingateConnectorMap) ToTwingateConnectorMapOutput

func (i TwingateConnectorMap) ToTwingateConnectorMapOutput() TwingateConnectorMapOutput

func (TwingateConnectorMap) ToTwingateConnectorMapOutputWithContext

func (i TwingateConnectorMap) ToTwingateConnectorMapOutputWithContext(ctx context.Context) TwingateConnectorMapOutput

type TwingateConnectorMapInput

type TwingateConnectorMapInput interface {
	pulumi.Input

	ToTwingateConnectorMapOutput() TwingateConnectorMapOutput
	ToTwingateConnectorMapOutputWithContext(context.Context) TwingateConnectorMapOutput
}

TwingateConnectorMapInput is an input type that accepts TwingateConnectorMap and TwingateConnectorMapOutput values. You can construct a concrete instance of `TwingateConnectorMapInput` via:

TwingateConnectorMap{ "key": TwingateConnectorArgs{...} }

type TwingateConnectorMapOutput

type TwingateConnectorMapOutput struct{ *pulumi.OutputState }

func (TwingateConnectorMapOutput) ElementType

func (TwingateConnectorMapOutput) ElementType() reflect.Type

func (TwingateConnectorMapOutput) MapIndex

func (TwingateConnectorMapOutput) ToTwingateConnectorMapOutput

func (o TwingateConnectorMapOutput) ToTwingateConnectorMapOutput() TwingateConnectorMapOutput

func (TwingateConnectorMapOutput) ToTwingateConnectorMapOutputWithContext

func (o TwingateConnectorMapOutput) ToTwingateConnectorMapOutputWithContext(ctx context.Context) TwingateConnectorMapOutput

type TwingateConnectorOutput

type TwingateConnectorOutput struct{ *pulumi.OutputState }

func (TwingateConnectorOutput) ElementType

func (TwingateConnectorOutput) ElementType() reflect.Type

func (TwingateConnectorOutput) Name

Name of the Connector, if not provided one will be generated.

func (TwingateConnectorOutput) RemoteNetworkId

func (o TwingateConnectorOutput) RemoteNetworkId() pulumi.StringOutput

The ID of the Remote Network the Connector is attached to.

func (TwingateConnectorOutput) StatusUpdatesEnabled

func (o TwingateConnectorOutput) StatusUpdatesEnabled() pulumi.BoolOutput

Determines whether status notifications are enabled for the Connector. Default is `true`.

func (TwingateConnectorOutput) ToTwingateConnectorOutput

func (o TwingateConnectorOutput) ToTwingateConnectorOutput() TwingateConnectorOutput

func (TwingateConnectorOutput) ToTwingateConnectorOutputWithContext

func (o TwingateConnectorOutput) ToTwingateConnectorOutputWithContext(ctx context.Context) TwingateConnectorOutput

type TwingateConnectorState

type TwingateConnectorState struct {
	// Name of the Connector, if not provided one will be generated.
	Name pulumi.StringPtrInput
	// The ID of the Remote Network the Connector is attached to.
	RemoteNetworkId pulumi.StringPtrInput
	// Determines whether status notifications are enabled for the Connector. Default is `true`.
	StatusUpdatesEnabled pulumi.BoolPtrInput
}

func (TwingateConnectorState) ElementType

func (TwingateConnectorState) ElementType() reflect.Type

type TwingateConnectorTokens

type TwingateConnectorTokens struct {
	pulumi.CustomResourceState

	// The Access Token of the parent Connector
	AccessToken pulumi.StringOutput `pulumi:"accessToken"`
	// The ID of the parent Connector
	ConnectorId pulumi.StringOutput `pulumi:"connectorId"`
	// Arbitrary map of values that, when changed, will trigger recreation of resource. Use this to automatically rotate Connector tokens on a schedule.
	Keepers pulumi.StringMapOutput `pulumi:"keepers"`
	// The Refresh Token of the parent Connector
	RefreshToken pulumi.StringOutput `pulumi:"refreshToken"`
}

This resource type will generate tokens for a Connector, which are needed to successfully provision one on your network. The Connector itself has its own resource type and must be created before you can provision tokens.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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 {
		awsNetwork, err := twingate.NewTwingateRemoteNetwork(ctx, "awsNetwork", nil)
		if err != nil {
			return err
		}
		awsConnector, err := twingate.NewTwingateConnector(ctx, "awsConnector", &twingate.TwingateConnectorArgs{
			RemoteNetworkId: awsNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = twingate.NewTwingateConnectorTokens(ctx, "awsConnectorTokens", &twingate.TwingateConnectorTokensArgs{
			ConnectorId: awsConnector.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetTwingateConnectorTokens

func GetTwingateConnectorTokens(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateConnectorTokensState, opts ...pulumi.ResourceOption) (*TwingateConnectorTokens, error)

GetTwingateConnectorTokens gets an existing TwingateConnectorTokens resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateConnectorTokens

func NewTwingateConnectorTokens(ctx *pulumi.Context,
	name string, args *TwingateConnectorTokensArgs, opts ...pulumi.ResourceOption) (*TwingateConnectorTokens, error)

NewTwingateConnectorTokens registers a new resource with the given unique name, arguments, and options.

func (*TwingateConnectorTokens) ElementType

func (*TwingateConnectorTokens) ElementType() reflect.Type

func (*TwingateConnectorTokens) ToTwingateConnectorTokensOutput

func (i *TwingateConnectorTokens) ToTwingateConnectorTokensOutput() TwingateConnectorTokensOutput

func (*TwingateConnectorTokens) ToTwingateConnectorTokensOutputWithContext

func (i *TwingateConnectorTokens) ToTwingateConnectorTokensOutputWithContext(ctx context.Context) TwingateConnectorTokensOutput

type TwingateConnectorTokensArgs

type TwingateConnectorTokensArgs struct {
	// The ID of the parent Connector
	ConnectorId pulumi.StringInput
	// Arbitrary map of values that, when changed, will trigger recreation of resource. Use this to automatically rotate Connector tokens on a schedule.
	Keepers pulumi.StringMapInput
}

The set of arguments for constructing a TwingateConnectorTokens resource.

func (TwingateConnectorTokensArgs) ElementType

type TwingateConnectorTokensArray

type TwingateConnectorTokensArray []TwingateConnectorTokensInput

func (TwingateConnectorTokensArray) ElementType

func (TwingateConnectorTokensArray) ToTwingateConnectorTokensArrayOutput

func (i TwingateConnectorTokensArray) ToTwingateConnectorTokensArrayOutput() TwingateConnectorTokensArrayOutput

func (TwingateConnectorTokensArray) ToTwingateConnectorTokensArrayOutputWithContext

func (i TwingateConnectorTokensArray) ToTwingateConnectorTokensArrayOutputWithContext(ctx context.Context) TwingateConnectorTokensArrayOutput

type TwingateConnectorTokensArrayInput

type TwingateConnectorTokensArrayInput interface {
	pulumi.Input

	ToTwingateConnectorTokensArrayOutput() TwingateConnectorTokensArrayOutput
	ToTwingateConnectorTokensArrayOutputWithContext(context.Context) TwingateConnectorTokensArrayOutput
}

TwingateConnectorTokensArrayInput is an input type that accepts TwingateConnectorTokensArray and TwingateConnectorTokensArrayOutput values. You can construct a concrete instance of `TwingateConnectorTokensArrayInput` via:

TwingateConnectorTokensArray{ TwingateConnectorTokensArgs{...} }

type TwingateConnectorTokensArrayOutput

type TwingateConnectorTokensArrayOutput struct{ *pulumi.OutputState }

func (TwingateConnectorTokensArrayOutput) ElementType

func (TwingateConnectorTokensArrayOutput) Index

func (TwingateConnectorTokensArrayOutput) ToTwingateConnectorTokensArrayOutput

func (o TwingateConnectorTokensArrayOutput) ToTwingateConnectorTokensArrayOutput() TwingateConnectorTokensArrayOutput

func (TwingateConnectorTokensArrayOutput) ToTwingateConnectorTokensArrayOutputWithContext

func (o TwingateConnectorTokensArrayOutput) ToTwingateConnectorTokensArrayOutputWithContext(ctx context.Context) TwingateConnectorTokensArrayOutput

type TwingateConnectorTokensInput

type TwingateConnectorTokensInput interface {
	pulumi.Input

	ToTwingateConnectorTokensOutput() TwingateConnectorTokensOutput
	ToTwingateConnectorTokensOutputWithContext(ctx context.Context) TwingateConnectorTokensOutput
}

type TwingateConnectorTokensMap

type TwingateConnectorTokensMap map[string]TwingateConnectorTokensInput

func (TwingateConnectorTokensMap) ElementType

func (TwingateConnectorTokensMap) ElementType() reflect.Type

func (TwingateConnectorTokensMap) ToTwingateConnectorTokensMapOutput

func (i TwingateConnectorTokensMap) ToTwingateConnectorTokensMapOutput() TwingateConnectorTokensMapOutput

func (TwingateConnectorTokensMap) ToTwingateConnectorTokensMapOutputWithContext

func (i TwingateConnectorTokensMap) ToTwingateConnectorTokensMapOutputWithContext(ctx context.Context) TwingateConnectorTokensMapOutput

type TwingateConnectorTokensMapInput

type TwingateConnectorTokensMapInput interface {
	pulumi.Input

	ToTwingateConnectorTokensMapOutput() TwingateConnectorTokensMapOutput
	ToTwingateConnectorTokensMapOutputWithContext(context.Context) TwingateConnectorTokensMapOutput
}

TwingateConnectorTokensMapInput is an input type that accepts TwingateConnectorTokensMap and TwingateConnectorTokensMapOutput values. You can construct a concrete instance of `TwingateConnectorTokensMapInput` via:

TwingateConnectorTokensMap{ "key": TwingateConnectorTokensArgs{...} }

type TwingateConnectorTokensMapOutput

type TwingateConnectorTokensMapOutput struct{ *pulumi.OutputState }

func (TwingateConnectorTokensMapOutput) ElementType

func (TwingateConnectorTokensMapOutput) MapIndex

func (TwingateConnectorTokensMapOutput) ToTwingateConnectorTokensMapOutput

func (o TwingateConnectorTokensMapOutput) ToTwingateConnectorTokensMapOutput() TwingateConnectorTokensMapOutput

func (TwingateConnectorTokensMapOutput) ToTwingateConnectorTokensMapOutputWithContext

func (o TwingateConnectorTokensMapOutput) ToTwingateConnectorTokensMapOutputWithContext(ctx context.Context) TwingateConnectorTokensMapOutput

type TwingateConnectorTokensOutput

type TwingateConnectorTokensOutput struct{ *pulumi.OutputState }

func (TwingateConnectorTokensOutput) AccessToken

The Access Token of the parent Connector

func (TwingateConnectorTokensOutput) ConnectorId

The ID of the parent Connector

func (TwingateConnectorTokensOutput) ElementType

func (TwingateConnectorTokensOutput) Keepers

Arbitrary map of values that, when changed, will trigger recreation of resource. Use this to automatically rotate Connector tokens on a schedule.

func (TwingateConnectorTokensOutput) RefreshToken

The Refresh Token of the parent Connector

func (TwingateConnectorTokensOutput) ToTwingateConnectorTokensOutput

func (o TwingateConnectorTokensOutput) ToTwingateConnectorTokensOutput() TwingateConnectorTokensOutput

func (TwingateConnectorTokensOutput) ToTwingateConnectorTokensOutputWithContext

func (o TwingateConnectorTokensOutput) ToTwingateConnectorTokensOutputWithContext(ctx context.Context) TwingateConnectorTokensOutput

type TwingateConnectorTokensState

type TwingateConnectorTokensState struct {
	// The Access Token of the parent Connector
	AccessToken pulumi.StringPtrInput
	// The ID of the parent Connector
	ConnectorId pulumi.StringPtrInput
	// Arbitrary map of values that, when changed, will trigger recreation of resource. Use this to automatically rotate Connector tokens on a schedule.
	Keepers pulumi.StringMapInput
	// The Refresh Token of the parent Connector
	RefreshToken pulumi.StringPtrInput
}

func (TwingateConnectorTokensState) ElementType

type TwingateGroup

type TwingateGroup struct {
	pulumi.CustomResourceState

	// Determines whether User assignments to this Group will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolOutput `pulumi:"isAuthoritative"`
	// The name of the group
	Name pulumi.StringOutput `pulumi:"name"`
	// Defines which Security Policy applies to this Group. The Security Policy ID can be obtained from the `getTwingateSecurityPolicy` and `getTwingateSecurityPolicies` data sources.
	SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"`
	// List of User IDs that have permission to access the Group.
	UserIds pulumi.StringArrayOutput `pulumi:"userIds"`
}

Groups are how users are authorized to access Resources. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/groups).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.NewTwingateGroup(ctx, "aws", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

```sh $ pulumi import twingate:index/twingateGroup:TwingateGroup aws R3JvdXA6MzQ4OTE= ```

func GetTwingateGroup

func GetTwingateGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateGroupState, opts ...pulumi.ResourceOption) (*TwingateGroup, error)

GetTwingateGroup gets an existing TwingateGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateGroup

func NewTwingateGroup(ctx *pulumi.Context,
	name string, args *TwingateGroupArgs, opts ...pulumi.ResourceOption) (*TwingateGroup, error)

NewTwingateGroup registers a new resource with the given unique name, arguments, and options.

func (*TwingateGroup) ElementType

func (*TwingateGroup) ElementType() reflect.Type

func (*TwingateGroup) ToTwingateGroupOutput

func (i *TwingateGroup) ToTwingateGroupOutput() TwingateGroupOutput

func (*TwingateGroup) ToTwingateGroupOutputWithContext

func (i *TwingateGroup) ToTwingateGroupOutputWithContext(ctx context.Context) TwingateGroupOutput

type TwingateGroupArgs

type TwingateGroupArgs struct {
	// Determines whether User assignments to this Group will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolPtrInput
	// The name of the group
	Name pulumi.StringPtrInput
	// Defines which Security Policy applies to this Group. The Security Policy ID can be obtained from the `getTwingateSecurityPolicy` and `getTwingateSecurityPolicies` data sources.
	SecurityPolicyId pulumi.StringPtrInput
	// List of User IDs that have permission to access the Group.
	UserIds pulumi.StringArrayInput
}

The set of arguments for constructing a TwingateGroup resource.

func (TwingateGroupArgs) ElementType

func (TwingateGroupArgs) ElementType() reflect.Type

type TwingateGroupArray

type TwingateGroupArray []TwingateGroupInput

func (TwingateGroupArray) ElementType

func (TwingateGroupArray) ElementType() reflect.Type

func (TwingateGroupArray) ToTwingateGroupArrayOutput

func (i TwingateGroupArray) ToTwingateGroupArrayOutput() TwingateGroupArrayOutput

func (TwingateGroupArray) ToTwingateGroupArrayOutputWithContext

func (i TwingateGroupArray) ToTwingateGroupArrayOutputWithContext(ctx context.Context) TwingateGroupArrayOutput

type TwingateGroupArrayInput

type TwingateGroupArrayInput interface {
	pulumi.Input

	ToTwingateGroupArrayOutput() TwingateGroupArrayOutput
	ToTwingateGroupArrayOutputWithContext(context.Context) TwingateGroupArrayOutput
}

TwingateGroupArrayInput is an input type that accepts TwingateGroupArray and TwingateGroupArrayOutput values. You can construct a concrete instance of `TwingateGroupArrayInput` via:

TwingateGroupArray{ TwingateGroupArgs{...} }

type TwingateGroupArrayOutput

type TwingateGroupArrayOutput struct{ *pulumi.OutputState }

func (TwingateGroupArrayOutput) ElementType

func (TwingateGroupArrayOutput) ElementType() reflect.Type

func (TwingateGroupArrayOutput) Index

func (TwingateGroupArrayOutput) ToTwingateGroupArrayOutput

func (o TwingateGroupArrayOutput) ToTwingateGroupArrayOutput() TwingateGroupArrayOutput

func (TwingateGroupArrayOutput) ToTwingateGroupArrayOutputWithContext

func (o TwingateGroupArrayOutput) ToTwingateGroupArrayOutputWithContext(ctx context.Context) TwingateGroupArrayOutput

type TwingateGroupInput

type TwingateGroupInput interface {
	pulumi.Input

	ToTwingateGroupOutput() TwingateGroupOutput
	ToTwingateGroupOutputWithContext(ctx context.Context) TwingateGroupOutput
}

type TwingateGroupMap

type TwingateGroupMap map[string]TwingateGroupInput

func (TwingateGroupMap) ElementType

func (TwingateGroupMap) ElementType() reflect.Type

func (TwingateGroupMap) ToTwingateGroupMapOutput

func (i TwingateGroupMap) ToTwingateGroupMapOutput() TwingateGroupMapOutput

func (TwingateGroupMap) ToTwingateGroupMapOutputWithContext

func (i TwingateGroupMap) ToTwingateGroupMapOutputWithContext(ctx context.Context) TwingateGroupMapOutput

type TwingateGroupMapInput

type TwingateGroupMapInput interface {
	pulumi.Input

	ToTwingateGroupMapOutput() TwingateGroupMapOutput
	ToTwingateGroupMapOutputWithContext(context.Context) TwingateGroupMapOutput
}

TwingateGroupMapInput is an input type that accepts TwingateGroupMap and TwingateGroupMapOutput values. You can construct a concrete instance of `TwingateGroupMapInput` via:

TwingateGroupMap{ "key": TwingateGroupArgs{...} }

type TwingateGroupMapOutput

type TwingateGroupMapOutput struct{ *pulumi.OutputState }

func (TwingateGroupMapOutput) ElementType

func (TwingateGroupMapOutput) ElementType() reflect.Type

func (TwingateGroupMapOutput) MapIndex

func (TwingateGroupMapOutput) ToTwingateGroupMapOutput

func (o TwingateGroupMapOutput) ToTwingateGroupMapOutput() TwingateGroupMapOutput

func (TwingateGroupMapOutput) ToTwingateGroupMapOutputWithContext

func (o TwingateGroupMapOutput) ToTwingateGroupMapOutputWithContext(ctx context.Context) TwingateGroupMapOutput

type TwingateGroupOutput

type TwingateGroupOutput struct{ *pulumi.OutputState }

func (TwingateGroupOutput) ElementType

func (TwingateGroupOutput) ElementType() reflect.Type

func (TwingateGroupOutput) IsAuthoritative

func (o TwingateGroupOutput) IsAuthoritative() pulumi.BoolOutput

Determines whether User assignments to this Group will override any existing assignments. Default is `true`. If set to `false`, assignments made outside of Terraform will be ignored.

func (TwingateGroupOutput) Name

The name of the group

func (TwingateGroupOutput) SecurityPolicyId

func (o TwingateGroupOutput) SecurityPolicyId() pulumi.StringOutput

Defines which Security Policy applies to this Group. The Security Policy ID can be obtained from the `getTwingateSecurityPolicy` and `getTwingateSecurityPolicies` data sources.

func (TwingateGroupOutput) ToTwingateGroupOutput

func (o TwingateGroupOutput) ToTwingateGroupOutput() TwingateGroupOutput

func (TwingateGroupOutput) ToTwingateGroupOutputWithContext

func (o TwingateGroupOutput) ToTwingateGroupOutputWithContext(ctx context.Context) TwingateGroupOutput

func (TwingateGroupOutput) UserIds

List of User IDs that have permission to access the Group.

type TwingateGroupState

type TwingateGroupState struct {
	// Determines whether User assignments to this Group will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolPtrInput
	// The name of the group
	Name pulumi.StringPtrInput
	// Defines which Security Policy applies to this Group. The Security Policy ID can be obtained from the `getTwingateSecurityPolicy` and `getTwingateSecurityPolicies` data sources.
	SecurityPolicyId pulumi.StringPtrInput
	// List of User IDs that have permission to access the Group.
	UserIds pulumi.StringArrayInput
}

func (TwingateGroupState) ElementType

func (TwingateGroupState) ElementType() reflect.Type

type TwingateRemoteNetwork

type TwingateRemoteNetwork struct {
	pulumi.CustomResourceState

	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the Remote Network
	Name pulumi.StringOutput `pulumi:"name"`
}

A Remote Network represents a single private network in Twingate that can have one or more Connectors and Resources assigned to it. You must create a Remote Network before creating Resources and Connectors that belong to it. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/remote-networks).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.NewTwingateRemoteNetwork(ctx, "awsNetwork", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

```sh $ pulumi import twingate:index/twingateRemoteNetwork:TwingateRemoteNetwork network UmVtb3RlTmV0d29zaipgMKIkNg== ```

func GetTwingateRemoteNetwork

func GetTwingateRemoteNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateRemoteNetworkState, opts ...pulumi.ResourceOption) (*TwingateRemoteNetwork, error)

GetTwingateRemoteNetwork gets an existing TwingateRemoteNetwork resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateRemoteNetwork

func NewTwingateRemoteNetwork(ctx *pulumi.Context,
	name string, args *TwingateRemoteNetworkArgs, opts ...pulumi.ResourceOption) (*TwingateRemoteNetwork, error)

NewTwingateRemoteNetwork registers a new resource with the given unique name, arguments, and options.

func (*TwingateRemoteNetwork) ElementType

func (*TwingateRemoteNetwork) ElementType() reflect.Type

func (*TwingateRemoteNetwork) ToTwingateRemoteNetworkOutput

func (i *TwingateRemoteNetwork) ToTwingateRemoteNetworkOutput() TwingateRemoteNetworkOutput

func (*TwingateRemoteNetwork) ToTwingateRemoteNetworkOutputWithContext

func (i *TwingateRemoteNetwork) ToTwingateRemoteNetworkOutputWithContext(ctx context.Context) TwingateRemoteNetworkOutput

type TwingateRemoteNetworkArgs

type TwingateRemoteNetworkArgs struct {
	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location pulumi.StringPtrInput
	// The name of the Remote Network
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a TwingateRemoteNetwork resource.

func (TwingateRemoteNetworkArgs) ElementType

func (TwingateRemoteNetworkArgs) ElementType() reflect.Type

type TwingateRemoteNetworkArray

type TwingateRemoteNetworkArray []TwingateRemoteNetworkInput

func (TwingateRemoteNetworkArray) ElementType

func (TwingateRemoteNetworkArray) ElementType() reflect.Type

func (TwingateRemoteNetworkArray) ToTwingateRemoteNetworkArrayOutput

func (i TwingateRemoteNetworkArray) ToTwingateRemoteNetworkArrayOutput() TwingateRemoteNetworkArrayOutput

func (TwingateRemoteNetworkArray) ToTwingateRemoteNetworkArrayOutputWithContext

func (i TwingateRemoteNetworkArray) ToTwingateRemoteNetworkArrayOutputWithContext(ctx context.Context) TwingateRemoteNetworkArrayOutput

type TwingateRemoteNetworkArrayInput

type TwingateRemoteNetworkArrayInput interface {
	pulumi.Input

	ToTwingateRemoteNetworkArrayOutput() TwingateRemoteNetworkArrayOutput
	ToTwingateRemoteNetworkArrayOutputWithContext(context.Context) TwingateRemoteNetworkArrayOutput
}

TwingateRemoteNetworkArrayInput is an input type that accepts TwingateRemoteNetworkArray and TwingateRemoteNetworkArrayOutput values. You can construct a concrete instance of `TwingateRemoteNetworkArrayInput` via:

TwingateRemoteNetworkArray{ TwingateRemoteNetworkArgs{...} }

type TwingateRemoteNetworkArrayOutput

type TwingateRemoteNetworkArrayOutput struct{ *pulumi.OutputState }

func (TwingateRemoteNetworkArrayOutput) ElementType

func (TwingateRemoteNetworkArrayOutput) Index

func (TwingateRemoteNetworkArrayOutput) ToTwingateRemoteNetworkArrayOutput

func (o TwingateRemoteNetworkArrayOutput) ToTwingateRemoteNetworkArrayOutput() TwingateRemoteNetworkArrayOutput

func (TwingateRemoteNetworkArrayOutput) ToTwingateRemoteNetworkArrayOutputWithContext

func (o TwingateRemoteNetworkArrayOutput) ToTwingateRemoteNetworkArrayOutputWithContext(ctx context.Context) TwingateRemoteNetworkArrayOutput

type TwingateRemoteNetworkInput

type TwingateRemoteNetworkInput interface {
	pulumi.Input

	ToTwingateRemoteNetworkOutput() TwingateRemoteNetworkOutput
	ToTwingateRemoteNetworkOutputWithContext(ctx context.Context) TwingateRemoteNetworkOutput
}

type TwingateRemoteNetworkMap

type TwingateRemoteNetworkMap map[string]TwingateRemoteNetworkInput

func (TwingateRemoteNetworkMap) ElementType

func (TwingateRemoteNetworkMap) ElementType() reflect.Type

func (TwingateRemoteNetworkMap) ToTwingateRemoteNetworkMapOutput

func (i TwingateRemoteNetworkMap) ToTwingateRemoteNetworkMapOutput() TwingateRemoteNetworkMapOutput

func (TwingateRemoteNetworkMap) ToTwingateRemoteNetworkMapOutputWithContext

func (i TwingateRemoteNetworkMap) ToTwingateRemoteNetworkMapOutputWithContext(ctx context.Context) TwingateRemoteNetworkMapOutput

type TwingateRemoteNetworkMapInput

type TwingateRemoteNetworkMapInput interface {
	pulumi.Input

	ToTwingateRemoteNetworkMapOutput() TwingateRemoteNetworkMapOutput
	ToTwingateRemoteNetworkMapOutputWithContext(context.Context) TwingateRemoteNetworkMapOutput
}

TwingateRemoteNetworkMapInput is an input type that accepts TwingateRemoteNetworkMap and TwingateRemoteNetworkMapOutput values. You can construct a concrete instance of `TwingateRemoteNetworkMapInput` via:

TwingateRemoteNetworkMap{ "key": TwingateRemoteNetworkArgs{...} }

type TwingateRemoteNetworkMapOutput

type TwingateRemoteNetworkMapOutput struct{ *pulumi.OutputState }

func (TwingateRemoteNetworkMapOutput) ElementType

func (TwingateRemoteNetworkMapOutput) MapIndex

func (TwingateRemoteNetworkMapOutput) ToTwingateRemoteNetworkMapOutput

func (o TwingateRemoteNetworkMapOutput) ToTwingateRemoteNetworkMapOutput() TwingateRemoteNetworkMapOutput

func (TwingateRemoteNetworkMapOutput) ToTwingateRemoteNetworkMapOutputWithContext

func (o TwingateRemoteNetworkMapOutput) ToTwingateRemoteNetworkMapOutputWithContext(ctx context.Context) TwingateRemoteNetworkMapOutput

type TwingateRemoteNetworkOutput

type TwingateRemoteNetworkOutput struct{ *pulumi.OutputState }

func (TwingateRemoteNetworkOutput) ElementType

func (TwingateRemoteNetworkOutput) Location

The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.

func (TwingateRemoteNetworkOutput) Name

The name of the Remote Network

func (TwingateRemoteNetworkOutput) ToTwingateRemoteNetworkOutput

func (o TwingateRemoteNetworkOutput) ToTwingateRemoteNetworkOutput() TwingateRemoteNetworkOutput

func (TwingateRemoteNetworkOutput) ToTwingateRemoteNetworkOutputWithContext

func (o TwingateRemoteNetworkOutput) ToTwingateRemoteNetworkOutputWithContext(ctx context.Context) TwingateRemoteNetworkOutput

type TwingateRemoteNetworkState

type TwingateRemoteNetworkState struct {
	// The location of the Remote Network. Must be one of the following: AWS, AZURE, GOOGLE*CLOUD, ON*PREMISE, OTHER.
	Location pulumi.StringPtrInput
	// The name of the Remote Network
	Name pulumi.StringPtrInput
}

func (TwingateRemoteNetworkState) ElementType

func (TwingateRemoteNetworkState) ElementType() reflect.Type

type TwingateResource

type TwingateResource struct {
	pulumi.CustomResourceState

	// Restrict access to certain group
	AccessGroups TwingateResourceAccessGroupArrayOutput `pulumi:"accessGroups"`
	// Restrict access to certain service account
	AccessServices TwingateResourceAccessServiceArrayOutput `pulumi:"accessServices"`
	// The Resource's IP/CIDR or FQDN/DNS zone
	Address pulumi.StringOutput `pulumi:"address"`
	// Set a DNS alias address for the Resource. Must be a DNS-valid name string.
	Alias pulumi.StringPtrOutput `pulumi:"alias"`
	// Set the resource as active or inactive. Default is `true`.
	IsActive pulumi.BoolOutput `pulumi:"isActive"`
	// Determines whether assignments in the access block will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolOutput `pulumi:"isAuthoritative"`
	// Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is `false`.
	IsBrowserShortcutEnabled pulumi.BoolOutput `pulumi:"isBrowserShortcutEnabled"`
	// Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`.
	IsVisible pulumi.BoolOutput `pulumi:"isVisible"`
	// The name of the Resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.
	Protocols TwingateResourceProtocolsOutput `pulumi:"protocols"`
	// Remote Network ID where the Resource lives
	RemoteNetworkId pulumi.StringOutput `pulumi:"remoteNetworkId"`
	// The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.
	SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"`
}

Resources in Twingate represent servers on the private network that clients can connect to. Resources can be defined by IP, CIDR range, FQDN, or DNS zone. For more information, see the Twingate [documentation](https://docs.twingate.com/docs/resources-and-access-nodes).

## Import

```sh $ pulumi import twingate:index/twingateResource:TwingateResource resource UmVzb3VyY2U6MzQwNDQ3 ```

func GetTwingateResource

func GetTwingateResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateResourceState, opts ...pulumi.ResourceOption) (*TwingateResource, error)

GetTwingateResource gets an existing TwingateResource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateResource

func NewTwingateResource(ctx *pulumi.Context,
	name string, args *TwingateResourceArgs, opts ...pulumi.ResourceOption) (*TwingateResource, error)

NewTwingateResource registers a new resource with the given unique name, arguments, and options.

func (*TwingateResource) ElementType

func (*TwingateResource) ElementType() reflect.Type

func (*TwingateResource) ToTwingateResourceOutput

func (i *TwingateResource) ToTwingateResourceOutput() TwingateResourceOutput

func (*TwingateResource) ToTwingateResourceOutputWithContext

func (i *TwingateResource) ToTwingateResourceOutputWithContext(ctx context.Context) TwingateResourceOutput

type TwingateResourceAccessGroup

type TwingateResourceAccessGroup struct {
	// Group ID that will have permission to access the Resource.
	GroupId *string `pulumi:"groupId"`
	// The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.
	SecurityPolicyId *string `pulumi:"securityPolicyId"`
}

type TwingateResourceAccessGroupArgs

type TwingateResourceAccessGroupArgs struct {
	// Group ID that will have permission to access the Resource.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.
	SecurityPolicyId pulumi.StringPtrInput `pulumi:"securityPolicyId"`
}

func (TwingateResourceAccessGroupArgs) ElementType

func (TwingateResourceAccessGroupArgs) ToTwingateResourceAccessGroupOutput

func (i TwingateResourceAccessGroupArgs) ToTwingateResourceAccessGroupOutput() TwingateResourceAccessGroupOutput

func (TwingateResourceAccessGroupArgs) ToTwingateResourceAccessGroupOutputWithContext

func (i TwingateResourceAccessGroupArgs) ToTwingateResourceAccessGroupOutputWithContext(ctx context.Context) TwingateResourceAccessGroupOutput

type TwingateResourceAccessGroupArray

type TwingateResourceAccessGroupArray []TwingateResourceAccessGroupInput

func (TwingateResourceAccessGroupArray) ElementType

func (TwingateResourceAccessGroupArray) ToTwingateResourceAccessGroupArrayOutput

func (i TwingateResourceAccessGroupArray) ToTwingateResourceAccessGroupArrayOutput() TwingateResourceAccessGroupArrayOutput

func (TwingateResourceAccessGroupArray) ToTwingateResourceAccessGroupArrayOutputWithContext

func (i TwingateResourceAccessGroupArray) ToTwingateResourceAccessGroupArrayOutputWithContext(ctx context.Context) TwingateResourceAccessGroupArrayOutput

type TwingateResourceAccessGroupArrayInput

type TwingateResourceAccessGroupArrayInput interface {
	pulumi.Input

	ToTwingateResourceAccessGroupArrayOutput() TwingateResourceAccessGroupArrayOutput
	ToTwingateResourceAccessGroupArrayOutputWithContext(context.Context) TwingateResourceAccessGroupArrayOutput
}

TwingateResourceAccessGroupArrayInput is an input type that accepts TwingateResourceAccessGroupArray and TwingateResourceAccessGroupArrayOutput values. You can construct a concrete instance of `TwingateResourceAccessGroupArrayInput` via:

TwingateResourceAccessGroupArray{ TwingateResourceAccessGroupArgs{...} }

type TwingateResourceAccessGroupArrayOutput

type TwingateResourceAccessGroupArrayOutput struct{ *pulumi.OutputState }

func (TwingateResourceAccessGroupArrayOutput) ElementType

func (TwingateResourceAccessGroupArrayOutput) Index

func (TwingateResourceAccessGroupArrayOutput) ToTwingateResourceAccessGroupArrayOutput

func (o TwingateResourceAccessGroupArrayOutput) ToTwingateResourceAccessGroupArrayOutput() TwingateResourceAccessGroupArrayOutput

func (TwingateResourceAccessGroupArrayOutput) ToTwingateResourceAccessGroupArrayOutputWithContext

func (o TwingateResourceAccessGroupArrayOutput) ToTwingateResourceAccessGroupArrayOutputWithContext(ctx context.Context) TwingateResourceAccessGroupArrayOutput

type TwingateResourceAccessGroupInput

type TwingateResourceAccessGroupInput interface {
	pulumi.Input

	ToTwingateResourceAccessGroupOutput() TwingateResourceAccessGroupOutput
	ToTwingateResourceAccessGroupOutputWithContext(context.Context) TwingateResourceAccessGroupOutput
}

TwingateResourceAccessGroupInput is an input type that accepts TwingateResourceAccessGroupArgs and TwingateResourceAccessGroupOutput values. You can construct a concrete instance of `TwingateResourceAccessGroupInput` via:

TwingateResourceAccessGroupArgs{...}

type TwingateResourceAccessGroupOutput

type TwingateResourceAccessGroupOutput struct{ *pulumi.OutputState }

func (TwingateResourceAccessGroupOutput) ElementType

func (TwingateResourceAccessGroupOutput) GroupId

Group ID that will have permission to access the Resource.

func (TwingateResourceAccessGroupOutput) SecurityPolicyId

The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.

func (TwingateResourceAccessGroupOutput) ToTwingateResourceAccessGroupOutput

func (o TwingateResourceAccessGroupOutput) ToTwingateResourceAccessGroupOutput() TwingateResourceAccessGroupOutput

func (TwingateResourceAccessGroupOutput) ToTwingateResourceAccessGroupOutputWithContext

func (o TwingateResourceAccessGroupOutput) ToTwingateResourceAccessGroupOutputWithContext(ctx context.Context) TwingateResourceAccessGroupOutput

type TwingateResourceAccessService

type TwingateResourceAccessService struct {
	// The ID of the service account that should have access to this Resource.
	ServiceAccountId *string `pulumi:"serviceAccountId"`
}

type TwingateResourceAccessServiceArgs

type TwingateResourceAccessServiceArgs struct {
	// The ID of the service account that should have access to this Resource.
	ServiceAccountId pulumi.StringPtrInput `pulumi:"serviceAccountId"`
}

func (TwingateResourceAccessServiceArgs) ElementType

func (TwingateResourceAccessServiceArgs) ToTwingateResourceAccessServiceOutput

func (i TwingateResourceAccessServiceArgs) ToTwingateResourceAccessServiceOutput() TwingateResourceAccessServiceOutput

func (TwingateResourceAccessServiceArgs) ToTwingateResourceAccessServiceOutputWithContext

func (i TwingateResourceAccessServiceArgs) ToTwingateResourceAccessServiceOutputWithContext(ctx context.Context) TwingateResourceAccessServiceOutput

type TwingateResourceAccessServiceArray

type TwingateResourceAccessServiceArray []TwingateResourceAccessServiceInput

func (TwingateResourceAccessServiceArray) ElementType

func (TwingateResourceAccessServiceArray) ToTwingateResourceAccessServiceArrayOutput

func (i TwingateResourceAccessServiceArray) ToTwingateResourceAccessServiceArrayOutput() TwingateResourceAccessServiceArrayOutput

func (TwingateResourceAccessServiceArray) ToTwingateResourceAccessServiceArrayOutputWithContext

func (i TwingateResourceAccessServiceArray) ToTwingateResourceAccessServiceArrayOutputWithContext(ctx context.Context) TwingateResourceAccessServiceArrayOutput

type TwingateResourceAccessServiceArrayInput

type TwingateResourceAccessServiceArrayInput interface {
	pulumi.Input

	ToTwingateResourceAccessServiceArrayOutput() TwingateResourceAccessServiceArrayOutput
	ToTwingateResourceAccessServiceArrayOutputWithContext(context.Context) TwingateResourceAccessServiceArrayOutput
}

TwingateResourceAccessServiceArrayInput is an input type that accepts TwingateResourceAccessServiceArray and TwingateResourceAccessServiceArrayOutput values. You can construct a concrete instance of `TwingateResourceAccessServiceArrayInput` via:

TwingateResourceAccessServiceArray{ TwingateResourceAccessServiceArgs{...} }

type TwingateResourceAccessServiceArrayOutput

type TwingateResourceAccessServiceArrayOutput struct{ *pulumi.OutputState }

func (TwingateResourceAccessServiceArrayOutput) ElementType

func (TwingateResourceAccessServiceArrayOutput) Index

func (TwingateResourceAccessServiceArrayOutput) ToTwingateResourceAccessServiceArrayOutput

func (o TwingateResourceAccessServiceArrayOutput) ToTwingateResourceAccessServiceArrayOutput() TwingateResourceAccessServiceArrayOutput

func (TwingateResourceAccessServiceArrayOutput) ToTwingateResourceAccessServiceArrayOutputWithContext

func (o TwingateResourceAccessServiceArrayOutput) ToTwingateResourceAccessServiceArrayOutputWithContext(ctx context.Context) TwingateResourceAccessServiceArrayOutput

type TwingateResourceAccessServiceInput

type TwingateResourceAccessServiceInput interface {
	pulumi.Input

	ToTwingateResourceAccessServiceOutput() TwingateResourceAccessServiceOutput
	ToTwingateResourceAccessServiceOutputWithContext(context.Context) TwingateResourceAccessServiceOutput
}

TwingateResourceAccessServiceInput is an input type that accepts TwingateResourceAccessServiceArgs and TwingateResourceAccessServiceOutput values. You can construct a concrete instance of `TwingateResourceAccessServiceInput` via:

TwingateResourceAccessServiceArgs{...}

type TwingateResourceAccessServiceOutput

type TwingateResourceAccessServiceOutput struct{ *pulumi.OutputState }

func (TwingateResourceAccessServiceOutput) ElementType

func (TwingateResourceAccessServiceOutput) ServiceAccountId

The ID of the service account that should have access to this Resource.

func (TwingateResourceAccessServiceOutput) ToTwingateResourceAccessServiceOutput

func (o TwingateResourceAccessServiceOutput) ToTwingateResourceAccessServiceOutput() TwingateResourceAccessServiceOutput

func (TwingateResourceAccessServiceOutput) ToTwingateResourceAccessServiceOutputWithContext

func (o TwingateResourceAccessServiceOutput) ToTwingateResourceAccessServiceOutputWithContext(ctx context.Context) TwingateResourceAccessServiceOutput

type TwingateResourceArgs

type TwingateResourceArgs struct {
	// Restrict access to certain group
	AccessGroups TwingateResourceAccessGroupArrayInput
	// Restrict access to certain service account
	AccessServices TwingateResourceAccessServiceArrayInput
	// The Resource's IP/CIDR or FQDN/DNS zone
	Address pulumi.StringInput
	// Set a DNS alias address for the Resource. Must be a DNS-valid name string.
	Alias pulumi.StringPtrInput
	// Set the resource as active or inactive. Default is `true`.
	IsActive pulumi.BoolPtrInput
	// Determines whether assignments in the access block will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolPtrInput
	// Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is `false`.
	IsBrowserShortcutEnabled pulumi.BoolPtrInput
	// Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`.
	IsVisible pulumi.BoolPtrInput
	// The name of the Resource
	Name pulumi.StringPtrInput
	// Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.
	Protocols TwingateResourceProtocolsPtrInput
	// Remote Network ID where the Resource lives
	RemoteNetworkId pulumi.StringInput
	// The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.
	SecurityPolicyId pulumi.StringPtrInput
}

The set of arguments for constructing a TwingateResource resource.

func (TwingateResourceArgs) ElementType

func (TwingateResourceArgs) ElementType() reflect.Type

type TwingateResourceArray

type TwingateResourceArray []TwingateResourceInput

func (TwingateResourceArray) ElementType

func (TwingateResourceArray) ElementType() reflect.Type

func (TwingateResourceArray) ToTwingateResourceArrayOutput

func (i TwingateResourceArray) ToTwingateResourceArrayOutput() TwingateResourceArrayOutput

func (TwingateResourceArray) ToTwingateResourceArrayOutputWithContext

func (i TwingateResourceArray) ToTwingateResourceArrayOutputWithContext(ctx context.Context) TwingateResourceArrayOutput

type TwingateResourceArrayInput

type TwingateResourceArrayInput interface {
	pulumi.Input

	ToTwingateResourceArrayOutput() TwingateResourceArrayOutput
	ToTwingateResourceArrayOutputWithContext(context.Context) TwingateResourceArrayOutput
}

TwingateResourceArrayInput is an input type that accepts TwingateResourceArray and TwingateResourceArrayOutput values. You can construct a concrete instance of `TwingateResourceArrayInput` via:

TwingateResourceArray{ TwingateResourceArgs{...} }

type TwingateResourceArrayOutput

type TwingateResourceArrayOutput struct{ *pulumi.OutputState }

func (TwingateResourceArrayOutput) ElementType

func (TwingateResourceArrayOutput) Index

func (TwingateResourceArrayOutput) ToTwingateResourceArrayOutput

func (o TwingateResourceArrayOutput) ToTwingateResourceArrayOutput() TwingateResourceArrayOutput

func (TwingateResourceArrayOutput) ToTwingateResourceArrayOutputWithContext

func (o TwingateResourceArrayOutput) ToTwingateResourceArrayOutputWithContext(ctx context.Context) TwingateResourceArrayOutput

type TwingateResourceInput

type TwingateResourceInput interface {
	pulumi.Input

	ToTwingateResourceOutput() TwingateResourceOutput
	ToTwingateResourceOutputWithContext(ctx context.Context) TwingateResourceOutput
}

type TwingateResourceMap

type TwingateResourceMap map[string]TwingateResourceInput

func (TwingateResourceMap) ElementType

func (TwingateResourceMap) ElementType() reflect.Type

func (TwingateResourceMap) ToTwingateResourceMapOutput

func (i TwingateResourceMap) ToTwingateResourceMapOutput() TwingateResourceMapOutput

func (TwingateResourceMap) ToTwingateResourceMapOutputWithContext

func (i TwingateResourceMap) ToTwingateResourceMapOutputWithContext(ctx context.Context) TwingateResourceMapOutput

type TwingateResourceMapInput

type TwingateResourceMapInput interface {
	pulumi.Input

	ToTwingateResourceMapOutput() TwingateResourceMapOutput
	ToTwingateResourceMapOutputWithContext(context.Context) TwingateResourceMapOutput
}

TwingateResourceMapInput is an input type that accepts TwingateResourceMap and TwingateResourceMapOutput values. You can construct a concrete instance of `TwingateResourceMapInput` via:

TwingateResourceMap{ "key": TwingateResourceArgs{...} }

type TwingateResourceMapOutput

type TwingateResourceMapOutput struct{ *pulumi.OutputState }

func (TwingateResourceMapOutput) ElementType

func (TwingateResourceMapOutput) ElementType() reflect.Type

func (TwingateResourceMapOutput) MapIndex

func (TwingateResourceMapOutput) ToTwingateResourceMapOutput

func (o TwingateResourceMapOutput) ToTwingateResourceMapOutput() TwingateResourceMapOutput

func (TwingateResourceMapOutput) ToTwingateResourceMapOutputWithContext

func (o TwingateResourceMapOutput) ToTwingateResourceMapOutputWithContext(ctx context.Context) TwingateResourceMapOutput

type TwingateResourceOutput

type TwingateResourceOutput struct{ *pulumi.OutputState }

func (TwingateResourceOutput) AccessGroups

Restrict access to certain group

func (TwingateResourceOutput) AccessServices

Restrict access to certain service account

func (TwingateResourceOutput) Address

The Resource's IP/CIDR or FQDN/DNS zone

func (TwingateResourceOutput) Alias

Set a DNS alias address for the Resource. Must be a DNS-valid name string.

func (TwingateResourceOutput) ElementType

func (TwingateResourceOutput) ElementType() reflect.Type

func (TwingateResourceOutput) IsActive

Set the resource as active or inactive. Default is `true`.

func (TwingateResourceOutput) IsAuthoritative

func (o TwingateResourceOutput) IsAuthoritative() pulumi.BoolOutput

Determines whether assignments in the access block will override any existing assignments. Default is `true`. If set to `false`, assignments made outside of Terraform will be ignored.

func (TwingateResourceOutput) IsBrowserShortcutEnabled

func (o TwingateResourceOutput) IsBrowserShortcutEnabled() pulumi.BoolOutput

Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is `false`.

func (TwingateResourceOutput) IsVisible

Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`.

func (TwingateResourceOutput) Name

The name of the Resource

func (TwingateResourceOutput) Protocols

Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.

func (TwingateResourceOutput) RemoteNetworkId

func (o TwingateResourceOutput) RemoteNetworkId() pulumi.StringOutput

Remote Network ID where the Resource lives

func (TwingateResourceOutput) SecurityPolicyId

func (o TwingateResourceOutput) SecurityPolicyId() pulumi.StringOutput

The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.

func (TwingateResourceOutput) ToTwingateResourceOutput

func (o TwingateResourceOutput) ToTwingateResourceOutput() TwingateResourceOutput

func (TwingateResourceOutput) ToTwingateResourceOutputWithContext

func (o TwingateResourceOutput) ToTwingateResourceOutputWithContext(ctx context.Context) TwingateResourceOutput

type TwingateResourceProtocols

type TwingateResourceProtocols struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp *bool                         `pulumi:"allowIcmp"`
	Tcp       *TwingateResourceProtocolsTcp `pulumi:"tcp"`
	Udp       *TwingateResourceProtocolsUdp `pulumi:"udp"`
}

type TwingateResourceProtocolsArgs

type TwingateResourceProtocolsArgs struct {
	// Whether to allow ICMP (ping) traffic
	AllowIcmp pulumi.BoolPtrInput                  `pulumi:"allowIcmp"`
	Tcp       TwingateResourceProtocolsTcpPtrInput `pulumi:"tcp"`
	Udp       TwingateResourceProtocolsUdpPtrInput `pulumi:"udp"`
}

func (TwingateResourceProtocolsArgs) ElementType

func (TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsOutput

func (i TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsOutput() TwingateResourceProtocolsOutput

func (TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsOutputWithContext

func (i TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsOutputWithContext(ctx context.Context) TwingateResourceProtocolsOutput

func (TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsPtrOutput

func (i TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsPtrOutput() TwingateResourceProtocolsPtrOutput

func (TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsPtrOutputWithContext

func (i TwingateResourceProtocolsArgs) ToTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsPtrOutput

type TwingateResourceProtocolsInput

type TwingateResourceProtocolsInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsOutput() TwingateResourceProtocolsOutput
	ToTwingateResourceProtocolsOutputWithContext(context.Context) TwingateResourceProtocolsOutput
}

TwingateResourceProtocolsInput is an input type that accepts TwingateResourceProtocolsArgs and TwingateResourceProtocolsOutput values. You can construct a concrete instance of `TwingateResourceProtocolsInput` via:

TwingateResourceProtocolsArgs{...}

type TwingateResourceProtocolsOutput

type TwingateResourceProtocolsOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsOutput) AllowIcmp

Whether to allow ICMP (ping) traffic

func (TwingateResourceProtocolsOutput) ElementType

func (TwingateResourceProtocolsOutput) Tcp

func (TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsOutput

func (o TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsOutput() TwingateResourceProtocolsOutput

func (TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsOutputWithContext

func (o TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsOutputWithContext(ctx context.Context) TwingateResourceProtocolsOutput

func (TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsPtrOutput

func (o TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsPtrOutput() TwingateResourceProtocolsPtrOutput

func (TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsPtrOutputWithContext

func (o TwingateResourceProtocolsOutput) ToTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsPtrOutput

func (TwingateResourceProtocolsOutput) Udp

type TwingateResourceProtocolsPtrInput

type TwingateResourceProtocolsPtrInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsPtrOutput() TwingateResourceProtocolsPtrOutput
	ToTwingateResourceProtocolsPtrOutputWithContext(context.Context) TwingateResourceProtocolsPtrOutput
}

TwingateResourceProtocolsPtrInput is an input type that accepts TwingateResourceProtocolsArgs, TwingateResourceProtocolsPtr and TwingateResourceProtocolsPtrOutput values. You can construct a concrete instance of `TwingateResourceProtocolsPtrInput` via:

        TwingateResourceProtocolsArgs{...}

or:

        nil

type TwingateResourceProtocolsPtrOutput

type TwingateResourceProtocolsPtrOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsPtrOutput) AllowIcmp

Whether to allow ICMP (ping) traffic

func (TwingateResourceProtocolsPtrOutput) Elem

func (TwingateResourceProtocolsPtrOutput) ElementType

func (TwingateResourceProtocolsPtrOutput) Tcp

func (TwingateResourceProtocolsPtrOutput) ToTwingateResourceProtocolsPtrOutput

func (o TwingateResourceProtocolsPtrOutput) ToTwingateResourceProtocolsPtrOutput() TwingateResourceProtocolsPtrOutput

func (TwingateResourceProtocolsPtrOutput) ToTwingateResourceProtocolsPtrOutputWithContext

func (o TwingateResourceProtocolsPtrOutput) ToTwingateResourceProtocolsPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsPtrOutput

func (TwingateResourceProtocolsPtrOutput) Udp

type TwingateResourceProtocolsTcp

type TwingateResourceProtocolsTcp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy *string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type TwingateResourceProtocolsTcpArgs

type TwingateResourceProtocolsTcpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (TwingateResourceProtocolsTcpArgs) ElementType

func (TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpOutput

func (i TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpOutput() TwingateResourceProtocolsTcpOutput

func (TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpOutputWithContext

func (i TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpOutputWithContext(ctx context.Context) TwingateResourceProtocolsTcpOutput

func (TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpPtrOutput

func (i TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpPtrOutput() TwingateResourceProtocolsTcpPtrOutput

func (TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpPtrOutputWithContext

func (i TwingateResourceProtocolsTcpArgs) ToTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsTcpPtrOutput

type TwingateResourceProtocolsTcpInput

type TwingateResourceProtocolsTcpInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsTcpOutput() TwingateResourceProtocolsTcpOutput
	ToTwingateResourceProtocolsTcpOutputWithContext(context.Context) TwingateResourceProtocolsTcpOutput
}

TwingateResourceProtocolsTcpInput is an input type that accepts TwingateResourceProtocolsTcpArgs and TwingateResourceProtocolsTcpOutput values. You can construct a concrete instance of `TwingateResourceProtocolsTcpInput` via:

TwingateResourceProtocolsTcpArgs{...}

type TwingateResourceProtocolsTcpOutput

type TwingateResourceProtocolsTcpOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsTcpOutput) ElementType

func (TwingateResourceProtocolsTcpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (TwingateResourceProtocolsTcpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpOutput

func (o TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpOutput() TwingateResourceProtocolsTcpOutput

func (TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpOutputWithContext

func (o TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpOutputWithContext(ctx context.Context) TwingateResourceProtocolsTcpOutput

func (TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpPtrOutput

func (o TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpPtrOutput() TwingateResourceProtocolsTcpPtrOutput

func (TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpPtrOutputWithContext

func (o TwingateResourceProtocolsTcpOutput) ToTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsTcpPtrOutput

type TwingateResourceProtocolsTcpPtrInput

type TwingateResourceProtocolsTcpPtrInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsTcpPtrOutput() TwingateResourceProtocolsTcpPtrOutput
	ToTwingateResourceProtocolsTcpPtrOutputWithContext(context.Context) TwingateResourceProtocolsTcpPtrOutput
}

TwingateResourceProtocolsTcpPtrInput is an input type that accepts TwingateResourceProtocolsTcpArgs, TwingateResourceProtocolsTcpPtr and TwingateResourceProtocolsTcpPtrOutput values. You can construct a concrete instance of `TwingateResourceProtocolsTcpPtrInput` via:

        TwingateResourceProtocolsTcpArgs{...}

or:

        nil

type TwingateResourceProtocolsTcpPtrOutput

type TwingateResourceProtocolsTcpPtrOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsTcpPtrOutput) Elem

func (TwingateResourceProtocolsTcpPtrOutput) ElementType

func (TwingateResourceProtocolsTcpPtrOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (TwingateResourceProtocolsTcpPtrOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (TwingateResourceProtocolsTcpPtrOutput) ToTwingateResourceProtocolsTcpPtrOutput

func (o TwingateResourceProtocolsTcpPtrOutput) ToTwingateResourceProtocolsTcpPtrOutput() TwingateResourceProtocolsTcpPtrOutput

func (TwingateResourceProtocolsTcpPtrOutput) ToTwingateResourceProtocolsTcpPtrOutputWithContext

func (o TwingateResourceProtocolsTcpPtrOutput) ToTwingateResourceProtocolsTcpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsTcpPtrOutput

type TwingateResourceProtocolsUdp

type TwingateResourceProtocolsUdp struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy *string `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports []string `pulumi:"ports"`
}

type TwingateResourceProtocolsUdpArgs

type TwingateResourceProtocolsUdpArgs struct {
	// Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port
	Ports pulumi.StringArrayInput `pulumi:"ports"`
}

func (TwingateResourceProtocolsUdpArgs) ElementType

func (TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpOutput

func (i TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpOutput() TwingateResourceProtocolsUdpOutput

func (TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpOutputWithContext

func (i TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpOutputWithContext(ctx context.Context) TwingateResourceProtocolsUdpOutput

func (TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpPtrOutput

func (i TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpPtrOutput() TwingateResourceProtocolsUdpPtrOutput

func (TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpPtrOutputWithContext

func (i TwingateResourceProtocolsUdpArgs) ToTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsUdpPtrOutput

type TwingateResourceProtocolsUdpInput

type TwingateResourceProtocolsUdpInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsUdpOutput() TwingateResourceProtocolsUdpOutput
	ToTwingateResourceProtocolsUdpOutputWithContext(context.Context) TwingateResourceProtocolsUdpOutput
}

TwingateResourceProtocolsUdpInput is an input type that accepts TwingateResourceProtocolsUdpArgs and TwingateResourceProtocolsUdpOutput values. You can construct a concrete instance of `TwingateResourceProtocolsUdpInput` via:

TwingateResourceProtocolsUdpArgs{...}

type TwingateResourceProtocolsUdpOutput

type TwingateResourceProtocolsUdpOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsUdpOutput) ElementType

func (TwingateResourceProtocolsUdpOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (TwingateResourceProtocolsUdpOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpOutput

func (o TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpOutput() TwingateResourceProtocolsUdpOutput

func (TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpOutputWithContext

func (o TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpOutputWithContext(ctx context.Context) TwingateResourceProtocolsUdpOutput

func (TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpPtrOutput

func (o TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpPtrOutput() TwingateResourceProtocolsUdpPtrOutput

func (TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpPtrOutputWithContext

func (o TwingateResourceProtocolsUdpOutput) ToTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsUdpPtrOutput

type TwingateResourceProtocolsUdpPtrInput

type TwingateResourceProtocolsUdpPtrInput interface {
	pulumi.Input

	ToTwingateResourceProtocolsUdpPtrOutput() TwingateResourceProtocolsUdpPtrOutput
	ToTwingateResourceProtocolsUdpPtrOutputWithContext(context.Context) TwingateResourceProtocolsUdpPtrOutput
}

TwingateResourceProtocolsUdpPtrInput is an input type that accepts TwingateResourceProtocolsUdpArgs, TwingateResourceProtocolsUdpPtr and TwingateResourceProtocolsUdpPtrOutput values. You can construct a concrete instance of `TwingateResourceProtocolsUdpPtrInput` via:

        TwingateResourceProtocolsUdpArgs{...}

or:

        nil

type TwingateResourceProtocolsUdpPtrOutput

type TwingateResourceProtocolsUdpPtrOutput struct{ *pulumi.OutputState }

func (TwingateResourceProtocolsUdpPtrOutput) Elem

func (TwingateResourceProtocolsUdpPtrOutput) ElementType

func (TwingateResourceProtocolsUdpPtrOutput) Policy

Whether to allow or deny all ports, or restrict protocol access within certain port ranges: Can be `RESTRICTED` (only listed ports are allowed), `ALLOW_ALL`, or `DENY_ALL`

func (TwingateResourceProtocolsUdpPtrOutput) Ports

List of port ranges between 1 and 65535 inclusive, in the format `100-200` for a range, or `8080` for a single port

func (TwingateResourceProtocolsUdpPtrOutput) ToTwingateResourceProtocolsUdpPtrOutput

func (o TwingateResourceProtocolsUdpPtrOutput) ToTwingateResourceProtocolsUdpPtrOutput() TwingateResourceProtocolsUdpPtrOutput

func (TwingateResourceProtocolsUdpPtrOutput) ToTwingateResourceProtocolsUdpPtrOutputWithContext

func (o TwingateResourceProtocolsUdpPtrOutput) ToTwingateResourceProtocolsUdpPtrOutputWithContext(ctx context.Context) TwingateResourceProtocolsUdpPtrOutput

type TwingateResourceState

type TwingateResourceState struct {
	// Restrict access to certain group
	AccessGroups TwingateResourceAccessGroupArrayInput
	// Restrict access to certain service account
	AccessServices TwingateResourceAccessServiceArrayInput
	// The Resource's IP/CIDR or FQDN/DNS zone
	Address pulumi.StringPtrInput
	// Set a DNS alias address for the Resource. Must be a DNS-valid name string.
	Alias pulumi.StringPtrInput
	// Set the resource as active or inactive. Default is `true`.
	IsActive pulumi.BoolPtrInput
	// Determines whether assignments in the access block will override any existing assignments. Default is `true`. If set to
	// `false`, assignments made outside of Terraform will be ignored.
	IsAuthoritative pulumi.BoolPtrInput
	// Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is `false`.
	IsBrowserShortcutEnabled pulumi.BoolPtrInput
	// Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`.
	IsVisible pulumi.BoolPtrInput
	// The name of the Resource
	Name pulumi.StringPtrInput
	// Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed.
	Protocols TwingateResourceProtocolsPtrInput
	// Remote Network ID where the Resource lives
	RemoteNetworkId pulumi.StringPtrInput
	// The ID of a `getTwingateSecurityPolicy` to use as the access policy for the group IDs in the access block.
	SecurityPolicyId pulumi.StringPtrInput
}

func (TwingateResourceState) ElementType

func (TwingateResourceState) ElementType() reflect.Type

type TwingateServiceAccount

type TwingateServiceAccount struct {
	pulumi.CustomResourceState

	// The name of the Service Account in Twingate
	Name pulumi.StringOutput `pulumi:"name"`
}

Service Accounts offer a way to provide programmatic, centrally-controlled, and consistent access controls.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.NewTwingateServiceAccount(ctx, "githubActionsProd", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetTwingateServiceAccount

func GetTwingateServiceAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateServiceAccountState, opts ...pulumi.ResourceOption) (*TwingateServiceAccount, error)

GetTwingateServiceAccount gets an existing TwingateServiceAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateServiceAccount

func NewTwingateServiceAccount(ctx *pulumi.Context,
	name string, args *TwingateServiceAccountArgs, opts ...pulumi.ResourceOption) (*TwingateServiceAccount, error)

NewTwingateServiceAccount registers a new resource with the given unique name, arguments, and options.

func (*TwingateServiceAccount) ElementType

func (*TwingateServiceAccount) ElementType() reflect.Type

func (*TwingateServiceAccount) ToTwingateServiceAccountOutput

func (i *TwingateServiceAccount) ToTwingateServiceAccountOutput() TwingateServiceAccountOutput

func (*TwingateServiceAccount) ToTwingateServiceAccountOutputWithContext

func (i *TwingateServiceAccount) ToTwingateServiceAccountOutputWithContext(ctx context.Context) TwingateServiceAccountOutput

type TwingateServiceAccountArgs

type TwingateServiceAccountArgs struct {
	// The name of the Service Account in Twingate
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a TwingateServiceAccount resource.

func (TwingateServiceAccountArgs) ElementType

func (TwingateServiceAccountArgs) ElementType() reflect.Type

type TwingateServiceAccountArray

type TwingateServiceAccountArray []TwingateServiceAccountInput

func (TwingateServiceAccountArray) ElementType

func (TwingateServiceAccountArray) ToTwingateServiceAccountArrayOutput

func (i TwingateServiceAccountArray) ToTwingateServiceAccountArrayOutput() TwingateServiceAccountArrayOutput

func (TwingateServiceAccountArray) ToTwingateServiceAccountArrayOutputWithContext

func (i TwingateServiceAccountArray) ToTwingateServiceAccountArrayOutputWithContext(ctx context.Context) TwingateServiceAccountArrayOutput

type TwingateServiceAccountArrayInput

type TwingateServiceAccountArrayInput interface {
	pulumi.Input

	ToTwingateServiceAccountArrayOutput() TwingateServiceAccountArrayOutput
	ToTwingateServiceAccountArrayOutputWithContext(context.Context) TwingateServiceAccountArrayOutput
}

TwingateServiceAccountArrayInput is an input type that accepts TwingateServiceAccountArray and TwingateServiceAccountArrayOutput values. You can construct a concrete instance of `TwingateServiceAccountArrayInput` via:

TwingateServiceAccountArray{ TwingateServiceAccountArgs{...} }

type TwingateServiceAccountArrayOutput

type TwingateServiceAccountArrayOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountArrayOutput) ElementType

func (TwingateServiceAccountArrayOutput) Index

func (TwingateServiceAccountArrayOutput) ToTwingateServiceAccountArrayOutput

func (o TwingateServiceAccountArrayOutput) ToTwingateServiceAccountArrayOutput() TwingateServiceAccountArrayOutput

func (TwingateServiceAccountArrayOutput) ToTwingateServiceAccountArrayOutputWithContext

func (o TwingateServiceAccountArrayOutput) ToTwingateServiceAccountArrayOutputWithContext(ctx context.Context) TwingateServiceAccountArrayOutput

type TwingateServiceAccountInput

type TwingateServiceAccountInput interface {
	pulumi.Input

	ToTwingateServiceAccountOutput() TwingateServiceAccountOutput
	ToTwingateServiceAccountOutputWithContext(ctx context.Context) TwingateServiceAccountOutput
}

type TwingateServiceAccountKey

type TwingateServiceAccountKey struct {
	pulumi.CustomResourceState

	// Specifies how many days until a Service Account Key expires. This should be an integer between 0 and 365 representing the number of days until the Service Account Key will expire. Defaults to 0, meaning the key will never expire.
	ExpirationTime pulumi.IntOutput `pulumi:"expirationTime"`
	// If the value of this attribute changes to false, Terraform will destroy and recreate the resource.
	IsActive pulumi.BoolOutput `pulumi:"isActive"`
	// The name of the Service Key
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the Service Account
	ServiceAccountId pulumi.StringOutput `pulumi:"serviceAccountId"`
	// Autogenerated Service Key token. Used to configure a Twingate Client running in headless mode.
	Token pulumi.StringOutput `pulumi:"token"`
}

A Service Key authorizes access to all Resources assigned to a Service Account.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/Twingate/pulumi-twingate/sdk/v3/go/twingate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-time/sdk/go/time"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		githubActionsProd, err := twingate.NewTwingateServiceAccount(ctx, "githubActionsProd", nil)
		if err != nil {
			return err
		}
		_, err = twingate.NewTwingateServiceAccountKey(ctx, "githubKey", &twingate.TwingateServiceAccountKeyArgs{
			ServiceAccountId: githubActionsProd.ID(),
		})
		if err != nil {
			return err
		}
		keyRotationRotating, err := time.NewRotating(ctx, "keyRotationRotating", &time.RotatingArgs{
			RotationDays: pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		_, err = time.NewStatic(ctx, "keyRotationStatic", &time.StaticArgs{
			Rfc3339: keyRotationRotating.Rfc3339,
		})
		if err != nil {
			return err
		}
		_, err = twingate.NewTwingateServiceAccountKey(ctx, "githubKeyWithRotation", &twingate.TwingateServiceAccountKeyArgs{
			ServiceAccountId: githubActionsProd.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetTwingateServiceAccountKey

func GetTwingateServiceAccountKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateServiceAccountKeyState, opts ...pulumi.ResourceOption) (*TwingateServiceAccountKey, error)

GetTwingateServiceAccountKey gets an existing TwingateServiceAccountKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateServiceAccountKey

func NewTwingateServiceAccountKey(ctx *pulumi.Context,
	name string, args *TwingateServiceAccountKeyArgs, opts ...pulumi.ResourceOption) (*TwingateServiceAccountKey, error)

NewTwingateServiceAccountKey registers a new resource with the given unique name, arguments, and options.

func (*TwingateServiceAccountKey) ElementType

func (*TwingateServiceAccountKey) ElementType() reflect.Type

func (*TwingateServiceAccountKey) ToTwingateServiceAccountKeyOutput

func (i *TwingateServiceAccountKey) ToTwingateServiceAccountKeyOutput() TwingateServiceAccountKeyOutput

func (*TwingateServiceAccountKey) ToTwingateServiceAccountKeyOutputWithContext

func (i *TwingateServiceAccountKey) ToTwingateServiceAccountKeyOutputWithContext(ctx context.Context) TwingateServiceAccountKeyOutput

type TwingateServiceAccountKeyArgs

type TwingateServiceAccountKeyArgs struct {
	// Specifies how many days until a Service Account Key expires. This should be an integer between 0 and 365 representing the number of days until the Service Account Key will expire. Defaults to 0, meaning the key will never expire.
	ExpirationTime pulumi.IntPtrInput
	// The name of the Service Key
	Name pulumi.StringPtrInput
	// The id of the Service Account
	ServiceAccountId pulumi.StringInput
}

The set of arguments for constructing a TwingateServiceAccountKey resource.

func (TwingateServiceAccountKeyArgs) ElementType

type TwingateServiceAccountKeyArray

type TwingateServiceAccountKeyArray []TwingateServiceAccountKeyInput

func (TwingateServiceAccountKeyArray) ElementType

func (TwingateServiceAccountKeyArray) ToTwingateServiceAccountKeyArrayOutput

func (i TwingateServiceAccountKeyArray) ToTwingateServiceAccountKeyArrayOutput() TwingateServiceAccountKeyArrayOutput

func (TwingateServiceAccountKeyArray) ToTwingateServiceAccountKeyArrayOutputWithContext

func (i TwingateServiceAccountKeyArray) ToTwingateServiceAccountKeyArrayOutputWithContext(ctx context.Context) TwingateServiceAccountKeyArrayOutput

type TwingateServiceAccountKeyArrayInput

type TwingateServiceAccountKeyArrayInput interface {
	pulumi.Input

	ToTwingateServiceAccountKeyArrayOutput() TwingateServiceAccountKeyArrayOutput
	ToTwingateServiceAccountKeyArrayOutputWithContext(context.Context) TwingateServiceAccountKeyArrayOutput
}

TwingateServiceAccountKeyArrayInput is an input type that accepts TwingateServiceAccountKeyArray and TwingateServiceAccountKeyArrayOutput values. You can construct a concrete instance of `TwingateServiceAccountKeyArrayInput` via:

TwingateServiceAccountKeyArray{ TwingateServiceAccountKeyArgs{...} }

type TwingateServiceAccountKeyArrayOutput

type TwingateServiceAccountKeyArrayOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountKeyArrayOutput) ElementType

func (TwingateServiceAccountKeyArrayOutput) Index

func (TwingateServiceAccountKeyArrayOutput) ToTwingateServiceAccountKeyArrayOutput

func (o TwingateServiceAccountKeyArrayOutput) ToTwingateServiceAccountKeyArrayOutput() TwingateServiceAccountKeyArrayOutput

func (TwingateServiceAccountKeyArrayOutput) ToTwingateServiceAccountKeyArrayOutputWithContext

func (o TwingateServiceAccountKeyArrayOutput) ToTwingateServiceAccountKeyArrayOutputWithContext(ctx context.Context) TwingateServiceAccountKeyArrayOutput

type TwingateServiceAccountKeyInput

type TwingateServiceAccountKeyInput interface {
	pulumi.Input

	ToTwingateServiceAccountKeyOutput() TwingateServiceAccountKeyOutput
	ToTwingateServiceAccountKeyOutputWithContext(ctx context.Context) TwingateServiceAccountKeyOutput
}

type TwingateServiceAccountKeyMap

type TwingateServiceAccountKeyMap map[string]TwingateServiceAccountKeyInput

func (TwingateServiceAccountKeyMap) ElementType

func (TwingateServiceAccountKeyMap) ToTwingateServiceAccountKeyMapOutput

func (i TwingateServiceAccountKeyMap) ToTwingateServiceAccountKeyMapOutput() TwingateServiceAccountKeyMapOutput

func (TwingateServiceAccountKeyMap) ToTwingateServiceAccountKeyMapOutputWithContext

func (i TwingateServiceAccountKeyMap) ToTwingateServiceAccountKeyMapOutputWithContext(ctx context.Context) TwingateServiceAccountKeyMapOutput

type TwingateServiceAccountKeyMapInput

type TwingateServiceAccountKeyMapInput interface {
	pulumi.Input

	ToTwingateServiceAccountKeyMapOutput() TwingateServiceAccountKeyMapOutput
	ToTwingateServiceAccountKeyMapOutputWithContext(context.Context) TwingateServiceAccountKeyMapOutput
}

TwingateServiceAccountKeyMapInput is an input type that accepts TwingateServiceAccountKeyMap and TwingateServiceAccountKeyMapOutput values. You can construct a concrete instance of `TwingateServiceAccountKeyMapInput` via:

TwingateServiceAccountKeyMap{ "key": TwingateServiceAccountKeyArgs{...} }

type TwingateServiceAccountKeyMapOutput

type TwingateServiceAccountKeyMapOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountKeyMapOutput) ElementType

func (TwingateServiceAccountKeyMapOutput) MapIndex

func (TwingateServiceAccountKeyMapOutput) ToTwingateServiceAccountKeyMapOutput

func (o TwingateServiceAccountKeyMapOutput) ToTwingateServiceAccountKeyMapOutput() TwingateServiceAccountKeyMapOutput

func (TwingateServiceAccountKeyMapOutput) ToTwingateServiceAccountKeyMapOutputWithContext

func (o TwingateServiceAccountKeyMapOutput) ToTwingateServiceAccountKeyMapOutputWithContext(ctx context.Context) TwingateServiceAccountKeyMapOutput

type TwingateServiceAccountKeyOutput

type TwingateServiceAccountKeyOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountKeyOutput) ElementType

func (TwingateServiceAccountKeyOutput) ExpirationTime

Specifies how many days until a Service Account Key expires. This should be an integer between 0 and 365 representing the number of days until the Service Account Key will expire. Defaults to 0, meaning the key will never expire.

func (TwingateServiceAccountKeyOutput) IsActive

If the value of this attribute changes to false, Terraform will destroy and recreate the resource.

func (TwingateServiceAccountKeyOutput) Name

The name of the Service Key

func (TwingateServiceAccountKeyOutput) ServiceAccountId

The id of the Service Account

func (TwingateServiceAccountKeyOutput) ToTwingateServiceAccountKeyOutput

func (o TwingateServiceAccountKeyOutput) ToTwingateServiceAccountKeyOutput() TwingateServiceAccountKeyOutput

func (TwingateServiceAccountKeyOutput) ToTwingateServiceAccountKeyOutputWithContext

func (o TwingateServiceAccountKeyOutput) ToTwingateServiceAccountKeyOutputWithContext(ctx context.Context) TwingateServiceAccountKeyOutput

func (TwingateServiceAccountKeyOutput) Token

Autogenerated Service Key token. Used to configure a Twingate Client running in headless mode.

type TwingateServiceAccountKeyState

type TwingateServiceAccountKeyState struct {
	// Specifies how many days until a Service Account Key expires. This should be an integer between 0 and 365 representing the number of days until the Service Account Key will expire. Defaults to 0, meaning the key will never expire.
	ExpirationTime pulumi.IntPtrInput
	// If the value of this attribute changes to false, Terraform will destroy and recreate the resource.
	IsActive pulumi.BoolPtrInput
	// The name of the Service Key
	Name pulumi.StringPtrInput
	// The id of the Service Account
	ServiceAccountId pulumi.StringPtrInput
	// Autogenerated Service Key token. Used to configure a Twingate Client running in headless mode.
	Token pulumi.StringPtrInput
}

func (TwingateServiceAccountKeyState) ElementType

type TwingateServiceAccountMap

type TwingateServiceAccountMap map[string]TwingateServiceAccountInput

func (TwingateServiceAccountMap) ElementType

func (TwingateServiceAccountMap) ElementType() reflect.Type

func (TwingateServiceAccountMap) ToTwingateServiceAccountMapOutput

func (i TwingateServiceAccountMap) ToTwingateServiceAccountMapOutput() TwingateServiceAccountMapOutput

func (TwingateServiceAccountMap) ToTwingateServiceAccountMapOutputWithContext

func (i TwingateServiceAccountMap) ToTwingateServiceAccountMapOutputWithContext(ctx context.Context) TwingateServiceAccountMapOutput

type TwingateServiceAccountMapInput

type TwingateServiceAccountMapInput interface {
	pulumi.Input

	ToTwingateServiceAccountMapOutput() TwingateServiceAccountMapOutput
	ToTwingateServiceAccountMapOutputWithContext(context.Context) TwingateServiceAccountMapOutput
}

TwingateServiceAccountMapInput is an input type that accepts TwingateServiceAccountMap and TwingateServiceAccountMapOutput values. You can construct a concrete instance of `TwingateServiceAccountMapInput` via:

TwingateServiceAccountMap{ "key": TwingateServiceAccountArgs{...} }

type TwingateServiceAccountMapOutput

type TwingateServiceAccountMapOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountMapOutput) ElementType

func (TwingateServiceAccountMapOutput) MapIndex

func (TwingateServiceAccountMapOutput) ToTwingateServiceAccountMapOutput

func (o TwingateServiceAccountMapOutput) ToTwingateServiceAccountMapOutput() TwingateServiceAccountMapOutput

func (TwingateServiceAccountMapOutput) ToTwingateServiceAccountMapOutputWithContext

func (o TwingateServiceAccountMapOutput) ToTwingateServiceAccountMapOutputWithContext(ctx context.Context) TwingateServiceAccountMapOutput

type TwingateServiceAccountOutput

type TwingateServiceAccountOutput struct{ *pulumi.OutputState }

func (TwingateServiceAccountOutput) ElementType

func (TwingateServiceAccountOutput) Name

The name of the Service Account in Twingate

func (TwingateServiceAccountOutput) ToTwingateServiceAccountOutput

func (o TwingateServiceAccountOutput) ToTwingateServiceAccountOutput() TwingateServiceAccountOutput

func (TwingateServiceAccountOutput) ToTwingateServiceAccountOutputWithContext

func (o TwingateServiceAccountOutput) ToTwingateServiceAccountOutputWithContext(ctx context.Context) TwingateServiceAccountOutput

type TwingateServiceAccountState

type TwingateServiceAccountState struct {
	// The name of the Service Account in Twingate
	Name pulumi.StringPtrInput
}

func (TwingateServiceAccountState) ElementType

type TwingateUser

type TwingateUser struct {
	pulumi.CustomResourceState

	// The User's email address
	Email pulumi.StringOutput `pulumi:"email"`
	// The User's first name
	FirstName pulumi.StringOutput `pulumi:"firstName"`
	// Determines whether the User is active or not. Inactive users will be not able to sign in.
	IsActive pulumi.BoolOutput `pulumi:"isActive"`
	// The User's last name
	LastName pulumi.StringOutput `pulumi:"lastName"`
	// Determines the User's role. Either ADMIN, DEVOPS, SUPPORT or MEMBER.
	Role pulumi.StringOutput `pulumi:"role"`
	// Determines whether to send an email invitation to the User. True by default.
	SendInvite pulumi.BoolOutput `pulumi:"sendInvite"`
	// Indicates the User's type. Either MANUAL or SYNCED.
	Type pulumi.StringOutput `pulumi:"type"`
}

Users provides different levels of write capabilities across the Twingate Admin Console. For more information, see Twingate's [documentation](https://www.twingate.com/docs/users).

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.NewTwingateUser(ctx, "user", &twingate.TwingateUserArgs{
			Email:      pulumi.String("sample@company.com"),
			FirstName:  pulumi.String("Twin"),
			LastName:   pulumi.String("Gate"),
			Role:       pulumi.String("DEVOPS"),
			SendInvite: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetTwingateUser

func GetTwingateUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TwingateUserState, opts ...pulumi.ResourceOption) (*TwingateUser, error)

GetTwingateUser gets an existing TwingateUser resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTwingateUser

func NewTwingateUser(ctx *pulumi.Context,
	name string, args *TwingateUserArgs, opts ...pulumi.ResourceOption) (*TwingateUser, error)

NewTwingateUser registers a new resource with the given unique name, arguments, and options.

func (*TwingateUser) ElementType

func (*TwingateUser) ElementType() reflect.Type

func (*TwingateUser) ToTwingateUserOutput

func (i *TwingateUser) ToTwingateUserOutput() TwingateUserOutput

func (*TwingateUser) ToTwingateUserOutputWithContext

func (i *TwingateUser) ToTwingateUserOutputWithContext(ctx context.Context) TwingateUserOutput

type TwingateUserArgs

type TwingateUserArgs struct {
	// The User's email address
	Email pulumi.StringInput
	// The User's first name
	FirstName pulumi.StringPtrInput
	// Determines whether the User is active or not. Inactive users will be not able to sign in.
	IsActive pulumi.BoolPtrInput
	// The User's last name
	LastName pulumi.StringPtrInput
	// Determines the User's role. Either ADMIN, DEVOPS, SUPPORT or MEMBER.
	Role pulumi.StringPtrInput
	// Determines whether to send an email invitation to the User. True by default.
	SendInvite pulumi.BoolPtrInput
}

The set of arguments for constructing a TwingateUser resource.

func (TwingateUserArgs) ElementType

func (TwingateUserArgs) ElementType() reflect.Type

type TwingateUserArray

type TwingateUserArray []TwingateUserInput

func (TwingateUserArray) ElementType

func (TwingateUserArray) ElementType() reflect.Type

func (TwingateUserArray) ToTwingateUserArrayOutput

func (i TwingateUserArray) ToTwingateUserArrayOutput() TwingateUserArrayOutput

func (TwingateUserArray) ToTwingateUserArrayOutputWithContext

func (i TwingateUserArray) ToTwingateUserArrayOutputWithContext(ctx context.Context) TwingateUserArrayOutput

type TwingateUserArrayInput

type TwingateUserArrayInput interface {
	pulumi.Input

	ToTwingateUserArrayOutput() TwingateUserArrayOutput
	ToTwingateUserArrayOutputWithContext(context.Context) TwingateUserArrayOutput
}

TwingateUserArrayInput is an input type that accepts TwingateUserArray and TwingateUserArrayOutput values. You can construct a concrete instance of `TwingateUserArrayInput` via:

TwingateUserArray{ TwingateUserArgs{...} }

type TwingateUserArrayOutput

type TwingateUserArrayOutput struct{ *pulumi.OutputState }

func (TwingateUserArrayOutput) ElementType

func (TwingateUserArrayOutput) ElementType() reflect.Type

func (TwingateUserArrayOutput) Index

func (TwingateUserArrayOutput) ToTwingateUserArrayOutput

func (o TwingateUserArrayOutput) ToTwingateUserArrayOutput() TwingateUserArrayOutput

func (TwingateUserArrayOutput) ToTwingateUserArrayOutputWithContext

func (o TwingateUserArrayOutput) ToTwingateUserArrayOutputWithContext(ctx context.Context) TwingateUserArrayOutput

type TwingateUserInput

type TwingateUserInput interface {
	pulumi.Input

	ToTwingateUserOutput() TwingateUserOutput
	ToTwingateUserOutputWithContext(ctx context.Context) TwingateUserOutput
}

type TwingateUserMap

type TwingateUserMap map[string]TwingateUserInput

func (TwingateUserMap) ElementType

func (TwingateUserMap) ElementType() reflect.Type

func (TwingateUserMap) ToTwingateUserMapOutput

func (i TwingateUserMap) ToTwingateUserMapOutput() TwingateUserMapOutput

func (TwingateUserMap) ToTwingateUserMapOutputWithContext

func (i TwingateUserMap) ToTwingateUserMapOutputWithContext(ctx context.Context) TwingateUserMapOutput

type TwingateUserMapInput

type TwingateUserMapInput interface {
	pulumi.Input

	ToTwingateUserMapOutput() TwingateUserMapOutput
	ToTwingateUserMapOutputWithContext(context.Context) TwingateUserMapOutput
}

TwingateUserMapInput is an input type that accepts TwingateUserMap and TwingateUserMapOutput values. You can construct a concrete instance of `TwingateUserMapInput` via:

TwingateUserMap{ "key": TwingateUserArgs{...} }

type TwingateUserMapOutput

type TwingateUserMapOutput struct{ *pulumi.OutputState }

func (TwingateUserMapOutput) ElementType

func (TwingateUserMapOutput) ElementType() reflect.Type

func (TwingateUserMapOutput) MapIndex

func (TwingateUserMapOutput) ToTwingateUserMapOutput

func (o TwingateUserMapOutput) ToTwingateUserMapOutput() TwingateUserMapOutput

func (TwingateUserMapOutput) ToTwingateUserMapOutputWithContext

func (o TwingateUserMapOutput) ToTwingateUserMapOutputWithContext(ctx context.Context) TwingateUserMapOutput

type TwingateUserOutput

type TwingateUserOutput struct{ *pulumi.OutputState }

func (TwingateUserOutput) ElementType

func (TwingateUserOutput) ElementType() reflect.Type

func (TwingateUserOutput) Email

The User's email address

func (TwingateUserOutput) FirstName

func (o TwingateUserOutput) FirstName() pulumi.StringOutput

The User's first name

func (TwingateUserOutput) IsActive

func (o TwingateUserOutput) IsActive() pulumi.BoolOutput

Determines whether the User is active or not. Inactive users will be not able to sign in.

func (TwingateUserOutput) LastName

func (o TwingateUserOutput) LastName() pulumi.StringOutput

The User's last name

func (TwingateUserOutput) Role

Determines the User's role. Either ADMIN, DEVOPS, SUPPORT or MEMBER.

func (TwingateUserOutput) SendInvite

func (o TwingateUserOutput) SendInvite() pulumi.BoolOutput

Determines whether to send an email invitation to the User. True by default.

func (TwingateUserOutput) ToTwingateUserOutput

func (o TwingateUserOutput) ToTwingateUserOutput() TwingateUserOutput

func (TwingateUserOutput) ToTwingateUserOutputWithContext

func (o TwingateUserOutput) ToTwingateUserOutputWithContext(ctx context.Context) TwingateUserOutput

func (TwingateUserOutput) Type

Indicates the User's type. Either MANUAL or SYNCED.

type TwingateUserState

type TwingateUserState struct {
	// The User's email address
	Email pulumi.StringPtrInput
	// The User's first name
	FirstName pulumi.StringPtrInput
	// Determines whether the User is active or not. Inactive users will be not able to sign in.
	IsActive pulumi.BoolPtrInput
	// The User's last name
	LastName pulumi.StringPtrInput
	// Determines the User's role. Either ADMIN, DEVOPS, SUPPORT or MEMBER.
	Role pulumi.StringPtrInput
	// Determines whether to send an email invitation to the User. True by default.
	SendInvite pulumi.BoolPtrInput
	// Indicates the User's type. Either MANUAL or SYNCED.
	Type pulumi.StringPtrInput
}

func (TwingateUserState) ElementType

func (TwingateUserState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL