konnect

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

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

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

Documentation

Overview

A Pulumi package for creating and managing Kong konnect cloud 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/csechrist/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

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

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

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

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

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

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 Certificate

type Certificate struct {
	pulumi.CustomResourceState

	AlternateCertificate pulumi.StringPtrOutput `pulumi:"alternateCertificate"`
	AlternateKey         pulumi.StringPtrOutput `pulumi:"alternateKey"`
	Certificate          pulumi.StringOutput    `pulumi:"certificate"`
	ControlPlaneId       pulumi.StringOutput    `pulumi:"controlPlaneId"`
	Key                  pulumi.StringOutput    `pulumi:"key"`
}

func GetCertificate

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate 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 NewCertificate

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

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

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs

type CertificateArgs struct {
	AlternateCertificate pulumi.StringPtrInput
	AlternateKey         pulumi.StringPtrInput
	Certificate          pulumi.StringInput
	ControlPlaneId       pulumi.StringInput
	Key                  pulumi.StringInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) AlternateCertificate

func (o CertificateOutput) AlternateCertificate() pulumi.StringPtrOutput

func (CertificateOutput) AlternateKey

func (o CertificateOutput) AlternateKey() pulumi.StringPtrOutput

func (CertificateOutput) Certificate

func (o CertificateOutput) Certificate() pulumi.StringOutput

func (CertificateOutput) ControlPlaneId

func (o CertificateOutput) ControlPlaneId() pulumi.StringOutput

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) Key

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateState

type CertificateState struct {
	AlternateCertificate pulumi.StringPtrInput
	AlternateKey         pulumi.StringPtrInput
	Certificate          pulumi.StringPtrInput
	ControlPlaneId       pulumi.StringPtrInput
	Key                  pulumi.StringPtrInput
}

func (CertificateState) ElementType

func (CertificateState) ElementType() reflect.Type

type Consumer

