bot

package
v5.67.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelAlexa

type ChannelAlexa struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Alexa skill ID for the Alexa Channel.
	SkillId pulumi.StringOutput `pulumi:"skillId"`
}

Manages an Alexa integration for a Bot Channel

> **Note** A bot can only have a single Alexa Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelAlexa(ctx, "example", &bot.ChannelAlexaArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			SkillId:           pulumi.String("amzn1.ask.skill.00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Alexa Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelAlexa:ChannelAlexa example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/AlexaChannel ```

func GetChannelAlexa

func GetChannelAlexa(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelAlexaState, opts ...pulumi.ResourceOption) (*ChannelAlexa, error)

GetChannelAlexa gets an existing ChannelAlexa 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 NewChannelAlexa

func NewChannelAlexa(ctx *pulumi.Context,
	name string, args *ChannelAlexaArgs, opts ...pulumi.ResourceOption) (*ChannelAlexa, error)

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

func (*ChannelAlexa) ElementType

func (*ChannelAlexa) ElementType() reflect.Type

func (*ChannelAlexa) ToChannelAlexaOutput

func (i *ChannelAlexa) ToChannelAlexaOutput() ChannelAlexaOutput

func (*ChannelAlexa) ToChannelAlexaOutputWithContext

func (i *ChannelAlexa) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput

type ChannelAlexaArgs

type ChannelAlexaArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The Alexa skill ID for the Alexa Channel.
	SkillId pulumi.StringInput
}

The set of arguments for constructing a ChannelAlexa resource.

func (ChannelAlexaArgs) ElementType

func (ChannelAlexaArgs) ElementType() reflect.Type

type ChannelAlexaArray

type ChannelAlexaArray []ChannelAlexaInput

func (ChannelAlexaArray) ElementType

func (ChannelAlexaArray) ElementType() reflect.Type

func (ChannelAlexaArray) ToChannelAlexaArrayOutput

func (i ChannelAlexaArray) ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput

func (ChannelAlexaArray) ToChannelAlexaArrayOutputWithContext

func (i ChannelAlexaArray) ToChannelAlexaArrayOutputWithContext(ctx context.Context) ChannelAlexaArrayOutput

type ChannelAlexaArrayInput

type ChannelAlexaArrayInput interface {
	pulumi.Input

	ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput
	ToChannelAlexaArrayOutputWithContext(context.Context) ChannelAlexaArrayOutput
}

ChannelAlexaArrayInput is an input type that accepts ChannelAlexaArray and ChannelAlexaArrayOutput values. You can construct a concrete instance of `ChannelAlexaArrayInput` via:

ChannelAlexaArray{ ChannelAlexaArgs{...} }

type ChannelAlexaArrayOutput

type ChannelAlexaArrayOutput struct{ *pulumi.OutputState }

func (ChannelAlexaArrayOutput) ElementType

func (ChannelAlexaArrayOutput) ElementType() reflect.Type

func (ChannelAlexaArrayOutput) Index

func (ChannelAlexaArrayOutput) ToChannelAlexaArrayOutput

func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput

func (ChannelAlexaArrayOutput) ToChannelAlexaArrayOutputWithContext

func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutputWithContext(ctx context.Context) ChannelAlexaArrayOutput

type ChannelAlexaInput

type ChannelAlexaInput interface {
	pulumi.Input

	ToChannelAlexaOutput() ChannelAlexaOutput
	ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput
}

type ChannelAlexaMap

type ChannelAlexaMap map[string]ChannelAlexaInput

func (ChannelAlexaMap) ElementType

func (ChannelAlexaMap) ElementType() reflect.Type

func (ChannelAlexaMap) ToChannelAlexaMapOutput

func (i ChannelAlexaMap) ToChannelAlexaMapOutput() ChannelAlexaMapOutput

func (ChannelAlexaMap) ToChannelAlexaMapOutputWithContext

func (i ChannelAlexaMap) ToChannelAlexaMapOutputWithContext(ctx context.Context) ChannelAlexaMapOutput

type ChannelAlexaMapInput

type ChannelAlexaMapInput interface {
	pulumi.Input

	ToChannelAlexaMapOutput() ChannelAlexaMapOutput
	ToChannelAlexaMapOutputWithContext(context.Context) ChannelAlexaMapOutput
}

ChannelAlexaMapInput is an input type that accepts ChannelAlexaMap and ChannelAlexaMapOutput values. You can construct a concrete instance of `ChannelAlexaMapInput` via:

ChannelAlexaMap{ "key": ChannelAlexaArgs{...} }

type ChannelAlexaMapOutput

type ChannelAlexaMapOutput struct{ *pulumi.OutputState }

func (ChannelAlexaMapOutput) ElementType

func (ChannelAlexaMapOutput) ElementType() reflect.Type

func (ChannelAlexaMapOutput) MapIndex

func (ChannelAlexaMapOutput) ToChannelAlexaMapOutput

func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutput() ChannelAlexaMapOutput

func (ChannelAlexaMapOutput) ToChannelAlexaMapOutputWithContext

func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutputWithContext(ctx context.Context) ChannelAlexaMapOutput

type ChannelAlexaOutput

type ChannelAlexaOutput struct{ *pulumi.OutputState }

func (ChannelAlexaOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelAlexaOutput) ElementType

func (ChannelAlexaOutput) ElementType() reflect.Type

func (ChannelAlexaOutput) Location added in v5.5.0

func (o ChannelAlexaOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelAlexaOutput) ResourceGroupName added in v5.5.0

func (o ChannelAlexaOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created.

func (ChannelAlexaOutput) SkillId added in v5.5.0

The Alexa skill ID for the Alexa Channel.

func (ChannelAlexaOutput) ToChannelAlexaOutput

func (o ChannelAlexaOutput) ToChannelAlexaOutput() ChannelAlexaOutput

func (ChannelAlexaOutput) ToChannelAlexaOutputWithContext

func (o ChannelAlexaOutput) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput

type ChannelAlexaState

type ChannelAlexaState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Alexa skill ID for the Alexa Channel.
	SkillId pulumi.StringPtrInput
}

func (ChannelAlexaState) ElementType

func (ChannelAlexaState) ElementType() reflect.Type

type ChannelDirectLine

type ChannelDirectLine struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelDirectLineSiteArrayOutput `pulumi:"sites"`
}

