konnect

package
v0.0.0-...-8ae626c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Konnect resources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationSettings

type AuthenticationSettings struct {
	pulumi.CustomResourceState

	// **(Optional, Boolean)** Whether basic authentication is enabled.
	BasicAuthEnabled pulumi.BoolPtrOutput `pulumi:"basicAuthEnabled"`
	// **(Optional, Boolean)** Whether IDP mapping is enabled.
	IdpMappingEnabled pulumi.BoolPtrOutput `pulumi:"idpMappingEnabled"`
	// **(Optional, Boolean)** Whether Konnect mapping is enabled.
	KonnectMappingEnabled pulumi.BoolPtrOutput `pulumi:"konnectMappingEnabled"`
	// **(Optional, Boolean)** Whether OIDC authentication is enabled.
	OidcAuthEnabled pulumi.BoolPtrOutput `pulumi:"oidcAuthEnabled"`
}

Represents authentication settings ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewAuthenticationSettings(ctx, "example", &konnect.AuthenticationSettingsArgs{
			BasicAuthEnabled:      pulumi.Bool(true),
			IdpMappingEnabled:     pulumi.Bool(false),
			KonnectMappingEnabled: pulumi.Bool(true),
			OidcAuthEnabled:       pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Authentication settings can be imported using a proper value of `id` as described above

func GetAuthenticationSettings

func GetAuthenticationSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthenticationSettingsState, opts ...pulumi.ResourceOption) (*AuthenticationSettings, error)

GetAuthenticationSettings gets an existing AuthenticationSettings 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 NewAuthenticationSettings

func NewAuthenticationSettings(ctx *pulumi.Context,
	name string, args *AuthenticationSettingsArgs, opts ...pulumi.ResourceOption) (*AuthenticationSettings, error)

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

func (*AuthenticationSettings) ElementType

func (*AuthenticationSettings) ElementType() reflect.Type

func (*AuthenticationSettings) ToAuthenticationSettingsOutput

func (i *AuthenticationSettings) ToAuthenticationSettingsOutput() AuthenticationSettingsOutput

func (*AuthenticationSettings) ToAuthenticationSettingsOutputWithContext

func (i *AuthenticationSettings) ToAuthenticationSettingsOutputWithContext(ctx context.Context) AuthenticationSettingsOutput

func (*AuthenticationSettings) ToOutput

type AuthenticationSettingsArgs

type AuthenticationSettingsArgs struct {
	// **(Optional, Boolean)** Whether basic authentication is enabled.
	BasicAuthEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether IDP mapping is enabled.
	IdpMappingEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether Konnect mapping is enabled.
	KonnectMappingEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether OIDC authentication is enabled.
	OidcAuthEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a AuthenticationSettings resource.

func (AuthenticationSettingsArgs) ElementType

func (AuthenticationSettingsArgs) ElementType() reflect.Type

type AuthenticationSettingsArray

type AuthenticationSettingsArray []AuthenticationSettingsInput

func (AuthenticationSettingsArray) ElementType

func (AuthenticationSettingsArray) ToAuthenticationSettingsArrayOutput

func (i AuthenticationSettingsArray) ToAuthenticationSettingsArrayOutput() AuthenticationSettingsArrayOutput

func (AuthenticationSettingsArray) ToAuthenticationSettingsArrayOutputWithContext

func (i AuthenticationSettingsArray) ToAuthenticationSettingsArrayOutputWithContext(ctx context.Context) AuthenticationSettingsArrayOutput

func (AuthenticationSettingsArray) ToOutput

type AuthenticationSettingsArrayInput

type AuthenticationSettingsArrayInput interface {
	pulumi.Input

	ToAuthenticationSettingsArrayOutput() AuthenticationSettingsArrayOutput
	ToAuthenticationSettingsArrayOutputWithContext(context.Context) AuthenticationSettingsArrayOutput
}

AuthenticationSettingsArrayInput is an input type that accepts AuthenticationSettingsArray and AuthenticationSettingsArrayOutput values. You can construct a concrete instance of `AuthenticationSettingsArrayInput` via:

AuthenticationSettingsArray{ AuthenticationSettingsArgs{...} }

type AuthenticationSettingsArrayOutput

type AuthenticationSettingsArrayOutput struct{ *pulumi.OutputState }

func (AuthenticationSettingsArrayOutput) ElementType

func (AuthenticationSettingsArrayOutput) Index

func (AuthenticationSettingsArrayOutput) ToAuthenticationSettingsArrayOutput

func (o AuthenticationSettingsArrayOutput) ToAuthenticationSettingsArrayOutput() AuthenticationSettingsArrayOutput

func (AuthenticationSettingsArrayOutput) ToAuthenticationSettingsArrayOutputWithContext

func (o AuthenticationSettingsArrayOutput) ToAuthenticationSettingsArrayOutputWithContext(ctx context.Context) AuthenticationSettingsArrayOutput

func (AuthenticationSettingsArrayOutput) ToOutput

type AuthenticationSettingsInput

type AuthenticationSettingsInput interface {
	pulumi.Input

	ToAuthenticationSettingsOutput() AuthenticationSettingsOutput
	ToAuthenticationSettingsOutputWithContext(ctx context.Context) AuthenticationSettingsOutput
}

type AuthenticationSettingsMap

type AuthenticationSettingsMap map[string]AuthenticationSettingsInput

func (AuthenticationSettingsMap) ElementType

func (AuthenticationSettingsMap) ElementType() reflect.Type

func (AuthenticationSettingsMap) ToAuthenticationSettingsMapOutput

func (i AuthenticationSettingsMap) ToAuthenticationSettingsMapOutput() AuthenticationSettingsMapOutput

func (AuthenticationSettingsMap) ToAuthenticationSettingsMapOutputWithContext

func (i AuthenticationSettingsMap) ToAuthenticationSettingsMapOutputWithContext(ctx context.Context) AuthenticationSettingsMapOutput

func (AuthenticationSettingsMap) ToOutput

type AuthenticationSettingsMapInput

type AuthenticationSettingsMapInput interface {
	pulumi.Input

	ToAuthenticationSettingsMapOutput() AuthenticationSettingsMapOutput
	ToAuthenticationSettingsMapOutputWithContext(context.Context) AuthenticationSettingsMapOutput
}

AuthenticationSettingsMapInput is an input type that accepts AuthenticationSettingsMap and AuthenticationSettingsMapOutput values. You can construct a concrete instance of `AuthenticationSettingsMapInput` via:

AuthenticationSettingsMap{ "key": AuthenticationSettingsArgs{...} }

type AuthenticationSettingsMapOutput

type AuthenticationSettingsMapOutput struct{ *pulumi.OutputState }

func (AuthenticationSettingsMapOutput) ElementType

func (AuthenticationSettingsMapOutput) MapIndex

func (AuthenticationSettingsMapOutput) ToAuthenticationSettingsMapOutput

func (o AuthenticationSettingsMapOutput) ToAuthenticationSettingsMapOutput() AuthenticationSettingsMapOutput

func (AuthenticationSettingsMapOutput) ToAuthenticationSettingsMapOutputWithContext

func (o AuthenticationSettingsMapOutput) ToAuthenticationSettingsMapOutputWithContext(ctx context.Context) AuthenticationSettingsMapOutput

func (AuthenticationSettingsMapOutput) ToOutput

type AuthenticationSettingsOutput

type AuthenticationSettingsOutput struct{ *pulumi.OutputState }

func (AuthenticationSettingsOutput) BasicAuthEnabled

func (o AuthenticationSettingsOutput) BasicAuthEnabled() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether basic authentication is enabled.

func (AuthenticationSettingsOutput) ElementType

func (AuthenticationSettingsOutput) IdpMappingEnabled

func (o AuthenticationSettingsOutput) IdpMappingEnabled() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether IDP mapping is enabled.

func (AuthenticationSettingsOutput) KonnectMappingEnabled

func (o AuthenticationSettingsOutput) KonnectMappingEnabled() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether Konnect mapping is enabled.

func (AuthenticationSettingsOutput) OidcAuthEnabled

**(Optional, Boolean)** Whether OIDC authentication is enabled.

func (AuthenticationSettingsOutput) ToAuthenticationSettingsOutput

func (o AuthenticationSettingsOutput) ToAuthenticationSettingsOutput() AuthenticationSettingsOutput

func (AuthenticationSettingsOutput) ToAuthenticationSettingsOutputWithContext

func (o AuthenticationSettingsOutput) ToAuthenticationSettingsOutputWithContext(ctx context.Context) AuthenticationSettingsOutput

func (AuthenticationSettingsOutput) ToOutput

type AuthenticationSettingsState

type AuthenticationSettingsState struct {
	// **(Optional, Boolean)** Whether basic authentication is enabled.
	BasicAuthEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether IDP mapping is enabled.
	IdpMappingEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether Konnect mapping is enabled.
	KonnectMappingEnabled pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether OIDC authentication is enabled.
	OidcAuthEnabled pulumi.BoolPtrInput
}

func (AuthenticationSettingsState) ElementType

type Consumer

type Consumer struct {
	pulumi.CustomResourceState

	// **(String)** Id of the consumer alone
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Optional, String)** Field for storing an existing unique ID for the Consumer.
	CustomId pulumi.StringPtrOutput `pulumi:"customId"`
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringOutput `pulumi:"runtimeGroupId"`
	// **(Optional, String)** The unique username of the Consumer.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

Represents a consumer within a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumer(ctx, "example", &konnect.ConsumerArgs{
			RuntimeGroupId: *pulumi.String(runtimeGroup.Id),
			Username:       pulumi.String("testuser"),
			CustomId:       pulumi.String("testcustom"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Consumers can be imported using a proper value of `id` as described above

func GetConsumer

func GetConsumer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerState, opts ...pulumi.ResourceOption) (*Consumer, error)

GetConsumer gets an existing Consumer 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 NewConsumer

func NewConsumer(ctx *pulumi.Context,
	name string, args *ConsumerArgs, opts ...pulumi.ResourceOption) (*Consumer, error)

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

func (*Consumer) ElementType

func (*Consumer) ElementType() reflect.Type

func (*Consumer) ToConsumerOutput

func (i *Consumer) ToConsumerOutput() ConsumerOutput

func (*Consumer) ToConsumerOutputWithContext

func (i *Consumer) ToConsumerOutputWithContext(ctx context.Context) ConsumerOutput

func (*Consumer) ToOutput

func (i *Consumer) ToOutput(ctx context.Context) pulumix.Output[*Consumer]

type ConsumerArgs

type ConsumerArgs struct {
	// **(Optional, String)** Field for storing an existing unique ID for the Consumer.
	CustomId pulumi.StringPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringInput
	// **(Optional, String)** The unique username of the Consumer.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a Consumer resource.

func (ConsumerArgs) ElementType

func (ConsumerArgs) ElementType() reflect.Type

type ConsumerArray

type ConsumerArray []ConsumerInput

func (ConsumerArray) ElementType

func (ConsumerArray) ElementType() reflect.Type

func (ConsumerArray) ToConsumerArrayOutput

func (i ConsumerArray) ToConsumerArrayOutput() ConsumerArrayOutput

func (ConsumerArray) ToConsumerArrayOutputWithContext

func (i ConsumerArray) ToConsumerArrayOutputWithContext(ctx context.Context) ConsumerArrayOutput

func (ConsumerArray) ToOutput

func (i ConsumerArray) ToOutput(ctx context.Context) pulumix.Output[[]*Consumer]

type ConsumerArrayInput

type ConsumerArrayInput interface {
	pulumi.Input

	ToConsumerArrayOutput() ConsumerArrayOutput
	ToConsumerArrayOutputWithContext(context.Context) ConsumerArrayOutput
}

ConsumerArrayInput is an input type that accepts ConsumerArray and ConsumerArrayOutput values. You can construct a concrete instance of `ConsumerArrayInput` via:

ConsumerArray{ ConsumerArgs{...} }

type ConsumerArrayOutput

type ConsumerArrayOutput struct{ *pulumi.OutputState }

func (ConsumerArrayOutput) ElementType

func (ConsumerArrayOutput) ElementType() reflect.Type

func (ConsumerArrayOutput) Index

func (ConsumerArrayOutput) ToConsumerArrayOutput

func (o ConsumerArrayOutput) ToConsumerArrayOutput() ConsumerArrayOutput

func (ConsumerArrayOutput) ToConsumerArrayOutputWithContext

func (o ConsumerArrayOutput) ToConsumerArrayOutputWithContext(ctx context.Context) ConsumerArrayOutput

func (ConsumerArrayOutput) ToOutput

type ConsumerInput

type ConsumerInput interface {
	pulumi.Input

	ToConsumerOutput() ConsumerOutput
	ToConsumerOutputWithContext(ctx context.Context) ConsumerOutput
}

type ConsumerMap

type ConsumerMap map[string]ConsumerInput

func (ConsumerMap) ElementType

func (ConsumerMap) ElementType() reflect.Type

func (ConsumerMap) ToConsumerMapOutput

func (i ConsumerMap) ToConsumerMapOutput() ConsumerMapOutput

func (ConsumerMap) ToConsumerMapOutputWithContext

func (i ConsumerMap) ToConsumerMapOutputWithContext(ctx context.Context) ConsumerMapOutput

func (ConsumerMap) ToOutput

func (i ConsumerMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Consumer]

type ConsumerMapInput

type ConsumerMapInput interface {
	pulumi.Input

	ToConsumerMapOutput() ConsumerMapOutput
	ToConsumerMapOutputWithContext(context.Context) ConsumerMapOutput
}

ConsumerMapInput is an input type that accepts ConsumerMap and ConsumerMapOutput values. You can construct a concrete instance of `ConsumerMapInput` via:

ConsumerMap{ "key": ConsumerArgs{...} }

type ConsumerMapOutput

type ConsumerMapOutput struct{ *pulumi.OutputState }

func (ConsumerMapOutput) ElementType

func (ConsumerMapOutput) ElementType() reflect.Type

func (ConsumerMapOutput) MapIndex

func (ConsumerMapOutput) ToConsumerMapOutput

func (o ConsumerMapOutput) ToConsumerMapOutput() ConsumerMapOutput

func (ConsumerMapOutput) ToConsumerMapOutputWithContext

func (o ConsumerMapOutput) ToConsumerMapOutputWithContext(ctx context.Context) ConsumerMapOutput

func (ConsumerMapOutput) ToOutput

type ConsumerOutput

type ConsumerOutput struct{ *pulumi.OutputState }

func (ConsumerOutput) ConsumerId

func (o ConsumerOutput) ConsumerId() pulumi.StringOutput

**(String)** Id of the consumer alone

func (ConsumerOutput) CustomId

func (o ConsumerOutput) CustomId() pulumi.StringPtrOutput

**(Optional, String)** Field for storing an existing unique ID for the Consumer.

func (ConsumerOutput) ElementType

func (ConsumerOutput) ElementType() reflect.Type

func (ConsumerOutput) RuntimeGroupId

func (o ConsumerOutput) RuntimeGroupId() pulumi.StringOutput

**(Required, String)** The id of the runtime group.

func (ConsumerOutput) ToConsumerOutput

func (o ConsumerOutput) ToConsumerOutput() ConsumerOutput

func (ConsumerOutput) ToConsumerOutputWithContext

func (o ConsumerOutput) ToConsumerOutputWithContext(ctx context.Context) ConsumerOutput

func (ConsumerOutput) ToOutput

func (ConsumerOutput) Username

func (o ConsumerOutput) Username() pulumi.StringPtrOutput

**(Optional, String)** The unique username of the Consumer.

type ConsumerState

type ConsumerState struct {
	// **(String)** Id of the consumer alone
	ConsumerId pulumi.StringPtrInput
	// **(Optional, String)** Field for storing an existing unique ID for the Consumer.
	CustomId pulumi.StringPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringPtrInput
	// **(Optional, String)** The unique username of the Consumer.
	Username pulumi.StringPtrInput
}

func (ConsumerState) ElementType

func (ConsumerState) ElementType() reflect.Type

type GetNodesArgs

type GetNodesArgs struct {
	// **(Required, String)** The id of the parent runtime group.
	RuntimeGroupId string `pulumi:"runtimeGroupId"`
}

A collection of arguments for invoking getNodes.

type GetNodesNode

type GetNodesNode struct {
	// **(String)** Hash of the current configuration state of node.
	ConfigHash string `pulumi:"configHash"`
	// **(String)** Id of certificate used in communication between node and runtime group.
	DataPlaneCertId string `pulumi:"dataPlaneCertId"`
	// **(String)** Hostname of node.
	Hostname string `pulumi:"hostname"`
	// **(String)** Id of node.
	Id string `pulumi:"id"`
	// **(Integer)** Last time of ping of node.
	LastPing int `pulumi:"lastPing"`
	// **(String)** Type of node.
	Type string `pulumi:"type"`
	// **(String)** Version of node.
	Version string `pulumi:"version"`
}

type GetNodesNodeArgs

type GetNodesNodeArgs struct {
	// **(String)** Hash of the current configuration state of node.
	ConfigHash pulumi.StringInput `pulumi:"configHash"`
	// **(String)** Id of certificate used in communication between node and runtime group.
	DataPlaneCertId pulumi.StringInput `pulumi:"dataPlaneCertId"`
	// **(String)** Hostname of node.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// **(String)** Id of node.
	Id pulumi.StringInput `pulumi:"id"`
	// **(Integer)** Last time of ping of node.
	LastPing pulumi.IntInput `pulumi:"lastPing"`
	// **(String)** Type of node.
	Type pulumi.StringInput `pulumi:"type"`
	// **(String)** Version of node.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetNodesNodeArgs) ElementType

func (GetNodesNodeArgs) ElementType() reflect.Type

func (GetNodesNodeArgs) ToGetNodesNodeOutput

func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext

func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

func (GetNodesNodeArgs) ToOutput

type GetNodesNodeArray

type GetNodesNodeArray []GetNodesNodeInput

func (GetNodesNodeArray) ElementType

func (GetNodesNodeArray) ElementType() reflect.Type

func (GetNodesNodeArray) ToGetNodesNodeArrayOutput

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToOutput

type GetNodesNodeArrayInput

type GetNodesNodeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
	ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput
}

GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:

GetNodesNodeArray{ GetNodesNodeArgs{...} }

type GetNodesNodeArrayOutput

type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeArrayOutput) ElementType

func (GetNodesNodeArrayOutput) ElementType() reflect.Type

func (GetNodesNodeArrayOutput) Index

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToOutput

type GetNodesNodeInput

type GetNodesNodeInput interface {
	pulumi.Input

	ToGetNodesNodeOutput() GetNodesNodeOutput
	ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput
}

GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:

GetNodesNodeArgs{...}

type GetNodesNodeOutput

type GetNodesNodeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeOutput) ConfigHash

func (o GetNodesNodeOutput) ConfigHash() pulumi.StringOutput

**(String)** Hash of the current configuration state of node.

func (GetNodesNodeOutput) DataPlaneCertId

func (o GetNodesNodeOutput) DataPlaneCertId() pulumi.StringOutput

**(String)** Id of certificate used in communication between node and runtime group.

func (GetNodesNodeOutput) ElementType

func (GetNodesNodeOutput) ElementType() reflect.Type

func (GetNodesNodeOutput) Hostname

func (o GetNodesNodeOutput) Hostname() pulumi.StringOutput

**(String)** Hostname of node.

func (GetNodesNodeOutput) Id

**(String)** Id of node.

func (GetNodesNodeOutput) LastPing

func (o GetNodesNodeOutput) LastPing() pulumi.IntOutput

**(Integer)** Last time of ping of node.

func (GetNodesNodeOutput) ToGetNodesNodeOutput

func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext

func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

func (GetNodesNodeOutput) ToOutput

func (GetNodesNodeOutput) Type

**(String)** Type of node.

func (GetNodesNodeOutput) Version

**(String)** Version of node.

type GetNodesOutputArgs

type GetNodesOutputArgs struct {
	// **(Required, String)** The id of the parent runtime group.
	RuntimeGroupId pulumi.StringInput `pulumi:"runtimeGroupId"`
}

A collection of arguments for invoking getNodes.

func (GetNodesOutputArgs) ElementType

func (GetNodesOutputArgs) ElementType() reflect.Type

type GetNodesResult

type GetNodesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// **(set{node})** Set of nodes belonging to runtime group
	Nodes          []GetNodesNode `pulumi:"nodes"`
	RuntimeGroupId string         `pulumi:"runtimeGroupId"`
}

A collection of values returned by getNodes.

func GetNodes

func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)

Represents all nodes of a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.GetNodes(ctx, &konnect.GetNodesArgs{
			RuntimeGroupId: runtimeGroup.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNodesResultOutput

type GetNodesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNodes.

func (GetNodesResultOutput) ElementType

func (GetNodesResultOutput) ElementType() reflect.Type

func (GetNodesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNodesResultOutput) Nodes

**(set{node})** Set of nodes belonging to runtime group

func (GetNodesResultOutput) RuntimeGroupId

func (o GetNodesResultOutput) RuntimeGroupId() pulumi.StringOutput

func (GetNodesResultOutput) ToGetNodesResultOutput

func (o GetNodesResultOutput) ToGetNodesResultOutput() GetNodesResultOutput

func (GetNodesResultOutput) ToGetNodesResultOutputWithContext

func (o GetNodesResultOutput) ToGetNodesResultOutputWithContext(ctx context.Context) GetNodesResultOutput

func (GetNodesResultOutput) ToOutput

type GetRoleArgs

type GetRoleArgs struct {
	// **(Required, String)** The display name of the Role. Uses equality.
	DisplayName string `pulumi:"displayName"`
	// **(Required, String)** The display name of the role entity type. Must be `Runtime Groups` or `Services`
	EntityTypeDisplayName string `pulumi:"entityTypeDisplayName"`
}

A collection of arguments for invoking getRole.

type GetRoleOutputArgs

type GetRoleOutputArgs struct {
	// **(Required, String)** The display name of the Role. Uses equality.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// **(Required, String)** The display name of the role entity type. Must be `Runtime Groups` or `Services`
	EntityTypeDisplayName pulumi.StringInput `pulumi:"entityTypeDisplayName"`
}

A collection of arguments for invoking getRole.

func (GetRoleOutputArgs) ElementType

func (GetRoleOutputArgs) ElementType() reflect.Type

type GetRoleResult

type GetRoleResult struct {
	// **(String)** The description of the role.
	Description           string `pulumi:"description"`
	DisplayName           string `pulumi:"displayName"`
	EntityTypeDisplayName string `pulumi:"entityTypeDisplayName"`
	// **(String)** The name of the role entity type.
	EntityTypeName string `pulumi:"entityTypeName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// **(String)** The name of the role.
	Name string `pulumi:"name"`
}

A collection of values returned by getRole.

func GetRole

func GetRole(ctx *pulumi.Context, args *GetRoleArgs, opts ...pulumi.InvokeOption) (*GetRoleResult, error)

Represents a role ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.GetRole(ctx, &konnect.GetRoleArgs{
			DisplayName:           "Admin",
			EntityTypeDisplayName: "Runtime Groups",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRoleResultOutput

type GetRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRole.

func (GetRoleResultOutput) Description

func (o GetRoleResultOutput) Description() pulumi.StringOutput

**(String)** The description of the role.

func (GetRoleResultOutput) DisplayName

func (o GetRoleResultOutput) DisplayName() pulumi.StringOutput

func (GetRoleResultOutput) ElementType

func (GetRoleResultOutput) ElementType() reflect.Type

func (GetRoleResultOutput) EntityTypeDisplayName

func (o GetRoleResultOutput) EntityTypeDisplayName() pulumi.StringOutput

func (GetRoleResultOutput) EntityTypeName

func (o GetRoleResultOutput) EntityTypeName() pulumi.StringOutput

**(String)** The name of the role entity type.

func (GetRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRoleResultOutput) Name

**(String)** The name of the role.

func (GetRoleResultOutput) ToGetRoleResultOutput

func (o GetRoleResultOutput) ToGetRoleResultOutput() GetRoleResultOutput

func (GetRoleResultOutput) ToGetRoleResultOutputWithContext

func (o GetRoleResultOutput) ToGetRoleResultOutputWithContext(ctx context.Context) GetRoleResultOutput

func (GetRoleResultOutput) ToOutput

type IdentityProvider

type IdentityProvider struct {
	pulumi.CustomResourceState

	// **(Optional, String)** Client ID of the identity provider.
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// **(Optional, String, Sensitive)** Client secret of the identity provider.
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
	// **(Optional, String)** Claim to map email for the identity provider.
	EmailClaimMapping pulumi.StringPtrOutput `pulumi:"emailClaimMapping"`
	// **(Optional, String)** Claim to map groups for the identity provider.
	GroupsClaimMapping pulumi.StringPtrOutput `pulumi:"groupsClaimMapping"`
	// **(Optional, String)** Issuer of the identity provider.
	Issuer pulumi.StringPtrOutput `pulumi:"issuer"`
	// **(Optional, String)** Login path of the identity provider.
	LoginPath pulumi.StringPtrOutput `pulumi:"loginPath"`
	// **(Optional, String)** Claim to map name for the identity provider.
	NameClaimMapping pulumi.StringPtrOutput `pulumi:"nameClaimMapping"`
	// **(Optional, List of String)** Scopes of the identity provider.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
}

Represents identity provider settings ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewIdentityProvider(ctx, "example", &konnect.IdentityProviderArgs{
			ClientId:           pulumi.String("XXXX"),
			ClientSecret:       pulumi.String("YYYY"),
			EmailClaimMapping:  pulumi.String("email"),
			GroupsClaimMapping: pulumi.String("groups"),
			Issuer:             pulumi.String("https://example.com"),
			LoginPath:          pulumi.String("login"),
			NameClaimMapping:   pulumi.String("name"),
			Scopes: pulumi.StringArray{
				pulumi.String("email"),
				pulumi.String("openid"),
				pulumi.String("profile"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Identity provider can be imported using a proper value of `id` as described above

func GetIdentityProvider

func GetIdentityProvider(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentityProviderState, opts ...pulumi.ResourceOption) (*IdentityProvider, error)

GetIdentityProvider gets an existing IdentityProvider 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 NewIdentityProvider

func NewIdentityProvider(ctx *pulumi.Context,
	name string, args *IdentityProviderArgs, opts ...pulumi.ResourceOption) (*IdentityProvider, error)

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

func (*IdentityProvider) ElementType

func (*IdentityProvider) ElementType() reflect.Type

func (*IdentityProvider) ToIdentityProviderOutput

func (i *IdentityProvider) ToIdentityProviderOutput() IdentityProviderOutput

func (*IdentityProvider) ToIdentityProviderOutputWithContext

func (i *IdentityProvider) ToIdentityProviderOutputWithContext(ctx context.Context) IdentityProviderOutput

func (*IdentityProvider) ToOutput

type IdentityProviderArgs

type IdentityProviderArgs struct {
	// **(Optional, String)** Client ID of the identity provider.
	ClientId pulumi.StringPtrInput
	// **(Optional, String, Sensitive)** Client secret of the identity provider.
	ClientSecret pulumi.StringPtrInput
	// **(Optional, String)** Claim to map email for the identity provider.
	EmailClaimMapping pulumi.StringPtrInput
	// **(Optional, String)** Claim to map groups for the identity provider.
	GroupsClaimMapping pulumi.StringPtrInput
	// **(Optional, String)** Issuer of the identity provider.
	Issuer pulumi.StringPtrInput
	// **(Optional, String)** Login path of the identity provider.
	LoginPath pulumi.StringPtrInput
	// **(Optional, String)** Claim to map name for the identity provider.
	NameClaimMapping pulumi.StringPtrInput
	// **(Optional, List of String)** Scopes of the identity provider.
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a IdentityProvider resource.

func (IdentityProviderArgs) ElementType

func (IdentityProviderArgs) ElementType() reflect.Type

type IdentityProviderArray

type IdentityProviderArray []IdentityProviderInput

func (IdentityProviderArray) ElementType

func (IdentityProviderArray) ElementType() reflect.Type

func (IdentityProviderArray) ToIdentityProviderArrayOutput

func (i IdentityProviderArray) ToIdentityProviderArrayOutput() IdentityProviderArrayOutput

func (IdentityProviderArray) ToIdentityProviderArrayOutputWithContext

func (i IdentityProviderArray) ToIdentityProviderArrayOutputWithContext(ctx context.Context) IdentityProviderArrayOutput

func (IdentityProviderArray) ToOutput

type IdentityProviderArrayInput

type IdentityProviderArrayInput interface {
	pulumi.Input

	ToIdentityProviderArrayOutput() IdentityProviderArrayOutput
	ToIdentityProviderArrayOutputWithContext(context.Context) IdentityProviderArrayOutput
}

IdentityProviderArrayInput is an input type that accepts IdentityProviderArray and IdentityProviderArrayOutput values. You can construct a concrete instance of `IdentityProviderArrayInput` via:

IdentityProviderArray{ IdentityProviderArgs{...} }

type IdentityProviderArrayOutput

type IdentityProviderArrayOutput struct{ *pulumi.OutputState }

func (IdentityProviderArrayOutput) ElementType

func (IdentityProviderArrayOutput) Index

func (IdentityProviderArrayOutput) ToIdentityProviderArrayOutput

func (o IdentityProviderArrayOutput) ToIdentityProviderArrayOutput() IdentityProviderArrayOutput

func (IdentityProviderArrayOutput) ToIdentityProviderArrayOutputWithContext

func (o IdentityProviderArrayOutput) ToIdentityProviderArrayOutputWithContext(ctx context.Context) IdentityProviderArrayOutput

func (IdentityProviderArrayOutput) ToOutput

type IdentityProviderInput

type IdentityProviderInput interface {
	pulumi.Input

	ToIdentityProviderOutput() IdentityProviderOutput
	ToIdentityProviderOutputWithContext(ctx context.Context) IdentityProviderOutput
}

type IdentityProviderMap

type IdentityProviderMap map[string]IdentityProviderInput

func (IdentityProviderMap) ElementType

func (IdentityProviderMap) ElementType() reflect.Type

func (IdentityProviderMap) ToIdentityProviderMapOutput

func (i IdentityProviderMap) ToIdentityProviderMapOutput() IdentityProviderMapOutput

func (IdentityProviderMap) ToIdentityProviderMapOutputWithContext

func (i IdentityProviderMap) ToIdentityProviderMapOutputWithContext(ctx context.Context) IdentityProviderMapOutput

func (IdentityProviderMap) ToOutput

type IdentityProviderMapInput

type IdentityProviderMapInput interface {
	pulumi.Input

	ToIdentityProviderMapOutput() IdentityProviderMapOutput
	ToIdentityProviderMapOutputWithContext(context.Context) IdentityProviderMapOutput
}

IdentityProviderMapInput is an input type that accepts IdentityProviderMap and IdentityProviderMapOutput values. You can construct a concrete instance of `IdentityProviderMapInput` via:

IdentityProviderMap{ "key": IdentityProviderArgs{...} }

type IdentityProviderMapOutput

type IdentityProviderMapOutput struct{ *pulumi.OutputState }

func (IdentityProviderMapOutput) ElementType

func (IdentityProviderMapOutput) ElementType() reflect.Type

func (IdentityProviderMapOutput) MapIndex

func (IdentityProviderMapOutput) ToIdentityProviderMapOutput

func (o IdentityProviderMapOutput) ToIdentityProviderMapOutput() IdentityProviderMapOutput

func (IdentityProviderMapOutput) ToIdentityProviderMapOutputWithContext

func (o IdentityProviderMapOutput) ToIdentityProviderMapOutputWithContext(ctx context.Context) IdentityProviderMapOutput

func (IdentityProviderMapOutput) ToOutput

type IdentityProviderOutput

type IdentityProviderOutput struct{ *pulumi.OutputState }

func (IdentityProviderOutput) ClientId

**(Optional, String)** Client ID of the identity provider.

func (IdentityProviderOutput) ClientSecret

**(Optional, String, Sensitive)** Client secret of the identity provider.

func (IdentityProviderOutput) ElementType

func (IdentityProviderOutput) ElementType() reflect.Type

func (IdentityProviderOutput) EmailClaimMapping

func (o IdentityProviderOutput) EmailClaimMapping() pulumi.StringPtrOutput

**(Optional, String)** Claim to map email for the identity provider.

func (IdentityProviderOutput) GroupsClaimMapping

func (o IdentityProviderOutput) GroupsClaimMapping() pulumi.StringPtrOutput

**(Optional, String)** Claim to map groups for the identity provider.

func (IdentityProviderOutput) Issuer

**(Optional, String)** Issuer of the identity provider.

func (IdentityProviderOutput) LoginPath

**(Optional, String)** Login path of the identity provider.

func (IdentityProviderOutput) NameClaimMapping

func (o IdentityProviderOutput) NameClaimMapping() pulumi.StringPtrOutput

**(Optional, String)** Claim to map name for the identity provider.

func (IdentityProviderOutput) Scopes

**(Optional, List of String)** Scopes of the identity provider.

func (IdentityProviderOutput) ToIdentityProviderOutput

func (o IdentityProviderOutput) ToIdentityProviderOutput() IdentityProviderOutput

func (IdentityProviderOutput) ToIdentityProviderOutputWithContext

func (o IdentityProviderOutput) ToIdentityProviderOutputWithContext(ctx context.Context) IdentityProviderOutput

func (IdentityProviderOutput) ToOutput

type IdentityProviderState

type IdentityProviderState struct {
	// **(Optional, String)** Client ID of the identity provider.
	ClientId pulumi.StringPtrInput
	// **(Optional, String, Sensitive)** Client secret of the identity provider.
	ClientSecret pulumi.StringPtrInput
	// **(Optional, String)** Claim to map email for the identity provider.
	EmailClaimMapping pulumi.StringPtrInput
	// **(Optional, String)** Claim to map groups for the identity provider.
	GroupsClaimMapping pulumi.StringPtrInput
	// **(Optional, String)** Issuer of the identity provider.
	Issuer pulumi.StringPtrInput
	// **(Optional, String)** Login path of the identity provider.
	LoginPath pulumi.StringPtrInput
	// **(Optional, String)** Claim to map name for the identity provider.
	NameClaimMapping pulumi.StringPtrInput
	// **(Optional, List of String)** Scopes of the identity provider.
	Scopes pulumi.StringArrayInput
}

func (IdentityProviderState) ElementType

func (IdentityProviderState) ElementType() reflect.Type

type LookupConsumerArgs

type LookupConsumerArgs struct {
	// **(Optional, String)** The filter string to apply to the customId of the consumer. Uses equality.
	CustomId *string `pulumi:"customId"`
	// **(Required, String)** The id of the runtime group containing consumer
	RuntimeGroupId string `pulumi:"runtimeGroupId"`
	// **(Optional, String)** The search string to apply to the customId of the consumer. Uses contains.
	SearchCustomId *string `pulumi:"searchCustomId"`
	// **(Optional, String)** The search string to apply to the username of the consumer. Uses contains.
	SearchUsername *string `pulumi:"searchUsername"`
	// **(Optional, String)** The filter string to apply to the username of the consumer. Uses equality.
	Username *string `pulumi:"username"`
}

A collection of arguments for invoking getConsumer.

type LookupConsumerOutputArgs

type LookupConsumerOutputArgs struct {
	// **(Optional, String)** The filter string to apply to the customId of the consumer. Uses equality.
	CustomId pulumi.StringPtrInput `pulumi:"customId"`
	// **(Required, String)** The id of the runtime group containing consumer
	RuntimeGroupId pulumi.StringInput `pulumi:"runtimeGroupId"`
	// **(Optional, String)** The search string to apply to the customId of the consumer. Uses contains.
	SearchCustomId pulumi.StringPtrInput `pulumi:"searchCustomId"`
	// **(Optional, String)** The search string to apply to the username of the consumer. Uses contains.
	SearchUsername pulumi.StringPtrInput `pulumi:"searchUsername"`
	// **(Optional, String)** The filter string to apply to the username of the consumer. Uses equality.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

A collection of arguments for invoking getConsumer.

func (LookupConsumerOutputArgs) ElementType

func (LookupConsumerOutputArgs) ElementType() reflect.Type

type LookupConsumerResult

type LookupConsumerResult struct {
	// **(String)** Id of the consumer alone
	ConsumerId string  `pulumi:"consumerId"`
	CustomId   *string `pulumi:"customId"`
	// The provider-assigned unique ID for this managed resource.
	Id             string  `pulumi:"id"`
	RuntimeGroupId string  `pulumi:"runtimeGroupId"`
	SearchCustomId *string `pulumi:"searchCustomId"`
	SearchUsername *string `pulumi:"searchUsername"`
	Username       *string `pulumi:"username"`
}

A collection of values returned by getConsumer.

func LookupConsumer

func LookupConsumer(ctx *pulumi.Context, args *LookupConsumerArgs, opts ...pulumi.InvokeOption) (*LookupConsumerResult, error)

Represents a consumer ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			RuntimeGroupId: runtimeGroup.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConsumerResultOutput

type LookupConsumerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConsumer.

func (LookupConsumerResultOutput) ConsumerId

**(String)** Id of the consumer alone

func (LookupConsumerResultOutput) CustomId

func (LookupConsumerResultOutput) ElementType

func (LookupConsumerResultOutput) ElementType() reflect.Type

func (LookupConsumerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConsumerResultOutput) RuntimeGroupId

func (o LookupConsumerResultOutput) RuntimeGroupId() pulumi.StringOutput

func (LookupConsumerResultOutput) SearchCustomId

func (LookupConsumerResultOutput) SearchUsername

func (LookupConsumerResultOutput) ToLookupConsumerResultOutput

func (o LookupConsumerResultOutput) ToLookupConsumerResultOutput() LookupConsumerResultOutput

func (LookupConsumerResultOutput) ToLookupConsumerResultOutputWithContext

func (o LookupConsumerResultOutput) ToLookupConsumerResultOutputWithContext(ctx context.Context) LookupConsumerResultOutput

func (LookupConsumerResultOutput) ToOutput

func (LookupConsumerResultOutput) Username

type LookupRuntimeGroupArgs

type LookupRuntimeGroupArgs struct {
	// **(Optional, String)** The filter string to apply to the name of the runtime group. Uses equality.
	Name *string `pulumi:"name"`
	// **(Optional, String)** The search string to apply to the name of the runtime group. Uses contains.
	SearchName *string `pulumi:"searchName"`
}

A collection of arguments for invoking getRuntimeGroup.

type LookupRuntimeGroupOutputArgs

type LookupRuntimeGroupOutputArgs struct {
	// **(Optional, String)** The filter string to apply to the name of the runtime group. Uses equality.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// **(Optional, String)** The search string to apply to the name of the runtime group. Uses contains.
	SearchName pulumi.StringPtrInput `pulumi:"searchName"`
}

A collection of arguments for invoking getRuntimeGroup.

func (LookupRuntimeGroupOutputArgs) ElementType

type LookupRuntimeGroupResult

type LookupRuntimeGroupResult struct {
	// **(String)** The cluster type of the runtime group.
	ClusterType string `pulumi:"clusterType"`
	// **(String)** The control plane endpoint URL of the runtime group.
	ControlPlaneEndpoint string `pulumi:"controlPlaneEndpoint"`
	// **(String)** The description of the runtime group.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	Name       *string `pulumi:"name"`
	SearchName *string `pulumi:"searchName"`
	// **(String)** The telemetry endpoint URL of the runtime group.
	TelemetryEndpoint string `pulumi:"telemetryEndpoint"`
}

A collection of values returned by getRuntimeGroup.

func LookupRuntimeGroup

func LookupRuntimeGroup(ctx *pulumi.Context, args *LookupRuntimeGroupArgs, opts ...pulumi.InvokeOption) (*LookupRuntimeGroupResult, error)

Represents a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRuntimeGroupResultOutput

type LookupRuntimeGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRuntimeGroup.

func (LookupRuntimeGroupResultOutput) ClusterType

**(String)** The cluster type of the runtime group.

func (LookupRuntimeGroupResultOutput) ControlPlaneEndpoint

func (o LookupRuntimeGroupResultOutput) ControlPlaneEndpoint() pulumi.StringOutput

**(String)** The control plane endpoint URL of the runtime group.

func (LookupRuntimeGroupResultOutput) Description

**(String)** The description of the runtime group.

func (LookupRuntimeGroupResultOutput) ElementType

func (LookupRuntimeGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRuntimeGroupResultOutput) Name

func (LookupRuntimeGroupResultOutput) SearchName

func (LookupRuntimeGroupResultOutput) TelemetryEndpoint

func (o LookupRuntimeGroupResultOutput) TelemetryEndpoint() pulumi.StringOutput

**(String)** The telemetry endpoint URL of the runtime group.

func (LookupRuntimeGroupResultOutput) ToLookupRuntimeGroupResultOutput

func (o LookupRuntimeGroupResultOutput) ToLookupRuntimeGroupResultOutput() LookupRuntimeGroupResultOutput

func (LookupRuntimeGroupResultOutput) ToLookupRuntimeGroupResultOutputWithContext

func (o LookupRuntimeGroupResultOutput) ToLookupRuntimeGroupResultOutputWithContext(ctx context.Context) LookupRuntimeGroupResultOutput

func (LookupRuntimeGroupResultOutput) ToOutput

type LookupTeamArgs

type LookupTeamArgs struct {
	// **(Optional, String)** The filter string to apply to the name of the team. Uses equality.
	Name *string `pulumi:"name"`
	// **(Optional, String)** The search string to apply to the name of the team. Uses contains.
	SearchName *string `pulumi:"searchName"`
}

A collection of arguments for invoking getTeam.

type LookupTeamOutputArgs

type LookupTeamOutputArgs struct {
	// **(Optional, String)** The filter string to apply to the name of the team. Uses equality.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// **(Optional, String)** The search string to apply to the name of the team. Uses contains.
	SearchName pulumi.StringPtrInput `pulumi:"searchName"`
}

A collection of arguments for invoking getTeam.

func (LookupTeamOutputArgs) ElementType

func (LookupTeamOutputArgs) ElementType() reflect.Type

type LookupTeamResult

type LookupTeamResult struct {
	// **(String)** The description of the team.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// **(Boolean)** Whether the team is predefined.
	IsPredefined bool    `pulumi:"isPredefined"`
	Name         *string `pulumi:"name"`
	SearchName   *string `pulumi:"searchName"`
}

A collection of values returned by getTeam.

func LookupTeam

func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)

Represents a team ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.LookupTeam(ctx, &konnect.LookupTeamArgs{
			SearchName: pulumi.StringRef("Panther"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTeamResultOutput

type LookupTeamResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeam.

func (LookupTeamResultOutput) Description

func (o LookupTeamResultOutput) Description() pulumi.StringOutput

**(String)** The description of the team.

func (LookupTeamResultOutput) ElementType

func (LookupTeamResultOutput) ElementType() reflect.Type

func (LookupTeamResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTeamResultOutput) IsPredefined

func (o LookupTeamResultOutput) IsPredefined() pulumi.BoolOutput

**(Boolean)** Whether the team is predefined.

func (LookupTeamResultOutput) Name

func (LookupTeamResultOutput) SearchName

func (LookupTeamResultOutput) ToLookupTeamResultOutput

func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput

func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext

func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput

func (LookupTeamResultOutput) ToOutput

type LookupTeamRoleArgs

type LookupTeamRoleArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Runtime Groups` or `Services`. Uses equality.
	EntityTypeDisplayName *string `pulumi:"entityTypeDisplayName"`
	// **(Optional, String)** The filter string to apply to the display name of the role. Uses equality.
	RoleDisplayName *string `pulumi:"roleDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the entity type, like `Runtime Groups` or `Services`. Uses contains.
	SearchEntityTypeDisplayName *string `pulumi:"searchEntityTypeDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the role. Uses contains.
	SearchRoleDisplayName *string `pulumi:"searchRoleDisplayName"`
	// **(Required, String)** The id of the team assigned the role
	TeamId string `pulumi:"teamId"`
}

A collection of arguments for invoking getTeamRole.

type LookupTeamRoleOutputArgs

type LookupTeamRoleOutputArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Runtime Groups` or `Services`. Uses equality.
	EntityTypeDisplayName pulumi.StringPtrInput `pulumi:"entityTypeDisplayName"`
	// **(Optional, String)** The filter string to apply to the display name of the role. Uses equality.
	RoleDisplayName pulumi.StringPtrInput `pulumi:"roleDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the entity type, like `Runtime Groups` or `Services`. Uses contains.
	SearchEntityTypeDisplayName pulumi.StringPtrInput `pulumi:"searchEntityTypeDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the role. Uses contains.
	SearchRoleDisplayName pulumi.StringPtrInput `pulumi:"searchRoleDisplayName"`
	// **(Required, String)** The id of the team assigned the role
	TeamId pulumi.StringInput `pulumi:"teamId"`
}

A collection of arguments for invoking getTeamRole.

func (LookupTeamRoleOutputArgs) ElementType

func (LookupTeamRoleOutputArgs) ElementType() reflect.Type

type LookupTeamRoleResult

type LookupTeamRoleResult struct {
	// **(String)** The id of the entity for which the role applies.
	EntityId string `pulumi:"entityId"`
	// **(String)** The region of the entity for which the role applies.
	EntityRegion          string  `pulumi:"entityRegion"`
	EntityTypeDisplayName *string `pulumi:"entityTypeDisplayName"`
	// The provider-assigned unique ID for this managed resource.
	Id                          string  `pulumi:"id"`
	RoleDisplayName             *string `pulumi:"roleDisplayName"`
	SearchEntityTypeDisplayName *string `pulumi:"searchEntityTypeDisplayName"`
	SearchRoleDisplayName       *string `pulumi:"searchRoleDisplayName"`
	TeamId                      string  `pulumi:"teamId"`
}

A collection of values returned by getTeamRole.

func LookupTeamRole

func LookupTeamRole(ctx *pulumi.Context, args *LookupTeamRoleArgs, opts ...pulumi.InvokeOption) (*LookupTeamRoleResult, error)

Represents a role assigned to a team ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		team, err := konnect.LookupTeam(ctx, &konnect.LookupTeamArgs{
			Name: pulumi.StringRef("runtime-admin"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.LookupTeamRole(ctx, &konnect.LookupTeamRoleArgs{
			TeamId:                team.Id,
			EntityTypeDisplayName: pulumi.StringRef("Runtime Groups"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTeamRoleResultOutput

type LookupTeamRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeamRole.

func (LookupTeamRoleResultOutput) ElementType

func (LookupTeamRoleResultOutput) ElementType() reflect.Type

func (LookupTeamRoleResultOutput) EntityId

**(String)** The id of the entity for which the role applies.

func (LookupTeamRoleResultOutput) EntityRegion

**(String)** The region of the entity for which the role applies.

func (LookupTeamRoleResultOutput) EntityTypeDisplayName

func (o LookupTeamRoleResultOutput) EntityTypeDisplayName() pulumi.StringPtrOutput

func (LookupTeamRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTeamRoleResultOutput) RoleDisplayName

func (LookupTeamRoleResultOutput) SearchEntityTypeDisplayName

func (o LookupTeamRoleResultOutput) SearchEntityTypeDisplayName() pulumi.StringPtrOutput

func (LookupTeamRoleResultOutput) SearchRoleDisplayName

func (o LookupTeamRoleResultOutput) SearchRoleDisplayName() pulumi.StringPtrOutput

func (LookupTeamRoleResultOutput) TeamId

func (LookupTeamRoleResultOutput) ToLookupTeamRoleResultOutput

func (o LookupTeamRoleResultOutput) ToLookupTeamRoleResultOutput() LookupTeamRoleResultOutput

func (LookupTeamRoleResultOutput) ToLookupTeamRoleResultOutputWithContext

func (o LookupTeamRoleResultOutput) ToLookupTeamRoleResultOutputWithContext(ctx context.Context) LookupTeamRoleResultOutput

func (LookupTeamRoleResultOutput) ToOutput

type LookupUserArgs

type LookupUserArgs struct {
	// **(Optional, Boolean)** The filter flag to apply to the active flag of the user. Uses equality. Default: `true`
	Active *bool `pulumi:"active"`
	// **(Optional, String)** The filter string to apply to the email of the user. Uses equality.
	Email *string `pulumi:"email"`
	// **(Optional, String)** The filter string to apply to the full name of the user. Uses equality.
	FullName *string `pulumi:"fullName"`
	// **(Optional, String)** The search string to apply to the email of the user. Uses contains.
	SearchEmail *string `pulumi:"searchEmail"`
	// **(Optional, String)** The search string to apply to the full name of the user. Uses contains.
	SearchFullName *string `pulumi:"searchFullName"`
}

A collection of arguments for invoking getUser.

type LookupUserOutputArgs

type LookupUserOutputArgs struct {
	// **(Optional, Boolean)** The filter flag to apply to the active flag of the user. Uses equality. Default: `true`
	Active pulumi.BoolPtrInput `pulumi:"active"`
	// **(Optional, String)** The filter string to apply to the email of the user. Uses equality.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// **(Optional, String)** The filter string to apply to the full name of the user. Uses equality.
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// **(Optional, String)** The search string to apply to the email of the user. Uses contains.
	SearchEmail pulumi.StringPtrInput `pulumi:"searchEmail"`
	// **(Optional, String)** The search string to apply to the full name of the user. Uses contains.
	SearchFullName pulumi.StringPtrInput `pulumi:"searchFullName"`
}

A collection of arguments for invoking getUser.

func (LookupUserOutputArgs) ElementType

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	Active   *bool   `pulumi:"active"`
	Email    *string `pulumi:"email"`
	FullName *string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// **(String)** The preferred name of the user.
	PreferredName  string  `pulumi:"preferredName"`
	SearchEmail    *string `pulumi:"searchEmail"`
	SearchFullName *string `pulumi:"searchFullName"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Represents a user ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.LookupUser(ctx, &konnect.LookupUserArgs{
			SearchEmail: pulumi.StringRef("@example.com"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserResultOutput

type LookupUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func (LookupUserResultOutput) Active

func (LookupUserResultOutput) ElementType

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Email

func (LookupUserResultOutput) FullName

func (LookupUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupUserResultOutput) PreferredName

func (o LookupUserResultOutput) PreferredName() pulumi.StringOutput

**(String)** The preferred name of the user.

func (LookupUserResultOutput) SearchEmail

func (LookupUserResultOutput) SearchFullName

func (o LookupUserResultOutput) SearchFullName() pulumi.StringPtrOutput

func (LookupUserResultOutput) ToLookupUserResultOutput

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

func (LookupUserResultOutput) ToOutput

type LookupUserRoleArgs

type LookupUserRoleArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Runtime Groups` or `Services`. Uses equality.
	EntityTypeDisplayName *string `pulumi:"entityTypeDisplayName"`
	// **(Optional, String)** The filter string to apply to the display name of the role. Uses equality.
	RoleDisplayName *string `pulumi:"roleDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the entity type, like `Runtime Groups` or `Services`. Uses contains.
	SearchEntityTypeDisplayName *string `pulumi:"searchEntityTypeDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the role. Uses contains.
	SearchRoleDisplayName *string `pulumi:"searchRoleDisplayName"`
	// **(Required, String)** The id of the user assigned the role
	UserId string `pulumi:"userId"`
}

A collection of arguments for invoking getUserRole.

type LookupUserRoleOutputArgs

type LookupUserRoleOutputArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Runtime Groups` or `Services`. Uses equality.
	EntityTypeDisplayName pulumi.StringPtrInput `pulumi:"entityTypeDisplayName"`
	// **(Optional, String)** The filter string to apply to the display name of the role. Uses equality.
	RoleDisplayName pulumi.StringPtrInput `pulumi:"roleDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the entity type, like `Runtime Groups` or `Services`. Uses contains.
	SearchEntityTypeDisplayName pulumi.StringPtrInput `pulumi:"searchEntityTypeDisplayName"`
	// **(Optional, String)** The search string to apply to the display name of the role. Uses contains.
	SearchRoleDisplayName pulumi.StringPtrInput `pulumi:"searchRoleDisplayName"`
	// **(Required, String)** The id of the user assigned the role
	UserId pulumi.StringInput `pulumi:"userId"`
}

A collection of arguments for invoking getUserRole.

func (LookupUserRoleOutputArgs) ElementType

func (LookupUserRoleOutputArgs) ElementType() reflect.Type

type LookupUserRoleResult

type LookupUserRoleResult struct {
	// **(String)** The id of the entity for which the role applies.
	EntityId string `pulumi:"entityId"`
	// **(String)** The region of the entity for which the role applies.
	EntityRegion          string  `pulumi:"entityRegion"`
	EntityTypeDisplayName *string `pulumi:"entityTypeDisplayName"`
	// The provider-assigned unique ID for this managed resource.
	Id                          string  `pulumi:"id"`
	RoleDisplayName             *string `pulumi:"roleDisplayName"`
	SearchEntityTypeDisplayName *string `pulumi:"searchEntityTypeDisplayName"`
	SearchRoleDisplayName       *string `pulumi:"searchRoleDisplayName"`
	UserId                      string  `pulumi:"userId"`
}

A collection of values returned by getUserRole.

func LookupUserRole

func LookupUserRole(ctx *pulumi.Context, args *LookupUserRoleArgs, opts ...pulumi.InvokeOption) (*LookupUserRoleResult, error)

Represents a role assigned to a user ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := konnect.LookupUser(ctx, &konnect.LookupUserArgs{
			SearchFullName: pulumi.StringRef("Joe"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.LookupUserRole(ctx, &konnect.LookupUserRoleArgs{
			UserId:                user.Id,
			EntityTypeDisplayName: pulumi.StringRef("Runtime Groups"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserRoleResultOutput

type LookupUserRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUserRole.

func (LookupUserRoleResultOutput) ElementType

func (LookupUserRoleResultOutput) ElementType() reflect.Type

func (LookupUserRoleResultOutput) EntityId

**(String)** The id of the entity for which the role applies.

func (LookupUserRoleResultOutput) EntityRegion

**(String)** The region of the entity for which the role applies.

func (LookupUserRoleResultOutput) EntityTypeDisplayName

func (o LookupUserRoleResultOutput) EntityTypeDisplayName() pulumi.StringPtrOutput

func (LookupUserRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupUserRoleResultOutput) RoleDisplayName

func (LookupUserRoleResultOutput) SearchEntityTypeDisplayName

func (o LookupUserRoleResultOutput) SearchEntityTypeDisplayName() pulumi.StringPtrOutput

func (LookupUserRoleResultOutput) SearchRoleDisplayName

func (o LookupUserRoleResultOutput) SearchRoleDisplayName() pulumi.StringPtrOutput

func (LookupUserRoleResultOutput) ToLookupUserRoleResultOutput

func (o LookupUserRoleResultOutput) ToLookupUserRoleResultOutput() LookupUserRoleResultOutput

func (LookupUserRoleResultOutput) ToLookupUserRoleResultOutputWithContext

func (o LookupUserRoleResultOutput) ToLookupUserRoleResultOutputWithContext(ctx context.Context) LookupUserRoleResultOutput

func (LookupUserRoleResultOutput) ToOutput

func (LookupUserRoleResultOutput) UserId

type Plugin

type Plugin struct {
	pulumi.CustomResourceState

	// **(JSON)** The full configuration properties for the plugin, including all properties with their default values not specified in `config`.
	ConfigAllJson pulumi.StringOutput `pulumi:"configAllJson"`
	// **(Optional, JSON)** The configuration properties for the plugin which can be found on the plugins documentation page in the [Kong Plugin Hub](https://docs.konghq.com/hub/)
	ConfigJson pulumi.StringPtrOutput `pulumi:"configJson"`
	// **(Optional, String)** If set, the plugin will activate only for requests where the specified consumer has been authenticated.
	ConsumerId pulumi.StringPtrOutput `pulumi:"consumerId"`
	// **(Optional, Boolean)** Whether the plugin is active. Default: `true`
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// **(Optional, String)** The instance name of the plugin. Default: `-`
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// **(Required, String)** The name of the plugin which must match a valid installed plugin.
	Name pulumi.StringOutput `pulumi:"name"`
	// **(String)** Id of the plugin alone
	PluginId pulumi.StringOutput `pulumi:"pluginId"`
	// **(Optional, List of String)** A list of the request protocols that will trigger this plugin. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocols pulumi.StringArrayOutput `pulumi:"protocols"`
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via the specified route.
	RouteId pulumi.StringPtrOutput `pulumi:"routeId"`
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringOutput `pulumi:"runtimeGroupId"`
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service.
	ServiceId pulumi.StringPtrOutput `pulumi:"serviceId"`
}

Represents a plugin within a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewPlugin(ctx, "example", &konnect.PluginArgs{
			RuntimeGroupId: *pulumi.String(runtimeGroup.Id),
			ConfigJson:     pulumi.String("{\n  \"minute\": 5\n}\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Plugins can be imported using a proper value of `id` as described above

func GetPlugin

func GetPlugin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)

GetPlugin gets an existing Plugin 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 NewPlugin

func NewPlugin(ctx *pulumi.Context,
	name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)

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

func (*Plugin) ElementType

func (*Plugin) ElementType() reflect.Type

func (*Plugin) ToOutput

func (i *Plugin) ToOutput(ctx context.Context) pulumix.Output[*Plugin]

func (*Plugin) ToPluginOutput

func (i *Plugin) ToPluginOutput() PluginOutput

func (*Plugin) ToPluginOutputWithContext

func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginArgs

type PluginArgs struct {
	// **(Optional, JSON)** The configuration properties for the plugin which can be found on the plugins documentation page in the [Kong Plugin Hub](https://docs.konghq.com/hub/)
	ConfigJson pulumi.StringPtrInput
	// **(Optional, String)** If set, the plugin will activate only for requests where the specified consumer has been authenticated.
	ConsumerId pulumi.StringPtrInput
	// **(Optional, Boolean)** Whether the plugin is active. Default: `true`
	Enabled pulumi.BoolPtrInput
	// **(Optional, String)** The instance name of the plugin. Default: `-`
	InstanceName pulumi.StringPtrInput
	// **(Required, String)** The name of the plugin which must match a valid installed plugin.
	Name pulumi.StringPtrInput
	// **(Optional, List of String)** A list of the request protocols that will trigger this plugin. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocols pulumi.StringArrayInput
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via the specified route.
	RouteId pulumi.StringPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringInput
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service.
	ServiceId pulumi.StringPtrInput
}

The set of arguments for constructing a Plugin resource.

func (PluginArgs) ElementType

func (PluginArgs) ElementType() reflect.Type

type PluginArray

type PluginArray []PluginInput

func (PluginArray) ElementType

func (PluginArray) ElementType() reflect.Type

func (PluginArray) ToOutput

func (i PluginArray) ToOutput(ctx context.Context) pulumix.Output[[]*Plugin]

func (PluginArray) ToPluginArrayOutput

func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput

func (PluginArray) ToPluginArrayOutputWithContext

func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginArrayInput

type PluginArrayInput interface {
	pulumi.Input

	ToPluginArrayOutput() PluginArrayOutput
	ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput
}

PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:

PluginArray{ PluginArgs{...} }

type PluginArrayOutput

type PluginArrayOutput struct{ *pulumi.OutputState }

func (PluginArrayOutput) ElementType

func (PluginArrayOutput) ElementType() reflect.Type

func (PluginArrayOutput) Index

func (PluginArrayOutput) ToOutput

func (o PluginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Plugin]

func (PluginArrayOutput) ToPluginArrayOutput

func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput

func (PluginArrayOutput) ToPluginArrayOutputWithContext

func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginInput

type PluginInput interface {
	pulumi.Input

	ToPluginOutput() PluginOutput
	ToPluginOutputWithContext(ctx context.Context) PluginOutput
}

type PluginMap

type PluginMap map[string]PluginInput

func (PluginMap) ElementType

func (PluginMap) ElementType() reflect.Type

func (PluginMap) ToOutput

func (i PluginMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Plugin]

func (PluginMap) ToPluginMapOutput

func (i PluginMap) ToPluginMapOutput() PluginMapOutput

func (PluginMap) ToPluginMapOutputWithContext

func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginMapInput

type PluginMapInput interface {
	pulumi.Input

	ToPluginMapOutput() PluginMapOutput
	ToPluginMapOutputWithContext(context.Context) PluginMapOutput
}

PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:

PluginMap{ "key": PluginArgs{...} }

type PluginMapOutput

type PluginMapOutput struct{ *pulumi.OutputState }

func (PluginMapOutput) ElementType

func (PluginMapOutput) ElementType() reflect.Type

func (PluginMapOutput) MapIndex

func (PluginMapOutput) ToOutput

func (o PluginMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Plugin]

func (PluginMapOutput) ToPluginMapOutput

func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput

func (PluginMapOutput) ToPluginMapOutputWithContext

func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginOutput

type PluginOutput struct{ *pulumi.OutputState }

func (PluginOutput) ConfigAllJson

func (o PluginOutput) ConfigAllJson() pulumi.StringOutput

**(JSON)** The full configuration properties for the plugin, including all properties with their default values not specified in `config`.

func (PluginOutput) ConfigJson

func (o PluginOutput) ConfigJson() pulumi.StringPtrOutput

**(Optional, JSON)** The configuration properties for the plugin which can be found on the plugins documentation page in the [Kong Plugin Hub](https://docs.konghq.com/hub/)

func (PluginOutput) ConsumerId

func (o PluginOutput) ConsumerId() pulumi.StringPtrOutput

**(Optional, String)** If set, the plugin will activate only for requests where the specified consumer has been authenticated.

func (PluginOutput) ElementType

func (PluginOutput) ElementType() reflect.Type

func (PluginOutput) Enabled

func (o PluginOutput) Enabled() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether the plugin is active. Default: `true`

func (PluginOutput) InstanceName

func (o PluginOutput) InstanceName() pulumi.StringPtrOutput

**(Optional, String)** The instance name of the plugin. Default: `-`

func (PluginOutput) Name

func (o PluginOutput) Name() pulumi.StringOutput

**(Required, String)** The name of the plugin which must match a valid installed plugin.

func (PluginOutput) PluginId

func (o PluginOutput) PluginId() pulumi.StringOutput

**(String)** Id of the plugin alone

func (PluginOutput) Protocols

func (o PluginOutput) Protocols() pulumi.StringArrayOutput

**(Optional, List of String)** A list of the request protocols that will trigger this plugin. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`

func (PluginOutput) RouteId

func (o PluginOutput) RouteId() pulumi.StringPtrOutput

**(Optional, String)** If set, the plugin will only activate when receiving requests via the specified route.

func (PluginOutput) RuntimeGroupId

func (o PluginOutput) RuntimeGroupId() pulumi.StringOutput

**(Required, String)** The id of the runtime group.

func (PluginOutput) ServiceId

func (o PluginOutput) ServiceId() pulumi.StringPtrOutput

**(Optional, String)** If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service.

func (PluginOutput) ToOutput

func (o PluginOutput) ToOutput(ctx context.Context) pulumix.Output[*Plugin]

func (PluginOutput) ToPluginOutput

func (o PluginOutput) ToPluginOutput() PluginOutput

func (PluginOutput) ToPluginOutputWithContext

func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginState

type PluginState struct {
	// **(JSON)** The full configuration properties for the plugin, including all properties with their default values not specified in `config`.
	ConfigAllJson pulumi.StringPtrInput
	// **(Optional, JSON)** The configuration properties for the plugin which can be found on the plugins documentation page in the [Kong Plugin Hub](https://docs.konghq.com/hub/)
	ConfigJson pulumi.StringPtrInput
	// **(Optional, String)** If set, the plugin will activate only for requests where the specified consumer has been authenticated.
	ConsumerId pulumi.StringPtrInput
	// **(Optional, Boolean)** Whether the plugin is active. Default: `true`
	Enabled pulumi.BoolPtrInput
	// **(Optional, String)** The instance name of the plugin. Default: `-`
	InstanceName pulumi.StringPtrInput
	// **(Required, String)** The name of the plugin which must match a valid installed plugin.
	Name pulumi.StringPtrInput
	// **(String)** Id of the plugin alone
	PluginId pulumi.StringPtrInput
	// **(Optional, List of String)** A list of the request protocols that will trigger this plugin. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocols pulumi.StringArrayInput
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via the specified route.
	RouteId pulumi.StringPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringPtrInput
	// **(Optional, String)** If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service.
	ServiceId pulumi.StringPtrInput
}

func (PluginState) ElementType

func (PluginState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	Pat    pulumi.StringOutput    `pulumi:"pat"`
	Region pulumi.StringPtrOutput `pulumi:"region"`
}

The provider type for the konnect 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) ToOutput

func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider]

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
	Pat    pulumi.StringInput
	Region 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) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Pat

func (ProviderOutput) Region

func (ProviderOutput) ToOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type Route

type Route struct {
	pulumi.CustomResourceState

	// **(Optional, set{header})** Configuration block for a header.  Can be specified multiple times for each header.  Each block supports the fields documented below.
	Headers RouteHeaderArrayOutput `pulumi:"headers"`
	// **(Optional, List of String)** The hosts this route should allow.
	Hosts pulumi.StringArrayOutput `pulumi:"hosts"`
	// **(Optional, Integer)** The status code Kong responds with when all properties of a Route match except the protocol. Allowed values: `426`, `301`, `302`, `307`, `308`. Default: `426`
	HttpsRedirectStatusCode pulumi.IntPtrOutput `pulumi:"httpsRedirectStatusCode"`
	// **(Optional, List of String)** The methods this route should allow. Allowed values: `GET`, `PUT`, `POST`, `PATCH`, `DELETE`, `OPTIONS`, `HEAD`, `CONNECT`, `TRACE`
	Methods pulumi.StringArrayOutput `pulumi:"methods"`
	// **(Optional, String)** The name of the route.
	Name pulumi.StringOutput `pulumi:"name"`
	// **(Optional, String)** Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. Allowed values: `v0`, `v1`. Default: `v0`
	PathHandling pulumi.StringPtrOutput `pulumi:"pathHandling"`
	// **(Optional, List of String)** The paths this route should allow.
	Paths pulumi.StringArrayOutput `pulumi:"paths"`
	// **(Optional, Boolean)** Whether to use the request `Host` header during the Service request. Default: `false`
	PreserveHost pulumi.BoolPtrOutput `pulumi:"preserveHost"`
	// **(Optional, List of String)** The protocols this route should allow. Allowed values: `http`, `hhtps`
	Protocols pulumi.StringArrayOutput `pulumi:"protocols"`
	// **(Optional, Integer)** A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. Default: `0`
	RegexPriority pulumi.IntPtrOutput `pulumi:"regexPriority"`
	// **(Optional, Boolean)** Whether to enable request body buffering. Default: `true`
	RequestBuffering pulumi.BoolPtrOutput `pulumi:"requestBuffering"`
	// **(Optional, Boolean)** Whether to enable response body buffering. Default: `true`
	ResponseBuffering pulumi.BoolPtrOutput `pulumi:"responseBuffering"`
	// **(String)** Id of the route alone
	RouteId pulumi.StringOutput `pulumi:"routeId"`
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringOutput `pulumi:"runtimeGroupId"`
	// **(Optional, String)** The id of the service to forward traffic to.
	ServiceId pulumi.StringPtrOutput `pulumi:"serviceId"`
	// **(Optional, Boolean)** Whether to strip the matching prefix from the Service request. Default: `true`
	StripPath pulumi.BoolPtrOutput `pulumi:"stripPath"`
}

Represents a route within a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		service, err := konnect.NewService(ctx, "service", &konnect.ServiceArgs{
			RuntimeGroupId: *pulumi.String(runtimeGroup.Id),
			Host:           pulumi.String("mockbin.org"),
		})
		if err != nil {
			return err
		}
		_, err = konnect.NewRoute(ctx, "example", &konnect.RouteArgs{
			RuntimeGroupId: *pulumi.String(runtimeGroup.Id),
			ServiceId:      service.ServiceId,
			Protocols: pulumi.StringArray{
				pulumi.String("http"),
			},
			Paths: pulumi.StringArray{
				pulumi.String("/example"),
			},
			Headers: konnect.RouteHeaderArray{
				&konnect.RouteHeaderArgs{
					Name: pulumi.String("required-header"),
					Values: pulumi.StringArray{
						pulumi.String("required-header-values"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Routes can be imported using a proper value of `id` as described above

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route 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 NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

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

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToOutput

func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route]

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteArgs

type RouteArgs struct {
	// **(Optional, set{header})** Configuration block for a header.  Can be specified multiple times for each header.  Each block supports the fields documented below.
	Headers RouteHeaderArrayInput
	// **(Optional, List of String)** The hosts this route should allow.
	Hosts pulumi.StringArrayInput
	// **(Optional, Integer)** The status code Kong responds with when all properties of a Route match except the protocol. Allowed values: `426`, `301`, `302`, `307`, `308`. Default: `426`
	HttpsRedirectStatusCode pulumi.IntPtrInput
	// **(Optional, List of String)** The methods this route should allow. Allowed values: `GET`, `PUT`, `POST`, `PATCH`, `DELETE`, `OPTIONS`, `HEAD`, `CONNECT`, `TRACE`
	Methods pulumi.StringArrayInput
	// **(Optional, String)** The name of the route.
	Name pulumi.StringPtrInput
	// **(Optional, String)** Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. Allowed values: `v0`, `v1`. Default: `v0`
	PathHandling pulumi.StringPtrInput
	// **(Optional, List of String)** The paths this route should allow.
	Paths pulumi.StringArrayInput
	// **(Optional, Boolean)** Whether to use the request `Host` header during the Service request. Default: `false`
	PreserveHost pulumi.BoolPtrInput
	// **(Optional, List of String)** The protocols this route should allow. Allowed values: `http`, `hhtps`
	Protocols pulumi.StringArrayInput
	// **(Optional, Integer)** A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. Default: `0`
	RegexPriority pulumi.IntPtrInput
	// **(Optional, Boolean)** Whether to enable request body buffering. Default: `true`
	RequestBuffering pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether to enable response body buffering. Default: `true`
	ResponseBuffering pulumi.BoolPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringInput
	// **(Optional, String)** The id of the service to forward traffic to.
	ServiceId pulumi.StringPtrInput
	// **(Optional, Boolean)** Whether to strip the matching prefix from the Service request. Default: `true`
	StripPath pulumi.BoolPtrInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToOutput

func (i RouteArray) ToOutput(ctx context.Context) pulumix.Output[[]*Route]

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

	ToRouteArrayOutput() RouteArrayOutput
	ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}

RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToOutput

func (o RouteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Route]

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteHeader

type RouteHeader struct {
	// **(Required, String)** Name of header this route should require.
	Name string `pulumi:"name"`
	// **(Required, List of String)** Allowed values this header should equal.
	Values []string `pulumi:"values"`
}

type RouteHeaderArgs

type RouteHeaderArgs struct {
	// **(Required, String)** Name of header this route should require.
	Name pulumi.StringInput `pulumi:"name"`
	// **(Required, List of String)** Allowed values this header should equal.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (RouteHeaderArgs) ElementType

func (RouteHeaderArgs) ElementType() reflect.Type

func (RouteHeaderArgs) ToOutput

func (RouteHeaderArgs) ToRouteHeaderOutput

func (i RouteHeaderArgs) ToRouteHeaderOutput() RouteHeaderOutput

func (RouteHeaderArgs) ToRouteHeaderOutputWithContext

func (i RouteHeaderArgs) ToRouteHeaderOutputWithContext(ctx context.Context) RouteHeaderOutput

type RouteHeaderArray

type RouteHeaderArray []RouteHeaderInput

func (RouteHeaderArray) ElementType

func (RouteHeaderArray) ElementType() reflect.Type

func (RouteHeaderArray) ToOutput

func (RouteHeaderArray) ToRouteHeaderArrayOutput

func (i RouteHeaderArray) ToRouteHeaderArrayOutput() RouteHeaderArrayOutput

func (RouteHeaderArray) ToRouteHeaderArrayOutputWithContext

func (i RouteHeaderArray) ToRouteHeaderArrayOutputWithContext(ctx context.Context) RouteHeaderArrayOutput

type RouteHeaderArrayInput

type RouteHeaderArrayInput interface {
	pulumi.Input

	ToRouteHeaderArrayOutput() RouteHeaderArrayOutput
	ToRouteHeaderArrayOutputWithContext(context.Context) RouteHeaderArrayOutput
}

RouteHeaderArrayInput is an input type that accepts RouteHeaderArray and RouteHeaderArrayOutput values. You can construct a concrete instance of `RouteHeaderArrayInput` via:

RouteHeaderArray{ RouteHeaderArgs{...} }

type RouteHeaderArrayOutput

type RouteHeaderArrayOutput struct{ *pulumi.OutputState }

func (RouteHeaderArrayOutput) ElementType

func (RouteHeaderArrayOutput) ElementType() reflect.Type

func (RouteHeaderArrayOutput) Index

func (RouteHeaderArrayOutput) ToOutput

func (RouteHeaderArrayOutput) ToRouteHeaderArrayOutput

func (o RouteHeaderArrayOutput) ToRouteHeaderArrayOutput() RouteHeaderArrayOutput

func (RouteHeaderArrayOutput) ToRouteHeaderArrayOutputWithContext

func (o RouteHeaderArrayOutput) ToRouteHeaderArrayOutputWithContext(ctx context.Context) RouteHeaderArrayOutput

type RouteHeaderInput

type RouteHeaderInput interface {
	pulumi.Input

	ToRouteHeaderOutput() RouteHeaderOutput
	ToRouteHeaderOutputWithContext(context.Context) RouteHeaderOutput
}

RouteHeaderInput is an input type that accepts RouteHeaderArgs and RouteHeaderOutput values. You can construct a concrete instance of `RouteHeaderInput` via:

RouteHeaderArgs{...}

type RouteHeaderOutput

type RouteHeaderOutput struct{ *pulumi.OutputState }

func (RouteHeaderOutput) ElementType

func (RouteHeaderOutput) ElementType() reflect.Type

func (RouteHeaderOutput) Name

**(Required, String)** Name of header this route should require.

func (RouteHeaderOutput) ToOutput

func (RouteHeaderOutput) ToRouteHeaderOutput

func (o RouteHeaderOutput) ToRouteHeaderOutput() RouteHeaderOutput

func (RouteHeaderOutput) ToRouteHeaderOutputWithContext

func (o RouteHeaderOutput) ToRouteHeaderOutputWithContext(ctx context.Context) RouteHeaderOutput

func (RouteHeaderOutput) Values

**(Required, List of String)** Allowed values this header should equal.

type RouteInput

type RouteInput interface {
	pulumi.Input

	ToRouteOutput() RouteOutput
	ToRouteOutputWithContext(ctx context.Context) RouteOutput
}

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToOutput

func (i RouteMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Route]

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}

RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:

RouteMap{ "key": RouteArgs{...} }

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToOutput

func (o RouteMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Route]

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) ElementType

func (RouteOutput) ElementType() reflect.Type

func (RouteOutput) Headers

func (o RouteOutput) Headers() RouteHeaderArrayOutput

**(Optional, set{header})** Configuration block for a header. Can be specified multiple times for each header. Each block supports the fields documented below.

func (RouteOutput) Hosts

**(Optional, List of String)** The hosts this route should allow.

func (RouteOutput) HttpsRedirectStatusCode

func (o RouteOutput) HttpsRedirectStatusCode() pulumi.IntPtrOutput

**(Optional, Integer)** The status code Kong responds with when all properties of a Route match except the protocol. Allowed values: `426`, `301`, `302`, `307`, `308`. Default: `426`

func (RouteOutput) Methods

func (o RouteOutput) Methods() pulumi.StringArrayOutput

**(Optional, List of String)** The methods this route should allow. Allowed values: `GET`, `PUT`, `POST`, `PATCH`, `DELETE`, `OPTIONS`, `HEAD`, `CONNECT`, `TRACE`

func (RouteOutput) Name

func (o RouteOutput) Name() pulumi.StringOutput

**(Optional, String)** The name of the route.

func (RouteOutput) PathHandling

func (o RouteOutput) PathHandling() pulumi.StringPtrOutput

**(Optional, String)** Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. Allowed values: `v0`, `v1`. Default: `v0`

func (RouteOutput) Paths

**(Optional, List of String)** The paths this route should allow.

func (RouteOutput) PreserveHost

func (o RouteOutput) PreserveHost() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether to use the request `Host` header during the Service request. Default: `false`

func (RouteOutput) Protocols

func (o RouteOutput) Protocols() pulumi.StringArrayOutput

**(Optional, List of String)** The protocols this route should allow. Allowed values: `http`, `hhtps`

func (RouteOutput) RegexPriority

func (o RouteOutput) RegexPriority() pulumi.IntPtrOutput

**(Optional, Integer)** A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. Default: `0`

func (RouteOutput) RequestBuffering

func (o RouteOutput) RequestBuffering() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether to enable request body buffering. Default: `true`

func (RouteOutput) ResponseBuffering

func (o RouteOutput) ResponseBuffering() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether to enable response body buffering. Default: `true`

func (RouteOutput) RouteId

func (o RouteOutput) RouteId() pulumi.StringOutput

**(String)** Id of the route alone

func (RouteOutput) RuntimeGroupId

func (o RouteOutput) RuntimeGroupId() pulumi.StringOutput

**(Required, String)** The id of the runtime group.

func (RouteOutput) ServiceId

func (o RouteOutput) ServiceId() pulumi.StringPtrOutput

**(Optional, String)** The id of the service to forward traffic to.

func (RouteOutput) StripPath

func (o RouteOutput) StripPath() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether to strip the matching prefix from the Service request. Default: `true`

func (RouteOutput) ToOutput

func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route]

func (RouteOutput) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteState

type RouteState struct {
	// **(Optional, set{header})** Configuration block for a header.  Can be specified multiple times for each header.  Each block supports the fields documented below.
	Headers RouteHeaderArrayInput
	// **(Optional, List of String)** The hosts this route should allow.
	Hosts pulumi.StringArrayInput
	// **(Optional, Integer)** The status code Kong responds with when all properties of a Route match except the protocol. Allowed values: `426`, `301`, `302`, `307`, `308`. Default: `426`
	HttpsRedirectStatusCode pulumi.IntPtrInput
	// **(Optional, List of String)** The methods this route should allow. Allowed values: `GET`, `PUT`, `POST`, `PATCH`, `DELETE`, `OPTIONS`, `HEAD`, `CONNECT`, `TRACE`
	Methods pulumi.StringArrayInput
	// **(Optional, String)** The name of the route.
	Name pulumi.StringPtrInput
	// **(Optional, String)** Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. Allowed values: `v0`, `v1`. Default: `v0`
	PathHandling pulumi.StringPtrInput
	// **(Optional, List of String)** The paths this route should allow.
	Paths pulumi.StringArrayInput
	// **(Optional, Boolean)** Whether to use the request `Host` header during the Service request. Default: `false`
	PreserveHost pulumi.BoolPtrInput
	// **(Optional, List of String)** The protocols this route should allow. Allowed values: `http`, `hhtps`
	Protocols pulumi.StringArrayInput
	// **(Optional, Integer)** A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. Default: `0`
	RegexPriority pulumi.IntPtrInput
	// **(Optional, Boolean)** Whether to enable request body buffering. Default: `true`
	RequestBuffering pulumi.BoolPtrInput
	// **(Optional, Boolean)** Whether to enable response body buffering. Default: `true`
	ResponseBuffering pulumi.BoolPtrInput
	// **(String)** Id of the route alone
	RouteId pulumi.StringPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringPtrInput
	// **(Optional, String)** The id of the service to forward traffic to.
	ServiceId pulumi.StringPtrInput
	// **(Optional, Boolean)** Whether to strip the matching prefix from the Service request. Default: `true`
	StripPath pulumi.BoolPtrInput
}

func (RouteState) ElementType

func (RouteState) ElementType() reflect.Type

type RuntimeGroup

type RuntimeGroup struct {
	pulumi.CustomResourceState

	// **(String)** The cluster type of the runtime group.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// **(String)** The control plane endpoint URL of the runtime group.
	ControlPlaneEndpoint pulumi.StringOutput `pulumi:"controlPlaneEndpoint"`
	// **(Optional, String)** The description of the runtime group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// **(Required, String)** The name of the runtime group.
	Name pulumi.StringOutput `pulumi:"name"`
	// **(String)** The telemetry endpoint URL of the runtime group.
	TelemetryEndpoint pulumi.StringOutput `pulumi:"telemetryEndpoint"`
}

Represents a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewRuntimeGroup(ctx, "example", &konnect.RuntimeGroupArgs{
			Description: pulumi.String("TestRuntimeGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Runtime groups can be imported using a proper value of `id` as described above

func GetRuntimeGroup

func GetRuntimeGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuntimeGroupState, opts ...pulumi.ResourceOption) (*RuntimeGroup, error)

GetRuntimeGroup gets an existing RuntimeGroup 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 NewRuntimeGroup

func NewRuntimeGroup(ctx *pulumi.Context,
	name string, args *RuntimeGroupArgs, opts ...pulumi.ResourceOption) (*RuntimeGroup, error)

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

func (*RuntimeGroup) ElementType

func (*RuntimeGroup) ElementType() reflect.Type

func (*RuntimeGroup) ToOutput

func (*RuntimeGroup) ToRuntimeGroupOutput

func (i *RuntimeGroup) ToRuntimeGroupOutput() RuntimeGroupOutput

func (*RuntimeGroup) ToRuntimeGroupOutputWithContext

func (i *RuntimeGroup) ToRuntimeGroupOutputWithContext(ctx context.Context) RuntimeGroupOutput

type RuntimeGroupArgs

type RuntimeGroupArgs struct {
	// **(Optional, String)** The description of the runtime group.
	Description pulumi.StringPtrInput
	// **(Required, String)** The name of the runtime group.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a RuntimeGroup resource.

func (RuntimeGroupArgs) ElementType

func (RuntimeGroupArgs) ElementType() reflect.Type

type RuntimeGroupArray

type RuntimeGroupArray []RuntimeGroupInput

func (RuntimeGroupArray) ElementType

func (RuntimeGroupArray) ElementType() reflect.Type

func (RuntimeGroupArray) ToOutput

func (RuntimeGroupArray) ToRuntimeGroupArrayOutput

func (i RuntimeGroupArray) ToRuntimeGroupArrayOutput() RuntimeGroupArrayOutput

func (RuntimeGroupArray) ToRuntimeGroupArrayOutputWithContext

func (i RuntimeGroupArray) ToRuntimeGroupArrayOutputWithContext(ctx context.Context) RuntimeGroupArrayOutput

type RuntimeGroupArrayInput

type RuntimeGroupArrayInput interface {
	pulumi.Input

	ToRuntimeGroupArrayOutput() RuntimeGroupArrayOutput
	ToRuntimeGroupArrayOutputWithContext(context.Context) RuntimeGroupArrayOutput
}

RuntimeGroupArrayInput is an input type that accepts RuntimeGroupArray and RuntimeGroupArrayOutput values. You can construct a concrete instance of `RuntimeGroupArrayInput` via:

RuntimeGroupArray{ RuntimeGroupArgs{...} }

type RuntimeGroupArrayOutput

type RuntimeGroupArrayOutput struct{ *pulumi.OutputState }

func (RuntimeGroupArrayOutput) ElementType

func (RuntimeGroupArrayOutput) ElementType() reflect.Type

func (RuntimeGroupArrayOutput) Index

func (RuntimeGroupArrayOutput) ToOutput

func (RuntimeGroupArrayOutput) ToRuntimeGroupArrayOutput

func (o RuntimeGroupArrayOutput) ToRuntimeGroupArrayOutput() RuntimeGroupArrayOutput

func (RuntimeGroupArrayOutput) ToRuntimeGroupArrayOutputWithContext

func (o RuntimeGroupArrayOutput) ToRuntimeGroupArrayOutputWithContext(ctx context.Context) RuntimeGroupArrayOutput

type RuntimeGroupInput

type RuntimeGroupInput interface {
	pulumi.Input

	ToRuntimeGroupOutput() RuntimeGroupOutput
	ToRuntimeGroupOutputWithContext(ctx context.Context) RuntimeGroupOutput
}

type RuntimeGroupMap

type RuntimeGroupMap map[string]RuntimeGroupInput

func (RuntimeGroupMap) ElementType

func (RuntimeGroupMap) ElementType() reflect.Type

func (RuntimeGroupMap) ToOutput

func (RuntimeGroupMap) ToRuntimeGroupMapOutput

func (i RuntimeGroupMap) ToRuntimeGroupMapOutput() RuntimeGroupMapOutput

func (RuntimeGroupMap) ToRuntimeGroupMapOutputWithContext

func (i RuntimeGroupMap) ToRuntimeGroupMapOutputWithContext(ctx context.Context) RuntimeGroupMapOutput

type RuntimeGroupMapInput

type RuntimeGroupMapInput interface {
	pulumi.Input

	ToRuntimeGroupMapOutput() RuntimeGroupMapOutput
	ToRuntimeGroupMapOutputWithContext(context.Context) RuntimeGroupMapOutput
}

RuntimeGroupMapInput is an input type that accepts RuntimeGroupMap and RuntimeGroupMapOutput values. You can construct a concrete instance of `RuntimeGroupMapInput` via:

RuntimeGroupMap{ "key": RuntimeGroupArgs{...} }

type RuntimeGroupMapOutput

type RuntimeGroupMapOutput struct{ *pulumi.OutputState }

func (RuntimeGroupMapOutput) ElementType

func (RuntimeGroupMapOutput) ElementType() reflect.Type

func (RuntimeGroupMapOutput) MapIndex

func (RuntimeGroupMapOutput) ToOutput

func (RuntimeGroupMapOutput) ToRuntimeGroupMapOutput

func (o RuntimeGroupMapOutput) ToRuntimeGroupMapOutput() RuntimeGroupMapOutput

func (RuntimeGroupMapOutput) ToRuntimeGroupMapOutputWithContext

func (o RuntimeGroupMapOutput) ToRuntimeGroupMapOutputWithContext(ctx context.Context) RuntimeGroupMapOutput

type RuntimeGroupOutput

type RuntimeGroupOutput struct{ *pulumi.OutputState }

func (RuntimeGroupOutput) ClusterType

func (o RuntimeGroupOutput) ClusterType() pulumi.StringOutput

**(String)** The cluster type of the runtime group.

func (RuntimeGroupOutput) ControlPlaneEndpoint

func (o RuntimeGroupOutput) ControlPlaneEndpoint() pulumi.StringOutput

**(String)** The control plane endpoint URL of the runtime group.

func (RuntimeGroupOutput) Description

func (o RuntimeGroupOutput) Description() pulumi.StringPtrOutput

**(Optional, String)** The description of the runtime group.

func (RuntimeGroupOutput) ElementType

func (RuntimeGroupOutput) ElementType() reflect.Type

func (RuntimeGroupOutput) Name

**(Required, String)** The name of the runtime group.

func (RuntimeGroupOutput) TelemetryEndpoint

func (o RuntimeGroupOutput) TelemetryEndpoint() pulumi.StringOutput

**(String)** The telemetry endpoint URL of the runtime group.

func (RuntimeGroupOutput) ToOutput

func (RuntimeGroupOutput) ToRuntimeGroupOutput

func (o RuntimeGroupOutput) ToRuntimeGroupOutput() RuntimeGroupOutput

func (RuntimeGroupOutput) ToRuntimeGroupOutputWithContext

func (o RuntimeGroupOutput) ToRuntimeGroupOutputWithContext(ctx context.Context) RuntimeGroupOutput

type RuntimeGroupState

type RuntimeGroupState struct {
	// **(String)** The cluster type of the runtime group.
	ClusterType pulumi.StringPtrInput
	// **(String)** The control plane endpoint URL of the runtime group.
	ControlPlaneEndpoint pulumi.StringPtrInput
	// **(Optional, String)** The description of the runtime group.
	Description pulumi.StringPtrInput
	// **(Required, String)** The name of the runtime group.
	Name pulumi.StringPtrInput
	// **(String)** The telemetry endpoint URL of the runtime group.
	TelemetryEndpoint pulumi.StringPtrInput
}

func (RuntimeGroupState) ElementType

func (RuntimeGroupState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrOutput `pulumi:"connectTimeout"`
	// **(Optional, Boolean)** Whether the service is active. Default: `true`
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// **(Required, String)** The host of the service.
	Host pulumi.StringOutput `pulumi:"host"`
	// **(Optional, String)** The name of the service.
	Name pulumi.StringOutput `pulumi:"name"`
	// **(Optional, String)** The path to be used in requests to the host.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// **(Optional, Integer)** The port used to communicate with the host. Default: `80`
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// **(Optional, String)** The protocol used to communicate with the host. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// **(Optional, Integer)** The timeout in milliseconds between two successive read operations for transmitting a request to the host. Default: `60000`
	ReadTimeout pulumi.IntPtrOutput `pulumi:"readTimeout"`
	// **(Optional, Integer)** The number of retries to execute upon failure to proxy. Default: `5`
	Retries pulumi.IntPtrOutput `pulumi:"retries"`
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringOutput `pulumi:"runtimeGroupId"`
	// **(String)** Id of the service alone
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// **(Optional, Integer)** The timeout in milliseconds between two successive write operations for transmitting a request to the host. Default: `60000`
	WriteTimeout pulumi.IntPtrOutput `pulumi:"writeTimeout"`
}

Represents a service within a runtime group ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		runtimeGroup, err := konnect.LookupRuntimeGroup(ctx, &konnect.LookupRuntimeGroupArgs{
			Name: pulumi.StringRef("TestRuntimeGroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewService(ctx, "example", &konnect.ServiceArgs{
			RuntimeGroupId: *pulumi.String(runtimeGroup.Id),
			Host:           pulumi.String("mockbin.org"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using a proper value of `id` as described above

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

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

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToOutput

func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service]

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrInput
	// **(Optional, Boolean)** Whether the service is active. Default: `true`
	Enabled pulumi.BoolPtrInput
	// **(Required, String)** The host of the service.
	Host pulumi.StringInput
	// **(Optional, String)** The name of the service.
	Name pulumi.StringPtrInput
	// **(Optional, String)** The path to be used in requests to the host.
	Path pulumi.StringPtrInput
	// **(Optional, Integer)** The port used to communicate with the host. Default: `80`
	Port pulumi.IntPtrInput
	// **(Optional, String)** The protocol used to communicate with the host. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocol pulumi.StringPtrInput
	// **(Optional, Integer)** The timeout in milliseconds between two successive read operations for transmitting a request to the host. Default: `60000`
	ReadTimeout pulumi.IntPtrInput
	// **(Optional, Integer)** The number of retries to execute upon failure to proxy. Default: `5`
	Retries pulumi.IntPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringInput
	// **(Optional, Integer)** The timeout in milliseconds between two successive write operations for transmitting a request to the host. Default: `60000`
	WriteTimeout pulumi.IntPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToOutput

func (i ServiceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Service]

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToOutput

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToOutput

func (i ServiceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Service]

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToOutput

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ConnectTimeout

func (o ServiceOutput) ConnectTimeout() pulumi.IntPtrOutput

**(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) Enabled

func (o ServiceOutput) Enabled() pulumi.BoolPtrOutput

**(Optional, Boolean)** Whether the service is active. Default: `true`

func (ServiceOutput) Host

**(Required, String)** The host of the service.

func (ServiceOutput) Name

**(Optional, String)** The name of the service.

func (ServiceOutput) Path

**(Optional, String)** The path to be used in requests to the host.

func (ServiceOutput) Port

**(Optional, Integer)** The port used to communicate with the host. Default: `80`

func (ServiceOutput) Protocol

func (o ServiceOutput) Protocol() pulumi.StringPtrOutput

**(Optional, String)** The protocol used to communicate with the host. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`

func (ServiceOutput) ReadTimeout

func (o ServiceOutput) ReadTimeout() pulumi.IntPtrOutput

**(Optional, Integer)** The timeout in milliseconds between two successive read operations for transmitting a request to the host. Default: `60000`

func (ServiceOutput) Retries

func (o ServiceOutput) Retries() pulumi.IntPtrOutput

**(Optional, Integer)** The number of retries to execute upon failure to proxy. Default: `5`

func (ServiceOutput) RuntimeGroupId

func (o ServiceOutput) RuntimeGroupId() pulumi.StringOutput

**(Required, String)** The id of the runtime group.

func (ServiceOutput) ServiceId

func (o ServiceOutput) ServiceId() pulumi.StringOutput

**(String)** Id of the service alone

func (ServiceOutput) ToOutput

func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service]

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) WriteTimeout

func (o ServiceOutput) WriteTimeout() pulumi.IntPtrOutput

**(Optional, Integer)** The timeout in milliseconds between two successive write operations for transmitting a request to the host. Default: `60000`

type ServiceState

type ServiceState struct {
	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrInput
	// **(Optional, Boolean)** Whether the service is active. Default: `true`
	Enabled pulumi.BoolPtrInput
	// **(Required, String)** The host of the service.
	Host pulumi.StringPtrInput
	// **(Optional, String)** The name of the service.
	Name pulumi.StringPtrInput
	// **(Optional, String)** The path to be used in requests to the host.
	Path pulumi.StringPtrInput
	// **(Optional, Integer)** The port used to communicate with the host. Default: `80`
	Port pulumi.IntPtrInput
	// **(Optional, String)** The protocol used to communicate with the host. Allowed values: `grpc`, `grpcs`, `http`, `https`, `tcp`, `tls`, `tlsPassthrough`, `udp`, `ws`, `wss`
	Protocol pulumi.StringPtrInput
	// **(Optional, Integer)** The timeout in milliseconds between two successive read operations for transmitting a request to the host. Default: `60000`
	ReadTimeout pulumi.IntPtrInput
	// **(Optional, Integer)** The number of retries to execute upon failure to proxy. Default: `5`
	Retries pulumi.IntPtrInput
	// **(Required, String)** The id of the runtime group.
	RuntimeGroupId pulumi.StringPtrInput
	// **(String)** Id of the service alone
	ServiceId pulumi.StringPtrInput
	// **(Optional, Integer)** The timeout in milliseconds between two successive write operations for transmitting a request to the host. Default: `60000`
	WriteTimeout pulumi.IntPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	// **(Optional, String)** The description of the team.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// **(Boolean)** Whether the team is predefined.
	IsPredefined pulumi.BoolOutput `pulumi:"isPredefined"`
	// **(Required, String)** The name of the team.
	Name pulumi.StringOutput `pulumi:"name"`
}

Represents a team ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewTeam(ctx, "example", &konnect.TeamArgs{
			Description: pulumi.String("dev team"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Teams can be imported using a proper value of `id` as described above

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team 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 NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

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

func (*Team) ElementType

func (*Team) ElementType() reflect.Type

func (*Team) ToOutput

func (i *Team) ToOutput(ctx context.Context) pulumix.Output[*Team]

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamArgs

type TeamArgs struct {
	// **(Optional, String)** The description of the team.
	Description pulumi.StringPtrInput
	// **(Required, String)** The name of the team.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToOutput

func (i TeamArray) ToOutput(ctx context.Context) pulumix.Output[[]*Team]

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToOutput

func (o TeamArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Team]

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToOutput

func (i TeamMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Team]

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToOutput

func (o TeamMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Team]

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMappings

type TeamMappings struct {
	pulumi.CustomResourceState

	// **(Optional, set{mapping})** Configuration block for a mapping.  Can be specified multiple times for each mapping.  Each block supports the fields documented below.
	Mappings TeamMappingsMappingArrayOutput `pulumi:"mappings"`
}

Represents the mappings between an external identity provider group and a Konnect team ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		team, err := konnect.NewTeam(ctx, "team", &konnect.TeamArgs{
			Description: pulumi.String("testing"),
		})
		if err != nil {
			return err
		}
		_, err = konnect.NewTeamMappings(ctx, "example", &konnect.TeamMappingsArgs{
			Mappings: konnect.TeamMappingsMappingArray{
				&konnect.TeamMappingsMappingArgs{
					Group: pulumi.String("external IdP group"),
					TeamIds: pulumi.StringArray{
						team.ID(),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Team mappings can be imported using a proper value of `id` as described above

func GetTeamMappings

func GetTeamMappings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamMappingsState, opts ...pulumi.ResourceOption) (*TeamMappings, error)

GetTeamMappings gets an existing TeamMappings 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 NewTeamMappings

func NewTeamMappings(ctx *pulumi.Context,
	name string, args *TeamMappingsArgs, opts ...pulumi.ResourceOption) (*TeamMappings, error)

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

func (*TeamMappings) ElementType

func (*TeamMappings) ElementType() reflect.Type

func (*TeamMappings) ToOutput

func (*TeamMappings) ToTeamMappingsOutput

func (i *TeamMappings) ToTeamMappingsOutput() TeamMappingsOutput

func (*TeamMappings) ToTeamMappingsOutputWithContext

func (i *TeamMappings) ToTeamMappingsOutputWithContext(ctx context.Context) TeamMappingsOutput

type TeamMappingsArgs

type TeamMappingsArgs struct {
	// **(Optional, set{mapping})** Configuration block for a mapping.  Can be specified multiple times for each mapping.  Each block supports the fields documented below.
	Mappings TeamMappingsMappingArrayInput
}

The set of arguments for constructing a TeamMappings resource.

func (TeamMappingsArgs) ElementType

func (TeamMappingsArgs) ElementType() reflect.Type

type TeamMappingsArray

type TeamMappingsArray []TeamMappingsInput

func (TeamMappingsArray) ElementType

func (TeamMappingsArray) ElementType() reflect.Type

func (TeamMappingsArray) ToOutput

func (TeamMappingsArray) ToTeamMappingsArrayOutput

func (i TeamMappingsArray) ToTeamMappingsArrayOutput() TeamMappingsArrayOutput

func (TeamMappingsArray) ToTeamMappingsArrayOutputWithContext

func (i TeamMappingsArray) ToTeamMappingsArrayOutputWithContext(ctx context.Context) TeamMappingsArrayOutput

type TeamMappingsArrayInput

type TeamMappingsArrayInput interface {
	pulumi.Input

	ToTeamMappingsArrayOutput() TeamMappingsArrayOutput
	ToTeamMappingsArrayOutputWithContext(context.Context) TeamMappingsArrayOutput
}

TeamMappingsArrayInput is an input type that accepts TeamMappingsArray and TeamMappingsArrayOutput values. You can construct a concrete instance of `TeamMappingsArrayInput` via:

TeamMappingsArray{ TeamMappingsArgs{...} }

type TeamMappingsArrayOutput

type TeamMappingsArrayOutput struct{ *pulumi.OutputState }

func (TeamMappingsArrayOutput) ElementType

func (TeamMappingsArrayOutput) ElementType() reflect.Type

func (TeamMappingsArrayOutput) Index

func (TeamMappingsArrayOutput) ToOutput

func (TeamMappingsArrayOutput) ToTeamMappingsArrayOutput

func (o TeamMappingsArrayOutput) ToTeamMappingsArrayOutput() TeamMappingsArrayOutput

func (TeamMappingsArrayOutput) ToTeamMappingsArrayOutputWithContext

func (o TeamMappingsArrayOutput) ToTeamMappingsArrayOutputWithContext(ctx context.Context) TeamMappingsArrayOutput

type TeamMappingsInput

type TeamMappingsInput interface {
	pulumi.Input

	ToTeamMappingsOutput() TeamMappingsOutput
	ToTeamMappingsOutputWithContext(ctx context.Context) TeamMappingsOutput
}

type TeamMappingsMap

type TeamMappingsMap map[string]TeamMappingsInput

func (TeamMappingsMap) ElementType

func (TeamMappingsMap) ElementType() reflect.Type

func (TeamMappingsMap) ToOutput

func (TeamMappingsMap) ToTeamMappingsMapOutput

func (i TeamMappingsMap) ToTeamMappingsMapOutput() TeamMappingsMapOutput

func (TeamMappingsMap) ToTeamMappingsMapOutputWithContext

func (i TeamMappingsMap) ToTeamMappingsMapOutputWithContext(ctx context.Context) TeamMappingsMapOutput

type TeamMappingsMapInput

type TeamMappingsMapInput interface {
	pulumi.Input

	ToTeamMappingsMapOutput() TeamMappingsMapOutput
	ToTeamMappingsMapOutputWithContext(context.Context) TeamMappingsMapOutput
}

TeamMappingsMapInput is an input type that accepts TeamMappingsMap and TeamMappingsMapOutput values. You can construct a concrete instance of `TeamMappingsMapInput` via:

TeamMappingsMap{ "key": TeamMappingsArgs{...} }

type TeamMappingsMapOutput

type TeamMappingsMapOutput struct{ *pulumi.OutputState }

func (TeamMappingsMapOutput) ElementType

func (TeamMappingsMapOutput) ElementType() reflect.Type

func (TeamMappingsMapOutput) MapIndex

func (TeamMappingsMapOutput) ToOutput

func (TeamMappingsMapOutput) ToTeamMappingsMapOutput

func (o TeamMappingsMapOutput) ToTeamMappingsMapOutput() TeamMappingsMapOutput

func (TeamMappingsMapOutput) ToTeamMappingsMapOutputWithContext

func (o TeamMappingsMapOutput) ToTeamMappingsMapOutputWithContext(ctx context.Context) TeamMappingsMapOutput

type TeamMappingsMapping

type TeamMappingsMapping struct {
	// **(Required, String)** Identifier of an IdP group that is contained with OIDC ID token for groups claim
	Group string `pulumi:"group"`
	// **(Required, List of String)** Konnect teams that should map to this group.
	TeamIds []string `pulumi:"teamIds"`
}

type TeamMappingsMappingArgs

type TeamMappingsMappingArgs struct {
	// **(Required, String)** Identifier of an IdP group that is contained with OIDC ID token for groups claim
	Group pulumi.StringInput `pulumi:"group"`
	// **(Required, List of String)** Konnect teams that should map to this group.
	TeamIds pulumi.StringArrayInput `pulumi:"teamIds"`
}

func (TeamMappingsMappingArgs) ElementType

func (TeamMappingsMappingArgs) ElementType() reflect.Type

func (TeamMappingsMappingArgs) ToOutput

func (TeamMappingsMappingArgs) ToTeamMappingsMappingOutput

func (i TeamMappingsMappingArgs) ToTeamMappingsMappingOutput() TeamMappingsMappingOutput

func (TeamMappingsMappingArgs) ToTeamMappingsMappingOutputWithContext

func (i TeamMappingsMappingArgs) ToTeamMappingsMappingOutputWithContext(ctx context.Context) TeamMappingsMappingOutput

type TeamMappingsMappingArray

type TeamMappingsMappingArray []TeamMappingsMappingInput

func (TeamMappingsMappingArray) ElementType

func (TeamMappingsMappingArray) ElementType() reflect.Type

func (TeamMappingsMappingArray) ToOutput

func (TeamMappingsMappingArray) ToTeamMappingsMappingArrayOutput

func (i TeamMappingsMappingArray) ToTeamMappingsMappingArrayOutput() TeamMappingsMappingArrayOutput

func (TeamMappingsMappingArray) ToTeamMappingsMappingArrayOutputWithContext

func (i TeamMappingsMappingArray) ToTeamMappingsMappingArrayOutputWithContext(ctx context.Context) TeamMappingsMappingArrayOutput

type TeamMappingsMappingArrayInput

type TeamMappingsMappingArrayInput interface {
	pulumi.Input

	ToTeamMappingsMappingArrayOutput() TeamMappingsMappingArrayOutput
	ToTeamMappingsMappingArrayOutputWithContext(context.Context) TeamMappingsMappingArrayOutput
}

TeamMappingsMappingArrayInput is an input type that accepts TeamMappingsMappingArray and TeamMappingsMappingArrayOutput values. You can construct a concrete instance of `TeamMappingsMappingArrayInput` via:

TeamMappingsMappingArray{ TeamMappingsMappingArgs{...} }

type TeamMappingsMappingArrayOutput

type TeamMappingsMappingArrayOutput struct{ *pulumi.OutputState }

func (TeamMappingsMappingArrayOutput) ElementType

func (TeamMappingsMappingArrayOutput) Index

func (TeamMappingsMappingArrayOutput) ToOutput

func (TeamMappingsMappingArrayOutput) ToTeamMappingsMappingArrayOutput

func (o TeamMappingsMappingArrayOutput) ToTeamMappingsMappingArrayOutput() TeamMappingsMappingArrayOutput

func (TeamMappingsMappingArrayOutput) ToTeamMappingsMappingArrayOutputWithContext

func (o TeamMappingsMappingArrayOutput) ToTeamMappingsMappingArrayOutputWithContext(ctx context.Context) TeamMappingsMappingArrayOutput

type TeamMappingsMappingInput

type TeamMappingsMappingInput interface {
	pulumi.Input

	ToTeamMappingsMappingOutput() TeamMappingsMappingOutput
	ToTeamMappingsMappingOutputWithContext(context.Context) TeamMappingsMappingOutput
}

TeamMappingsMappingInput is an input type that accepts TeamMappingsMappingArgs and TeamMappingsMappingOutput values. You can construct a concrete instance of `TeamMappingsMappingInput` via:

TeamMappingsMappingArgs{...}

type TeamMappingsMappingOutput

type TeamMappingsMappingOutput struct{ *pulumi.OutputState }

func (TeamMappingsMappingOutput) ElementType

func (TeamMappingsMappingOutput) ElementType() reflect.Type

func (TeamMappingsMappingOutput) Group

**(Required, String)** Identifier of an IdP group that is contained with OIDC ID token for groups claim

func (TeamMappingsMappingOutput) TeamIds

**(Required, List of String)** Konnect teams that should map to this group.

func (TeamMappingsMappingOutput) ToOutput

func (TeamMappingsMappingOutput) ToTeamMappingsMappingOutput

func (o TeamMappingsMappingOutput) ToTeamMappingsMappingOutput() TeamMappingsMappingOutput

func (TeamMappingsMappingOutput) ToTeamMappingsMappingOutputWithContext

func (o TeamMappingsMappingOutput) ToTeamMappingsMappingOutputWithContext(ctx context.Context) TeamMappingsMappingOutput

type TeamMappingsOutput

type TeamMappingsOutput struct{ *pulumi.OutputState }

func (TeamMappingsOutput) ElementType

func (TeamMappingsOutput) ElementType() reflect.Type

func (TeamMappingsOutput) Mappings

**(Optional, set{mapping})** Configuration block for a mapping. Can be specified multiple times for each mapping. Each block supports the fields documented below.

func (TeamMappingsOutput) ToOutput

func (TeamMappingsOutput) ToTeamMappingsOutput

func (o TeamMappingsOutput) ToTeamMappingsOutput() TeamMappingsOutput

func (TeamMappingsOutput) ToTeamMappingsOutputWithContext

func (o TeamMappingsOutput) ToTeamMappingsOutputWithContext(ctx context.Context) TeamMappingsOutput

type TeamMappingsState

type TeamMappingsState struct {
	// **(Optional, set{mapping})** Configuration block for a mapping.  Can be specified multiple times for each mapping.  Each block supports the fields documented below.
	Mappings TeamMappingsMappingArrayInput
}

func (TeamMappingsState) ElementType

func (TeamMappingsState) ElementType() reflect.Type

type TeamOutput

type TeamOutput struct{ *pulumi.OutputState }

func (TeamOutput) Description

func (o TeamOutput) Description() pulumi.StringPtrOutput

**(Optional, String)** The description of the team.

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) IsPredefined

func (o TeamOutput) IsPredefined() pulumi.BoolOutput

**(Boolean)** Whether the team is predefined.

func (TeamOutput) Name

func (o TeamOutput) Name() pulumi.StringOutput

**(Required, String)** The name of the team.

func (TeamOutput) ToOutput

func (o TeamOutput) ToOutput(ctx context.Context) pulumix.Output[*Team]

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamRole

type TeamRole struct {
	pulumi.CustomResourceState

	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringOutput `pulumi:"entityRegion"`
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringOutput `pulumi:"entityTypeDisplayName"`
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringOutput `pulumi:"roleDisplayName"`
	// **(Required, ForceNew, String)** The id of the team assigned the role
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

Represents a role assigned to a team to access a given entity

## Import

Team roles can be imported using a proper value of `id` as described above

func GetTeamRole

func GetTeamRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamRoleState, opts ...pulumi.ResourceOption) (*TeamRole, error)

GetTeamRole gets an existing TeamRole 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 NewTeamRole

func NewTeamRole(ctx *pulumi.Context,
	name string, args *TeamRoleArgs, opts ...pulumi.ResourceOption) (*TeamRole, error)

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

func (*TeamRole) ElementType

func (*TeamRole) ElementType() reflect.Type

func (*TeamRole) ToOutput

func (i *TeamRole) ToOutput(ctx context.Context) pulumix.Output[*TeamRole]

func (*TeamRole) ToTeamRoleOutput

func (i *TeamRole) ToTeamRoleOutput() TeamRoleOutput

func (*TeamRole) ToTeamRoleOutputWithContext

func (i *TeamRole) ToTeamRoleOutputWithContext(ctx context.Context) TeamRoleOutput

type TeamRoleArgs

type TeamRoleArgs struct {
	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringInput
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringInput
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringInput
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringInput
	// **(Required, ForceNew, String)** The id of the team assigned the role
	TeamId pulumi.StringInput
}

The set of arguments for constructing a TeamRole resource.

func (TeamRoleArgs) ElementType

func (TeamRoleArgs) ElementType() reflect.Type

type TeamRoleArray

type TeamRoleArray []TeamRoleInput

func (TeamRoleArray) ElementType

func (TeamRoleArray) ElementType() reflect.Type

func (TeamRoleArray) ToOutput

func (i TeamRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*TeamRole]

func (TeamRoleArray) ToTeamRoleArrayOutput

func (i TeamRoleArray) ToTeamRoleArrayOutput() TeamRoleArrayOutput

func (TeamRoleArray) ToTeamRoleArrayOutputWithContext

func (i TeamRoleArray) ToTeamRoleArrayOutputWithContext(ctx context.Context) TeamRoleArrayOutput

type TeamRoleArrayInput

type TeamRoleArrayInput interface {
	pulumi.Input

	ToTeamRoleArrayOutput() TeamRoleArrayOutput
	ToTeamRoleArrayOutputWithContext(context.Context) TeamRoleArrayOutput
}

TeamRoleArrayInput is an input type that accepts TeamRoleArray and TeamRoleArrayOutput values. You can construct a concrete instance of `TeamRoleArrayInput` via:

TeamRoleArray{ TeamRoleArgs{...} }

type TeamRoleArrayOutput

type TeamRoleArrayOutput struct{ *pulumi.OutputState }

func (TeamRoleArrayOutput) ElementType

func (TeamRoleArrayOutput) ElementType() reflect.Type

func (TeamRoleArrayOutput) Index

func (TeamRoleArrayOutput) ToOutput

func (TeamRoleArrayOutput) ToTeamRoleArrayOutput

func (o TeamRoleArrayOutput) ToTeamRoleArrayOutput() TeamRoleArrayOutput

func (TeamRoleArrayOutput) ToTeamRoleArrayOutputWithContext

func (o TeamRoleArrayOutput) ToTeamRoleArrayOutputWithContext(ctx context.Context) TeamRoleArrayOutput

type TeamRoleInput

type TeamRoleInput interface {
	pulumi.Input

	ToTeamRoleOutput() TeamRoleOutput
	ToTeamRoleOutputWithContext(ctx context.Context) TeamRoleOutput
}

type TeamRoleMap

type TeamRoleMap map[string]TeamRoleInput

func (TeamRoleMap) ElementType

func (TeamRoleMap) ElementType() reflect.Type

func (TeamRoleMap) ToOutput

func (i TeamRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*TeamRole]

func (TeamRoleMap) ToTeamRoleMapOutput

func (i TeamRoleMap) ToTeamRoleMapOutput() TeamRoleMapOutput

func (TeamRoleMap) ToTeamRoleMapOutputWithContext

func (i TeamRoleMap) ToTeamRoleMapOutputWithContext(ctx context.Context) TeamRoleMapOutput

type TeamRoleMapInput

type TeamRoleMapInput interface {
	pulumi.Input

	ToTeamRoleMapOutput() TeamRoleMapOutput
	ToTeamRoleMapOutputWithContext(context.Context) TeamRoleMapOutput
}

TeamRoleMapInput is an input type that accepts TeamRoleMap and TeamRoleMapOutput values. You can construct a concrete instance of `TeamRoleMapInput` via:

TeamRoleMap{ "key": TeamRoleArgs{...} }

type TeamRoleMapOutput

type TeamRoleMapOutput struct{ *pulumi.OutputState }

func (TeamRoleMapOutput) ElementType

func (TeamRoleMapOutput) ElementType() reflect.Type

func (TeamRoleMapOutput) MapIndex

func (TeamRoleMapOutput) ToOutput

func (TeamRoleMapOutput) ToTeamRoleMapOutput

func (o TeamRoleMapOutput) ToTeamRoleMapOutput() TeamRoleMapOutput

func (TeamRoleMapOutput) ToTeamRoleMapOutputWithContext

func (o TeamRoleMapOutput) ToTeamRoleMapOutputWithContext(ctx context.Context) TeamRoleMapOutput

type TeamRoleOutput

type TeamRoleOutput struct{ *pulumi.OutputState }

func (TeamRoleOutput) ElementType

func (TeamRoleOutput) ElementType() reflect.Type

func (TeamRoleOutput) EntityId

func (o TeamRoleOutput) EntityId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the entity for which the role applies.

func (TeamRoleOutput) EntityRegion

func (o TeamRoleOutput) EntityRegion() pulumi.StringOutput

**(Required, ForceNew, String)** The region of the entity for which the role applies.

func (TeamRoleOutput) EntityTypeDisplayName

func (o TeamRoleOutput) EntityTypeDisplayName() pulumi.StringOutput

**(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.

func (TeamRoleOutput) RoleDisplayName

func (o TeamRoleOutput) RoleDisplayName() pulumi.StringOutput

**(Required, ForceNew, String)** The display name of the role.

func (TeamRoleOutput) TeamId

func (o TeamRoleOutput) TeamId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the team assigned the role

func (TeamRoleOutput) ToOutput

func (TeamRoleOutput) ToTeamRoleOutput

func (o TeamRoleOutput) ToTeamRoleOutput() TeamRoleOutput

func (TeamRoleOutput) ToTeamRoleOutputWithContext

func (o TeamRoleOutput) ToTeamRoleOutputWithContext(ctx context.Context) TeamRoleOutput

type TeamRoleState

type TeamRoleState struct {
	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The id of the team assigned the role
	TeamId pulumi.StringPtrInput
}

func (TeamRoleState) ElementType

func (TeamRoleState) ElementType() reflect.Type

type TeamState

type TeamState struct {
	// **(Optional, String)** The description of the team.
	Description pulumi.StringPtrInput
	// **(Boolean)** Whether the team is predefined.
	IsPredefined pulumi.BoolPtrInput
	// **(Required, String)** The name of the team.
	Name pulumi.StringPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

type TeamUser

type TeamUser struct {
	pulumi.CustomResourceState

	// **(Required, ForceNew, String)** The id of the team.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
	// **(Required, ForceNew, String)** The id of the user.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

Represents a member of a team ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		team, err := konnect.NewTeam(ctx, "team", &konnect.TeamArgs{
			Description: pulumi.String("testing"),
		})
		if err != nil {
			return err
		}
		user, err := konnect.LookupUser(ctx, &konnect.LookupUserArgs{
			SearchFullName: pulumi.StringRef("Joe"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewTeamUser(ctx, "example", &konnect.TeamUserArgs{
			TeamId: team.ID(),
			UserId: *pulumi.String(user.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Team users can be imported using a proper value of `id` as described above

func GetTeamUser

func GetTeamUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamUserState, opts ...pulumi.ResourceOption) (*TeamUser, error)

GetTeamUser gets an existing TeamUser 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 NewTeamUser

func NewTeamUser(ctx *pulumi.Context,
	name string, args *TeamUserArgs, opts ...pulumi.ResourceOption) (*TeamUser, error)

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

func (*TeamUser) ElementType

func (*TeamUser) ElementType() reflect.Type

func (*TeamUser) ToOutput

func (i *TeamUser) ToOutput(ctx context.Context) pulumix.Output[*TeamUser]

func (*TeamUser) ToTeamUserOutput

func (i *TeamUser) ToTeamUserOutput() TeamUserOutput

func (*TeamUser) ToTeamUserOutputWithContext

func (i *TeamUser) ToTeamUserOutputWithContext(ctx context.Context) TeamUserOutput

type TeamUserArgs

type TeamUserArgs struct {
	// **(Required, ForceNew, String)** The id of the team.
	TeamId pulumi.StringInput
	// **(Required, ForceNew, String)** The id of the user.
	UserId pulumi.StringInput
}

The set of arguments for constructing a TeamUser resource.

func (TeamUserArgs) ElementType

func (TeamUserArgs) ElementType() reflect.Type

type TeamUserArray

type TeamUserArray []TeamUserInput

func (TeamUserArray) ElementType

func (TeamUserArray) ElementType() reflect.Type

func (TeamUserArray) ToOutput

func (i TeamUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*TeamUser]

func (TeamUserArray) ToTeamUserArrayOutput

func (i TeamUserArray) ToTeamUserArrayOutput() TeamUserArrayOutput

func (TeamUserArray) ToTeamUserArrayOutputWithContext

func (i TeamUserArray) ToTeamUserArrayOutputWithContext(ctx context.Context) TeamUserArrayOutput

type TeamUserArrayInput

type TeamUserArrayInput interface {
	pulumi.Input

	ToTeamUserArrayOutput() TeamUserArrayOutput
	ToTeamUserArrayOutputWithContext(context.Context) TeamUserArrayOutput
}

TeamUserArrayInput is an input type that accepts TeamUserArray and TeamUserArrayOutput values. You can construct a concrete instance of `TeamUserArrayInput` via:

TeamUserArray{ TeamUserArgs{...} }

type TeamUserArrayOutput

type TeamUserArrayOutput struct{ *pulumi.OutputState }

func (TeamUserArrayOutput) ElementType

func (TeamUserArrayOutput) ElementType() reflect.Type

func (TeamUserArrayOutput) Index

func (TeamUserArrayOutput) ToOutput

func (TeamUserArrayOutput) ToTeamUserArrayOutput

func (o TeamUserArrayOutput) ToTeamUserArrayOutput() TeamUserArrayOutput

func (TeamUserArrayOutput) ToTeamUserArrayOutputWithContext

func (o TeamUserArrayOutput) ToTeamUserArrayOutputWithContext(ctx context.Context) TeamUserArrayOutput

type TeamUserInput

type TeamUserInput interface {
	pulumi.Input

	ToTeamUserOutput() TeamUserOutput
	ToTeamUserOutputWithContext(ctx context.Context) TeamUserOutput
}

type TeamUserMap

type TeamUserMap map[string]TeamUserInput

func (TeamUserMap) ElementType

func (TeamUserMap) ElementType() reflect.Type

func (TeamUserMap) ToOutput

func (i TeamUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*TeamUser]

func (TeamUserMap) ToTeamUserMapOutput

func (i TeamUserMap) ToTeamUserMapOutput() TeamUserMapOutput

func (TeamUserMap) ToTeamUserMapOutputWithContext

func (i TeamUserMap) ToTeamUserMapOutputWithContext(ctx context.Context) TeamUserMapOutput

type TeamUserMapInput

type TeamUserMapInput interface {
	pulumi.Input

	ToTeamUserMapOutput() TeamUserMapOutput
	ToTeamUserMapOutputWithContext(context.Context) TeamUserMapOutput
}

TeamUserMapInput is an input type that accepts TeamUserMap and TeamUserMapOutput values. You can construct a concrete instance of `TeamUserMapInput` via:

TeamUserMap{ "key": TeamUserArgs{...} }

type TeamUserMapOutput

type TeamUserMapOutput struct{ *pulumi.OutputState }

func (TeamUserMapOutput) ElementType

func (TeamUserMapOutput) ElementType() reflect.Type

func (TeamUserMapOutput) MapIndex

func (TeamUserMapOutput) ToOutput

func (TeamUserMapOutput) ToTeamUserMapOutput

func (o TeamUserMapOutput) ToTeamUserMapOutput() TeamUserMapOutput

func (TeamUserMapOutput) ToTeamUserMapOutputWithContext

func (o TeamUserMapOutput) ToTeamUserMapOutputWithContext(ctx context.Context) TeamUserMapOutput

type TeamUserOutput

type TeamUserOutput struct{ *pulumi.OutputState }

func (TeamUserOutput) ElementType

func (TeamUserOutput) ElementType() reflect.Type

func (TeamUserOutput) TeamId

func (o TeamUserOutput) TeamId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the team.

func (TeamUserOutput) ToOutput

func (TeamUserOutput) ToTeamUserOutput

func (o TeamUserOutput) ToTeamUserOutput() TeamUserOutput

func (TeamUserOutput) ToTeamUserOutputWithContext

func (o TeamUserOutput) ToTeamUserOutputWithContext(ctx context.Context) TeamUserOutput

func (TeamUserOutput) UserId

func (o TeamUserOutput) UserId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the user.

type TeamUserState

type TeamUserState struct {
	// **(Required, ForceNew, String)** The id of the team.
	TeamId pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The id of the user.
	UserId pulumi.StringPtrInput
}

func (TeamUserState) ElementType

func (TeamUserState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// **(Boolean)** Whether the user is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// **(Required, String)** The email of the user.
	Email pulumi.StringOutput `pulumi:"email"`
	// **(Optional, String)** The full name of the user.
	FullName pulumi.StringPtrOutput `pulumi:"fullName"`
	// **(Optional, String)** The preferred name of the user.
	PreferredName pulumi.StringPtrOutput `pulumi:"preferredName"`
}

Represents a user ## Example Usage

```go package main

import (

"github.com/johnharris85/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewUser(ctx, "example", &konnect.UserArgs{
			Email:         pulumi.String("Joe.Burrow@example.com"),
			FullName:      pulumi.String("Joe Burrow"),
			PreferredName: pulumi.String("Joe"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Users can be imported using a proper value of `id` as described above

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

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

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToOutput

func (i *User) ToOutput(ctx context.Context) pulumix.Output[*User]

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// **(Required, String)** The email of the user.
	Email pulumi.StringInput
	// **(Optional, String)** The full name of the user.
	FullName pulumi.StringPtrInput
	// **(Optional, String)** The preferred name of the user.
	PreferredName pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToOutput

func (i UserArray) ToOutput(ctx context.Context) pulumix.Output[[]*User]

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToOutput

func (o UserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*User]

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToOutput

func (i UserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*User]

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToOutput

func (o UserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*User]

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) Active

func (o UserOutput) Active() pulumi.BoolOutput

**(Boolean)** Whether the user is active.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email

func (o UserOutput) Email() pulumi.StringOutput

**(Required, String)** The email of the user.

func (UserOutput) FullName

func (o UserOutput) FullName() pulumi.StringPtrOutput

**(Optional, String)** The full name of the user.

func (UserOutput) PreferredName

func (o UserOutput) PreferredName() pulumi.StringPtrOutput

**(Optional, String)** The preferred name of the user.

func (UserOutput) ToOutput

func (o UserOutput) ToOutput(ctx context.Context) pulumix.Output[*User]

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserRole

type UserRole struct {
	pulumi.CustomResourceState

	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringOutput `pulumi:"entityRegion"`
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringOutput `pulumi:"entityTypeDisplayName"`
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringOutput `pulumi:"roleDisplayName"`
	// **(Required, ForceNew, String)** The id of the user assigned the role
	UserId pulumi.StringOutput `pulumi:"userId"`
}

Represents a role assigned to a user to access a given entity

## Import

User roles can be imported using a proper value of `id` as described above

func GetUserRole

func GetUserRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserRoleState, opts ...pulumi.ResourceOption) (*UserRole, error)

GetUserRole gets an existing UserRole 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 NewUserRole

func NewUserRole(ctx *pulumi.Context,
	name string, args *UserRoleArgs, opts ...pulumi.ResourceOption) (*UserRole, error)

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

func (*UserRole) ElementType

func (*UserRole) ElementType() reflect.Type

func (*UserRole) ToOutput

func (i *UserRole) ToOutput(ctx context.Context) pulumix.Output[*UserRole]

func (*UserRole) ToUserRoleOutput

func (i *UserRole) ToUserRoleOutput() UserRoleOutput

func (*UserRole) ToUserRoleOutputWithContext

func (i *UserRole) ToUserRoleOutputWithContext(ctx context.Context) UserRoleOutput

type UserRoleArgs

type UserRoleArgs struct {
	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringInput
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringInput
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringInput
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringInput
	// **(Required, ForceNew, String)** The id of the user assigned the role
	UserId pulumi.StringInput
}

The set of arguments for constructing a UserRole resource.

func (UserRoleArgs) ElementType

func (UserRoleArgs) ElementType() reflect.Type

type UserRoleArray

type UserRoleArray []UserRoleInput

func (UserRoleArray) ElementType

func (UserRoleArray) ElementType() reflect.Type

func (UserRoleArray) ToOutput

func (i UserRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*UserRole]

func (UserRoleArray) ToUserRoleArrayOutput

func (i UserRoleArray) ToUserRoleArrayOutput() UserRoleArrayOutput

func (UserRoleArray) ToUserRoleArrayOutputWithContext

func (i UserRoleArray) ToUserRoleArrayOutputWithContext(ctx context.Context) UserRoleArrayOutput

type UserRoleArrayInput

type UserRoleArrayInput interface {
	pulumi.Input

	ToUserRoleArrayOutput() UserRoleArrayOutput
	ToUserRoleArrayOutputWithContext(context.Context) UserRoleArrayOutput
}

UserRoleArrayInput is an input type that accepts UserRoleArray and UserRoleArrayOutput values. You can construct a concrete instance of `UserRoleArrayInput` via:

UserRoleArray{ UserRoleArgs{...} }

type UserRoleArrayOutput

type UserRoleArrayOutput struct{ *pulumi.OutputState }

func (UserRoleArrayOutput) ElementType

func (UserRoleArrayOutput) ElementType() reflect.Type

func (UserRoleArrayOutput) Index

func (UserRoleArrayOutput) ToOutput

func (UserRoleArrayOutput) ToUserRoleArrayOutput

func (o UserRoleArrayOutput) ToUserRoleArrayOutput() UserRoleArrayOutput

func (UserRoleArrayOutput) ToUserRoleArrayOutputWithContext

func (o UserRoleArrayOutput) ToUserRoleArrayOutputWithContext(ctx context.Context) UserRoleArrayOutput

type UserRoleInput

type UserRoleInput interface {
	pulumi.Input

	ToUserRoleOutput() UserRoleOutput
	ToUserRoleOutputWithContext(ctx context.Context) UserRoleOutput
}

type UserRoleMap

type UserRoleMap map[string]UserRoleInput

func (UserRoleMap) ElementType

func (UserRoleMap) ElementType() reflect.Type

func (UserRoleMap) ToOutput

func (i UserRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*UserRole]

func (UserRoleMap) ToUserRoleMapOutput

func (i UserRoleMap) ToUserRoleMapOutput() UserRoleMapOutput

func (UserRoleMap) ToUserRoleMapOutputWithContext

func (i UserRoleMap) ToUserRoleMapOutputWithContext(ctx context.Context) UserRoleMapOutput

type UserRoleMapInput

type UserRoleMapInput interface {
	pulumi.Input

	ToUserRoleMapOutput() UserRoleMapOutput
	ToUserRoleMapOutputWithContext(context.Context) UserRoleMapOutput
}

UserRoleMapInput is an input type that accepts UserRoleMap and UserRoleMapOutput values. You can construct a concrete instance of `UserRoleMapInput` via:

UserRoleMap{ "key": UserRoleArgs{...} }

type UserRoleMapOutput

type UserRoleMapOutput struct{ *pulumi.OutputState }

func (UserRoleMapOutput) ElementType

func (UserRoleMapOutput) ElementType() reflect.Type

func (UserRoleMapOutput) MapIndex

func (UserRoleMapOutput) ToOutput

func (UserRoleMapOutput) ToUserRoleMapOutput

func (o UserRoleMapOutput) ToUserRoleMapOutput() UserRoleMapOutput

func (UserRoleMapOutput) ToUserRoleMapOutputWithContext

func (o UserRoleMapOutput) ToUserRoleMapOutputWithContext(ctx context.Context) UserRoleMapOutput

type UserRoleOutput

type UserRoleOutput struct{ *pulumi.OutputState }

func (UserRoleOutput) ElementType

func (UserRoleOutput) ElementType() reflect.Type

func (UserRoleOutput) EntityId

func (o UserRoleOutput) EntityId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the entity for which the role applies.

func (UserRoleOutput) EntityRegion

func (o UserRoleOutput) EntityRegion() pulumi.StringOutput

**(Required, ForceNew, String)** The region of the entity for which the role applies.

func (UserRoleOutput) EntityTypeDisplayName

func (o UserRoleOutput) EntityTypeDisplayName() pulumi.StringOutput

**(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.

func (UserRoleOutput) RoleDisplayName

func (o UserRoleOutput) RoleDisplayName() pulumi.StringOutput

**(Required, ForceNew, String)** The display name of the role.

func (UserRoleOutput) ToOutput

func (UserRoleOutput) ToUserRoleOutput

func (o UserRoleOutput) ToUserRoleOutput() UserRoleOutput

func (UserRoleOutput) ToUserRoleOutputWithContext

func (o UserRoleOutput) ToUserRoleOutputWithContext(ctx context.Context) UserRoleOutput

func (UserRoleOutput) UserId

func (o UserRoleOutput) UserId() pulumi.StringOutput

**(Required, ForceNew, String)** The id of the user assigned the role

type UserRoleState

type UserRoleState struct {
	// **(Required, ForceNew, String)** The id of the entity for which the role applies.
	EntityId pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The region of the entity for which the role applies.
	EntityRegion pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The display name of the entity type, like `Runtime Groups` or `Services`.
	EntityTypeDisplayName pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The display name of the role.
	RoleDisplayName pulumi.StringPtrInput
	// **(Required, ForceNew, String)** The id of the user assigned the role
	UserId pulumi.StringPtrInput
}

func (UserRoleState) ElementType

func (UserRoleState) ElementType() reflect.Type

type UserState

type UserState struct {
	// **(Boolean)** Whether the user is active.
	Active pulumi.BoolPtrInput
	// **(Required, String)** The email of the user.
	Email pulumi.StringPtrInput
	// **(Optional, String)** The full name of the user.
	FullName pulumi.StringPtrInput
	// **(Optional, String)** The preferred name of the user.
	PreferredName pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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