type Consumer struct {
	pulumi.CustomResourceState

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

Represents a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumer(ctx, "example", &konnect.ConsumerArgs{
			ControlPlaneId: *pulumi.String(controlPlane.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

type ConsumerACL

type ConsumerACL struct {
	pulumi.CustomResourceState

	// **(String)** Id of the consumer ACL alone
	AclId pulumi.StringOutput `pulumi:"aclId"`
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(Required, String)** The ACL group value.
	Group pulumi.StringOutput `pulumi:"group"`
}

Represents an ACL credential for a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		consumer, err := konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumerACL(ctx, "example", &konnect.ConsumerACLArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			ConsumerId:     *pulumi.String(consumer.ConsumerId),
			Group:          pulumi.String("my-acl-group"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

func GetConsumerACL

func GetConsumerACL(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerACLState, opts ...pulumi.ResourceOption) (*ConsumerACL, error)

GetConsumerACL gets an existing ConsumerACL 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 NewConsumerACL

func NewConsumerACL(ctx *pulumi.Context,
	name string, args *ConsumerACLArgs, opts ...pulumi.ResourceOption) (*ConsumerACL, error)

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

func (*ConsumerACL) ElementType

func (*ConsumerACL) ElementType() reflect.Type

func (*ConsumerACL) ToConsumerACLOutput

func (i *ConsumerACL) ToConsumerACLOutput() ConsumerACLOutput

func (*ConsumerACL) ToConsumerACLOutputWithContext

func (i *ConsumerACL) ToConsumerACLOutputWithContext(ctx context.Context) ConsumerACLOutput

type ConsumerACLArgs

type ConsumerACLArgs struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Required, String)** The ACL group value.
	Group pulumi.StringInput
}

The set of arguments for constructing a ConsumerACL resource.

func (ConsumerACLArgs) ElementType

func (ConsumerACLArgs) ElementType() reflect.Type

type ConsumerACLArray

type ConsumerACLArray []ConsumerACLInput

func (ConsumerACLArray) ElementType

func (ConsumerACLArray) ElementType() reflect.Type

func (ConsumerACLArray) ToConsumerACLArrayOutput

func (i ConsumerACLArray) ToConsumerACLArrayOutput() ConsumerACLArrayOutput

func (ConsumerACLArray) ToConsumerACLArrayOutputWithContext

func (i ConsumerACLArray) ToConsumerACLArrayOutputWithContext(ctx context.Context) ConsumerACLArrayOutput

type ConsumerACLArrayInput

type ConsumerACLArrayInput interface {
	pulumi.Input

	ToConsumerACLArrayOutput() ConsumerACLArrayOutput
	ToConsumerACLArrayOutputWithContext(context.Context) ConsumerACLArrayOutput
}

ConsumerACLArrayInput is an input type that accepts ConsumerACLArray and ConsumerACLArrayOutput values. You can construct a concrete instance of `ConsumerACLArrayInput` via:

ConsumerACLArray{ ConsumerACLArgs{...} }

type ConsumerACLArrayOutput

type ConsumerACLArrayOutput struct{ *pulumi.OutputState }

func (ConsumerACLArrayOutput) ElementType

func (ConsumerACLArrayOutput) ElementType() reflect.Type

func (ConsumerACLArrayOutput) Index

func (ConsumerACLArrayOutput) ToConsumerACLArrayOutput

func (o ConsumerACLArrayOutput) ToConsumerACLArrayOutput() ConsumerACLArrayOutput

func (ConsumerACLArrayOutput) ToConsumerACLArrayOutputWithContext

func (o ConsumerACLArrayOutput) ToConsumerACLArrayOutputWithContext(ctx context.Context) ConsumerACLArrayOutput

type ConsumerACLInput

type ConsumerACLInput interface {
	pulumi.Input

	ToConsumerACLOutput() ConsumerACLOutput
	ToConsumerACLOutputWithContext(ctx context.Context) ConsumerACLOutput
}

type ConsumerACLMap

type ConsumerACLMap map[string]ConsumerACLInput

func (ConsumerACLMap) ElementType

func (ConsumerACLMap) ElementType() reflect.Type

func (ConsumerACLMap) ToConsumerACLMapOutput

func (i ConsumerACLMap) ToConsumerACLMapOutput() ConsumerACLMapOutput

func (ConsumerACLMap) ToConsumerACLMapOutputWithContext

func (i ConsumerACLMap) ToConsumerACLMapOutputWithContext(ctx context.Context) ConsumerACLMapOutput

type ConsumerACLMapInput

type ConsumerACLMapInput interface {
	pulumi.Input

	ToConsumerACLMapOutput() ConsumerACLMapOutput
	ToConsumerACLMapOutputWithContext(context.Context) ConsumerACLMapOutput
}

ConsumerACLMapInput is an input type that accepts ConsumerACLMap and ConsumerACLMapOutput values. You can construct a concrete instance of `ConsumerACLMapInput` via:

ConsumerACLMap{ "key": ConsumerACLArgs{...} }

type ConsumerACLMapOutput

type ConsumerACLMapOutput struct{ *pulumi.OutputState }

func (ConsumerACLMapOutput) ElementType

func (ConsumerACLMapOutput) ElementType() reflect.Type

func (ConsumerACLMapOutput) MapIndex

func (ConsumerACLMapOutput) ToConsumerACLMapOutput

func (o ConsumerACLMapOutput) ToConsumerACLMapOutput() ConsumerACLMapOutput

func (ConsumerACLMapOutput) ToConsumerACLMapOutputWithContext

func (o ConsumerACLMapOutput) ToConsumerACLMapOutputWithContext(ctx context.Context) ConsumerACLMapOutput

type ConsumerACLOutput

type ConsumerACLOutput struct{ *pulumi.OutputState }

func (ConsumerACLOutput) AclId

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

func (ConsumerACLOutput) ConsumerId

func (o ConsumerACLOutput) ConsumerId() pulumi.StringOutput

**(Required, String)** The id of the consumer.

func (ConsumerACLOutput) ControlPlaneId

func (o ConsumerACLOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

func (ConsumerACLOutput) ElementType

func (ConsumerACLOutput) ElementType() reflect.Type

func (ConsumerACLOutput) Group

**(Required, String)** The ACL group value.

func (ConsumerACLOutput) ToConsumerACLOutput

func (o ConsumerACLOutput) ToConsumerACLOutput() ConsumerACLOutput

func (ConsumerACLOutput) ToConsumerACLOutputWithContext

func (o ConsumerACLOutput) ToConsumerACLOutputWithContext(ctx context.Context) ConsumerACLOutput

type ConsumerACLState

type ConsumerACLState struct {
	// **(String)** Id of the consumer ACL alone
	AclId pulumi.StringPtrInput
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(Required, String)** The ACL group value.
	Group pulumi.StringPtrInput
}

func (ConsumerACLState) ElementType

func (ConsumerACLState) ElementType() reflect.Type

type ConsumerArgs

type ConsumerArgs struct {
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Optional, String)** Field for storing an existing unique ID for the Consumer.
	CustomId pulumi.StringPtrInput
	// **(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

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

type ConsumerBasic

type ConsumerBasic struct {
	pulumi.CustomResourceState

	// **(String)** Id of the consumer basic auth alone
	BasicId pulumi.StringOutput `pulumi:"basicId"`
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(Required, String)** The password value.
	Password pulumi.StringOutput `pulumi:"password"`
	// **(String)** Hash of the password
	PasswordHash pulumi.StringOutput `pulumi:"passwordHash"`
	// **(Required, String)** The username value.
	Username pulumi.StringOutput `pulumi:"username"`
}

Represents a basic auth credential for a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		consumer, err := konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumerBasic(ctx, "example", &konnect.ConsumerBasicArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			ConsumerId:     *pulumi.String(consumer.ConsumerId),
			Username:       pulumi.String("my-username"),
			Password:       pulumi.String("my-password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

func GetConsumerBasic

func GetConsumerBasic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerBasicState, opts ...pulumi.ResourceOption) (*ConsumerBasic, error)

GetConsumerBasic gets an existing ConsumerBasic 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 NewConsumerBasic

func NewConsumerBasic(ctx *pulumi.Context,
	name string, args *ConsumerBasicArgs, opts ...pulumi.ResourceOption) (*ConsumerBasic, error)

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

func (*ConsumerBasic) ElementType

func (*ConsumerBasic) ElementType() reflect.Type

func (*ConsumerBasic) ToConsumerBasicOutput

func (i *ConsumerBasic) ToConsumerBasicOutput() ConsumerBasicOutput

func (*ConsumerBasic) ToConsumerBasicOutputWithContext

func (i *ConsumerBasic) ToConsumerBasicOutputWithContext(ctx context.Context) ConsumerBasicOutput

type ConsumerBasicArgs

type ConsumerBasicArgs struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Required, String)** The password value.
	Password pulumi.StringInput
	// **(Required, String)** The username value.
	Username pulumi.StringInput
}

The set of arguments for constructing a ConsumerBasic resource.

func (ConsumerBasicArgs) ElementType

func (ConsumerBasicArgs) ElementType() reflect.Type

type ConsumerBasicArray

type ConsumerBasicArray []ConsumerBasicInput

func (ConsumerBasicArray) ElementType

func (ConsumerBasicArray) ElementType() reflect.Type

func (ConsumerBasicArray) ToConsumerBasicArrayOutput

func (i ConsumerBasicArray) ToConsumerBasicArrayOutput() ConsumerBasicArrayOutput

func (ConsumerBasicArray) ToConsumerBasicArrayOutputWithContext

func (i ConsumerBasicArray) ToConsumerBasicArrayOutputWithContext(ctx context.Context) ConsumerBasicArrayOutput

type ConsumerBasicArrayInput

type ConsumerBasicArrayInput interface {
	pulumi.Input

	ToConsumerBasicArrayOutput() ConsumerBasicArrayOutput
	ToConsumerBasicArrayOutputWithContext(context.Context) ConsumerBasicArrayOutput
}

ConsumerBasicArrayInput is an input type that accepts ConsumerBasicArray and ConsumerBasicArrayOutput values. You can construct a concrete instance of `ConsumerBasicArrayInput` via:

ConsumerBasicArray{ ConsumerBasicArgs{...} }

type ConsumerBasicArrayOutput

type ConsumerBasicArrayOutput struct{ *pulumi.OutputState }

func (ConsumerBasicArrayOutput) ElementType

func (ConsumerBasicArrayOutput) ElementType() reflect.Type

func (ConsumerBasicArrayOutput) Index

func (ConsumerBasicArrayOutput) ToConsumerBasicArrayOutput

func (o ConsumerBasicArrayOutput) ToConsumerBasicArrayOutput() ConsumerBasicArrayOutput

func (ConsumerBasicArrayOutput) ToConsumerBasicArrayOutputWithContext

func (o ConsumerBasicArrayOutput) ToConsumerBasicArrayOutputWithContext(ctx context.Context) ConsumerBasicArrayOutput

type ConsumerBasicInput

type ConsumerBasicInput interface {
	pulumi.Input

	ToConsumerBasicOutput() ConsumerBasicOutput
	ToConsumerBasicOutputWithContext(ctx context.Context) ConsumerBasicOutput
}

type ConsumerBasicMap

type ConsumerBasicMap map[string]ConsumerBasicInput

func (ConsumerBasicMap) ElementType

func (ConsumerBasicMap) ElementType() reflect.Type

func (ConsumerBasicMap) ToConsumerBasicMapOutput

func (i ConsumerBasicMap) ToConsumerBasicMapOutput() ConsumerBasicMapOutput

func (ConsumerBasicMap) ToConsumerBasicMapOutputWithContext

func (i ConsumerBasicMap) ToConsumerBasicMapOutputWithContext(ctx context.Context) ConsumerBasicMapOutput

type ConsumerBasicMapInput

type ConsumerBasicMapInput interface {
	pulumi.Input

	ToConsumerBasicMapOutput() ConsumerBasicMapOutput
	ToConsumerBasicMapOutputWithContext(context.Context) ConsumerBasicMapOutput
}

ConsumerBasicMapInput is an input type that accepts ConsumerBasicMap and ConsumerBasicMapOutput values. You can construct a concrete instance of `ConsumerBasicMapInput` via:

ConsumerBasicMap{ "key": ConsumerBasicArgs{...} }

type ConsumerBasicMapOutput

type ConsumerBasicMapOutput struct{ *pulumi.OutputState }

func (ConsumerBasicMapOutput) ElementType

func (ConsumerBasicMapOutput) ElementType() reflect.Type

func (ConsumerBasicMapOutput) MapIndex

func (ConsumerBasicMapOutput) ToConsumerBasicMapOutput

func (o ConsumerBasicMapOutput) ToConsumerBasicMapOutput() ConsumerBasicMapOutput

func (ConsumerBasicMapOutput) ToConsumerBasicMapOutputWithContext

func (o ConsumerBasicMapOutput) ToConsumerBasicMapOutputWithContext(ctx context.Context) ConsumerBasicMapOutput

type ConsumerBasicOutput

type ConsumerBasicOutput struct{ *pulumi.OutputState }

func (ConsumerBasicOutput) BasicId

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

func (ConsumerBasicOutput) ConsumerId

func (o ConsumerBasicOutput) ConsumerId() pulumi.StringOutput

**(Required, String)** The id of the consumer.

func (ConsumerBasicOutput) ControlPlaneId

func (o ConsumerBasicOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

func (ConsumerBasicOutput) ElementType

func (ConsumerBasicOutput) ElementType() reflect.Type

func (ConsumerBasicOutput) Password

**(Required, String)** The password value.

func (ConsumerBasicOutput) PasswordHash

func (o ConsumerBasicOutput) PasswordHash() pulumi.StringOutput

**(String)** Hash of the password

func (ConsumerBasicOutput) ToConsumerBasicOutput

func (o ConsumerBasicOutput) ToConsumerBasicOutput() ConsumerBasicOutput

func (ConsumerBasicOutput) ToConsumerBasicOutputWithContext

func (o ConsumerBasicOutput) ToConsumerBasicOutputWithContext(ctx context.Context) ConsumerBasicOutput

func (ConsumerBasicOutput) Username

**(Required, String)** The username value.

type ConsumerBasicState

type ConsumerBasicState struct {
	// **(String)** Id of the consumer basic auth alone
	BasicId pulumi.StringPtrInput
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(Required, String)** The password value.
	Password pulumi.StringPtrInput
	// **(String)** Hash of the password
	PasswordHash pulumi.StringPtrInput
	// **(Required, String)** The username value.
	Username pulumi.StringPtrInput
}

func (ConsumerBasicState) ElementType

func (ConsumerBasicState) ElementType() reflect.Type

type ConsumerHMAC

type ConsumerHMAC struct {
	pulumi.CustomResourceState

	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(String)** Id of the consumer HMAC alone
	HmacId pulumi.StringOutput `pulumi:"hmacId"`
	// **(Optional/Computed, String)** The secret value.  If left out, a secret will be generated for you.
	Secret pulumi.StringOutput `pulumi:"secret"`
	// **(Required, String)** The username value.
	Username pulumi.StringOutput `pulumi:"username"`
}

Represents an HMAC credential for a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		consumer, err := konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumerHMAC(ctx, "example", &konnect.ConsumerHMACArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			ConsumerId:     *pulumi.String(consumer.ConsumerId),
			Username:       pulumi.String("my-username"),
			Secret:         pulumi.String("my-secret"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

func GetConsumerHMAC

func GetConsumerHMAC(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerHMACState, opts ...pulumi.ResourceOption) (*ConsumerHMAC, error)

GetConsumerHMAC gets an existing ConsumerHMAC 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 NewConsumerHMAC

func NewConsumerHMAC(ctx *pulumi.Context,
	name string, args *ConsumerHMACArgs, opts ...pulumi.ResourceOption) (*ConsumerHMAC, error)

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

func (*ConsumerHMAC) ElementType

func (*ConsumerHMAC) ElementType() reflect.Type

func (*ConsumerHMAC) ToConsumerHMACOutput

func (i *ConsumerHMAC) ToConsumerHMACOutput() ConsumerHMACOutput

func (*ConsumerHMAC) ToConsumerHMACOutputWithContext

func (i *ConsumerHMAC) ToConsumerHMACOutputWithContext(ctx context.Context) ConsumerHMACOutput

type ConsumerHMACArgs

type ConsumerHMACArgs struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Optional/Computed, String)** The secret value.  If left out, a secret will be generated for you.
	Secret pulumi.StringPtrInput
	// **(Required, String)** The username value.
	Username pulumi.StringInput
}

The set of arguments for constructing a ConsumerHMAC resource.

func (ConsumerHMACArgs) ElementType

func (ConsumerHMACArgs) ElementType() reflect.Type

type ConsumerHMACArray

type ConsumerHMACArray []ConsumerHMACInput

func (ConsumerHMACArray) ElementType

func (ConsumerHMACArray) ElementType() reflect.Type

func (ConsumerHMACArray) ToConsumerHMACArrayOutput

func (i ConsumerHMACArray) ToConsumerHMACArrayOutput() ConsumerHMACArrayOutput

func (ConsumerHMACArray) ToConsumerHMACArrayOutputWithContext

func (i ConsumerHMACArray) ToConsumerHMACArrayOutputWithContext(ctx context.Context) ConsumerHMACArrayOutput

type ConsumerHMACArrayInput

type ConsumerHMACArrayInput interface {
	pulumi.Input

	ToConsumerHMACArrayOutput() ConsumerHMACArrayOutput
	ToConsumerHMACArrayOutputWithContext(context.Context) ConsumerHMACArrayOutput
}

ConsumerHMACArrayInput is an input type that accepts ConsumerHMACArray and ConsumerHMACArrayOutput values. You can construct a concrete instance of `ConsumerHMACArrayInput` via:

ConsumerHMACArray{ ConsumerHMACArgs{...} }

type ConsumerHMACArrayOutput

type ConsumerHMACArrayOutput struct{ *pulumi.OutputState }

func (ConsumerHMACArrayOutput) ElementType

func (ConsumerHMACArrayOutput) ElementType() reflect.Type

func (ConsumerHMACArrayOutput) Index

func (ConsumerHMACArrayOutput) ToConsumerHMACArrayOutput

func (o ConsumerHMACArrayOutput) ToConsumerHMACArrayOutput() ConsumerHMACArrayOutput

func (ConsumerHMACArrayOutput) ToConsumerHMACArrayOutputWithContext

func (o ConsumerHMACArrayOutput) ToConsumerHMACArrayOutputWithContext(ctx context.Context) ConsumerHMACArrayOutput

type ConsumerHMACInput

type ConsumerHMACInput interface {
	pulumi.Input

	ToConsumerHMACOutput() ConsumerHMACOutput
	ToConsumerHMACOutputWithContext(ctx context.Context) ConsumerHMACOutput
}

type ConsumerHMACMap

type ConsumerHMACMap map[string]ConsumerHMACInput

func (ConsumerHMACMap) ElementType

func (ConsumerHMACMap) ElementType() reflect.Type

func (ConsumerHMACMap) ToConsumerHMACMapOutput

func (i ConsumerHMACMap) ToConsumerHMACMapOutput() ConsumerHMACMapOutput

func (ConsumerHMACMap) ToConsumerHMACMapOutputWithContext

func (i ConsumerHMACMap) ToConsumerHMACMapOutputWithContext(ctx context.Context) ConsumerHMACMapOutput

type ConsumerHMACMapInput

type ConsumerHMACMapInput interface {
	pulumi.Input

	ToConsumerHMACMapOutput() ConsumerHMACMapOutput
	ToConsumerHMACMapOutputWithContext(context.Context) ConsumerHMACMapOutput
}

ConsumerHMACMapInput is an input type that accepts ConsumerHMACMap and ConsumerHMACMapOutput values. You can construct a concrete instance of `ConsumerHMACMapInput` via:

ConsumerHMACMap{ "key": ConsumerHMACArgs{...} }

type ConsumerHMACMapOutput

type ConsumerHMACMapOutput struct{ *pulumi.OutputState }

func (ConsumerHMACMapOutput) ElementType

func (ConsumerHMACMapOutput) ElementType() reflect.Type

func (ConsumerHMACMapOutput) MapIndex

func (ConsumerHMACMapOutput) ToConsumerHMACMapOutput

func (o ConsumerHMACMapOutput) ToConsumerHMACMapOutput() ConsumerHMACMapOutput

func (ConsumerHMACMapOutput) ToConsumerHMACMapOutputWithContext

func (o ConsumerHMACMapOutput) ToConsumerHMACMapOutputWithContext(ctx context.Context) ConsumerHMACMapOutput

type ConsumerHMACOutput

type ConsumerHMACOutput struct{ *pulumi.OutputState }

func (ConsumerHMACOutput) ConsumerId

func (o ConsumerHMACOutput) ConsumerId() pulumi.StringOutput

**(Required, String)** The id of the consumer.

func (ConsumerHMACOutput) ControlPlaneId

func (o ConsumerHMACOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

func (ConsumerHMACOutput) ElementType

func (ConsumerHMACOutput) ElementType() reflect.Type

func (ConsumerHMACOutput) HmacId

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

func (ConsumerHMACOutput) Secret

**(Optional/Computed, String)** The secret value. If left out, a secret will be generated for you.

func (ConsumerHMACOutput) ToConsumerHMACOutput

func (o ConsumerHMACOutput) ToConsumerHMACOutput() ConsumerHMACOutput

func (ConsumerHMACOutput) ToConsumerHMACOutputWithContext

func (o ConsumerHMACOutput) ToConsumerHMACOutputWithContext(ctx context.Context) ConsumerHMACOutput

func (ConsumerHMACOutput) Username

func (o ConsumerHMACOutput) Username() pulumi.StringOutput

**(Required, String)** The username value.

type ConsumerHMACState

type ConsumerHMACState struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(String)** Id of the consumer HMAC alone
	HmacId pulumi.StringPtrInput
	// **(Optional/Computed, String)** The secret value.  If left out, a secret will be generated for you.
	Secret pulumi.StringPtrInput
	// **(Required, String)** The username value.
	Username pulumi.StringPtrInput
}

func (ConsumerHMACState) ElementType

func (ConsumerHMACState) ElementType() reflect.Type

type ConsumerInput

type ConsumerInput interface {
	pulumi.Input

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

type ConsumerJWT

type ConsumerJWT struct {
	pulumi.CustomResourceState

	// **(Optional, String)** The algorithm for the JWT.  Allowed values: `HS256`, `HS384`, `HS512`, `RS256`, `RS384`, `RS512`, `ES256`, `ES384`. Default: `HS256`
	Algorithm pulumi.StringPtrOutput `pulumi:"algorithm"`
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(String)** Id of the consumer JWT alone
	JwtId pulumi.StringOutput `pulumi:"jwtId"`
	// **(Optional/Computed, String)** The key value.  If left out, a key will be generated for you.
	Key pulumi.StringOutput `pulumi:"key"`
	// **(Optional, String)** The RSA public key in PEM format for the JWT.  Required if `algorithm` is `RS256`, `RS384`, `RS512`, `ES256`, or `ES384`.
	RsaPublicKey pulumi.StringPtrOutput `pulumi:"rsaPublicKey"`
	// **(Optional/Computed, String)** The secret value.  If left out, a key will be generated for you.
	Secret pulumi.StringOutput `pulumi:"secret"`
}

Represents a JWT credential for a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		consumer, err := konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumerJWT(ctx, "example", &konnect.ConsumerJWTArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			ConsumerId:     *pulumi.String(consumer.ConsumerId),
			Key:            pulumi.String("my-key"),
			Secret:         pulumi.String("my-secret"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

func GetConsumerJWT

func GetConsumerJWT(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerJWTState, opts ...pulumi.ResourceOption) (*ConsumerJWT, error)

GetConsumerJWT gets an existing ConsumerJWT 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 NewConsumerJWT

func NewConsumerJWT(ctx *pulumi.Context,
	name string, args *ConsumerJWTArgs, opts ...pulumi.ResourceOption) (*ConsumerJWT, error)

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

func (*ConsumerJWT) ElementType

func (*ConsumerJWT) ElementType() reflect.Type

func (*ConsumerJWT) ToConsumerJWTOutput

func (i *ConsumerJWT) ToConsumerJWTOutput() ConsumerJWTOutput

func (*ConsumerJWT) ToConsumerJWTOutputWithContext

func (i *ConsumerJWT) ToConsumerJWTOutputWithContext(ctx context.Context) ConsumerJWTOutput

type ConsumerJWTArgs

type ConsumerJWTArgs struct {
	// **(Optional, String)** The algorithm for the JWT.  Allowed values: `HS256`, `HS384`, `HS512`, `RS256`, `RS384`, `RS512`, `ES256`, `ES384`. Default: `HS256`
	Algorithm pulumi.StringPtrInput
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Optional/Computed, String)** The key value.  If left out, a key will be generated for you.
	Key pulumi.StringPtrInput
	// **(Optional, String)** The RSA public key in PEM format for the JWT.  Required if `algorithm` is `RS256`, `RS384`, `RS512`, `ES256`, or `ES384`.
	RsaPublicKey pulumi.StringPtrInput
	// **(Optional/Computed, String)** The secret value.  If left out, a key will be generated for you.
	Secret pulumi.StringPtrInput
}

The set of arguments for constructing a ConsumerJWT resource.

func (ConsumerJWTArgs) ElementType

func (ConsumerJWTArgs) ElementType() reflect.Type

type ConsumerJWTArray

type ConsumerJWTArray []ConsumerJWTInput

func (ConsumerJWTArray) ElementType

func (ConsumerJWTArray) ElementType() reflect.Type

func (ConsumerJWTArray) ToConsumerJWTArrayOutput

func (i ConsumerJWTArray) ToConsumerJWTArrayOutput() ConsumerJWTArrayOutput

func (ConsumerJWTArray) ToConsumerJWTArrayOutputWithContext

func (i ConsumerJWTArray) ToConsumerJWTArrayOutputWithContext(ctx context.Context) ConsumerJWTArrayOutput

type ConsumerJWTArrayInput

type ConsumerJWTArrayInput interface {
	pulumi.Input

	ToConsumerJWTArrayOutput() ConsumerJWTArrayOutput
	ToConsumerJWTArrayOutputWithContext(context.Context) ConsumerJWTArrayOutput
}

ConsumerJWTArrayInput is an input type that accepts ConsumerJWTArray and ConsumerJWTArrayOutput values. You can construct a concrete instance of `ConsumerJWTArrayInput` via:

ConsumerJWTArray{ ConsumerJWTArgs{...} }

type ConsumerJWTArrayOutput

type ConsumerJWTArrayOutput struct{ *pulumi.OutputState }

func (ConsumerJWTArrayOutput) ElementType

func (ConsumerJWTArrayOutput) ElementType() reflect.Type

func (ConsumerJWTArrayOutput) Index

func (ConsumerJWTArrayOutput) ToConsumerJWTArrayOutput

func (o ConsumerJWTArrayOutput) ToConsumerJWTArrayOutput() ConsumerJWTArrayOutput

func (ConsumerJWTArrayOutput) ToConsumerJWTArrayOutputWithContext

func (o ConsumerJWTArrayOutput) ToConsumerJWTArrayOutputWithContext(ctx context.Context) ConsumerJWTArrayOutput

type ConsumerJWTInput

type ConsumerJWTInput interface {
	pulumi.Input

	ToConsumerJWTOutput() ConsumerJWTOutput
	ToConsumerJWTOutputWithContext(ctx context.Context) ConsumerJWTOutput
}

type ConsumerJWTMap

type ConsumerJWTMap map[string]ConsumerJWTInput

func (ConsumerJWTMap) ElementType

func (ConsumerJWTMap) ElementType() reflect.Type

func (ConsumerJWTMap) ToConsumerJWTMapOutput

func (i ConsumerJWTMap) ToConsumerJWTMapOutput() ConsumerJWTMapOutput

func (ConsumerJWTMap) ToConsumerJWTMapOutputWithContext

func (i ConsumerJWTMap) ToConsumerJWTMapOutputWithContext(ctx context.Context) ConsumerJWTMapOutput

type ConsumerJWTMapInput

type ConsumerJWTMapInput interface {
	pulumi.Input

	ToConsumerJWTMapOutput() ConsumerJWTMapOutput
	ToConsumerJWTMapOutputWithContext(context.Context) ConsumerJWTMapOutput
}

ConsumerJWTMapInput is an input type that accepts ConsumerJWTMap and ConsumerJWTMapOutput values. You can construct a concrete instance of `ConsumerJWTMapInput` via:

ConsumerJWTMap{ "key": ConsumerJWTArgs{...} }

type ConsumerJWTMapOutput

type ConsumerJWTMapOutput struct{ *pulumi.OutputState }

func (ConsumerJWTMapOutput) ElementType

func (ConsumerJWTMapOutput) ElementType() reflect.Type

func (ConsumerJWTMapOutput) MapIndex

func (ConsumerJWTMapOutput) ToConsumerJWTMapOutput

func (o ConsumerJWTMapOutput) ToConsumerJWTMapOutput() ConsumerJWTMapOutput

func (ConsumerJWTMapOutput) ToConsumerJWTMapOutputWithContext

func (o ConsumerJWTMapOutput) ToConsumerJWTMapOutputWithContext(ctx context.Context) ConsumerJWTMapOutput

type ConsumerJWTOutput

type ConsumerJWTOutput struct{ *pulumi.OutputState }

func (ConsumerJWTOutput) Algorithm

**(Optional, String)** The algorithm for the JWT. Allowed values: `HS256`, `HS384`, `HS512`, `RS256`, `RS384`, `RS512`, `ES256`, `ES384`. Default: `HS256`

func (ConsumerJWTOutput) ConsumerId

func (o ConsumerJWTOutput) ConsumerId() pulumi.StringOutput

**(Required, String)** The id of the consumer.

func (ConsumerJWTOutput) ControlPlaneId

func (o ConsumerJWTOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

func (ConsumerJWTOutput) ElementType

func (ConsumerJWTOutput) ElementType() reflect.Type

func (ConsumerJWTOutput) JwtId

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

func (ConsumerJWTOutput) Key

**(Optional/Computed, String)** The key value. If left out, a key will be generated for you.

func (ConsumerJWTOutput) RsaPublicKey

func (o ConsumerJWTOutput) RsaPublicKey() pulumi.StringPtrOutput

**(Optional, String)** The RSA public key in PEM format for the JWT. Required if `algorithm` is `RS256`, `RS384`, `RS512`, `ES256`, or `ES384`.

func (ConsumerJWTOutput) Secret

**(Optional/Computed, String)** The secret value. If left out, a key will be generated for you.

func (ConsumerJWTOutput) ToConsumerJWTOutput

func (o ConsumerJWTOutput) ToConsumerJWTOutput() ConsumerJWTOutput

func (ConsumerJWTOutput) ToConsumerJWTOutputWithContext

func (o ConsumerJWTOutput) ToConsumerJWTOutputWithContext(ctx context.Context) ConsumerJWTOutput

type ConsumerJWTState

type ConsumerJWTState struct {
	// **(Optional, String)** The algorithm for the JWT.  Allowed values: `HS256`, `HS384`, `HS512`, `RS256`, `RS384`, `RS512`, `ES256`, `ES384`. Default: `HS256`
	Algorithm pulumi.StringPtrInput
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(String)** Id of the consumer JWT alone
	JwtId pulumi.StringPtrInput
	// **(Optional/Computed, String)** The key value.  If left out, a key will be generated for you.
	Key pulumi.StringPtrInput
	// **(Optional, String)** The RSA public key in PEM format for the JWT.  Required if `algorithm` is `RS256`, `RS384`, `RS512`, `ES256`, or `ES384`.
	RsaPublicKey pulumi.StringPtrInput
	// **(Optional/Computed, String)** The secret value.  If left out, a key will be generated for you.
	Secret pulumi.StringPtrInput
}

func (ConsumerJWTState) ElementType

func (ConsumerJWTState) ElementType() reflect.Type

type ConsumerKey

type ConsumerKey struct {
	pulumi.CustomResourceState

	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringOutput `pulumi:"consumerId"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(Optional/Computed, String)** The API key value.  If left out, a key will be generated for you.
	Key pulumi.StringOutput `pulumi:"key"`
	// **(String)** Id of the consumer API key alone
	KeyId pulumi.StringOutput `pulumi:"keyId"`
}

Represents an API key credential for a consumer within a control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		consumer, err := konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.Id,
			SearchUsername: pulumi.StringRef("Bob"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewConsumerKey(ctx, "example", &konnect.ConsumerKeyArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			ConsumerId:     *pulumi.String(consumer.ConsumerId),
			Key:            pulumi.String("my-api-key"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

func GetConsumerKey

func GetConsumerKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerKeyState, opts ...pulumi.ResourceOption) (*ConsumerKey, error)

GetConsumerKey gets an existing ConsumerKey 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 NewConsumerKey

func NewConsumerKey(ctx *pulumi.Context,
	name string, args *ConsumerKeyArgs, opts ...pulumi.ResourceOption) (*ConsumerKey, error)

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

func (*ConsumerKey) ElementType

func (*ConsumerKey) ElementType() reflect.Type

func (*ConsumerKey) ToConsumerKeyOutput

func (i *ConsumerKey) ToConsumerKeyOutput() ConsumerKeyOutput

func (*ConsumerKey) ToConsumerKeyOutputWithContext

func (i *ConsumerKey) ToConsumerKeyOutputWithContext(ctx context.Context) ConsumerKeyOutput

type ConsumerKeyArgs

type ConsumerKeyArgs struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(Optional/Computed, String)** The API key value.  If left out, a key will be generated for you.
	Key pulumi.StringPtrInput
}

The set of arguments for constructing a ConsumerKey resource.

func (ConsumerKeyArgs) ElementType

func (ConsumerKeyArgs) ElementType() reflect.Type

type ConsumerKeyArray

type ConsumerKeyArray []ConsumerKeyInput

func (ConsumerKeyArray) ElementType

func (ConsumerKeyArray) ElementType() reflect.Type

func (ConsumerKeyArray) ToConsumerKeyArrayOutput

func (i ConsumerKeyArray) ToConsumerKeyArrayOutput() ConsumerKeyArrayOutput

func (ConsumerKeyArray) ToConsumerKeyArrayOutputWithContext

func (i ConsumerKeyArray) ToConsumerKeyArrayOutputWithContext(ctx context.Context) ConsumerKeyArrayOutput

type ConsumerKeyArrayInput

type ConsumerKeyArrayInput interface {
	pulumi.Input

	ToConsumerKeyArrayOutput() ConsumerKeyArrayOutput
	ToConsumerKeyArrayOutputWithContext(context.Context) ConsumerKeyArrayOutput
}

ConsumerKeyArrayInput is an input type that accepts ConsumerKeyArray and ConsumerKeyArrayOutput values. You can construct a concrete instance of `ConsumerKeyArrayInput` via:

ConsumerKeyArray{ ConsumerKeyArgs{...} }

type ConsumerKeyArrayOutput

type ConsumerKeyArrayOutput struct{ *pulumi.OutputState }

func (ConsumerKeyArrayOutput) ElementType

func (ConsumerKeyArrayOutput) ElementType() reflect.Type

func (ConsumerKeyArrayOutput) Index

func (ConsumerKeyArrayOutput) ToConsumerKeyArrayOutput

func (o ConsumerKeyArrayOutput) ToConsumerKeyArrayOutput() ConsumerKeyArrayOutput

func (ConsumerKeyArrayOutput) ToConsumerKeyArrayOutputWithContext

func (o ConsumerKeyArrayOutput) ToConsumerKeyArrayOutputWithContext(ctx context.Context) ConsumerKeyArrayOutput

type ConsumerKeyInput

type ConsumerKeyInput interface {
	pulumi.Input

	ToConsumerKeyOutput() ConsumerKeyOutput
	ToConsumerKeyOutputWithContext(ctx context.Context) ConsumerKeyOutput
}

type ConsumerKeyMap

type ConsumerKeyMap map[string]ConsumerKeyInput

func (ConsumerKeyMap) ElementType

func (ConsumerKeyMap) ElementType() reflect.Type

func (ConsumerKeyMap) ToConsumerKeyMapOutput

func (i ConsumerKeyMap) ToConsumerKeyMapOutput() ConsumerKeyMapOutput

func (ConsumerKeyMap) ToConsumerKeyMapOutputWithContext

func (i ConsumerKeyMap) ToConsumerKeyMapOutputWithContext(ctx context.Context) ConsumerKeyMapOutput

type ConsumerKeyMapInput

type ConsumerKeyMapInput interface {
	pulumi.Input

	ToConsumerKeyMapOutput() ConsumerKeyMapOutput
	ToConsumerKeyMapOutputWithContext(context.Context) ConsumerKeyMapOutput
}

ConsumerKeyMapInput is an input type that accepts ConsumerKeyMap and ConsumerKeyMapOutput values. You can construct a concrete instance of `ConsumerKeyMapInput` via:

ConsumerKeyMap{ "key": ConsumerKeyArgs{...} }

type ConsumerKeyMapOutput

type ConsumerKeyMapOutput struct{ *pulumi.OutputState }

func (ConsumerKeyMapOutput) ElementType

func (ConsumerKeyMapOutput) ElementType() reflect.Type

func (ConsumerKeyMapOutput) MapIndex

func (ConsumerKeyMapOutput) ToConsumerKeyMapOutput

func (o ConsumerKeyMapOutput) ToConsumerKeyMapOutput() ConsumerKeyMapOutput

func (ConsumerKeyMapOutput) ToConsumerKeyMapOutputWithContext

func (o ConsumerKeyMapOutput) ToConsumerKeyMapOutputWithContext(ctx context.Context) ConsumerKeyMapOutput

type ConsumerKeyOutput

type ConsumerKeyOutput struct{ *pulumi.OutputState }

func (ConsumerKeyOutput) ConsumerId

func (o ConsumerKeyOutput) ConsumerId() pulumi.StringOutput

**(Required, String)** The id of the consumer.

func (ConsumerKeyOutput) ControlPlaneId

func (o ConsumerKeyOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

func (ConsumerKeyOutput) ElementType

func (ConsumerKeyOutput) ElementType() reflect.Type

func (ConsumerKeyOutput) Key

**(Optional/Computed, String)** The API key value. If left out, a key will be generated for you.

func (ConsumerKeyOutput) KeyId

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

func (ConsumerKeyOutput) ToConsumerKeyOutput

func (o ConsumerKeyOutput) ToConsumerKeyOutput() ConsumerKeyOutput

func (ConsumerKeyOutput) ToConsumerKeyOutputWithContext

func (o ConsumerKeyOutput) ToConsumerKeyOutputWithContext(ctx context.Context) ConsumerKeyOutput

type ConsumerKeyState

type ConsumerKeyState struct {
	// **(Required, String)** The id of the consumer.
	ConsumerId pulumi.StringPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(Optional/Computed, String)** The API key value.  If left out, a key will be generated for you.
	Key pulumi.StringPtrInput
	// **(String)** Id of the consumer API key alone
	KeyId pulumi.StringPtrInput
}

func (ConsumerKeyState) ElementType

func (ConsumerKeyState) ElementType() reflect.Type

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

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

type ConsumerOutput

type ConsumerOutput struct{ *pulumi.OutputState }

func (ConsumerOutput) ConsumerId

func (o ConsumerOutput) ConsumerId() pulumi.StringOutput

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

func (ConsumerOutput) ControlPlaneId

func (o ConsumerOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

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) ToConsumerOutput

func (o ConsumerOutput) ToConsumerOutput() ConsumerOutput

func (ConsumerOutput) ToConsumerOutputWithContext

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

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
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(Optional, String)** Field for storing an existing unique ID for the Consumer.
	CustomId pulumi.StringPtrInput
	// **(Optional, String)** The unique username of the Consumer.
	Username pulumi.StringPtrInput
}

func (ConsumerState) ElementType

func (ConsumerState) ElementType() reflect.Type

type ControlPlane

type ControlPlane struct {
	pulumi.CustomResourceState

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

Represents a control plane ## Example Usage

```go package main

import (

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

)

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

```

## Import

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

func GetControlPlane

func GetControlPlane(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControlPlaneState, opts ...pulumi.ResourceOption) (*ControlPlane, error)

GetControlPlane gets an existing ControlPlane 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 NewControlPlane

func NewControlPlane(ctx *pulumi.Context,
	name string, args *ControlPlaneArgs, opts ...pulumi.ResourceOption) (*ControlPlane, error)

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

func (*ControlPlane) ElementType

func (*ControlPlane) ElementType() reflect.Type

func (*ControlPlane) ToControlPlaneOutput

func (i *ControlPlane) ToControlPlaneOutput() ControlPlaneOutput

func (*ControlPlane) ToControlPlaneOutputWithContext

func (i *ControlPlane) ToControlPlaneOutputWithContext(ctx context.Context) ControlPlaneOutput

type ControlPlaneArgs

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

The set of arguments for constructing a ControlPlane resource.

func (ControlPlaneArgs) ElementType

func (ControlPlaneArgs) ElementType() reflect.Type

type ControlPlaneArray

type ControlPlaneArray []ControlPlaneInput

func (ControlPlaneArray) ElementType

func (ControlPlaneArray) ElementType() reflect.Type

func (ControlPlaneArray) ToControlPlaneArrayOutput

func (i ControlPlaneArray) ToControlPlaneArrayOutput() ControlPlaneArrayOutput

func (ControlPlaneArray) ToControlPlaneArrayOutputWithContext

func (i ControlPlaneArray) ToControlPlaneArrayOutputWithContext(ctx context.Context) ControlPlaneArrayOutput

type ControlPlaneArrayInput

type ControlPlaneArrayInput interface {
	pulumi.Input

	ToControlPlaneArrayOutput() ControlPlaneArrayOutput
	ToControlPlaneArrayOutputWithContext(context.Context) ControlPlaneArrayOutput
}

ControlPlaneArrayInput is an input type that accepts ControlPlaneArray and ControlPlaneArrayOutput values. You can construct a concrete instance of `ControlPlaneArrayInput` via:

ControlPlaneArray{ ControlPlaneArgs{...} }

type ControlPlaneArrayOutput

type ControlPlaneArrayOutput struct{ *pulumi.OutputState }

func (ControlPlaneArrayOutput) ElementType

func (ControlPlaneArrayOutput) ElementType() reflect.Type

func (ControlPlaneArrayOutput) Index

func (ControlPlaneArrayOutput) ToControlPlaneArrayOutput

func (o ControlPlaneArrayOutput) ToControlPlaneArrayOutput() ControlPlaneArrayOutput

func (ControlPlaneArrayOutput) ToControlPlaneArrayOutputWithContext

func (o ControlPlaneArrayOutput) ToControlPlaneArrayOutputWithContext(ctx context.Context) ControlPlaneArrayOutput

type ControlPlaneInput

type ControlPlaneInput interface {
	pulumi.Input

	ToControlPlaneOutput() ControlPlaneOutput
	ToControlPlaneOutputWithContext(ctx context.Context) ControlPlaneOutput
}

type ControlPlaneMap

type ControlPlaneMap map[string]ControlPlaneInput

func (ControlPlaneMap) ElementType

func (ControlPlaneMap) ElementType() reflect.Type

func (ControlPlaneMap) ToControlPlaneMapOutput

func (i ControlPlaneMap) ToControlPlaneMapOutput() ControlPlaneMapOutput

func (ControlPlaneMap) ToControlPlaneMapOutputWithContext

func (i ControlPlaneMap) ToControlPlaneMapOutputWithContext(ctx context.Context) ControlPlaneMapOutput

type ControlPlaneMapInput

type ControlPlaneMapInput interface {
	pulumi.Input

	ToControlPlaneMapOutput() ControlPlaneMapOutput
	ToControlPlaneMapOutputWithContext(context.Context) ControlPlaneMapOutput
}

ControlPlaneMapInput is an input type that accepts ControlPlaneMap and ControlPlaneMapOutput values. You can construct a concrete instance of `ControlPlaneMapInput` via:

ControlPlaneMap{ "key": ControlPlaneArgs{...} }

type ControlPlaneMapOutput

type ControlPlaneMapOutput struct{ *pulumi.OutputState }

func (ControlPlaneMapOutput) ElementType

func (ControlPlaneMapOutput) ElementType() reflect.Type

func (ControlPlaneMapOutput) MapIndex

func (ControlPlaneMapOutput) ToControlPlaneMapOutput

func (o ControlPlaneMapOutput) ToControlPlaneMapOutput() ControlPlaneMapOutput

func (ControlPlaneMapOutput) ToControlPlaneMapOutputWithContext

func (o ControlPlaneMapOutput) ToControlPlaneMapOutputWithContext(ctx context.Context) ControlPlaneMapOutput

type ControlPlaneOutput

type ControlPlaneOutput struct{ *pulumi.OutputState }

func (ControlPlaneOutput) ClusterType

func (o ControlPlaneOutput) ClusterType() pulumi.StringOutput

**(String)** The cluster type of the control plane.

func (ControlPlaneOutput) ControlPlaneEndpoint

func (o ControlPlaneOutput) ControlPlaneEndpoint() pulumi.StringOutput

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

func (ControlPlaneOutput) Description

func (o ControlPlaneOutput) Description() pulumi.StringPtrOutput

**(Optional, String)** The description of the control plane.

func (ControlPlaneOutput) ElementType

func (ControlPlaneOutput) ElementType() reflect.Type

func (ControlPlaneOutput) Name

**(Required, String)** The name of the control plane.

func (ControlPlaneOutput) TelemetryEndpoint

func (o ControlPlaneOutput) TelemetryEndpoint() pulumi.StringOutput

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

func (ControlPlaneOutput) ToControlPlaneOutput

func (o ControlPlaneOutput) ToControlPlaneOutput() ControlPlaneOutput

func (ControlPlaneOutput) ToControlPlaneOutputWithContext

func (o ControlPlaneOutput) ToControlPlaneOutputWithContext(ctx context.Context) ControlPlaneOutput

type ControlPlaneState

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

func (ControlPlaneState) ElementType

func (ControlPlaneState) ElementType() reflect.Type

type DpCertificate

type DpCertificate struct {
	pulumi.CustomResourceState

	Cert           pulumi.StringOutput `pulumi:"cert"`
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
}

func GetDpCertificate

func GetDpCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DpCertificateState, opts ...pulumi.ResourceOption) (*DpCertificate, error)

GetDpCertificate gets an existing DpCertificate 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 NewDpCertificate

func NewDpCertificate(ctx *pulumi.Context,
	name string, args *DpCertificateArgs, opts ...pulumi.ResourceOption) (*DpCertificate, error)

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

func (*DpCertificate) ElementType

func (*DpCertificate) ElementType() reflect.Type

func (*DpCertificate) ToDpCertificateOutput

func (i *DpCertificate) ToDpCertificateOutput() DpCertificateOutput

func (*DpCertificate) ToDpCertificateOutputWithContext

func (i *DpCertificate) ToDpCertificateOutputWithContext(ctx context.Context) DpCertificateOutput

type DpCertificateArgs

type DpCertificateArgs struct {
	Cert           pulumi.StringInput
	ControlPlaneId pulumi.StringInput
}

The set of arguments for constructing a DpCertificate resource.

func (DpCertificateArgs) ElementType

func (DpCertificateArgs) ElementType() reflect.Type

type DpCertificateArray

type DpCertificateArray []DpCertificateInput

func (DpCertificateArray) ElementType

func (DpCertificateArray) ElementType() reflect.Type

func (DpCertificateArray) ToDpCertificateArrayOutput

func (i DpCertificateArray) ToDpCertificateArrayOutput() DpCertificateArrayOutput

func (DpCertificateArray) ToDpCertificateArrayOutputWithContext

func (i DpCertificateArray) ToDpCertificateArrayOutputWithContext(ctx context.Context) DpCertificateArrayOutput

type DpCertificateArrayInput

type DpCertificateArrayInput interface {
	pulumi.Input

	ToDpCertificateArrayOutput() DpCertificateArrayOutput
	ToDpCertificateArrayOutputWithContext(context.Context) DpCertificateArrayOutput
}

DpCertificateArrayInput is an input type that accepts DpCertificateArray and DpCertificateArrayOutput values. You can construct a concrete instance of `DpCertificateArrayInput` via:

DpCertificateArray{ DpCertificateArgs{...} }

type DpCertificateArrayOutput

type DpCertificateArrayOutput struct{ *pulumi.OutputState }

func (DpCertificateArrayOutput) ElementType

func (DpCertificateArrayOutput) ElementType() reflect.Type

func (DpCertificateArrayOutput) Index

func (DpCertificateArrayOutput) ToDpCertificateArrayOutput

func (o DpCertificateArrayOutput) ToDpCertificateArrayOutput() DpCertificateArrayOutput

func (DpCertificateArrayOutput) ToDpCertificateArrayOutputWithContext

func (o DpCertificateArrayOutput) ToDpCertificateArrayOutputWithContext(ctx context.Context) DpCertificateArrayOutput

type DpCertificateInput

type DpCertificateInput interface {
	pulumi.Input

	ToDpCertificateOutput() DpCertificateOutput
	ToDpCertificateOutputWithContext(ctx context.Context) DpCertificateOutput
}

type DpCertificateMap

type DpCertificateMap map[string]DpCertificateInput

func (DpCertificateMap) ElementType

func (DpCertificateMap) ElementType() reflect.Type

func (DpCertificateMap) ToDpCertificateMapOutput

func (i DpCertificateMap) ToDpCertificateMapOutput() DpCertificateMapOutput

func (DpCertificateMap) ToDpCertificateMapOutputWithContext

func (i DpCertificateMap) ToDpCertificateMapOutputWithContext(ctx context.Context) DpCertificateMapOutput

type DpCertificateMapInput

type DpCertificateMapInput interface {
	pulumi.Input

	ToDpCertificateMapOutput() DpCertificateMapOutput
	ToDpCertificateMapOutputWithContext(context.Context) DpCertificateMapOutput
}

DpCertificateMapInput is an input type that accepts DpCertificateMap and DpCertificateMapOutput values. You can construct a concrete instance of `DpCertificateMapInput` via:

DpCertificateMap{ "key": DpCertificateArgs{...} }

type DpCertificateMapOutput

type DpCertificateMapOutput struct{ *pulumi.OutputState }

func (DpCertificateMapOutput) ElementType

func (DpCertificateMapOutput) ElementType() reflect.Type

func (DpCertificateMapOutput) MapIndex

func (DpCertificateMapOutput) ToDpCertificateMapOutput

func (o DpCertificateMapOutput) ToDpCertificateMapOutput() DpCertificateMapOutput

func (DpCertificateMapOutput) ToDpCertificateMapOutputWithContext

func (o DpCertificateMapOutput) ToDpCertificateMapOutputWithContext(ctx context.Context) DpCertificateMapOutput

type DpCertificateOutput

type DpCertificateOutput struct{ *pulumi.OutputState }

func (DpCertificateOutput) Cert

func (DpCertificateOutput) ControlPlaneId

func (o DpCertificateOutput) ControlPlaneId() pulumi.StringOutput

func (DpCertificateOutput) ElementType

func (DpCertificateOutput) ElementType() reflect.Type

func (DpCertificateOutput) ToDpCertificateOutput

func (o DpCertificateOutput) ToDpCertificateOutput() DpCertificateOutput

func (DpCertificateOutput) ToDpCertificateOutputWithContext

func (o DpCertificateOutput) ToDpCertificateOutputWithContext(ctx context.Context) DpCertificateOutput

type DpCertificateState

type DpCertificateState struct {
	Cert           pulumi.StringPtrInput
	ControlPlaneId pulumi.StringPtrInput
}

func (DpCertificateState) ElementType

func (DpCertificateState) ElementType() reflect.Type

type GetNodesArgs

type GetNodesArgs struct {
	// **(Required, String)** The id of the parent control plane.
	ControlPlaneId string `pulumi:"controlPlaneId"`
}

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 control plane.
	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 control plane.
	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

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

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

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 control plane.

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) Type

**(String)** Type of node.

func (GetNodesNodeOutput) Version

**(String)** Version of node.

type GetNodesOutputArgs

type GetNodesOutputArgs struct {
	// **(Required, String)** The id of the parent control plane.
	ControlPlaneId pulumi.StringInput `pulumi:"controlPlaneId"`
}

A collection of arguments for invoking getNodes.

func (GetNodesOutputArgs) ElementType

func (GetNodesOutputArgs) ElementType() reflect.Type

type GetNodesResult

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

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 control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.GetNodes(ctx, &konnect.GetNodesArgs{
			ControlPlaneId: controlPlane.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) ControlPlaneId

func (o GetNodesResultOutput) ControlPlaneId() pulumi.StringOutput

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 control plane

func (GetNodesResultOutput) ToGetNodesResultOutput

func (o GetNodesResultOutput) ToGetNodesResultOutput() GetNodesResultOutput

func (GetNodesResultOutput) ToGetNodesResultOutputWithContext

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

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 `Control Planes` 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 `Control Planes` 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/csechrist/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: "Control Planes",
		}, 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

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/csechrist/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

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

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

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

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

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

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 {
	// **(Required, String)** The id of the control plane containing consumer
	ControlPlaneId string `pulumi:"controlPlaneId"`
	// **(Optional, String)** The filter string to apply to the customId of the consumer. Uses equality.
	CustomId *string `pulumi:"customId"`
	// **(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 {
	// **(Required, String)** The id of the control plane containing consumer
	ControlPlaneId pulumi.StringInput `pulumi:"controlPlaneId"`
	// **(Optional, String)** The filter string to apply to the customId of the consumer. Uses equality.
	CustomId pulumi.StringPtrInput `pulumi:"customId"`
	// **(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"`
	ControlPlaneId string  `pulumi:"controlPlaneId"`
	CustomId       *string `pulumi:"customId"`
	// The provider-assigned unique ID for this managed resource.
	Id             string  `pulumi:"id"`
	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/csechrist/pulumi-konnect/sdk/go/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.LookupConsumer(ctx, &konnect.LookupConsumerArgs{
			ControlPlaneId: controlPlane.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) ControlPlaneId

func (o LookupConsumerResultOutput) ControlPlaneId() pulumi.StringOutput

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) 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) Username

type LookupControlPlaneArgs

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

A collection of arguments for invoking getControlPlane.

type LookupControlPlaneOutputArgs

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

A collection of arguments for invoking getControlPlane.

func (LookupControlPlaneOutputArgs) ElementType

type LookupControlPlaneResult

type LookupControlPlaneResult struct {
	// **(String)** The cluster type of the control plane.
	ClusterType string `pulumi:"clusterType"`
	// **(String)** The control plane endpoint URL of the control plane.
	ControlPlaneEndpoint string `pulumi:"controlPlaneEndpoint"`
	// **(String)** The description of the control plane.
	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 control plane.
	TelemetryEndpoint string `pulumi:"telemetryEndpoint"`
}

A collection of values returned by getControlPlane.

func LookupControlPlane

func LookupControlPlane(ctx *pulumi.Context, args *LookupControlPlaneArgs, opts ...pulumi.InvokeOption) (*LookupControlPlaneResult, error)

Represents a control plane ## Example Usage

```go package main

import (

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

)

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

```

type LookupControlPlaneResultOutput

type LookupControlPlaneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getControlPlane.

func (LookupControlPlaneResultOutput) ClusterType

**(String)** The cluster type of the control plane.

func (LookupControlPlaneResultOutput) ControlPlaneEndpoint

func (o LookupControlPlaneResultOutput) ControlPlaneEndpoint() pulumi.StringOutput

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

func (LookupControlPlaneResultOutput) Description

**(String)** The description of the control plane.

func (LookupControlPlaneResultOutput) ElementType

func (LookupControlPlaneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupControlPlaneResultOutput) Name

func (LookupControlPlaneResultOutput) SearchName

func (LookupControlPlaneResultOutput) TelemetryEndpoint

func (o LookupControlPlaneResultOutput) TelemetryEndpoint() pulumi.StringOutput

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

func (LookupControlPlaneResultOutput) ToLookupControlPlaneResultOutput

func (o LookupControlPlaneResultOutput) ToLookupControlPlaneResultOutput() LookupControlPlaneResultOutput

func (LookupControlPlaneResultOutput) ToLookupControlPlaneResultOutputWithContext

func (o LookupControlPlaneResultOutput) ToLookupControlPlaneResultOutputWithContext(ctx context.Context) LookupControlPlaneResultOutput

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/csechrist/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

type LookupTeamRoleArgs

type LookupTeamRoleArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Control Planes` 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 `Control Planes` 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 `Control Planes` 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 `Control Planes` 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/csechrist/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("Control Planes"),
		}, 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

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/csechrist/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

type LookupUserRoleArgs

type LookupUserRoleArgs struct {
	// **(Optional, String)** The filter string to apply to the display name of the entity type. Must be `Control Planes` 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 `Control Planes` 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 `Control Planes` 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 `Control Planes` 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/csechrist/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("Control Planes"),
		}, 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) 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"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(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"`
	// **(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 control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewPlugin(ctx, "example", &konnect.PluginArgs{
			ControlPlaneId: *pulumi.String(controlPlane.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) 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
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(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
	// **(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) 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) 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) 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) 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) ControlPlaneId

func (o PluginOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

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) 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) 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
	// **(Required, String)** The id of the control plane.
	ControlPlaneId 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
	// **(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) 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) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type Route

type Route struct {
	pulumi.CustomResourceState

	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(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`, `https`
	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"`
	// **(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 control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		service, err := konnect.NewService(ctx, "service", &konnect.ServiceArgs{
			ControlPlaneId: *pulumi.String(controlPlane.Id),
			Host:           pulumi.String("mockbin.org"),
		})
		if err != nil {
			return err
		}
		_, err = konnect.NewRoute(ctx, "example", &konnect.RouteArgs{
			ControlPlaneId: *pulumi.String(controlPlane.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) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

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

type RouteArgs

type RouteArgs struct {
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(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`, `https`
	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
	// **(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) 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) 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) 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) 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) 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) 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) 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) 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) ControlPlaneId

func (o RouteOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

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`, `https`

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) 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) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

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

type RouteState

type RouteState struct {
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(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`, `https`
	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
	// **(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 Service

type Service struct {
	pulumi.CustomResourceState

	CaCertificates pulumi.StringArrayOutput `pulumi:"caCertificates"`
	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrOutput `pulumi:"connectTimeout"`
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringOutput `pulumi:"controlPlaneId"`
	// **(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"`
	// **(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 control plane ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		controlPlane, err := konnect.LookupControlPlane(ctx, &konnect.LookupControlPlaneArgs{
			Name: pulumi.StringRef("TestControlPlane"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = konnect.NewService(ctx, "example", &konnect.ServiceArgs{
			ControlPlaneId: *pulumi.String(controlPlane.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) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

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

type ServiceArgs

type ServiceArgs struct {
	CaCertificates pulumi.StringArrayInput
	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringInput
	// **(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
	// **(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) 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) 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) 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) 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) CaCertificates

func (o ServiceOutput) CaCertificates() pulumi.StringArrayOutput

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) ControlPlaneId

func (o ServiceOutput) ControlPlaneId() pulumi.StringOutput

**(Required, String)** The id of the control plane.

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) ServiceId

func (o ServiceOutput) ServiceId() pulumi.StringOutput

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

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 {
	CaCertificates pulumi.StringArrayInput
	// **(Optional, Integer)** The timeout in milliseconds for establishing a connection to the host. Default: `60000`
	ConnectTimeout pulumi.IntPtrInput
	// **(Required, String)** The id of the control plane.
	ControlPlaneId pulumi.StringPtrInput
	// **(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
	// **(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/csechrist/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) 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) 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) 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) 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) 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/csechrist/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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 `Control Planes` 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) 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 `Control Planes` 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) 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) 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) 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) 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 `Control Planes` 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) 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 `Control Planes` 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/csechrist/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) 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) 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) 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) 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) 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) 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/csechrist/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) 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) 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) 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) 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) 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) 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 `Control Planes` 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) 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 `Control Planes` 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) 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) 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) 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) 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 `Control Planes` or `Services`.

func (UserRoleOutput) RoleDisplayName

func (o UserRoleOutput) RoleDisplayName() pulumi.StringOutput

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

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 `Control Planes` 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