Manages a Directline integration for a Bot Channel

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelDirectLine(ctx, "example", &bot.ChannelDirectLineArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			Sites: bot.ChannelDirectLineSiteArray{
				&bot.ChannelDirectLineSiteArgs{
					Name:    pulumi.String("default"),
					Enabled: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Directline Channel for a Bot can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelDirectLine:ChannelDirectLine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/DirectlineChannel ```

func GetChannelDirectLine

func GetChannelDirectLine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelDirectLineState, opts ...pulumi.ResourceOption) (*ChannelDirectLine, error)

GetChannelDirectLine gets an existing ChannelDirectLine 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 NewChannelDirectLine

func NewChannelDirectLine(ctx *pulumi.Context,
	name string, args *ChannelDirectLineArgs, opts ...pulumi.ResourceOption) (*ChannelDirectLine, error)

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

func (*ChannelDirectLine) ElementType

func (*ChannelDirectLine) ElementType() reflect.Type

func (*ChannelDirectLine) ToChannelDirectLineOutput

func (i *ChannelDirectLine) ToChannelDirectLineOutput() ChannelDirectLineOutput

func (*ChannelDirectLine) ToChannelDirectLineOutputWithContext

func (i *ChannelDirectLine) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput

type ChannelDirectLineArgs

type ChannelDirectLineArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelDirectLineSiteArrayInput
}

The set of arguments for constructing a ChannelDirectLine resource.

func (ChannelDirectLineArgs) ElementType

func (ChannelDirectLineArgs) ElementType() reflect.Type

type ChannelDirectLineArray

type ChannelDirectLineArray []ChannelDirectLineInput

func (ChannelDirectLineArray) ElementType

func (ChannelDirectLineArray) ElementType() reflect.Type

func (ChannelDirectLineArray) ToChannelDirectLineArrayOutput

func (i ChannelDirectLineArray) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput

func (ChannelDirectLineArray) ToChannelDirectLineArrayOutputWithContext

func (i ChannelDirectLineArray) ToChannelDirectLineArrayOutputWithContext(ctx context.Context) ChannelDirectLineArrayOutput

type ChannelDirectLineArrayInput

type ChannelDirectLineArrayInput interface {
	pulumi.Input

	ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput
	ToChannelDirectLineArrayOutputWithContext(context.Context) ChannelDirectLineArrayOutput
}

ChannelDirectLineArrayInput is an input type that accepts ChannelDirectLineArray and ChannelDirectLineArrayOutput values. You can construct a concrete instance of `ChannelDirectLineArrayInput` via:

ChannelDirectLineArray{ ChannelDirectLineArgs{...} }

type ChannelDirectLineArrayOutput

type ChannelDirectLineArrayOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineArrayOutput) ElementType

func (ChannelDirectLineArrayOutput) Index

func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput

func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput

func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext

func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext(ctx context.Context) ChannelDirectLineArrayOutput

type ChannelDirectLineInput

type ChannelDirectLineInput interface {
	pulumi.Input

	ToChannelDirectLineOutput() ChannelDirectLineOutput
	ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput
}

type ChannelDirectLineMap

type ChannelDirectLineMap map[string]ChannelDirectLineInput

func (ChannelDirectLineMap) ElementType

func (ChannelDirectLineMap) ElementType() reflect.Type

func (ChannelDirectLineMap) ToChannelDirectLineMapOutput

func (i ChannelDirectLineMap) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput

func (ChannelDirectLineMap) ToChannelDirectLineMapOutputWithContext

func (i ChannelDirectLineMap) ToChannelDirectLineMapOutputWithContext(ctx context.Context) ChannelDirectLineMapOutput

type ChannelDirectLineMapInput

type ChannelDirectLineMapInput interface {
	pulumi.Input

	ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput
	ToChannelDirectLineMapOutputWithContext(context.Context) ChannelDirectLineMapOutput
}

ChannelDirectLineMapInput is an input type that accepts ChannelDirectLineMap and ChannelDirectLineMapOutput values. You can construct a concrete instance of `ChannelDirectLineMapInput` via:

ChannelDirectLineMap{ "key": ChannelDirectLineArgs{...} }

type ChannelDirectLineMapOutput

type ChannelDirectLineMapOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineMapOutput) ElementType

func (ChannelDirectLineMapOutput) ElementType() reflect.Type

func (ChannelDirectLineMapOutput) MapIndex

func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput

func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput

func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext

func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext(ctx context.Context) ChannelDirectLineMapOutput

type ChannelDirectLineOutput

type ChannelDirectLineOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelDirectLineOutput) ElementType

func (ChannelDirectLineOutput) ElementType() reflect.Type

func (ChannelDirectLineOutput) Location added in v5.5.0

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelDirectLineOutput) ResourceGroupName added in v5.5.0

func (o ChannelDirectLineOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

func (ChannelDirectLineOutput) Sites added in v5.5.0

A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.

func (ChannelDirectLineOutput) ToChannelDirectLineOutput

func (o ChannelDirectLineOutput) ToChannelDirectLineOutput() ChannelDirectLineOutput

func (ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext

func (o ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput

type ChannelDirectLineSite

type ChannelDirectLineSite struct {
	// Enables/Disables this site. Defaults to `true`.
	Enabled *bool `pulumi:"enabled"`
	// Is the endpoint parameters enabled for this site?
	EndpointParametersEnabled *bool `pulumi:"endpointParametersEnabled"`
	// Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default.
	EnhancedAuthenticationEnabled *bool `pulumi:"enhancedAuthenticationEnabled"`
	// Id for the site
	Id *string `pulumi:"id"`
	// Primary key for accessing this site
	Key *string `pulumi:"key"`
	// Secondary key for accessing this site
	Key2 *string `pulumi:"key2"`
	// The name of the site
	Name string `pulumi:"name"`
	// Is the storage site enabled for detailed logging? Defaults to `true`.
	StorageEnabled *bool `pulumi:"storageEnabled"`
	// This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.
	TrustedOrigins []string `pulumi:"trustedOrigins"`
	// Is the user upload enabled for this site? Defaults to `true`.
	UserUploadEnabled *bool `pulumi:"userUploadEnabled"`
	// Enables v1 of the Directline protocol for this site. Defaults to `true`.
	V1Allowed *bool `pulumi:"v1Allowed"`
	// Enables v3 of the Directline protocol for this site. Defaults to `true`.
	V3Allowed *bool `pulumi:"v3Allowed"`
}

type ChannelDirectLineSiteArgs

type ChannelDirectLineSiteArgs struct {
	// Enables/Disables this site. Defaults to `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Is the endpoint parameters enabled for this site?
	EndpointParametersEnabled pulumi.BoolPtrInput `pulumi:"endpointParametersEnabled"`
	// Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default.
	EnhancedAuthenticationEnabled pulumi.BoolPtrInput `pulumi:"enhancedAuthenticationEnabled"`
	// Id for the site
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Primary key for accessing this site
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Secondary key for accessing this site
	Key2 pulumi.StringPtrInput `pulumi:"key2"`
	// The name of the site
	Name pulumi.StringInput `pulumi:"name"`
	// Is the storage site enabled for detailed logging? Defaults to `true`.
	StorageEnabled pulumi.BoolPtrInput `pulumi:"storageEnabled"`
	// This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.
	TrustedOrigins pulumi.StringArrayInput `pulumi:"trustedOrigins"`
	// Is the user upload enabled for this site? Defaults to `true`.
	UserUploadEnabled pulumi.BoolPtrInput `pulumi:"userUploadEnabled"`
	// Enables v1 of the Directline protocol for this site. Defaults to `true`.
	V1Allowed pulumi.BoolPtrInput `pulumi:"v1Allowed"`
	// Enables v3 of the Directline protocol for this site. Defaults to `true`.
	V3Allowed pulumi.BoolPtrInput `pulumi:"v3Allowed"`
}

func (ChannelDirectLineSiteArgs) ElementType

func (ChannelDirectLineSiteArgs) ElementType() reflect.Type

func (ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutput

func (i ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput

func (ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutputWithContext

func (i ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutputWithContext(ctx context.Context) ChannelDirectLineSiteOutput

type ChannelDirectLineSiteArray

type ChannelDirectLineSiteArray []ChannelDirectLineSiteInput

func (ChannelDirectLineSiteArray) ElementType

func (ChannelDirectLineSiteArray) ElementType() reflect.Type

func (ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutput

func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput

func (ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutputWithContext

func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput

type ChannelDirectLineSiteArrayInput

type ChannelDirectLineSiteArrayInput interface {
	pulumi.Input

	ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput
	ToChannelDirectLineSiteArrayOutputWithContext(context.Context) ChannelDirectLineSiteArrayOutput
}

ChannelDirectLineSiteArrayInput is an input type that accepts ChannelDirectLineSiteArray and ChannelDirectLineSiteArrayOutput values. You can construct a concrete instance of `ChannelDirectLineSiteArrayInput` via:

ChannelDirectLineSiteArray{ ChannelDirectLineSiteArgs{...} }

type ChannelDirectLineSiteArrayOutput

type ChannelDirectLineSiteArrayOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineSiteArrayOutput) ElementType

func (ChannelDirectLineSiteArrayOutput) Index

func (ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutput

func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput

func (ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutputWithContext

func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput

type ChannelDirectLineSiteInput

type ChannelDirectLineSiteInput interface {
	pulumi.Input

	ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput
	ToChannelDirectLineSiteOutputWithContext(context.Context) ChannelDirectLineSiteOutput
}

ChannelDirectLineSiteInput is an input type that accepts ChannelDirectLineSiteArgs and ChannelDirectLineSiteOutput values. You can construct a concrete instance of `ChannelDirectLineSiteInput` via:

ChannelDirectLineSiteArgs{...}

type ChannelDirectLineSiteOutput

type ChannelDirectLineSiteOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineSiteOutput) ElementType

func (ChannelDirectLineSiteOutput) Enabled

Enables/Disables this site. Defaults to `true`.

func (ChannelDirectLineSiteOutput) EndpointParametersEnabled added in v5.52.0

func (o ChannelDirectLineSiteOutput) EndpointParametersEnabled() pulumi.BoolPtrOutput

Is the endpoint parameters enabled for this site?

func (ChannelDirectLineSiteOutput) EnhancedAuthenticationEnabled

func (o ChannelDirectLineSiteOutput) EnhancedAuthenticationEnabled() pulumi.BoolPtrOutput

Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default.

func (ChannelDirectLineSiteOutput) Id

Id for the site

func (ChannelDirectLineSiteOutput) Key

Primary key for accessing this site

func (ChannelDirectLineSiteOutput) Key2

Secondary key for accessing this site

func (ChannelDirectLineSiteOutput) Name

The name of the site

func (ChannelDirectLineSiteOutput) StorageEnabled added in v5.52.0

Is the storage site enabled for detailed logging? Defaults to `true`.

func (ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutput

func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput

func (ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutputWithContext

func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutputWithContext(ctx context.Context) ChannelDirectLineSiteOutput

func (ChannelDirectLineSiteOutput) TrustedOrigins

This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.

func (ChannelDirectLineSiteOutput) UserUploadEnabled added in v5.52.0

func (o ChannelDirectLineSiteOutput) UserUploadEnabled() pulumi.BoolPtrOutput

Is the user upload enabled for this site? Defaults to `true`.

func (ChannelDirectLineSiteOutput) V1Allowed

Enables v1 of the Directline protocol for this site. Defaults to `true`.

func (ChannelDirectLineSiteOutput) V3Allowed

Enables v3 of the Directline protocol for this site. Defaults to `true`.

type ChannelDirectLineSpeech

type ChannelDirectLineSpeech struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The ID of the Cognitive Account this Bot Channel should be associated with.
	CognitiveAccountId pulumi.StringPtrOutput `pulumi:"cognitiveAccountId"`
	// The access key to access the Cognitive Service.
	CognitiveServiceAccessKey pulumi.StringOutput `pulumi:"cognitiveServiceAccessKey"`
	// Specifies the supported Azure location where the Cognitive Service resource exists.
	CognitiveServiceLocation pulumi.StringOutput `pulumi:"cognitiveServiceLocation"`
	// The custom speech model id for the Direct Line Speech Channel.
	CustomSpeechModelId pulumi.StringPtrOutput `pulumi:"customSpeechModelId"`
	// The custom voice deployment id for the Direct Line Speech Channel.
	CustomVoiceDeploymentId pulumi.StringPtrOutput `pulumi:"customVoiceDeploymentId"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Direct Line Speech integration for a Bot Channel

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cognitive"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cognitive.NewAccount(ctx, "example", &cognitive.AccountArgs{
			Name:              pulumi.String("example-cogacct"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Kind:              pulumi.String("SpeechServices"),
			SkuName:           pulumi.String("S0"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelDirectLineSpeech(ctx, "example", &bot.ChannelDirectLineSpeechArgs{
			BotName:                   exampleChannelsRegistration.Name,
			Location:                  exampleChannelsRegistration.Location,
			ResourceGroupName:         example.Name,
			CognitiveServiceLocation:  exampleAccount.Location,
			CognitiveServiceAccessKey: exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Line Speech Channels can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelDirectLineSpeech:ChannelDirectLineSpeech example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/DirectLineSpeechChannel ```

func GetChannelDirectLineSpeech

func GetChannelDirectLineSpeech(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelDirectLineSpeechState, opts ...pulumi.ResourceOption) (*ChannelDirectLineSpeech, error)

GetChannelDirectLineSpeech gets an existing ChannelDirectLineSpeech 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 NewChannelDirectLineSpeech

func NewChannelDirectLineSpeech(ctx *pulumi.Context,
	name string, args *ChannelDirectLineSpeechArgs, opts ...pulumi.ResourceOption) (*ChannelDirectLineSpeech, error)

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

func (*ChannelDirectLineSpeech) ElementType

func (*ChannelDirectLineSpeech) ElementType() reflect.Type

func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutput

func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput

func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutputWithContext

func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput

type ChannelDirectLineSpeechArgs

type ChannelDirectLineSpeechArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The ID of the Cognitive Account this Bot Channel should be associated with.
	CognitiveAccountId pulumi.StringPtrInput
	// The access key to access the Cognitive Service.
	CognitiveServiceAccessKey pulumi.StringInput
	// Specifies the supported Azure location where the Cognitive Service resource exists.
	CognitiveServiceLocation pulumi.StringInput
	// The custom speech model id for the Direct Line Speech Channel.
	CustomSpeechModelId pulumi.StringPtrInput
	// The custom voice deployment id for the Direct Line Speech Channel.
	CustomVoiceDeploymentId pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ChannelDirectLineSpeech resource.

func (ChannelDirectLineSpeechArgs) ElementType

type ChannelDirectLineSpeechArray

type ChannelDirectLineSpeechArray []ChannelDirectLineSpeechInput

func (ChannelDirectLineSpeechArray) ElementType

func (ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutput

func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput

func (ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutputWithContext

func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput

type ChannelDirectLineSpeechArrayInput

type ChannelDirectLineSpeechArrayInput interface {
	pulumi.Input

	ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput
	ToChannelDirectLineSpeechArrayOutputWithContext(context.Context) ChannelDirectLineSpeechArrayOutput
}

ChannelDirectLineSpeechArrayInput is an input type that accepts ChannelDirectLineSpeechArray and ChannelDirectLineSpeechArrayOutput values. You can construct a concrete instance of `ChannelDirectLineSpeechArrayInput` via:

ChannelDirectLineSpeechArray{ ChannelDirectLineSpeechArgs{...} }

type ChannelDirectLineSpeechArrayOutput

type ChannelDirectLineSpeechArrayOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineSpeechArrayOutput) ElementType

func (ChannelDirectLineSpeechArrayOutput) Index

func (ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutput

func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput

func (ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutputWithContext

func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput

type ChannelDirectLineSpeechInput

type ChannelDirectLineSpeechInput interface {
	pulumi.Input

	ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput
	ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput
}

type ChannelDirectLineSpeechMap

type ChannelDirectLineSpeechMap map[string]ChannelDirectLineSpeechInput

func (ChannelDirectLineSpeechMap) ElementType

func (ChannelDirectLineSpeechMap) ElementType() reflect.Type

func (ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutput

func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput

func (ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutputWithContext

func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput

type ChannelDirectLineSpeechMapInput

type ChannelDirectLineSpeechMapInput interface {
	pulumi.Input

	ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput
	ToChannelDirectLineSpeechMapOutputWithContext(context.Context) ChannelDirectLineSpeechMapOutput
}

ChannelDirectLineSpeechMapInput is an input type that accepts ChannelDirectLineSpeechMap and ChannelDirectLineSpeechMapOutput values. You can construct a concrete instance of `ChannelDirectLineSpeechMapInput` via:

ChannelDirectLineSpeechMap{ "key": ChannelDirectLineSpeechArgs{...} }

type ChannelDirectLineSpeechMapOutput

type ChannelDirectLineSpeechMapOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineSpeechMapOutput) ElementType

func (ChannelDirectLineSpeechMapOutput) MapIndex

func (ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutput

func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput

func (ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutputWithContext

func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput

type ChannelDirectLineSpeechOutput

type ChannelDirectLineSpeechOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineSpeechOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelDirectLineSpeechOutput) CognitiveAccountId added in v5.52.0

func (o ChannelDirectLineSpeechOutput) CognitiveAccountId() pulumi.StringPtrOutput

The ID of the Cognitive Account this Bot Channel should be associated with.

func (ChannelDirectLineSpeechOutput) CognitiveServiceAccessKey added in v5.5.0

func (o ChannelDirectLineSpeechOutput) CognitiveServiceAccessKey() pulumi.StringOutput

The access key to access the Cognitive Service.

func (ChannelDirectLineSpeechOutput) CognitiveServiceLocation added in v5.5.0

func (o ChannelDirectLineSpeechOutput) CognitiveServiceLocation() pulumi.StringOutput

Specifies the supported Azure location where the Cognitive Service resource exists.

func (ChannelDirectLineSpeechOutput) CustomSpeechModelId added in v5.5.0

func (o ChannelDirectLineSpeechOutput) CustomSpeechModelId() pulumi.StringPtrOutput

The custom speech model id for the Direct Line Speech Channel.

func (ChannelDirectLineSpeechOutput) CustomVoiceDeploymentId added in v5.5.0

func (o ChannelDirectLineSpeechOutput) CustomVoiceDeploymentId() pulumi.StringPtrOutput

The custom voice deployment id for the Direct Line Speech Channel.

func (ChannelDirectLineSpeechOutput) ElementType

func (ChannelDirectLineSpeechOutput) Location added in v5.5.0

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelDirectLineSpeechOutput) ResourceGroupName added in v5.5.0

func (o ChannelDirectLineSpeechOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created.

func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutput

func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput

func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutputWithContext

func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput

type ChannelDirectLineSpeechState

type ChannelDirectLineSpeechState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The ID of the Cognitive Account this Bot Channel should be associated with.
	CognitiveAccountId pulumi.StringPtrInput
	// The access key to access the Cognitive Service.
	CognitiveServiceAccessKey pulumi.StringPtrInput
	// Specifies the supported Azure location where the Cognitive Service resource exists.
	CognitiveServiceLocation pulumi.StringPtrInput
	// The custom speech model id for the Direct Line Speech Channel.
	CustomSpeechModelId pulumi.StringPtrInput
	// The custom voice deployment id for the Direct Line Speech Channel.
	CustomVoiceDeploymentId pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ChannelDirectLineSpeechState) ElementType

type ChannelDirectLineState

type ChannelDirectLineState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelDirectLineSiteArrayInput
}

func (ChannelDirectLineState) ElementType

func (ChannelDirectLineState) ElementType() reflect.Type

type ChannelEmail

type ChannelEmail struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The email address that the Bot will authenticate with.
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
	// The email password that the Bot will authenticate with.
	EmailPassword pulumi.StringPtrOutput `pulumi:"emailPassword"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The magic code used to set up OAUTH authentication.
	MagicCode pulumi.StringPtrOutput `pulumi:"magicCode"`
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Email integration for a Bot Channel

> **Note** A bot can only have a single Email Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelEmail(ctx, "example", &bot.ChannelEmailArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			EmailAddress:      pulumi.String("example.com"),
			EmailPassword:     pulumi.String("123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Email Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelEmail:ChannelEmail example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/EmailChannel ```

func GetChannelEmail

func GetChannelEmail(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelEmailState, opts ...pulumi.ResourceOption) (*ChannelEmail, error)

GetChannelEmail gets an existing ChannelEmail 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 NewChannelEmail

func NewChannelEmail(ctx *pulumi.Context,
	name string, args *ChannelEmailArgs, opts ...pulumi.ResourceOption) (*ChannelEmail, error)

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

func (*ChannelEmail) ElementType

func (*ChannelEmail) ElementType() reflect.Type

func (*ChannelEmail) ToChannelEmailOutput

func (i *ChannelEmail) ToChannelEmailOutput() ChannelEmailOutput

func (*ChannelEmail) ToChannelEmailOutputWithContext

func (i *ChannelEmail) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput

type ChannelEmailArgs

type ChannelEmailArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The email address that the Bot will authenticate with.
	EmailAddress pulumi.StringInput
	// The email password that the Bot will authenticate with.
	EmailPassword pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The magic code used to set up OAUTH authentication.
	MagicCode pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ChannelEmail resource.

func (ChannelEmailArgs) ElementType

func (ChannelEmailArgs) ElementType() reflect.Type

type ChannelEmailArray

type ChannelEmailArray []ChannelEmailInput

func (ChannelEmailArray) ElementType

func (ChannelEmailArray) ElementType() reflect.Type

func (ChannelEmailArray) ToChannelEmailArrayOutput

func (i ChannelEmailArray) ToChannelEmailArrayOutput() ChannelEmailArrayOutput

func (ChannelEmailArray) ToChannelEmailArrayOutputWithContext

func (i ChannelEmailArray) ToChannelEmailArrayOutputWithContext(ctx context.Context) ChannelEmailArrayOutput

type ChannelEmailArrayInput

type ChannelEmailArrayInput interface {
	pulumi.Input

	ToChannelEmailArrayOutput() ChannelEmailArrayOutput
	ToChannelEmailArrayOutputWithContext(context.Context) ChannelEmailArrayOutput
}

ChannelEmailArrayInput is an input type that accepts ChannelEmailArray and ChannelEmailArrayOutput values. You can construct a concrete instance of `ChannelEmailArrayInput` via:

ChannelEmailArray{ ChannelEmailArgs{...} }

type ChannelEmailArrayOutput

type ChannelEmailArrayOutput struct{ *pulumi.OutputState }

func (ChannelEmailArrayOutput) ElementType

func (ChannelEmailArrayOutput) ElementType() reflect.Type

func (ChannelEmailArrayOutput) Index

func (ChannelEmailArrayOutput) ToChannelEmailArrayOutput

func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutput() ChannelEmailArrayOutput

func (ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext

func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext(ctx context.Context) ChannelEmailArrayOutput

type ChannelEmailInput

type ChannelEmailInput interface {
	pulumi.Input

	ToChannelEmailOutput() ChannelEmailOutput
	ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput
}

type ChannelEmailMap

type ChannelEmailMap map[string]ChannelEmailInput

func (ChannelEmailMap) ElementType

func (ChannelEmailMap) ElementType() reflect.Type

func (ChannelEmailMap) ToChannelEmailMapOutput

func (i ChannelEmailMap) ToChannelEmailMapOutput() ChannelEmailMapOutput

func (ChannelEmailMap) ToChannelEmailMapOutputWithContext

func (i ChannelEmailMap) ToChannelEmailMapOutputWithContext(ctx context.Context) ChannelEmailMapOutput

type ChannelEmailMapInput

type ChannelEmailMapInput interface {
	pulumi.Input

	ToChannelEmailMapOutput() ChannelEmailMapOutput
	ToChannelEmailMapOutputWithContext(context.Context) ChannelEmailMapOutput
}

ChannelEmailMapInput is an input type that accepts ChannelEmailMap and ChannelEmailMapOutput values. You can construct a concrete instance of `ChannelEmailMapInput` via:

ChannelEmailMap{ "key": ChannelEmailArgs{...} }

type ChannelEmailMapOutput

type ChannelEmailMapOutput struct{ *pulumi.OutputState }

func (ChannelEmailMapOutput) ElementType

func (ChannelEmailMapOutput) ElementType() reflect.Type

func (ChannelEmailMapOutput) MapIndex

func (ChannelEmailMapOutput) ToChannelEmailMapOutput

func (o ChannelEmailMapOutput) ToChannelEmailMapOutput() ChannelEmailMapOutput

func (ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext

func (o ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext(ctx context.Context) ChannelEmailMapOutput

type ChannelEmailOutput

type ChannelEmailOutput struct{ *pulumi.OutputState }

func (ChannelEmailOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelEmailOutput) ElementType

func (ChannelEmailOutput) ElementType() reflect.Type

func (ChannelEmailOutput) EmailAddress added in v5.5.0

func (o ChannelEmailOutput) EmailAddress() pulumi.StringOutput

The email address that the Bot will authenticate with.

func (ChannelEmailOutput) EmailPassword added in v5.5.0

func (o ChannelEmailOutput) EmailPassword() pulumi.StringPtrOutput

The email password that the Bot will authenticate with.

func (ChannelEmailOutput) Location added in v5.5.0

func (o ChannelEmailOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelEmailOutput) MagicCode added in v5.65.0

The magic code used to set up OAUTH authentication.

func (ChannelEmailOutput) ResourceGroupName added in v5.5.0

func (o ChannelEmailOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

func (ChannelEmailOutput) ToChannelEmailOutput

func (o ChannelEmailOutput) ToChannelEmailOutput() ChannelEmailOutput

func (ChannelEmailOutput) ToChannelEmailOutputWithContext

func (o ChannelEmailOutput) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput

type ChannelEmailState

type ChannelEmailState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The email address that the Bot will authenticate with.
	EmailAddress pulumi.StringPtrInput
	// The email password that the Bot will authenticate with.
	EmailPassword pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The magic code used to set up OAUTH authentication.
	MagicCode pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ChannelEmailState) ElementType

func (ChannelEmailState) ElementType() reflect.Type

type ChannelFacebook

type ChannelFacebook struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The Facebook Application ID for the Facebook Channel.
	FacebookApplicationId pulumi.StringOutput `pulumi:"facebookApplicationId"`
	// The Facebook Application Secret for the Facebook Channel.
	FacebookApplicationSecret pulumi.StringOutput `pulumi:"facebookApplicationSecret"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// One or more `page` blocks as defined below.
	Pages ChannelFacebookPageArrayOutput `pulumi:"pages"`
	// The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Facebook integration for a Bot Channel

> **Note** A bot can only have a single Facebook Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelFacebook(ctx, "example", &bot.ChannelFacebookArgs{
			BotName:                   exampleChannelsRegistration.Name,
			Location:                  exampleChannelsRegistration.Location,
			ResourceGroupName:         example.Name,
			FacebookApplicationId:     pulumi.String("563490254873576"),
			FacebookApplicationSecret: pulumi.String("8976d2536445ad5b976dee8437b9beb0"),
			Pages: bot.ChannelFacebookPageArray{
				&bot.ChannelFacebookPageArgs{
					Id:          pulumi.String("876248795081953"),
					AccessToken: pulumi.String("CGGCec3UAFPMBAKwK3Ft8SEpO8ZCuvpNBI5DClaJCDfqJj2BgEHCKxcY0FDarmUQap6XxpZC9GWCW4nZCzjcKosAZAP7SO44X8Q8gAntbDIXgYUBGp9xtS8wUkwgKPobUePcOOVFkvClxvYZByuiQxoTiK9fQ9jZCPEorbmZCsKDZAx4VLnrNwCTZAPUwXxO61gfq4ZD"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Facebook Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelFacebook:ChannelFacebook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/FacebookChannel ```

func GetChannelFacebook

func GetChannelFacebook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelFacebookState, opts ...pulumi.ResourceOption) (*ChannelFacebook, error)

GetChannelFacebook gets an existing ChannelFacebook 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 NewChannelFacebook

func NewChannelFacebook(ctx *pulumi.Context,
	name string, args *ChannelFacebookArgs, opts ...pulumi.ResourceOption) (*ChannelFacebook, error)

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

func (*ChannelFacebook) ElementType

func (*ChannelFacebook) ElementType() reflect.Type

func (*ChannelFacebook) ToChannelFacebookOutput

func (i *ChannelFacebook) ToChannelFacebookOutput() ChannelFacebookOutput

func (*ChannelFacebook) ToChannelFacebookOutputWithContext

func (i *ChannelFacebook) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput

type ChannelFacebookArgs

type ChannelFacebookArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The Facebook Application ID for the Facebook Channel.
	FacebookApplicationId pulumi.StringInput
	// The Facebook Application Secret for the Facebook Channel.
	FacebookApplicationSecret pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// One or more `page` blocks as defined below.
	Pages ChannelFacebookPageArrayInput
	// The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ChannelFacebook resource.

func (ChannelFacebookArgs) ElementType

func (ChannelFacebookArgs) ElementType() reflect.Type

type ChannelFacebookArray

type ChannelFacebookArray []ChannelFacebookInput

func (ChannelFacebookArray) ElementType

func (ChannelFacebookArray) ElementType() reflect.Type

func (ChannelFacebookArray) ToChannelFacebookArrayOutput

func (i ChannelFacebookArray) ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput

func (ChannelFacebookArray) ToChannelFacebookArrayOutputWithContext

func (i ChannelFacebookArray) ToChannelFacebookArrayOutputWithContext(ctx context.Context) ChannelFacebookArrayOutput

type ChannelFacebookArrayInput

type ChannelFacebookArrayInput interface {
	pulumi.Input

	ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput
	ToChannelFacebookArrayOutputWithContext(context.Context) ChannelFacebookArrayOutput
}

ChannelFacebookArrayInput is an input type that accepts ChannelFacebookArray and ChannelFacebookArrayOutput values. You can construct a concrete instance of `ChannelFacebookArrayInput` via:

ChannelFacebookArray{ ChannelFacebookArgs{...} }

type ChannelFacebookArrayOutput

type ChannelFacebookArrayOutput struct{ *pulumi.OutputState }

func (ChannelFacebookArrayOutput) ElementType

func (ChannelFacebookArrayOutput) ElementType() reflect.Type

func (ChannelFacebookArrayOutput) Index

func (ChannelFacebookArrayOutput) ToChannelFacebookArrayOutput

func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput

func (ChannelFacebookArrayOutput) ToChannelFacebookArrayOutputWithContext

func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutputWithContext(ctx context.Context) ChannelFacebookArrayOutput

type ChannelFacebookInput

type ChannelFacebookInput interface {
	pulumi.Input

	ToChannelFacebookOutput() ChannelFacebookOutput
	ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput
}

type ChannelFacebookMap

type ChannelFacebookMap map[string]ChannelFacebookInput

func (ChannelFacebookMap) ElementType

func (ChannelFacebookMap) ElementType() reflect.Type

func (ChannelFacebookMap) ToChannelFacebookMapOutput

func (i ChannelFacebookMap) ToChannelFacebookMapOutput() ChannelFacebookMapOutput

func (ChannelFacebookMap) ToChannelFacebookMapOutputWithContext

func (i ChannelFacebookMap) ToChannelFacebookMapOutputWithContext(ctx context.Context) ChannelFacebookMapOutput

type ChannelFacebookMapInput

type ChannelFacebookMapInput interface {
	pulumi.Input

	ToChannelFacebookMapOutput() ChannelFacebookMapOutput
	ToChannelFacebookMapOutputWithContext(context.Context) ChannelFacebookMapOutput
}

ChannelFacebookMapInput is an input type that accepts ChannelFacebookMap and ChannelFacebookMapOutput values. You can construct a concrete instance of `ChannelFacebookMapInput` via:

ChannelFacebookMap{ "key": ChannelFacebookArgs{...} }

type ChannelFacebookMapOutput

type ChannelFacebookMapOutput struct{ *pulumi.OutputState }

func (ChannelFacebookMapOutput) ElementType

func (ChannelFacebookMapOutput) ElementType() reflect.Type

func (ChannelFacebookMapOutput) MapIndex

func (ChannelFacebookMapOutput) ToChannelFacebookMapOutput

func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutput() ChannelFacebookMapOutput

func (ChannelFacebookMapOutput) ToChannelFacebookMapOutputWithContext

func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutputWithContext(ctx context.Context) ChannelFacebookMapOutput

type ChannelFacebookOutput

type ChannelFacebookOutput struct{ *pulumi.OutputState }

func (ChannelFacebookOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelFacebookOutput) ElementType

func (ChannelFacebookOutput) ElementType() reflect.Type

func (ChannelFacebookOutput) FacebookApplicationId added in v5.5.0

func (o ChannelFacebookOutput) FacebookApplicationId() pulumi.StringOutput

The Facebook Application ID for the Facebook Channel.

func (ChannelFacebookOutput) FacebookApplicationSecret added in v5.5.0

func (o ChannelFacebookOutput) FacebookApplicationSecret() pulumi.StringOutput

The Facebook Application Secret for the Facebook Channel.

func (ChannelFacebookOutput) Location added in v5.5.0

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelFacebookOutput) Pages added in v5.5.0

One or more `page` blocks as defined below.

func (ChannelFacebookOutput) ResourceGroupName added in v5.5.0

func (o ChannelFacebookOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created.

func (ChannelFacebookOutput) ToChannelFacebookOutput

func (o ChannelFacebookOutput) ToChannelFacebookOutput() ChannelFacebookOutput

func (ChannelFacebookOutput) ToChannelFacebookOutputWithContext

func (o ChannelFacebookOutput) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput

type ChannelFacebookPage

type ChannelFacebookPage struct {
	// The Facebook Page Access Token for the Facebook Channel.
	AccessToken string `pulumi:"accessToken"`
	// The Facebook Page ID for the Facebook Channel.
	Id string `pulumi:"id"`
}

type ChannelFacebookPageArgs

type ChannelFacebookPageArgs struct {
	// The Facebook Page Access Token for the Facebook Channel.
	AccessToken pulumi.StringInput `pulumi:"accessToken"`
	// The Facebook Page ID for the Facebook Channel.
	Id pulumi.StringInput `pulumi:"id"`
}

func (ChannelFacebookPageArgs) ElementType

func (ChannelFacebookPageArgs) ElementType() reflect.Type

func (ChannelFacebookPageArgs) ToChannelFacebookPageOutput

func (i ChannelFacebookPageArgs) ToChannelFacebookPageOutput() ChannelFacebookPageOutput

func (ChannelFacebookPageArgs) ToChannelFacebookPageOutputWithContext

func (i ChannelFacebookPageArgs) ToChannelFacebookPageOutputWithContext(ctx context.Context) ChannelFacebookPageOutput

type ChannelFacebookPageArray

type ChannelFacebookPageArray []ChannelFacebookPageInput

func (ChannelFacebookPageArray) ElementType

func (ChannelFacebookPageArray) ElementType() reflect.Type

func (ChannelFacebookPageArray) ToChannelFacebookPageArrayOutput

func (i ChannelFacebookPageArray) ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput

func (ChannelFacebookPageArray) ToChannelFacebookPageArrayOutputWithContext

func (i ChannelFacebookPageArray) ToChannelFacebookPageArrayOutputWithContext(ctx context.Context) ChannelFacebookPageArrayOutput

type ChannelFacebookPageArrayInput

type ChannelFacebookPageArrayInput interface {
	pulumi.Input

	ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput
	ToChannelFacebookPageArrayOutputWithContext(context.Context) ChannelFacebookPageArrayOutput
}

ChannelFacebookPageArrayInput is an input type that accepts ChannelFacebookPageArray and ChannelFacebookPageArrayOutput values. You can construct a concrete instance of `ChannelFacebookPageArrayInput` via:

ChannelFacebookPageArray{ ChannelFacebookPageArgs{...} }

type ChannelFacebookPageArrayOutput

type ChannelFacebookPageArrayOutput struct{ *pulumi.OutputState }

func (ChannelFacebookPageArrayOutput) ElementType

func (ChannelFacebookPageArrayOutput) Index

func (ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutput

func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput

func (ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutputWithContext

func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutputWithContext(ctx context.Context) ChannelFacebookPageArrayOutput

type ChannelFacebookPageInput

type ChannelFacebookPageInput interface {
	pulumi.Input

	ToChannelFacebookPageOutput() ChannelFacebookPageOutput
	ToChannelFacebookPageOutputWithContext(context.Context) ChannelFacebookPageOutput
}

ChannelFacebookPageInput is an input type that accepts ChannelFacebookPageArgs and ChannelFacebookPageOutput values. You can construct a concrete instance of `ChannelFacebookPageInput` via:

ChannelFacebookPageArgs{...}

type ChannelFacebookPageOutput

type ChannelFacebookPageOutput struct{ *pulumi.OutputState }

func (ChannelFacebookPageOutput) AccessToken

The Facebook Page Access Token for the Facebook Channel.

func (ChannelFacebookPageOutput) ElementType

func (ChannelFacebookPageOutput) ElementType() reflect.Type

func (ChannelFacebookPageOutput) Id

The Facebook Page ID for the Facebook Channel.

func (ChannelFacebookPageOutput) ToChannelFacebookPageOutput

func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutput() ChannelFacebookPageOutput

func (ChannelFacebookPageOutput) ToChannelFacebookPageOutputWithContext

func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutputWithContext(ctx context.Context) ChannelFacebookPageOutput

type ChannelFacebookState

type ChannelFacebookState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The Facebook Application ID for the Facebook Channel.
	FacebookApplicationId pulumi.StringPtrInput
	// The Facebook Application Secret for the Facebook Channel.
	FacebookApplicationSecret pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// One or more `page` blocks as defined below.
	Pages ChannelFacebookPageArrayInput
	// The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ChannelFacebookState) ElementType

func (ChannelFacebookState) ElementType() reflect.Type

type ChannelLine

type ChannelLine struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// One or more `lineChannel` blocks as defined below.
	LineChannels ChannelLineLineChannelArrayOutput `pulumi:"lineChannels"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Line integration for a Bot Channel

> **Note** A bot can only have a single Line Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelLine(ctx, "example", &bot.ChannelLineArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			LineChannels: bot.ChannelLineLineChannelArray{
				&bot.ChannelLineLineChannelArgs{
					AccessToken: pulumi.String("asdfdsdfTYUIOIoj1231hkjhk"),
					Secret:      pulumi.String("aagfdgfd123567"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Line Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelLine:ChannelLine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/LineChannel ```

func GetChannelLine

func GetChannelLine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelLineState, opts ...pulumi.ResourceOption) (*ChannelLine, error)

GetChannelLine gets an existing ChannelLine 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 NewChannelLine

func NewChannelLine(ctx *pulumi.Context,
	name string, args *ChannelLineArgs, opts ...pulumi.ResourceOption) (*ChannelLine, error)

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

func (*ChannelLine) ElementType

func (*ChannelLine) ElementType() reflect.Type

func (*ChannelLine) ToChannelLineOutput

func (i *ChannelLine) ToChannelLineOutput() ChannelLineOutput

func (*ChannelLine) ToChannelLineOutputWithContext

func (i *ChannelLine) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput

type ChannelLineArgs

type ChannelLineArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// One or more `lineChannel` blocks as defined below.
	LineChannels ChannelLineLineChannelArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ChannelLine resource.

func (ChannelLineArgs) ElementType

func (ChannelLineArgs) ElementType() reflect.Type

type ChannelLineArray

type ChannelLineArray []ChannelLineInput

func (ChannelLineArray) ElementType

func (ChannelLineArray) ElementType() reflect.Type

func (ChannelLineArray) ToChannelLineArrayOutput

func (i ChannelLineArray) ToChannelLineArrayOutput() ChannelLineArrayOutput

func (ChannelLineArray) ToChannelLineArrayOutputWithContext

func (i ChannelLineArray) ToChannelLineArrayOutputWithContext(ctx context.Context) ChannelLineArrayOutput

type ChannelLineArrayInput

type ChannelLineArrayInput interface {
	pulumi.Input

	ToChannelLineArrayOutput() ChannelLineArrayOutput
	ToChannelLineArrayOutputWithContext(context.Context) ChannelLineArrayOutput
}

ChannelLineArrayInput is an input type that accepts ChannelLineArray and ChannelLineArrayOutput values. You can construct a concrete instance of `ChannelLineArrayInput` via:

ChannelLineArray{ ChannelLineArgs{...} }

type ChannelLineArrayOutput

type ChannelLineArrayOutput struct{ *pulumi.OutputState }

func (ChannelLineArrayOutput) ElementType

func (ChannelLineArrayOutput) ElementType() reflect.Type

func (ChannelLineArrayOutput) Index

func (ChannelLineArrayOutput) ToChannelLineArrayOutput

func (o ChannelLineArrayOutput) ToChannelLineArrayOutput() ChannelLineArrayOutput

func (ChannelLineArrayOutput) ToChannelLineArrayOutputWithContext

func (o ChannelLineArrayOutput) ToChannelLineArrayOutputWithContext(ctx context.Context) ChannelLineArrayOutput

type ChannelLineInput

type ChannelLineInput interface {
	pulumi.Input

	ToChannelLineOutput() ChannelLineOutput
	ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput
}

type ChannelLineLineChannel

type ChannelLineLineChannel struct {
	// The access token which is used to call the Line Channel API.
	AccessToken string `pulumi:"accessToken"`
	// The secret which is used to access the Line Channel.
	Secret string `pulumi:"secret"`
}

type ChannelLineLineChannelArgs

type ChannelLineLineChannelArgs struct {
	// The access token which is used to call the Line Channel API.
	AccessToken pulumi.StringInput `pulumi:"accessToken"`
	// The secret which is used to access the Line Channel.
	Secret pulumi.StringInput `pulumi:"secret"`
}

func (ChannelLineLineChannelArgs) ElementType

func (ChannelLineLineChannelArgs) ElementType() reflect.Type

func (ChannelLineLineChannelArgs) ToChannelLineLineChannelOutput

func (i ChannelLineLineChannelArgs) ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput

func (ChannelLineLineChannelArgs) ToChannelLineLineChannelOutputWithContext

func (i ChannelLineLineChannelArgs) ToChannelLineLineChannelOutputWithContext(ctx context.Context) ChannelLineLineChannelOutput

type ChannelLineLineChannelArray

type ChannelLineLineChannelArray []ChannelLineLineChannelInput

func (ChannelLineLineChannelArray) ElementType

func (ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutput

func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput

func (ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutputWithContext

func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput

type ChannelLineLineChannelArrayInput

type ChannelLineLineChannelArrayInput interface {
	pulumi.Input

	ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput
	ToChannelLineLineChannelArrayOutputWithContext(context.Context) ChannelLineLineChannelArrayOutput
}

ChannelLineLineChannelArrayInput is an input type that accepts ChannelLineLineChannelArray and ChannelLineLineChannelArrayOutput values. You can construct a concrete instance of `ChannelLineLineChannelArrayInput` via:

ChannelLineLineChannelArray{ ChannelLineLineChannelArgs{...} }

type ChannelLineLineChannelArrayOutput

type ChannelLineLineChannelArrayOutput struct{ *pulumi.OutputState }

func (ChannelLineLineChannelArrayOutput) ElementType

func (ChannelLineLineChannelArrayOutput) Index

func (ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutput

func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput

func (ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutputWithContext

func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput

type ChannelLineLineChannelInput

type ChannelLineLineChannelInput interface {
	pulumi.Input

	ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput
	ToChannelLineLineChannelOutputWithContext(context.Context) ChannelLineLineChannelOutput
}

ChannelLineLineChannelInput is an input type that accepts ChannelLineLineChannelArgs and ChannelLineLineChannelOutput values. You can construct a concrete instance of `ChannelLineLineChannelInput` via:

ChannelLineLineChannelArgs{...}

type ChannelLineLineChannelOutput

type ChannelLineLineChannelOutput struct{ *pulumi.OutputState }

func (ChannelLineLineChannelOutput) AccessToken

The access token which is used to call the Line Channel API.

func (ChannelLineLineChannelOutput) ElementType

func (ChannelLineLineChannelOutput) Secret

The secret which is used to access the Line Channel.

func (ChannelLineLineChannelOutput) ToChannelLineLineChannelOutput

func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput

func (ChannelLineLineChannelOutput) ToChannelLineLineChannelOutputWithContext

func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutputWithContext(ctx context.Context) ChannelLineLineChannelOutput

type ChannelLineMap

type ChannelLineMap map[string]ChannelLineInput

func (ChannelLineMap) ElementType

func (ChannelLineMap) ElementType() reflect.Type

func (ChannelLineMap) ToChannelLineMapOutput

func (i ChannelLineMap) ToChannelLineMapOutput() ChannelLineMapOutput

func (ChannelLineMap) ToChannelLineMapOutputWithContext

func (i ChannelLineMap) ToChannelLineMapOutputWithContext(ctx context.Context) ChannelLineMapOutput

type ChannelLineMapInput

type ChannelLineMapInput interface {
	pulumi.Input

	ToChannelLineMapOutput() ChannelLineMapOutput
	ToChannelLineMapOutputWithContext(context.Context) ChannelLineMapOutput
}

ChannelLineMapInput is an input type that accepts ChannelLineMap and ChannelLineMapOutput values. You can construct a concrete instance of `ChannelLineMapInput` via:

ChannelLineMap{ "key": ChannelLineArgs{...} }

type ChannelLineMapOutput

type ChannelLineMapOutput struct{ *pulumi.OutputState }

func (ChannelLineMapOutput) ElementType

func (ChannelLineMapOutput) ElementType() reflect.Type

func (ChannelLineMapOutput) MapIndex

func (ChannelLineMapOutput) ToChannelLineMapOutput

func (o ChannelLineMapOutput) ToChannelLineMapOutput() ChannelLineMapOutput

func (ChannelLineMapOutput) ToChannelLineMapOutputWithContext

func (o ChannelLineMapOutput) ToChannelLineMapOutputWithContext(ctx context.Context) ChannelLineMapOutput

type ChannelLineOutput

type ChannelLineOutput struct{ *pulumi.OutputState }

func (ChannelLineOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelLineOutput) ElementType

func (ChannelLineOutput) ElementType() reflect.Type

func (ChannelLineOutput) LineChannels added in v5.5.0

One or more `lineChannel` blocks as defined below.

func (ChannelLineOutput) Location added in v5.5.0

func (o ChannelLineOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelLineOutput) ResourceGroupName added in v5.5.0

func (o ChannelLineOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created.

func (ChannelLineOutput) ToChannelLineOutput

func (o ChannelLineOutput) ToChannelLineOutput() ChannelLineOutput

func (ChannelLineOutput) ToChannelLineOutputWithContext

func (o ChannelLineOutput) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput

type ChannelLineState

type ChannelLineState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// One or more `lineChannel` blocks as defined below.
	LineChannels ChannelLineLineChannelArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ChannelLineState) ElementType

func (ChannelLineState) ElementType() reflect.Type

type ChannelSlack

type ChannelSlack struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The Client ID that will be used to authenticate with Slack.
	ClientId pulumi.StringOutput `pulumi:"clientId"`
	// The Client Secret that will be used to authenticate with Slack.
	ClientSecret pulumi.StringOutput `pulumi:"clientSecret"`
	// The Slack Landing Page URL.
	LandingPageUrl pulumi.StringPtrOutput `pulumi:"landingPageUrl"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Signing Secret that will be used to sign the requests.
	SigningSecret pulumi.StringPtrOutput `pulumi:"signingSecret"`
	// The Verification Token that will be used to authenticate with Slack.
	VerificationToken pulumi.StringOutput `pulumi:"verificationToken"`
}

Manages a Slack integration for a Bot Channel

> **Note** A bot can only have a single Slack Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelSlack(ctx, "example", &bot.ChannelSlackArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			ClientId:          pulumi.String("exampleId"),
			ClientSecret:      pulumi.String("exampleSecret"),
			VerificationToken: pulumi.String("exampleVerificationToken"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Slack Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelSlack:ChannelSlack example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/SlackChannel ```

func GetChannelSlack

func GetChannelSlack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelSlackState, opts ...pulumi.ResourceOption) (*ChannelSlack, error)

GetChannelSlack gets an existing ChannelSlack 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 NewChannelSlack

func NewChannelSlack(ctx *pulumi.Context,
	name string, args *ChannelSlackArgs, opts ...pulumi.ResourceOption) (*ChannelSlack, error)

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

func (*ChannelSlack) ElementType

func (*ChannelSlack) ElementType() reflect.Type

func (*ChannelSlack) ToChannelSlackOutput

func (i *ChannelSlack) ToChannelSlackOutput() ChannelSlackOutput

func (*ChannelSlack) ToChannelSlackOutputWithContext

func (i *ChannelSlack) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput

type ChannelSlackArgs

type ChannelSlackArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The Client ID that will be used to authenticate with Slack.
	ClientId pulumi.StringInput
	// The Client Secret that will be used to authenticate with Slack.
	ClientSecret pulumi.StringInput
	// The Slack Landing Page URL.
	LandingPageUrl pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The Signing Secret that will be used to sign the requests.
	SigningSecret pulumi.StringPtrInput
	// The Verification Token that will be used to authenticate with Slack.
	VerificationToken pulumi.StringInput
}

The set of arguments for constructing a ChannelSlack resource.

func (ChannelSlackArgs) ElementType

func (ChannelSlackArgs) ElementType() reflect.Type

type ChannelSlackArray

type ChannelSlackArray []ChannelSlackInput

func (ChannelSlackArray) ElementType

func (ChannelSlackArray) ElementType() reflect.Type

func (ChannelSlackArray) ToChannelSlackArrayOutput

func (i ChannelSlackArray) ToChannelSlackArrayOutput() ChannelSlackArrayOutput

func (ChannelSlackArray) ToChannelSlackArrayOutputWithContext

func (i ChannelSlackArray) ToChannelSlackArrayOutputWithContext(ctx context.Context) ChannelSlackArrayOutput

type ChannelSlackArrayInput

type ChannelSlackArrayInput interface {
	pulumi.Input

	ToChannelSlackArrayOutput() ChannelSlackArrayOutput
	ToChannelSlackArrayOutputWithContext(context.Context) ChannelSlackArrayOutput
}

ChannelSlackArrayInput is an input type that accepts ChannelSlackArray and ChannelSlackArrayOutput values. You can construct a concrete instance of `ChannelSlackArrayInput` via:

ChannelSlackArray{ ChannelSlackArgs{...} }

type ChannelSlackArrayOutput

type ChannelSlackArrayOutput struct{ *pulumi.OutputState }

func (ChannelSlackArrayOutput) ElementType

func (ChannelSlackArrayOutput) ElementType() reflect.Type

func (ChannelSlackArrayOutput) Index

func (ChannelSlackArrayOutput) ToChannelSlackArrayOutput

func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutput() ChannelSlackArrayOutput

func (ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext

func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext(ctx context.Context) ChannelSlackArrayOutput

type ChannelSlackInput

type ChannelSlackInput interface {
	pulumi.Input

	ToChannelSlackOutput() ChannelSlackOutput
	ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput
}

type ChannelSlackMap

type ChannelSlackMap map[string]ChannelSlackInput

func (ChannelSlackMap) ElementType

func (ChannelSlackMap) ElementType() reflect.Type

func (ChannelSlackMap) ToChannelSlackMapOutput

func (i ChannelSlackMap) ToChannelSlackMapOutput() ChannelSlackMapOutput

func (ChannelSlackMap) ToChannelSlackMapOutputWithContext

func (i ChannelSlackMap) ToChannelSlackMapOutputWithContext(ctx context.Context) ChannelSlackMapOutput

type ChannelSlackMapInput

type ChannelSlackMapInput interface {
	pulumi.Input

	ToChannelSlackMapOutput() ChannelSlackMapOutput
	ToChannelSlackMapOutputWithContext(context.Context) ChannelSlackMapOutput
}

ChannelSlackMapInput is an input type that accepts ChannelSlackMap and ChannelSlackMapOutput values. You can construct a concrete instance of `ChannelSlackMapInput` via:

ChannelSlackMap{ "key": ChannelSlackArgs{...} }

type ChannelSlackMapOutput

type ChannelSlackMapOutput struct{ *pulumi.OutputState }

func (ChannelSlackMapOutput) ElementType

func (ChannelSlackMapOutput) ElementType() reflect.Type

func (ChannelSlackMapOutput) MapIndex

func (ChannelSlackMapOutput) ToChannelSlackMapOutput

func (o ChannelSlackMapOutput) ToChannelSlackMapOutput() ChannelSlackMapOutput

func (ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext

func (o ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext(ctx context.Context) ChannelSlackMapOutput

type ChannelSlackOutput

type ChannelSlackOutput struct{ *pulumi.OutputState }

func (ChannelSlackOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelSlackOutput) ClientId added in v5.5.0

func (o ChannelSlackOutput) ClientId() pulumi.StringOutput

The Client ID that will be used to authenticate with Slack.

func (ChannelSlackOutput) ClientSecret added in v5.5.0

func (o ChannelSlackOutput) ClientSecret() pulumi.StringOutput

The Client Secret that will be used to authenticate with Slack.

func (ChannelSlackOutput) ElementType

func (ChannelSlackOutput) ElementType() reflect.Type

func (ChannelSlackOutput) LandingPageUrl added in v5.5.0

func (o ChannelSlackOutput) LandingPageUrl() pulumi.StringPtrOutput

The Slack Landing Page URL.

func (ChannelSlackOutput) Location added in v5.5.0

func (o ChannelSlackOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelSlackOutput) ResourceGroupName added in v5.5.0

func (o ChannelSlackOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

func (ChannelSlackOutput) SigningSecret added in v5.5.0

func (o ChannelSlackOutput) SigningSecret() pulumi.StringPtrOutput

The Signing Secret that will be used to sign the requests.

func (ChannelSlackOutput) ToChannelSlackOutput

func (o ChannelSlackOutput) ToChannelSlackOutput() ChannelSlackOutput

func (ChannelSlackOutput) ToChannelSlackOutputWithContext

func (o ChannelSlackOutput) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput

func (ChannelSlackOutput) VerificationToken added in v5.5.0

func (o ChannelSlackOutput) VerificationToken() pulumi.StringOutput

The Verification Token that will be used to authenticate with Slack.

type ChannelSlackState

type ChannelSlackState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The Client ID that will be used to authenticate with Slack.
	ClientId pulumi.StringPtrInput
	// The Client Secret that will be used to authenticate with Slack.
	ClientSecret pulumi.StringPtrInput
	// The Slack Landing Page URL.
	LandingPageUrl pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Signing Secret that will be used to sign the requests.
	SigningSecret pulumi.StringPtrInput
	// The Verification Token that will be used to authenticate with Slack.
	VerificationToken pulumi.StringPtrInput
}

func (ChannelSlackState) ElementType

func (ChannelSlackState) ElementType() reflect.Type

type ChannelSms

type ChannelSms struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The phone number for the SMS Channel.
	PhoneNumber pulumi.StringOutput `pulumi:"phoneNumber"`
	// The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The account security identifier (SID) for the SMS Channel.
	SmsChannelAccountSecurityId pulumi.StringOutput `pulumi:"smsChannelAccountSecurityId"`
	// The authorization token for the SMS Channel.
	SmsChannelAuthToken pulumi.StringOutput `pulumi:"smsChannelAuthToken"`
}

Manages a SMS integration for a Bot Channel

> **Note** A bot can only have a single SMS Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelSms(ctx, "example", &bot.ChannelSmsArgs{
			BotName:                     exampleChannelsRegistration.Name,
			Location:                    exampleChannelsRegistration.Location,
			ResourceGroupName:           example.Name,
			SmsChannelAccountSecurityId: pulumi.String("BG61f7cf5157f439b084e98256409c2815"),
			SmsChannelAuthToken:         pulumi.String("jh8980432610052ed4e29565c5e232f"),
			PhoneNumber:                 pulumi.String("+12313803556"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The SMS Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelSms:ChannelSms example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/SmsChannel ```

func GetChannelSms

func GetChannelSms(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelSmsState, opts ...pulumi.ResourceOption) (*ChannelSms, error)

GetChannelSms gets an existing ChannelSms 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 NewChannelSms

func NewChannelSms(ctx *pulumi.Context,
	name string, args *ChannelSmsArgs, opts ...pulumi.ResourceOption) (*ChannelSms, error)

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

func (*ChannelSms) ElementType

func (*ChannelSms) ElementType() reflect.Type

func (*ChannelSms) ToChannelSmsOutput

func (i *ChannelSms) ToChannelSmsOutput() ChannelSmsOutput

func (*ChannelSms) ToChannelSmsOutputWithContext

func (i *ChannelSms) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput

type ChannelSmsArgs

type ChannelSmsArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The phone number for the SMS Channel.
	PhoneNumber pulumi.StringInput
	// The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The account security identifier (SID) for the SMS Channel.
	SmsChannelAccountSecurityId pulumi.StringInput
	// The authorization token for the SMS Channel.
	SmsChannelAuthToken pulumi.StringInput
}

The set of arguments for constructing a ChannelSms resource.

func (ChannelSmsArgs) ElementType

func (ChannelSmsArgs) ElementType() reflect.Type

type ChannelSmsArray

type ChannelSmsArray []ChannelSmsInput

func (ChannelSmsArray) ElementType

func (ChannelSmsArray) ElementType() reflect.Type

func (ChannelSmsArray) ToChannelSmsArrayOutput

func (i ChannelSmsArray) ToChannelSmsArrayOutput() ChannelSmsArrayOutput

func (ChannelSmsArray) ToChannelSmsArrayOutputWithContext

func (i ChannelSmsArray) ToChannelSmsArrayOutputWithContext(ctx context.Context) ChannelSmsArrayOutput

type ChannelSmsArrayInput

type ChannelSmsArrayInput interface {
	pulumi.Input

	ToChannelSmsArrayOutput() ChannelSmsArrayOutput
	ToChannelSmsArrayOutputWithContext(context.Context) ChannelSmsArrayOutput
}

ChannelSmsArrayInput is an input type that accepts ChannelSmsArray and ChannelSmsArrayOutput values. You can construct a concrete instance of `ChannelSmsArrayInput` via:

ChannelSmsArray{ ChannelSmsArgs{...} }

type ChannelSmsArrayOutput

type ChannelSmsArrayOutput struct{ *pulumi.OutputState }

func (ChannelSmsArrayOutput) ElementType

func (ChannelSmsArrayOutput) ElementType() reflect.Type

func (ChannelSmsArrayOutput) Index

func (ChannelSmsArrayOutput) ToChannelSmsArrayOutput

func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutput() ChannelSmsArrayOutput

func (ChannelSmsArrayOutput) ToChannelSmsArrayOutputWithContext

func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutputWithContext(ctx context.Context) ChannelSmsArrayOutput

type ChannelSmsInput

type ChannelSmsInput interface {
	pulumi.Input

	ToChannelSmsOutput() ChannelSmsOutput
	ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput
}

type ChannelSmsMap

type ChannelSmsMap map[string]ChannelSmsInput

func (ChannelSmsMap) ElementType

func (ChannelSmsMap) ElementType() reflect.Type

func (ChannelSmsMap) ToChannelSmsMapOutput

func (i ChannelSmsMap) ToChannelSmsMapOutput() ChannelSmsMapOutput

func (ChannelSmsMap) ToChannelSmsMapOutputWithContext

func (i ChannelSmsMap) ToChannelSmsMapOutputWithContext(ctx context.Context) ChannelSmsMapOutput

type ChannelSmsMapInput

type ChannelSmsMapInput interface {
	pulumi.Input

	ToChannelSmsMapOutput() ChannelSmsMapOutput
	ToChannelSmsMapOutputWithContext(context.Context) ChannelSmsMapOutput
}

ChannelSmsMapInput is an input type that accepts ChannelSmsMap and ChannelSmsMapOutput values. You can construct a concrete instance of `ChannelSmsMapInput` via:

ChannelSmsMap{ "key": ChannelSmsArgs{...} }

type ChannelSmsMapOutput

type ChannelSmsMapOutput struct{ *pulumi.OutputState }

func (ChannelSmsMapOutput) ElementType

func (ChannelSmsMapOutput) ElementType() reflect.Type

func (ChannelSmsMapOutput) MapIndex

func (ChannelSmsMapOutput) ToChannelSmsMapOutput

func (o ChannelSmsMapOutput) ToChannelSmsMapOutput() ChannelSmsMapOutput

func (ChannelSmsMapOutput) ToChannelSmsMapOutputWithContext

func (o ChannelSmsMapOutput) ToChannelSmsMapOutputWithContext(ctx context.Context) ChannelSmsMapOutput

type ChannelSmsOutput

type ChannelSmsOutput struct{ *pulumi.OutputState }

func (ChannelSmsOutput) BotName added in v5.5.0

func (o ChannelSmsOutput) BotName() pulumi.StringOutput

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelSmsOutput) ElementType

func (ChannelSmsOutput) ElementType() reflect.Type

func (ChannelSmsOutput) Location added in v5.5.0

func (o ChannelSmsOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelSmsOutput) PhoneNumber added in v5.5.0

func (o ChannelSmsOutput) PhoneNumber() pulumi.StringOutput

The phone number for the SMS Channel.

func (ChannelSmsOutput) ResourceGroupName added in v5.5.0

func (o ChannelSmsOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.

func (ChannelSmsOutput) SmsChannelAccountSecurityId added in v5.5.0

func (o ChannelSmsOutput) SmsChannelAccountSecurityId() pulumi.StringOutput

The account security identifier (SID) for the SMS Channel.

func (ChannelSmsOutput) SmsChannelAuthToken added in v5.5.0

func (o ChannelSmsOutput) SmsChannelAuthToken() pulumi.StringOutput

The authorization token for the SMS Channel.

func (ChannelSmsOutput) ToChannelSmsOutput

func (o ChannelSmsOutput) ToChannelSmsOutput() ChannelSmsOutput

func (ChannelSmsOutput) ToChannelSmsOutputWithContext

func (o ChannelSmsOutput) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput

type ChannelSmsState

type ChannelSmsState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The phone number for the SMS Channel.
	PhoneNumber pulumi.StringPtrInput
	// The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The account security identifier (SID) for the SMS Channel.
	SmsChannelAccountSecurityId pulumi.StringPtrInput
	// The authorization token for the SMS Channel.
	SmsChannelAuthToken pulumi.StringPtrInput
}

func (ChannelSmsState) ElementType

func (ChannelSmsState) ElementType() reflect.Type

type ChannelTeams

type ChannelTeams struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// Specifies the webhook for Microsoft Teams channel calls.
	CallingWebHook pulumi.StringOutput `pulumi:"callingWebHook"`
	// The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
	DeploymentEnvironment pulumi.StringPtrOutput `pulumi:"deploymentEnvironment"`
	// Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
	EnableCalling pulumi.BoolPtrOutput `pulumi:"enableCalling"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a MS Teams integration for a Bot Channel

> **Note** A bot can only have a single MS Teams Channel associated with it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelTeams(ctx, "example", &bot.ChannelTeamsArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Microsoft Teams Integration for a Bot Channel can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelTeams:ChannelTeams example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/MsTeamsChannel ```

func GetChannelTeams

func GetChannelTeams(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelTeamsState, opts ...pulumi.ResourceOption) (*ChannelTeams, error)

GetChannelTeams gets an existing ChannelTeams 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 NewChannelTeams

func NewChannelTeams(ctx *pulumi.Context,
	name string, args *ChannelTeamsArgs, opts ...pulumi.ResourceOption) (*ChannelTeams, error)

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

func (*ChannelTeams) ElementType

func (*ChannelTeams) ElementType() reflect.Type

func (*ChannelTeams) ToChannelTeamsOutput

func (i *ChannelTeams) ToChannelTeamsOutput() ChannelTeamsOutput

func (*ChannelTeams) ToChannelTeamsOutputWithContext

func (i *ChannelTeams) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput

type ChannelTeamsArgs

type ChannelTeamsArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// Specifies the webhook for Microsoft Teams channel calls.
	CallingWebHook pulumi.StringPtrInput
	// The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
	DeploymentEnvironment pulumi.StringPtrInput
	// Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
	EnableCalling pulumi.BoolPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ChannelTeams resource.

func (ChannelTeamsArgs) ElementType

func (ChannelTeamsArgs) ElementType() reflect.Type

type ChannelTeamsArray

type ChannelTeamsArray []ChannelTeamsInput

func (ChannelTeamsArray) ElementType

func (ChannelTeamsArray) ElementType() reflect.Type

func (ChannelTeamsArray) ToChannelTeamsArrayOutput

func (i ChannelTeamsArray) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput

func (ChannelTeamsArray) ToChannelTeamsArrayOutputWithContext

func (i ChannelTeamsArray) ToChannelTeamsArrayOutputWithContext(ctx context.Context) ChannelTeamsArrayOutput

type ChannelTeamsArrayInput

type ChannelTeamsArrayInput interface {
	pulumi.Input

	ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput
	ToChannelTeamsArrayOutputWithContext(context.Context) ChannelTeamsArrayOutput
}

ChannelTeamsArrayInput is an input type that accepts ChannelTeamsArray and ChannelTeamsArrayOutput values. You can construct a concrete instance of `ChannelTeamsArrayInput` via:

ChannelTeamsArray{ ChannelTeamsArgs{...} }

type ChannelTeamsArrayOutput

type ChannelTeamsArrayOutput struct{ *pulumi.OutputState }

func (ChannelTeamsArrayOutput) ElementType

func (ChannelTeamsArrayOutput) ElementType() reflect.Type

func (ChannelTeamsArrayOutput) Index

func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput

func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput

func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext

func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext(ctx context.Context) ChannelTeamsArrayOutput

type ChannelTeamsInput

type ChannelTeamsInput interface {
	pulumi.Input

	ToChannelTeamsOutput() ChannelTeamsOutput
	ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput
}

type ChannelTeamsMap

type ChannelTeamsMap map[string]ChannelTeamsInput

func (ChannelTeamsMap) ElementType

func (ChannelTeamsMap) ElementType() reflect.Type

func (ChannelTeamsMap) ToChannelTeamsMapOutput

func (i ChannelTeamsMap) ToChannelTeamsMapOutput() ChannelTeamsMapOutput

func (ChannelTeamsMap) ToChannelTeamsMapOutputWithContext

func (i ChannelTeamsMap) ToChannelTeamsMapOutputWithContext(ctx context.Context) ChannelTeamsMapOutput

type ChannelTeamsMapInput

type ChannelTeamsMapInput interface {
	pulumi.Input

	ToChannelTeamsMapOutput() ChannelTeamsMapOutput
	ToChannelTeamsMapOutputWithContext(context.Context) ChannelTeamsMapOutput
}

ChannelTeamsMapInput is an input type that accepts ChannelTeamsMap and ChannelTeamsMapOutput values. You can construct a concrete instance of `ChannelTeamsMapInput` via:

ChannelTeamsMap{ "key": ChannelTeamsArgs{...} }

type ChannelTeamsMapOutput

type ChannelTeamsMapOutput struct{ *pulumi.OutputState }

func (ChannelTeamsMapOutput) ElementType

func (ChannelTeamsMapOutput) ElementType() reflect.Type

func (ChannelTeamsMapOutput) MapIndex

func (ChannelTeamsMapOutput) ToChannelTeamsMapOutput

func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutput() ChannelTeamsMapOutput

func (ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext

func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext(ctx context.Context) ChannelTeamsMapOutput

type ChannelTeamsOutput

type ChannelTeamsOutput struct{ *pulumi.OutputState }

func (ChannelTeamsOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelTeamsOutput) CallingWebHook added in v5.5.0

func (o ChannelTeamsOutput) CallingWebHook() pulumi.StringOutput

Specifies the webhook for Microsoft Teams channel calls.

func (ChannelTeamsOutput) DeploymentEnvironment added in v5.52.0

func (o ChannelTeamsOutput) DeploymentEnvironment() pulumi.StringPtrOutput

The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.

func (ChannelTeamsOutput) ElementType

func (ChannelTeamsOutput) ElementType() reflect.Type

func (ChannelTeamsOutput) EnableCalling added in v5.5.0

func (o ChannelTeamsOutput) EnableCalling() pulumi.BoolPtrOutput

Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.

func (ChannelTeamsOutput) Location added in v5.5.0

func (o ChannelTeamsOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelTeamsOutput) ResourceGroupName added in v5.5.0

func (o ChannelTeamsOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

func (ChannelTeamsOutput) ToChannelTeamsOutput

func (o ChannelTeamsOutput) ToChannelTeamsOutput() ChannelTeamsOutput

func (ChannelTeamsOutput) ToChannelTeamsOutputWithContext

func (o ChannelTeamsOutput) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput

type ChannelTeamsState

type ChannelTeamsState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// Specifies the webhook for Microsoft Teams channel calls.
	CallingWebHook pulumi.StringPtrInput
	// The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
	DeploymentEnvironment pulumi.StringPtrInput
	// Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
	EnableCalling pulumi.BoolPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ChannelTeamsState) ElementType

func (ChannelTeamsState) ElementType() reflect.Type

type ChannelWebChat

type ChannelWebChat struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A list of Web Chat Site names.
	//
	// > **NOTE:** `siteNames` is deprecated and will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `site_names` will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	SiteNames pulumi.StringArrayOutput `pulumi:"siteNames"`
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelWebChatSiteArrayOutput `pulumi:"sites"`
}

Manages a Web Chat integration for a Bot Channel

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example-bcr"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelWebChat(ctx, "example", &bot.ChannelWebChatArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: example.Name,
			Sites: bot.ChannelWebChatSiteArray{
				&bot.ChannelWebChatSiteArgs{
					Name: pulumi.String("TestSite"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Web Chat Channels can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelWebChat:ChannelWebChat example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/WebChatChannel ```

func GetChannelWebChat

func GetChannelWebChat(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelWebChatState, opts ...pulumi.ResourceOption) (*ChannelWebChat, error)

GetChannelWebChat gets an existing ChannelWebChat 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 NewChannelWebChat

func NewChannelWebChat(ctx *pulumi.Context,
	name string, args *ChannelWebChatArgs, opts ...pulumi.ResourceOption) (*ChannelWebChat, error)

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

func (*ChannelWebChat) ElementType

func (*ChannelWebChat) ElementType() reflect.Type

func (*ChannelWebChat) ToChannelWebChatOutput

func (i *ChannelWebChat) ToChannelWebChatOutput() ChannelWebChatOutput

func (*ChannelWebChat) ToChannelWebChatOutputWithContext

func (i *ChannelWebChat) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput

type ChannelWebChatArgs

type ChannelWebChatArgs struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A list of Web Chat Site names.
	//
	// > **NOTE:** `siteNames` is deprecated and will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `site_names` will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	SiteNames pulumi.StringArrayInput
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelWebChatSiteArrayInput
}

The set of arguments for constructing a ChannelWebChat resource.

func (ChannelWebChatArgs) ElementType

func (ChannelWebChatArgs) ElementType() reflect.Type

type ChannelWebChatArray

type ChannelWebChatArray []ChannelWebChatInput

func (ChannelWebChatArray) ElementType

func (ChannelWebChatArray) ElementType() reflect.Type

func (ChannelWebChatArray) ToChannelWebChatArrayOutput

func (i ChannelWebChatArray) ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput

func (ChannelWebChatArray) ToChannelWebChatArrayOutputWithContext

func (i ChannelWebChatArray) ToChannelWebChatArrayOutputWithContext(ctx context.Context) ChannelWebChatArrayOutput

type ChannelWebChatArrayInput

type ChannelWebChatArrayInput interface {
	pulumi.Input

	ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput
	ToChannelWebChatArrayOutputWithContext(context.Context) ChannelWebChatArrayOutput
}

ChannelWebChatArrayInput is an input type that accepts ChannelWebChatArray and ChannelWebChatArrayOutput values. You can construct a concrete instance of `ChannelWebChatArrayInput` via:

ChannelWebChatArray{ ChannelWebChatArgs{...} }

type ChannelWebChatArrayOutput

type ChannelWebChatArrayOutput struct{ *pulumi.OutputState }

func (ChannelWebChatArrayOutput) ElementType

func (ChannelWebChatArrayOutput) ElementType() reflect.Type

func (ChannelWebChatArrayOutput) Index

func (ChannelWebChatArrayOutput) ToChannelWebChatArrayOutput

func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput

func (ChannelWebChatArrayOutput) ToChannelWebChatArrayOutputWithContext

func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutputWithContext(ctx context.Context) ChannelWebChatArrayOutput

type ChannelWebChatInput

type ChannelWebChatInput interface {
	pulumi.Input

	ToChannelWebChatOutput() ChannelWebChatOutput
	ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput
}

type ChannelWebChatMap

type ChannelWebChatMap map[string]ChannelWebChatInput

func (ChannelWebChatMap) ElementType

func (ChannelWebChatMap) ElementType() reflect.Type

func (ChannelWebChatMap) ToChannelWebChatMapOutput

func (i ChannelWebChatMap) ToChannelWebChatMapOutput() ChannelWebChatMapOutput

func (ChannelWebChatMap) ToChannelWebChatMapOutputWithContext

func (i ChannelWebChatMap) ToChannelWebChatMapOutputWithContext(ctx context.Context) ChannelWebChatMapOutput

type ChannelWebChatMapInput

type ChannelWebChatMapInput interface {
	pulumi.Input

	ToChannelWebChatMapOutput() ChannelWebChatMapOutput
	ToChannelWebChatMapOutputWithContext(context.Context) ChannelWebChatMapOutput
}

ChannelWebChatMapInput is an input type that accepts ChannelWebChatMap and ChannelWebChatMapOutput values. You can construct a concrete instance of `ChannelWebChatMapInput` via:

ChannelWebChatMap{ "key": ChannelWebChatArgs{...} }

type ChannelWebChatMapOutput

type ChannelWebChatMapOutput struct{ *pulumi.OutputState }

func (ChannelWebChatMapOutput) ElementType

func (ChannelWebChatMapOutput) ElementType() reflect.Type

func (ChannelWebChatMapOutput) MapIndex

func (ChannelWebChatMapOutput) ToChannelWebChatMapOutput

func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutput() ChannelWebChatMapOutput

func (ChannelWebChatMapOutput) ToChannelWebChatMapOutputWithContext

func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutputWithContext(ctx context.Context) ChannelWebChatMapOutput

type ChannelWebChatOutput

type ChannelWebChatOutput struct{ *pulumi.OutputState }

func (ChannelWebChatOutput) BotName added in v5.5.0

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

func (ChannelWebChatOutput) ElementType

func (ChannelWebChatOutput) ElementType() reflect.Type

func (ChannelWebChatOutput) Location added in v5.5.0

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelWebChatOutput) ResourceGroupName added in v5.5.0

func (o ChannelWebChatOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created.

func (ChannelWebChatOutput) SiteNames deprecated added in v5.5.0

A list of Web Chat Site names.

> **NOTE:** `siteNames` is deprecated and will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.

Deprecated: `site_names` will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.

func (ChannelWebChatOutput) Sites added in v5.52.0

A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.

func (ChannelWebChatOutput) ToChannelWebChatOutput

func (o ChannelWebChatOutput) ToChannelWebChatOutput() ChannelWebChatOutput

func (ChannelWebChatOutput) ToChannelWebChatOutputWithContext

func (o ChannelWebChatOutput) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput

type ChannelWebChatSite added in v5.52.0

type ChannelWebChatSite struct {
	// Is the endpoint parameters enabled for this site?
	EndpointParametersEnabled *bool `pulumi:"endpointParametersEnabled"`
	// The name of the site.
	Name string `pulumi:"name"`
	// Is the storage site enabled for detailed logging? Defaults to `true`.
	StorageEnabled *bool `pulumi:"storageEnabled"`
	// Is the user upload enabled for this site? Defaults to `true`.
	UserUploadEnabled *bool `pulumi:"userUploadEnabled"`
}

type ChannelWebChatSiteArgs added in v5.52.0

type ChannelWebChatSiteArgs struct {
	// Is the endpoint parameters enabled for this site?
	EndpointParametersEnabled pulumi.BoolPtrInput `pulumi:"endpointParametersEnabled"`
	// The name of the site.
	Name pulumi.StringInput `pulumi:"name"`
	// Is the storage site enabled for detailed logging? Defaults to `true`.
	StorageEnabled pulumi.BoolPtrInput `pulumi:"storageEnabled"`
	// Is the user upload enabled for this site? Defaults to `true`.
	UserUploadEnabled pulumi.BoolPtrInput `pulumi:"userUploadEnabled"`
}

func (ChannelWebChatSiteArgs) ElementType added in v5.52.0

func (ChannelWebChatSiteArgs) ElementType() reflect.Type

func (ChannelWebChatSiteArgs) ToChannelWebChatSiteOutput added in v5.52.0

func (i ChannelWebChatSiteArgs) ToChannelWebChatSiteOutput() ChannelWebChatSiteOutput

func (ChannelWebChatSiteArgs) ToChannelWebChatSiteOutputWithContext added in v5.52.0

func (i ChannelWebChatSiteArgs) ToChannelWebChatSiteOutputWithContext(ctx context.Context) ChannelWebChatSiteOutput

type ChannelWebChatSiteArray added in v5.52.0

type ChannelWebChatSiteArray []ChannelWebChatSiteInput

func (ChannelWebChatSiteArray) ElementType added in v5.52.0

func (ChannelWebChatSiteArray) ElementType() reflect.Type

func (ChannelWebChatSiteArray) ToChannelWebChatSiteArrayOutput added in v5.52.0

func (i ChannelWebChatSiteArray) ToChannelWebChatSiteArrayOutput() ChannelWebChatSiteArrayOutput

func (ChannelWebChatSiteArray) ToChannelWebChatSiteArrayOutputWithContext added in v5.52.0

func (i ChannelWebChatSiteArray) ToChannelWebChatSiteArrayOutputWithContext(ctx context.Context) ChannelWebChatSiteArrayOutput

type ChannelWebChatSiteArrayInput added in v5.52.0

type ChannelWebChatSiteArrayInput interface {
	pulumi.Input

	ToChannelWebChatSiteArrayOutput() ChannelWebChatSiteArrayOutput
	ToChannelWebChatSiteArrayOutputWithContext(context.Context) ChannelWebChatSiteArrayOutput
}

ChannelWebChatSiteArrayInput is an input type that accepts ChannelWebChatSiteArray and ChannelWebChatSiteArrayOutput values. You can construct a concrete instance of `ChannelWebChatSiteArrayInput` via:

ChannelWebChatSiteArray{ ChannelWebChatSiteArgs{...} }

type ChannelWebChatSiteArrayOutput added in v5.52.0

type ChannelWebChatSiteArrayOutput struct{ *pulumi.OutputState }

func (ChannelWebChatSiteArrayOutput) ElementType added in v5.52.0

func (ChannelWebChatSiteArrayOutput) Index added in v5.52.0

func (ChannelWebChatSiteArrayOutput) ToChannelWebChatSiteArrayOutput added in v5.52.0

func (o ChannelWebChatSiteArrayOutput) ToChannelWebChatSiteArrayOutput() ChannelWebChatSiteArrayOutput

func (ChannelWebChatSiteArrayOutput) ToChannelWebChatSiteArrayOutputWithContext added in v5.52.0

func (o ChannelWebChatSiteArrayOutput) ToChannelWebChatSiteArrayOutputWithContext(ctx context.Context) ChannelWebChatSiteArrayOutput

type ChannelWebChatSiteInput added in v5.52.0

type ChannelWebChatSiteInput interface {
	pulumi.Input

	ToChannelWebChatSiteOutput() ChannelWebChatSiteOutput
	ToChannelWebChatSiteOutputWithContext(context.Context) ChannelWebChatSiteOutput
}

ChannelWebChatSiteInput is an input type that accepts ChannelWebChatSiteArgs and ChannelWebChatSiteOutput values. You can construct a concrete instance of `ChannelWebChatSiteInput` via:

ChannelWebChatSiteArgs{...}

type ChannelWebChatSiteOutput added in v5.52.0

type ChannelWebChatSiteOutput struct{ *pulumi.OutputState }

func (ChannelWebChatSiteOutput) ElementType added in v5.52.0

func (ChannelWebChatSiteOutput) ElementType() reflect.Type

func (ChannelWebChatSiteOutput) EndpointParametersEnabled added in v5.52.0

func (o ChannelWebChatSiteOutput) EndpointParametersEnabled() pulumi.BoolPtrOutput

Is the endpoint parameters enabled for this site?

func (ChannelWebChatSiteOutput) Name added in v5.52.0

The name of the site.

func (ChannelWebChatSiteOutput) StorageEnabled added in v5.52.0

func (o ChannelWebChatSiteOutput) StorageEnabled() pulumi.BoolPtrOutput

Is the storage site enabled for detailed logging? Defaults to `true`.

func (ChannelWebChatSiteOutput) ToChannelWebChatSiteOutput added in v5.52.0

func (o ChannelWebChatSiteOutput) ToChannelWebChatSiteOutput() ChannelWebChatSiteOutput

func (ChannelWebChatSiteOutput) ToChannelWebChatSiteOutputWithContext added in v5.52.0

func (o ChannelWebChatSiteOutput) ToChannelWebChatSiteOutputWithContext(ctx context.Context) ChannelWebChatSiteOutput

func (ChannelWebChatSiteOutput) UserUploadEnabled added in v5.52.0

func (o ChannelWebChatSiteOutput) UserUploadEnabled() pulumi.BoolPtrOutput

Is the user upload enabled for this site? Defaults to `true`.

type ChannelWebChatState

type ChannelWebChatState struct {
	// The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A list of Web Chat Site names.
	//
	// > **NOTE:** `siteNames` is deprecated and will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `site_names` will be removed in favour of the property `site` in version 4.0 of the AzureRM Provider.
	SiteNames pulumi.StringArrayInput
	// A site represents a client application that you want to connect to your bot. One or more `site` blocks as defined below.
	Sites ChannelWebChatSiteArrayInput
}

func (ChannelWebChatState) ElementType

func (ChannelWebChatState) ElementType() reflect.Type

type ChannelsRegistration

type ChannelsRegistration struct {
	pulumi.CustomResourceState

	// The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key.
	//
	// > **Note:** It has to add the Key Vault Access Policy for the `Bot Service CMEK Prod` Service Principal and the `softDeleteEnabled` and the `purgeProtectionEnabled` is enabled on the `keyvault.KeyVault` resource while using `cmkKeyVaultUrl`.
	//
	// > **Note:** It has to turn off the CMK feature before revoking Key Vault Access Policy. For more information, please refer to [Revoke access to customer-managed keys](https://docs.microsoft.com/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0&WT.mc_id=Portal-Microsoft_Azure_BotService#revoke-access-to-customer-managed-keys).
	CmkKeyVaultUrl pulumi.StringPtrOutput `pulumi:"cmkKeyVaultUrl"`
	// The description of the Bot Channels Registration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Application Insights API Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsApiKey pulumi.StringOutput `pulumi:"developerAppInsightsApiKey"`
	// The Application Insights Application ID to associate with the Bot Channels Registration.
	DeveloperAppInsightsApplicationId pulumi.StringOutput `pulumi:"developerAppInsightsApplicationId"`
	// The Application Insights Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsKey pulumi.StringOutput `pulumi:"developerAppInsightsKey"`
	// The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The Bot Channels Registration endpoint.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
	// The icon URL to visually identify the Bot Channels Registration.
	IconUrl pulumi.StringOutput `pulumi:"iconUrl"`
	// Is the Bot Channels Registration in an isolated network?
	//
	// > **NOTE:** `isolatedNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `isolated_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	IsolatedNetworkEnabled pulumi.BoolOutput `pulumi:"isolatedNetworkEnabled"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringOutput `pulumi:"microsoftAppId"`
	// Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// Is the Bot Channels Registration in an isolated network?
	PublicNetworkAccessEnabled pulumi.BoolOutput `pulumi:"publicNetworkAccessEnabled"`
	// The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// Is the streaming endpoint enabled for the Bot Channels Registration. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrOutput `pulumi:"streamingEndpointEnabled"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Bot Channels Registration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bot Channels Registration can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/channelsRegistration:ChannelsRegistration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example ```

func GetChannelsRegistration

func GetChannelsRegistration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelsRegistrationState, opts ...pulumi.ResourceOption) (*ChannelsRegistration, error)

GetChannelsRegistration gets an existing ChannelsRegistration 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 NewChannelsRegistration

func NewChannelsRegistration(ctx *pulumi.Context,
	name string, args *ChannelsRegistrationArgs, opts ...pulumi.ResourceOption) (*ChannelsRegistration, error)

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

func (*ChannelsRegistration) ElementType

func (*ChannelsRegistration) ElementType() reflect.Type

func (*ChannelsRegistration) ToChannelsRegistrationOutput

func (i *ChannelsRegistration) ToChannelsRegistrationOutput() ChannelsRegistrationOutput

func (*ChannelsRegistration) ToChannelsRegistrationOutputWithContext

func (i *ChannelsRegistration) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput

type ChannelsRegistrationArgs

type ChannelsRegistrationArgs struct {
	// The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key.
	//
	// > **Note:** It has to add the Key Vault Access Policy for the `Bot Service CMEK Prod` Service Principal and the `softDeleteEnabled` and the `purgeProtectionEnabled` is enabled on the `keyvault.KeyVault` resource while using `cmkKeyVaultUrl`.
	//
	// > **Note:** It has to turn off the CMK feature before revoking Key Vault Access Policy. For more information, please refer to [Revoke access to customer-managed keys](https://docs.microsoft.com/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0&WT.mc_id=Portal-Microsoft_Azure_BotService#revoke-access-to-customer-managed-keys).
	CmkKeyVaultUrl pulumi.StringPtrInput
	// The description of the Bot Channels Registration.
	Description pulumi.StringPtrInput
	// The Application Insights API Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The Application Insights Application ID to associate with the Bot Channels Registration.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insights Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Bot Channels Registration endpoint.
	Endpoint pulumi.StringPtrInput
	// The icon URL to visually identify the Bot Channels Registration.
	IconUrl pulumi.StringPtrInput
	// Is the Bot Channels Registration in an isolated network?
	//
	// > **NOTE:** `isolatedNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `isolated_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	IsolatedNetworkEnabled pulumi.BoolPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringInput
	// Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// Is the Bot Channels Registration in an isolated network?
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringInput
	// Is the streaming endpoint enabled for the Bot Channels Registration. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ChannelsRegistration resource.

func (ChannelsRegistrationArgs) ElementType

func (ChannelsRegistrationArgs) ElementType() reflect.Type

type ChannelsRegistrationArray

type ChannelsRegistrationArray []ChannelsRegistrationInput

func (ChannelsRegistrationArray) ElementType

func (ChannelsRegistrationArray) ElementType() reflect.Type

func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput

func (i ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput

func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutputWithContext

func (i ChannelsRegistrationArray) ToChannelsRegistrationArrayOutputWithContext(ctx context.Context) ChannelsRegistrationArrayOutput

type ChannelsRegistrationArrayInput

type ChannelsRegistrationArrayInput interface {
	pulumi.Input

	ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput
	ToChannelsRegistrationArrayOutputWithContext(context.Context) ChannelsRegistrationArrayOutput
}

ChannelsRegistrationArrayInput is an input type that accepts ChannelsRegistrationArray and ChannelsRegistrationArrayOutput values. You can construct a concrete instance of `ChannelsRegistrationArrayInput` via:

ChannelsRegistrationArray{ ChannelsRegistrationArgs{...} }

type ChannelsRegistrationArrayOutput

type ChannelsRegistrationArrayOutput struct{ *pulumi.OutputState }

func (ChannelsRegistrationArrayOutput) ElementType

func (ChannelsRegistrationArrayOutput) Index

func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput

func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput

func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext

func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext(ctx context.Context) ChannelsRegistrationArrayOutput

type ChannelsRegistrationInput

type ChannelsRegistrationInput interface {
	pulumi.Input

	ToChannelsRegistrationOutput() ChannelsRegistrationOutput
	ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput
}

type ChannelsRegistrationMap

type ChannelsRegistrationMap map[string]ChannelsRegistrationInput

func (ChannelsRegistrationMap) ElementType

func (ChannelsRegistrationMap) ElementType() reflect.Type

func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutput

func (i ChannelsRegistrationMap) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput

func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutputWithContext

func (i ChannelsRegistrationMap) ToChannelsRegistrationMapOutputWithContext(ctx context.Context) ChannelsRegistrationMapOutput

type ChannelsRegistrationMapInput

type ChannelsRegistrationMapInput interface {
	pulumi.Input

	ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput
	ToChannelsRegistrationMapOutputWithContext(context.Context) ChannelsRegistrationMapOutput
}

ChannelsRegistrationMapInput is an input type that accepts ChannelsRegistrationMap and ChannelsRegistrationMapOutput values. You can construct a concrete instance of `ChannelsRegistrationMapInput` via:

ChannelsRegistrationMap{ "key": ChannelsRegistrationArgs{...} }

type ChannelsRegistrationMapOutput

type ChannelsRegistrationMapOutput struct{ *pulumi.OutputState }

func (ChannelsRegistrationMapOutput) ElementType

func (ChannelsRegistrationMapOutput) MapIndex

func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput

func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput

func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext

func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext(ctx context.Context) ChannelsRegistrationMapOutput

type ChannelsRegistrationOutput

type ChannelsRegistrationOutput struct{ *pulumi.OutputState }

func (ChannelsRegistrationOutput) CmkKeyVaultUrl added in v5.5.0

The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key.

> **Note:** It has to add the Key Vault Access Policy for the `Bot Service CMEK Prod` Service Principal and the `softDeleteEnabled` and the `purgeProtectionEnabled` is enabled on the `keyvault.KeyVault` resource while using `cmkKeyVaultUrl`.

> **Note:** It has to turn off the CMK feature before revoking Key Vault Access Policy. For more information, please refer to [Revoke access to customer-managed keys](https://docs.microsoft.com/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0&WT.mc_id=Portal-Microsoft_Azure_BotService#revoke-access-to-customer-managed-keys).

func (ChannelsRegistrationOutput) Description added in v5.5.0

The description of the Bot Channels Registration.

func (ChannelsRegistrationOutput) DeveloperAppInsightsApiKey added in v5.5.0

func (o ChannelsRegistrationOutput) DeveloperAppInsightsApiKey() pulumi.StringOutput

The Application Insights API Key to associate with the Bot Channels Registration.

func (ChannelsRegistrationOutput) DeveloperAppInsightsApplicationId added in v5.5.0

func (o ChannelsRegistrationOutput) DeveloperAppInsightsApplicationId() pulumi.StringOutput

The Application Insights Application ID to associate with the Bot Channels Registration.

func (ChannelsRegistrationOutput) DeveloperAppInsightsKey added in v5.5.0

func (o ChannelsRegistrationOutput) DeveloperAppInsightsKey() pulumi.StringOutput

The Application Insights Key to associate with the Bot Channels Registration.

func (ChannelsRegistrationOutput) DisplayName added in v5.5.0

The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified.

func (ChannelsRegistrationOutput) ElementType

func (ChannelsRegistrationOutput) ElementType() reflect.Type

func (ChannelsRegistrationOutput) Endpoint added in v5.5.0

The Bot Channels Registration endpoint.

func (ChannelsRegistrationOutput) IconUrl added in v5.5.0

The icon URL to visually identify the Bot Channels Registration.

func (ChannelsRegistrationOutput) IsolatedNetworkEnabled deprecated added in v5.5.0

func (o ChannelsRegistrationOutput) IsolatedNetworkEnabled() pulumi.BoolOutput

Is the Bot Channels Registration in an isolated network?

> **NOTE:** `isolatedNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.

Deprecated: `isolated_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.

func (ChannelsRegistrationOutput) Location added in v5.5.0

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ChannelsRegistrationOutput) MicrosoftAppId added in v5.5.0

func (o ChannelsRegistrationOutput) MicrosoftAppId() pulumi.StringOutput

The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.

func (ChannelsRegistrationOutput) Name added in v5.5.0

Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.

func (ChannelsRegistrationOutput) PublicNetworkAccessEnabled added in v5.8.0

func (o ChannelsRegistrationOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput

Is the Bot Channels Registration in an isolated network?

func (ChannelsRegistrationOutput) ResourceGroupName added in v5.5.0

func (o ChannelsRegistrationOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.

func (ChannelsRegistrationOutput) Sku added in v5.5.0

The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.

func (ChannelsRegistrationOutput) StreamingEndpointEnabled added in v5.12.0

func (o ChannelsRegistrationOutput) StreamingEndpointEnabled() pulumi.BoolPtrOutput

Is the streaming endpoint enabled for the Bot Channels Registration. Defaults to `false`.

func (ChannelsRegistrationOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (ChannelsRegistrationOutput) ToChannelsRegistrationOutput

func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutput() ChannelsRegistrationOutput

func (ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext

func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput

type ChannelsRegistrationState

type ChannelsRegistrationState struct {
	// The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key.
	//
	// > **Note:** It has to add the Key Vault Access Policy for the `Bot Service CMEK Prod` Service Principal and the `softDeleteEnabled` and the `purgeProtectionEnabled` is enabled on the `keyvault.KeyVault` resource while using `cmkKeyVaultUrl`.
	//
	// > **Note:** It has to turn off the CMK feature before revoking Key Vault Access Policy. For more information, please refer to [Revoke access to customer-managed keys](https://docs.microsoft.com/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0&WT.mc_id=Portal-Microsoft_Azure_BotService#revoke-access-to-customer-managed-keys).
	CmkKeyVaultUrl pulumi.StringPtrInput
	// The description of the Bot Channels Registration.
	Description pulumi.StringPtrInput
	// The Application Insights API Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The Application Insights Application ID to associate with the Bot Channels Registration.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insights Key to associate with the Bot Channels Registration.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Bot Channels Registration endpoint.
	Endpoint pulumi.StringPtrInput
	// The icon URL to visually identify the Bot Channels Registration.
	IconUrl pulumi.StringPtrInput
	// Is the Bot Channels Registration in an isolated network?
	//
	// > **NOTE:** `isolatedNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	//
	// Deprecated: `isolated_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	IsolatedNetworkEnabled pulumi.BoolPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringPtrInput
	// Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// Is the Bot Channels Registration in an isolated network?
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringPtrInput
	// Is the streaming endpoint enabled for the Bot Channels Registration. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (ChannelsRegistrationState) ElementType

func (ChannelsRegistrationState) ElementType() reflect.Type

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringOutput `pulumi:"botName"`
	// The Client ID that will be used to authenticate with the service provider.
	ClientId pulumi.StringOutput `pulumi:"clientId"`
	// The Client Secret that will be used to authenticate with the service provider.
	ClientSecret pulumi.StringOutput `pulumi:"clientSecret"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of additional parameters to apply to the connection.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Scopes at which the connection should be applied.
	Scopes pulumi.StringPtrOutput `pulumi:"scopes"`
	// The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.
	ServiceProviderName pulumi.StringOutput `pulumi:"serviceProviderName"`
	// A mapping of tags to assign to the resource.
	//
	// > **Note:** `tags` has been deprecated as the API no longer supports it and will be removed in version 4.0 of the provider.
	//
	// Deprecated: This property has been deprecated as the API no longer supports tags and will be removed in version 4.0 of the provider.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Bot Connection.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "example", &bot.ChannelsRegistrationArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewConnection(ctx, "example", &bot.ConnectionArgs{
			Name:                pulumi.String("example"),
			BotName:             exampleChannelsRegistration.Name,
			Location:            exampleChannelsRegistration.Location,
			ResourceGroupName:   example.Name,
			ServiceProviderName: pulumi.String("box"),
			ClientId:            pulumi.String("exampleId"),
			ClientSecret:        pulumi.String("exampleSecret"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bot Connection can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/connection:Connection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/connections/example ```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection 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 NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

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

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionArgs

type ConnectionArgs struct {
	// The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringInput
	// The Client ID that will be used to authenticate with the service provider.
	ClientId pulumi.StringInput
	// The Client Secret that will be used to authenticate with the service provider.
	ClientSecret pulumi.StringInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// A map of additional parameters to apply to the connection.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The Scopes at which the connection should be applied.
	Scopes pulumi.StringPtrInput
	// The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.
	ServiceProviderName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	//
	// > **Note:** `tags` has been deprecated as the API no longer supports it and will be removed in version 4.0 of the provider.
	//
	// Deprecated: This property has been deprecated as the API no longer supports tags and will be removed in version 4.0 of the provider.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) BotName added in v5.5.0

func (o ConnectionOutput) BotName() pulumi.StringOutput

The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.

func (ConnectionOutput) ClientId added in v5.5.0

func (o ConnectionOutput) ClientId() pulumi.StringOutput

The Client ID that will be used to authenticate with the service provider.

func (ConnectionOutput) ClientSecret added in v5.5.0

func (o ConnectionOutput) ClientSecret() pulumi.StringOutput

The Client Secret that will be used to authenticate with the service provider.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) Location added in v5.5.0

func (o ConnectionOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ConnectionOutput) Name added in v5.5.0

Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.

func (ConnectionOutput) Parameters added in v5.5.0

func (o ConnectionOutput) Parameters() pulumi.StringMapOutput

A map of additional parameters to apply to the connection.

func (ConnectionOutput) ResourceGroupName added in v5.5.0

func (o ConnectionOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.

func (ConnectionOutput) Scopes added in v5.5.0

The Scopes at which the connection should be applied.

func (ConnectionOutput) ServiceProviderName added in v5.5.0

func (o ConnectionOutput) ServiceProviderName() pulumi.StringOutput

The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.

func (ConnectionOutput) Tags deprecated added in v5.5.0

A mapping of tags to assign to the resource.

> **Note:** `tags` has been deprecated as the API no longer supports it and will be removed in version 4.0 of the provider.

Deprecated: This property has been deprecated as the API no longer supports tags and will be removed in version 4.0 of the provider.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionState

type ConnectionState struct {
	// The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.
	BotName pulumi.StringPtrInput
	// The Client ID that will be used to authenticate with the service provider.
	ClientId pulumi.StringPtrInput
	// The Client Secret that will be used to authenticate with the service provider.
	ClientSecret pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// A map of additional parameters to apply to the connection.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Scopes at which the connection should be applied.
	Scopes pulumi.StringPtrInput
	// The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.
	ServiceProviderName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	//
	// > **Note:** `tags` has been deprecated as the API no longer supports it and will be removed in version 4.0 of the provider.
	//
	// Deprecated: This property has been deprecated as the API no longer supports tags and will be removed in version 4.0 of the provider.
	Tags pulumi.StringMapInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type Healthbot

type Healthbot struct {
	pulumi.CustomResourceState

	// The management portal url.
	BotManagementPortalUrl pulumi.StringOutput `pulumi:"botManagementPortalUrl"`
	// Specifies The Azure Region where the resource exists. Changing this force a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies The name of the Healthbot Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name which should be used for the SKU of the service. Possible values are `C0`, `F0` and `S1`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags which should be assigned to the service.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Healthbot Service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-healthbot"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewHealthbot(ctx, "example", &bot.HealthbotArgs{
			Name:              pulumi.String("example-bot"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			SkuName:           pulumi.String("F0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Healthbot Service can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/healthbot:Healthbot example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.HealthBot/healthBots/bot1 ```

func GetHealthbot

func GetHealthbot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HealthbotState, opts ...pulumi.ResourceOption) (*Healthbot, error)

GetHealthbot gets an existing Healthbot 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 NewHealthbot

func NewHealthbot(ctx *pulumi.Context,
	name string, args *HealthbotArgs, opts ...pulumi.ResourceOption) (*Healthbot, error)

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

func (*Healthbot) ElementType

func (*Healthbot) ElementType() reflect.Type

func (*Healthbot) ToHealthbotOutput

func (i *Healthbot) ToHealthbotOutput() HealthbotOutput

func (*Healthbot) ToHealthbotOutputWithContext

func (i *Healthbot) ToHealthbotOutputWithContext(ctx context.Context) HealthbotOutput

type HealthbotArgs

type HealthbotArgs struct {
	// Specifies The Azure Region where the resource exists. Changing this force a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies The name of the Healthbot Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name which should be used for the SKU of the service. Possible values are `C0`, `F0` and `S1`.
	SkuName pulumi.StringInput
	// A mapping of tags which should be assigned to the service.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Healthbot resource.

func (HealthbotArgs) ElementType

func (HealthbotArgs) ElementType() reflect.Type

type HealthbotArray

type HealthbotArray []HealthbotInput

func (HealthbotArray) ElementType

func (HealthbotArray) ElementType() reflect.Type

func (HealthbotArray) ToHealthbotArrayOutput

func (i HealthbotArray) ToHealthbotArrayOutput() HealthbotArrayOutput

func (HealthbotArray) ToHealthbotArrayOutputWithContext

func (i HealthbotArray) ToHealthbotArrayOutputWithContext(ctx context.Context) HealthbotArrayOutput

type HealthbotArrayInput

type HealthbotArrayInput interface {
	pulumi.Input

	ToHealthbotArrayOutput() HealthbotArrayOutput
	ToHealthbotArrayOutputWithContext(context.Context) HealthbotArrayOutput
}

HealthbotArrayInput is an input type that accepts HealthbotArray and HealthbotArrayOutput values. You can construct a concrete instance of `HealthbotArrayInput` via:

HealthbotArray{ HealthbotArgs{...} }

type HealthbotArrayOutput

type HealthbotArrayOutput struct{ *pulumi.OutputState }

func (HealthbotArrayOutput) ElementType

func (HealthbotArrayOutput) ElementType() reflect.Type

func (HealthbotArrayOutput) Index

func (HealthbotArrayOutput) ToHealthbotArrayOutput

func (o HealthbotArrayOutput) ToHealthbotArrayOutput() HealthbotArrayOutput

func (HealthbotArrayOutput) ToHealthbotArrayOutputWithContext

func (o HealthbotArrayOutput) ToHealthbotArrayOutputWithContext(ctx context.Context) HealthbotArrayOutput

type HealthbotInput

type HealthbotInput interface {
	pulumi.Input

	ToHealthbotOutput() HealthbotOutput
	ToHealthbotOutputWithContext(ctx context.Context) HealthbotOutput
}

type HealthbotMap

type HealthbotMap map[string]HealthbotInput

func (HealthbotMap) ElementType

func (HealthbotMap) ElementType() reflect.Type

func (HealthbotMap) ToHealthbotMapOutput

func (i HealthbotMap) ToHealthbotMapOutput() HealthbotMapOutput

func (HealthbotMap) ToHealthbotMapOutputWithContext

func (i HealthbotMap) ToHealthbotMapOutputWithContext(ctx context.Context) HealthbotMapOutput

type HealthbotMapInput

type HealthbotMapInput interface {
	pulumi.Input

	ToHealthbotMapOutput() HealthbotMapOutput
	ToHealthbotMapOutputWithContext(context.Context) HealthbotMapOutput
}

HealthbotMapInput is an input type that accepts HealthbotMap and HealthbotMapOutput values. You can construct a concrete instance of `HealthbotMapInput` via:

HealthbotMap{ "key": HealthbotArgs{...} }

type HealthbotMapOutput

type HealthbotMapOutput struct{ *pulumi.OutputState }

func (HealthbotMapOutput) ElementType

func (HealthbotMapOutput) ElementType() reflect.Type

func (HealthbotMapOutput) MapIndex

func (HealthbotMapOutput) ToHealthbotMapOutput

func (o HealthbotMapOutput) ToHealthbotMapOutput() HealthbotMapOutput

func (HealthbotMapOutput) ToHealthbotMapOutputWithContext

func (o HealthbotMapOutput) ToHealthbotMapOutputWithContext(ctx context.Context) HealthbotMapOutput

type HealthbotOutput

type HealthbotOutput struct{ *pulumi.OutputState }

func (HealthbotOutput) BotManagementPortalUrl added in v5.5.0

func (o HealthbotOutput) BotManagementPortalUrl() pulumi.StringOutput

The management portal url.

func (HealthbotOutput) ElementType

func (HealthbotOutput) ElementType() reflect.Type

func (HealthbotOutput) Location added in v5.5.0

func (o HealthbotOutput) Location() pulumi.StringOutput

Specifies The Azure Region where the resource exists. Changing this force a new resource to be created.

func (HealthbotOutput) Name added in v5.5.0

Specifies The name of the Healthbot Service resource. Changing this forces a new resource to be created.

func (HealthbotOutput) ResourceGroupName added in v5.5.0

func (o HealthbotOutput) ResourceGroupName() pulumi.StringOutput

Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created.

func (HealthbotOutput) SkuName added in v5.5.0

func (o HealthbotOutput) SkuName() pulumi.StringOutput

The name which should be used for the SKU of the service. Possible values are `C0`, `F0` and `S1`.

func (HealthbotOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the service.

func (HealthbotOutput) ToHealthbotOutput

func (o HealthbotOutput) ToHealthbotOutput() HealthbotOutput

func (HealthbotOutput) ToHealthbotOutputWithContext

func (o HealthbotOutput) ToHealthbotOutputWithContext(ctx context.Context) HealthbotOutput

type HealthbotState

type HealthbotState struct {
	// The management portal url.
	BotManagementPortalUrl pulumi.StringPtrInput
	// Specifies The Azure Region where the resource exists. Changing this force a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies The name of the Healthbot Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name which should be used for the SKU of the service. Possible values are `C0`, `F0` and `S1`.
	SkuName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the service.
	Tags pulumi.StringMapInput
}

func (HealthbotState) ElementType

func (HealthbotState) ElementType() reflect.Type

type ServiceAzureBot

type ServiceAzureBot struct {
	pulumi.CustomResourceState

	// The Application Insights API Key to associate with this Azure Bot Service.
	DeveloperAppInsightsApiKey pulumi.StringPtrOutput `pulumi:"developerAppInsightsApiKey"`
	// The resource ID of the Application Insights instance to associate with this Azure Bot Service.
	DeveloperAppInsightsApplicationId pulumi.StringPtrOutput `pulumi:"developerAppInsightsApplicationId"`
	// The Application Insight Key to associate with this Azure Bot Service.
	DeveloperAppInsightsKey pulumi.StringPtrOutput `pulumi:"developerAppInsightsKey"`
	// The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The Azure Bot Service endpoint.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
	// The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`.
	IconUrl pulumi.StringPtrOutput `pulumi:"iconUrl"`
	// Is local authentication enabled? Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationEnabled"`
	// The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A list of LUIS App IDs to associate with this Azure Bot Service.
	LuisAppIds pulumi.StringArrayOutput `pulumi:"luisAppIds"`
	// The LUIS key to associate with this Azure Bot Service.
	LuisKey pulumi.StringPtrOutput `pulumi:"luisKey"`
	// The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringOutput `pulumi:"microsoftAppId"`
	// The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppMsiId pulumi.StringPtrOutput `pulumi:"microsoftAppMsiId"`
	// The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppTenantId pulumi.StringPtrOutput `pulumi:"microsoftAppTenantId"`
	// The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created.
	MicrosoftAppType pulumi.StringPtrOutput `pulumi:"microsoftAppType"`
	// The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether public network access is allowed for this server. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrOutput `pulumi:"streamingEndpointEnabled"`
	// A mapping of tags which should be assigned to this Azure Bot Service.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure Bot Service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-appinsights"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleApiKey, err := appinsights.NewApiKey(ctx, "example", &appinsights.ApiKeyArgs{
			Name:                  pulumi.String("example-appinsightsapikey"),
			ApplicationInsightsId: exampleInsights.ID(),
			ReadPermissions: pulumi.StringArray{
				pulumi.String("aggregate"),
				pulumi.String("api"),
				pulumi.String("draft"),
				pulumi.String("extendqueries"),
				pulumi.String("search"),
			},
		})
		if err != nil {
			return err
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = bot.NewServiceAzureBot(ctx, "example", &bot.ServiceAzureBotArgs{
			Name:                              pulumi.String("exampleazurebot"),
			ResourceGroupName:                 example.Name,
			Location:                          pulumi.String("global"),
			MicrosoftAppId:                    *pulumi.String(current.ClientId),
			Sku:                               pulumi.String("F0"),
			Endpoint:                          pulumi.String("https://example.com"),
			DeveloperAppInsightsApiKey:        exampleApiKey.ApiKey,
			DeveloperAppInsightsApplicationId: exampleInsights.AppId,
			Tags: pulumi.StringMap{
				"environment": pulumi.String("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Bot Services can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/serviceAzureBot:ServiceAzureBot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.BotService/botServices/botService1 ```

func GetServiceAzureBot

func GetServiceAzureBot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceAzureBotState, opts ...pulumi.ResourceOption) (*ServiceAzureBot, error)

GetServiceAzureBot gets an existing ServiceAzureBot 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 NewServiceAzureBot

func NewServiceAzureBot(ctx *pulumi.Context,
	name string, args *ServiceAzureBotArgs, opts ...pulumi.ResourceOption) (*ServiceAzureBot, error)

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

func (*ServiceAzureBot) ElementType

func (*ServiceAzureBot) ElementType() reflect.Type

func (*ServiceAzureBot) ToServiceAzureBotOutput

func (i *ServiceAzureBot) ToServiceAzureBotOutput() ServiceAzureBotOutput

func (*ServiceAzureBot) ToServiceAzureBotOutputWithContext

func (i *ServiceAzureBot) ToServiceAzureBotOutputWithContext(ctx context.Context) ServiceAzureBotOutput

type ServiceAzureBotArgs

type ServiceAzureBotArgs struct {
	// The Application Insights API Key to associate with this Azure Bot Service.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The resource ID of the Application Insights instance to associate with this Azure Bot Service.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insight Key to associate with this Azure Bot Service.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Azure Bot Service endpoint.
	Endpoint pulumi.StringPtrInput
	// The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`.
	IconUrl pulumi.StringPtrInput
	// Is local authentication enabled? Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A list of LUIS App IDs to associate with this Azure Bot Service.
	LuisAppIds pulumi.StringArrayInput
	// The LUIS key to associate with this Azure Bot Service.
	LuisKey pulumi.StringPtrInput
	// The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringInput
	// The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppMsiId pulumi.StringPtrInput
	// The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppTenantId pulumi.StringPtrInput
	// The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created.
	MicrosoftAppType pulumi.StringPtrInput
	// The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Whether public network access is allowed for this server. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringInput
	// Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrInput
	// A mapping of tags which should be assigned to this Azure Bot Service.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ServiceAzureBot resource.

func (ServiceAzureBotArgs) ElementType

func (ServiceAzureBotArgs) ElementType() reflect.Type

type ServiceAzureBotArray

type ServiceAzureBotArray []ServiceAzureBotInput

func (ServiceAzureBotArray) ElementType

func (ServiceAzureBotArray) ElementType() reflect.Type

func (ServiceAzureBotArray) ToServiceAzureBotArrayOutput

func (i ServiceAzureBotArray) ToServiceAzureBotArrayOutput() ServiceAzureBotArrayOutput

func (ServiceAzureBotArray) ToServiceAzureBotArrayOutputWithContext

func (i ServiceAzureBotArray) ToServiceAzureBotArrayOutputWithContext(ctx context.Context) ServiceAzureBotArrayOutput

type ServiceAzureBotArrayInput

type ServiceAzureBotArrayInput interface {
	pulumi.Input

	ToServiceAzureBotArrayOutput() ServiceAzureBotArrayOutput
	ToServiceAzureBotArrayOutputWithContext(context.Context) ServiceAzureBotArrayOutput
}

ServiceAzureBotArrayInput is an input type that accepts ServiceAzureBotArray and ServiceAzureBotArrayOutput values. You can construct a concrete instance of `ServiceAzureBotArrayInput` via:

ServiceAzureBotArray{ ServiceAzureBotArgs{...} }

type ServiceAzureBotArrayOutput

type ServiceAzureBotArrayOutput struct{ *pulumi.OutputState }

func (ServiceAzureBotArrayOutput) ElementType

func (ServiceAzureBotArrayOutput) ElementType() reflect.Type

func (ServiceAzureBotArrayOutput) Index

func (ServiceAzureBotArrayOutput) ToServiceAzureBotArrayOutput

func (o ServiceAzureBotArrayOutput) ToServiceAzureBotArrayOutput() ServiceAzureBotArrayOutput

func (ServiceAzureBotArrayOutput) ToServiceAzureBotArrayOutputWithContext

func (o ServiceAzureBotArrayOutput) ToServiceAzureBotArrayOutputWithContext(ctx context.Context) ServiceAzureBotArrayOutput

type ServiceAzureBotInput

type ServiceAzureBotInput interface {
	pulumi.Input

	ToServiceAzureBotOutput() ServiceAzureBotOutput
	ToServiceAzureBotOutputWithContext(ctx context.Context) ServiceAzureBotOutput
}

type ServiceAzureBotMap

type ServiceAzureBotMap map[string]ServiceAzureBotInput

func (ServiceAzureBotMap) ElementType

func (ServiceAzureBotMap) ElementType() reflect.Type

func (ServiceAzureBotMap) ToServiceAzureBotMapOutput

func (i ServiceAzureBotMap) ToServiceAzureBotMapOutput() ServiceAzureBotMapOutput

func (ServiceAzureBotMap) ToServiceAzureBotMapOutputWithContext

func (i ServiceAzureBotMap) ToServiceAzureBotMapOutputWithContext(ctx context.Context) ServiceAzureBotMapOutput

type ServiceAzureBotMapInput

type ServiceAzureBotMapInput interface {
	pulumi.Input

	ToServiceAzureBotMapOutput() ServiceAzureBotMapOutput
	ToServiceAzureBotMapOutputWithContext(context.Context) ServiceAzureBotMapOutput
}

ServiceAzureBotMapInput is an input type that accepts ServiceAzureBotMap and ServiceAzureBotMapOutput values. You can construct a concrete instance of `ServiceAzureBotMapInput` via:

ServiceAzureBotMap{ "key": ServiceAzureBotArgs{...} }

type ServiceAzureBotMapOutput

type ServiceAzureBotMapOutput struct{ *pulumi.OutputState }

func (ServiceAzureBotMapOutput) ElementType

func (ServiceAzureBotMapOutput) ElementType() reflect.Type

func (ServiceAzureBotMapOutput) MapIndex

func (ServiceAzureBotMapOutput) ToServiceAzureBotMapOutput

func (o ServiceAzureBotMapOutput) ToServiceAzureBotMapOutput() ServiceAzureBotMapOutput

func (ServiceAzureBotMapOutput) ToServiceAzureBotMapOutputWithContext

func (o ServiceAzureBotMapOutput) ToServiceAzureBotMapOutputWithContext(ctx context.Context) ServiceAzureBotMapOutput

type ServiceAzureBotOutput

type ServiceAzureBotOutput struct{ *pulumi.OutputState }

func (ServiceAzureBotOutput) DeveloperAppInsightsApiKey added in v5.5.0

func (o ServiceAzureBotOutput) DeveloperAppInsightsApiKey() pulumi.StringPtrOutput

The Application Insights API Key to associate with this Azure Bot Service.

func (ServiceAzureBotOutput) DeveloperAppInsightsApplicationId added in v5.5.0

func (o ServiceAzureBotOutput) DeveloperAppInsightsApplicationId() pulumi.StringPtrOutput

The resource ID of the Application Insights instance to associate with this Azure Bot Service.

func (ServiceAzureBotOutput) DeveloperAppInsightsKey added in v5.5.0

func (o ServiceAzureBotOutput) DeveloperAppInsightsKey() pulumi.StringPtrOutput

The Application Insight Key to associate with this Azure Bot Service.

func (ServiceAzureBotOutput) DisplayName added in v5.5.0

func (o ServiceAzureBotOutput) DisplayName() pulumi.StringOutput

The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.

func (ServiceAzureBotOutput) ElementType

func (ServiceAzureBotOutput) ElementType() reflect.Type

func (ServiceAzureBotOutput) Endpoint added in v5.5.0

The Azure Bot Service endpoint.

func (ServiceAzureBotOutput) IconUrl added in v5.52.0

The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`.

func (ServiceAzureBotOutput) LocalAuthenticationEnabled added in v5.52.0

func (o ServiceAzureBotOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput

Is local authentication enabled? Defaults to `true`.

func (ServiceAzureBotOutput) Location added in v5.5.0

The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) LuisAppIds added in v5.5.0

A list of LUIS App IDs to associate with this Azure Bot Service.

func (ServiceAzureBotOutput) LuisKey added in v5.5.0

The LUIS key to associate with this Azure Bot Service.

func (ServiceAzureBotOutput) MicrosoftAppId added in v5.5.0

func (o ServiceAzureBotOutput) MicrosoftAppId() pulumi.StringOutput

The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) MicrosoftAppMsiId added in v5.12.0

func (o ServiceAzureBotOutput) MicrosoftAppMsiId() pulumi.StringPtrOutput

The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) MicrosoftAppTenantId added in v5.12.0

func (o ServiceAzureBotOutput) MicrosoftAppTenantId() pulumi.StringPtrOutput

The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) MicrosoftAppType added in v5.12.0

func (o ServiceAzureBotOutput) MicrosoftAppType() pulumi.StringPtrOutput

The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) Name added in v5.5.0

The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) PublicNetworkAccessEnabled added in v5.59.0

func (o ServiceAzureBotOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether public network access is allowed for this server. Defaults to `true`.

func (ServiceAzureBotOutput) ResourceGroupName added in v5.5.0

func (o ServiceAzureBotOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) Sku added in v5.5.0

The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.

func (ServiceAzureBotOutput) StreamingEndpointEnabled added in v5.15.0

func (o ServiceAzureBotOutput) StreamingEndpointEnabled() pulumi.BoolPtrOutput

Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`.

func (ServiceAzureBotOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to this Azure Bot Service.

func (ServiceAzureBotOutput) ToServiceAzureBotOutput

func (o ServiceAzureBotOutput) ToServiceAzureBotOutput() ServiceAzureBotOutput

func (ServiceAzureBotOutput) ToServiceAzureBotOutputWithContext

func (o ServiceAzureBotOutput) ToServiceAzureBotOutputWithContext(ctx context.Context) ServiceAzureBotOutput

type ServiceAzureBotState

type ServiceAzureBotState struct {
	// The Application Insights API Key to associate with this Azure Bot Service.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The resource ID of the Application Insights instance to associate with this Azure Bot Service.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insight Key to associate with this Azure Bot Service.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Azure Bot Service endpoint.
	Endpoint pulumi.StringPtrInput
	// The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`.
	IconUrl pulumi.StringPtrInput
	// Is local authentication enabled? Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A list of LUIS App IDs to associate with this Azure Bot Service.
	LuisAppIds pulumi.StringArrayInput
	// The LUIS key to associate with this Azure Bot Service.
	LuisKey pulumi.StringPtrInput
	// The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringPtrInput
	// The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppMsiId pulumi.StringPtrInput
	// The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created.
	MicrosoftAppTenantId pulumi.StringPtrInput
	// The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created.
	MicrosoftAppType pulumi.StringPtrInput
	// The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Whether public network access is allowed for this server. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringPtrInput
	// Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`.
	StreamingEndpointEnabled pulumi.BoolPtrInput
	// A mapping of tags which should be assigned to this Azure Bot Service.
	Tags pulumi.StringMapInput
}

func (ServiceAzureBotState) ElementType

func (ServiceAzureBotState) ElementType() reflect.Type

type WebApp

type WebApp struct {
	pulumi.CustomResourceState

	// The Application Insights API Key to associate with the Web App Bot.
	DeveloperAppInsightsApiKey pulumi.StringOutput `pulumi:"developerAppInsightsApiKey"`
	// The Application Insights Application ID to associate with the Web App Bot.
	DeveloperAppInsightsApplicationId pulumi.StringOutput `pulumi:"developerAppInsightsApplicationId"`
	// The Application Insights Key to associate with the Web App Bot.
	DeveloperAppInsightsKey pulumi.StringOutput `pulumi:"developerAppInsightsKey"`
	// The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The Web App Bot endpoint.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A list of LUIS App IDs to associate with the Web App Bot.
	LuisAppIds pulumi.StringArrayOutput `pulumi:"luisAppIds"`
	// The LUIS key to associate with the Web App Bot.
	LuisKey pulumi.StringPtrOutput `pulumi:"luisKey"`
	// The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringOutput `pulumi:"microsoftAppId"`
	// Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Bot Web App.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewWebApp(ctx, "example", &bot.WebAppArgs{
			Name:              pulumi.String("example"),
			Location:          pulumi.String("global"),
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    *pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bot Web App's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:bot/webApp:WebApp example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example ```

func GetWebApp

func GetWebApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebAppState, opts ...pulumi.ResourceOption) (*WebApp, error)

GetWebApp gets an existing WebApp 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 NewWebApp

func NewWebApp(ctx *pulumi.Context,
	name string, args *WebAppArgs, opts ...pulumi.ResourceOption) (*WebApp, error)

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

func (*WebApp) ElementType

func (*WebApp) ElementType() reflect.Type

func (*WebApp) ToWebAppOutput

func (i *WebApp) ToWebAppOutput() WebAppOutput

func (*WebApp) ToWebAppOutputWithContext

func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppArgs

type WebAppArgs struct {
	// The Application Insights API Key to associate with the Web App Bot.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The Application Insights Application ID to associate with the Web App Bot.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insights Key to associate with the Web App Bot.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Web App Bot endpoint.
	Endpoint pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A list of LUIS App IDs to associate with the Web App Bot.
	LuisAppIds pulumi.StringArrayInput
	// The LUIS key to associate with the Web App Bot.
	LuisKey pulumi.StringPtrInput
	// The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringInput
	// Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a WebApp resource.

func (WebAppArgs) ElementType

func (WebAppArgs) ElementType() reflect.Type

type WebAppArray

type WebAppArray []WebAppInput

func (WebAppArray) ElementType

func (WebAppArray) ElementType() reflect.Type

func (WebAppArray) ToWebAppArrayOutput

func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArray) ToWebAppArrayOutputWithContext

func (i WebAppArray) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppArrayInput

type WebAppArrayInput interface {
	pulumi.Input

	ToWebAppArrayOutput() WebAppArrayOutput
	ToWebAppArrayOutputWithContext(context.Context) WebAppArrayOutput
}

WebAppArrayInput is an input type that accepts WebAppArray and WebAppArrayOutput values. You can construct a concrete instance of `WebAppArrayInput` via:

WebAppArray{ WebAppArgs{...} }

type WebAppArrayOutput

type WebAppArrayOutput struct{ *pulumi.OutputState }

func (WebAppArrayOutput) ElementType

func (WebAppArrayOutput) ElementType() reflect.Type

func (WebAppArrayOutput) Index

func (WebAppArrayOutput) ToWebAppArrayOutput

func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArrayOutput) ToWebAppArrayOutputWithContext

func (o WebAppArrayOutput) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppInput

type WebAppInput interface {
	pulumi.Input

	ToWebAppOutput() WebAppOutput
	ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
}

type WebAppMap

type WebAppMap map[string]WebAppInput

func (WebAppMap) ElementType

func (WebAppMap) ElementType() reflect.Type

func (WebAppMap) ToWebAppMapOutput

func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMap) ToWebAppMapOutputWithContext

func (i WebAppMap) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppMapInput

type WebAppMapInput interface {
	pulumi.Input

	ToWebAppMapOutput() WebAppMapOutput
	ToWebAppMapOutputWithContext(context.Context) WebAppMapOutput
}

WebAppMapInput is an input type that accepts WebAppMap and WebAppMapOutput values. You can construct a concrete instance of `WebAppMapInput` via:

WebAppMap{ "key": WebAppArgs{...} }

type WebAppMapOutput

type WebAppMapOutput struct{ *pulumi.OutputState }

func (WebAppMapOutput) ElementType

func (WebAppMapOutput) ElementType() reflect.Type

func (WebAppMapOutput) MapIndex

func (WebAppMapOutput) ToWebAppMapOutput

func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMapOutput) ToWebAppMapOutputWithContext

func (o WebAppMapOutput) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppOutput

type WebAppOutput struct{ *pulumi.OutputState }

func (WebAppOutput) DeveloperAppInsightsApiKey added in v5.5.0

func (o WebAppOutput) DeveloperAppInsightsApiKey() pulumi.StringOutput

The Application Insights API Key to associate with the Web App Bot.

func (WebAppOutput) DeveloperAppInsightsApplicationId added in v5.5.0

func (o WebAppOutput) DeveloperAppInsightsApplicationId() pulumi.StringOutput

The Application Insights Application ID to associate with the Web App Bot.

func (WebAppOutput) DeveloperAppInsightsKey added in v5.5.0

func (o WebAppOutput) DeveloperAppInsightsKey() pulumi.StringOutput

The Application Insights Key to associate with the Web App Bot.

func (WebAppOutput) DisplayName added in v5.5.0

func (o WebAppOutput) DisplayName() pulumi.StringOutput

The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.

func (WebAppOutput) ElementType

func (WebAppOutput) ElementType() reflect.Type

func (WebAppOutput) Endpoint added in v5.5.0

func (o WebAppOutput) Endpoint() pulumi.StringPtrOutput

The Web App Bot endpoint.

func (WebAppOutput) Location added in v5.5.0

func (o WebAppOutput) Location() pulumi.StringOutput

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (WebAppOutput) LuisAppIds added in v5.5.0

func (o WebAppOutput) LuisAppIds() pulumi.StringArrayOutput

A list of LUIS App IDs to associate with the Web App Bot.

func (WebAppOutput) LuisKey added in v5.5.0

func (o WebAppOutput) LuisKey() pulumi.StringPtrOutput

The LUIS key to associate with the Web App Bot.

func (WebAppOutput) MicrosoftAppId added in v5.5.0

func (o WebAppOutput) MicrosoftAppId() pulumi.StringOutput

The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.

func (WebAppOutput) Name added in v5.5.0

func (o WebAppOutput) Name() pulumi.StringOutput

Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.

func (WebAppOutput) ResourceGroupName added in v5.5.0

func (o WebAppOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.

func (WebAppOutput) Sku added in v5.5.0

The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.

func (WebAppOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (WebAppOutput) ToWebAppOutput

func (o WebAppOutput) ToWebAppOutput() WebAppOutput

func (WebAppOutput) ToWebAppOutputWithContext

func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppState

type WebAppState struct {
	// The Application Insights API Key to associate with the Web App Bot.
	DeveloperAppInsightsApiKey pulumi.StringPtrInput
	// The Application Insights Application ID to associate with the Web App Bot.
	DeveloperAppInsightsApplicationId pulumi.StringPtrInput
	// The Application Insights Key to associate with the Web App Bot.
	DeveloperAppInsightsKey pulumi.StringPtrInput
	// The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
	DisplayName pulumi.StringPtrInput
	// The Web App Bot endpoint.
	Endpoint pulumi.StringPtrInput
	// The supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A list of LUIS App IDs to associate with the Web App Bot.
	LuisAppIds pulumi.StringArrayInput
	// The LUIS key to associate with the Web App Bot.
	LuisKey pulumi.StringPtrInput
	// The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
	MicrosoftAppId pulumi.StringPtrInput
	// Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
	Sku pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (WebAppState) ElementType

func (WebAppState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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