bot

package
v3.47.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 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 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. Multiple `site` blocks may be defined as below
	Sites ChannelDirectLineSiteArrayOutput `pulumi:"sites"`
}

Manages a Directline integration for a Bot Channel

## 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 added in v3.31.1

func (*ChannelDirectLine) ElementType() reflect.Type

func (*ChannelDirectLine) ToChannelDirectLineOutput added in v3.31.1

func (i *ChannelDirectLine) ToChannelDirectLineOutput() ChannelDirectLineOutput

func (*ChannelDirectLine) ToChannelDirectLineOutputWithContext added in v3.31.1

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

func (*ChannelDirectLine) ToChannelDirectLinePtrOutput added in v3.47.1

func (i *ChannelDirectLine) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput

func (*ChannelDirectLine) ToChannelDirectLinePtrOutputWithContext added in v3.47.1

func (i *ChannelDirectLine) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput

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. Multiple `site` blocks may be defined as below
	Sites ChannelDirectLineSiteArrayInput
}

The set of arguments for constructing a ChannelDirectLine resource.

func (ChannelDirectLineArgs) ElementType

func (ChannelDirectLineArgs) ElementType() reflect.Type

type ChannelDirectLineArray added in v3.47.1

type ChannelDirectLineArray []ChannelDirectLineInput

func (ChannelDirectLineArray) ElementType added in v3.47.1

func (ChannelDirectLineArray) ElementType() reflect.Type

func (ChannelDirectLineArray) ToChannelDirectLineArrayOutput added in v3.47.1

func (i ChannelDirectLineArray) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput

func (ChannelDirectLineArray) ToChannelDirectLineArrayOutputWithContext added in v3.47.1

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

type ChannelDirectLineArrayInput added in v3.47.1

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 added in v3.47.1

type ChannelDirectLineArrayOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineArrayOutput) ElementType added in v3.47.1

func (ChannelDirectLineArrayOutput) Index added in v3.47.1

func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput added in v3.47.1

func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput

func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext added in v3.47.1

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

type ChannelDirectLineInput added in v3.31.1

type ChannelDirectLineInput interface {
	pulumi.Input

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

type ChannelDirectLineMap added in v3.47.1

type ChannelDirectLineMap map[string]ChannelDirectLineInput

func (ChannelDirectLineMap) ElementType added in v3.47.1

func (ChannelDirectLineMap) ElementType() reflect.Type

func (ChannelDirectLineMap) ToChannelDirectLineMapOutput added in v3.47.1

func (i ChannelDirectLineMap) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput

func (ChannelDirectLineMap) ToChannelDirectLineMapOutputWithContext added in v3.47.1

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

type ChannelDirectLineMapInput added in v3.47.1

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 added in v3.47.1

type ChannelDirectLineMapOutput struct{ *pulumi.OutputState }

func (ChannelDirectLineMapOutput) ElementType added in v3.47.1

func (ChannelDirectLineMapOutput) ElementType() reflect.Type

func (ChannelDirectLineMapOutput) MapIndex added in v3.47.1

func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput added in v3.47.1

func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput

func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext added in v3.47.1

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

type ChannelDirectLineOutput added in v3.31.1

type ChannelDirectLineOutput struct {
	*pulumi.OutputState
}

func (ChannelDirectLineOutput) ElementType added in v3.31.1

func (ChannelDirectLineOutput) ElementType() reflect.Type

func (ChannelDirectLineOutput) ToChannelDirectLineOutput added in v3.31.1

func (o ChannelDirectLineOutput) ToChannelDirectLineOutput() ChannelDirectLineOutput

func (ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext added in v3.31.1

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

func (ChannelDirectLineOutput) ToChannelDirectLinePtrOutput added in v3.47.1

func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput

func (ChannelDirectLineOutput) ToChannelDirectLinePtrOutputWithContext added in v3.47.1

func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput

type ChannelDirectLinePtrInput added in v3.47.1

type ChannelDirectLinePtrInput interface {
	pulumi.Input

	ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
	ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
}

type ChannelDirectLinePtrOutput added in v3.47.1

type ChannelDirectLinePtrOutput struct {
	*pulumi.OutputState
}

func (ChannelDirectLinePtrOutput) ElementType added in v3.47.1

func (ChannelDirectLinePtrOutput) ElementType() reflect.Type

func (ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutput added in v3.47.1

func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput

func (ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutputWithContext added in v3.47.1

func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput

type ChannelDirectLineSite

type ChannelDirectLineSite struct {
	// Enables/Disables this site. Enabled by default
	Enabled *bool `pulumi:"enabled"`
	// 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"`
	// This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.
	TrustedOrigins []string `pulumi:"trustedOrigins"`
	// Enables v1 of the Directline protocol for this site. Enabled by default
	V1Allowed *bool `pulumi:"v1Allowed"`
	// Enables v3 of the Directline protocol for this site. Enabled by default
	V3Allowed *bool `pulumi:"v3Allowed"`
}

type ChannelDirectLineSiteArgs

type ChannelDirectLineSiteArgs struct {
	// Enables/Disables this site. Enabled by default
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// 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"`
	// This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.
	TrustedOrigins pulumi.StringArrayInput `pulumi:"trustedOrigins"`
	// Enables v1 of the Directline protocol for this site. Enabled by default
	V1Allowed pulumi.BoolPtrInput `pulumi:"v1Allowed"`
	// Enables v3 of the Directline protocol for this site. Enabled by default
	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. Enabled by default

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

Enables v1 of the Directline protocol for this site. Enabled by default

func (ChannelDirectLineSiteOutput) V3Allowed

Enables v3 of the Directline protocol for this site. Enabled by default

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. Multiple `site` blocks may be defined as 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.StringOutput `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 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.

## 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 added in v3.31.1

func (*ChannelEmail) ElementType() reflect.Type

func (*ChannelEmail) ToChannelEmailOutput added in v3.31.1

func (i *ChannelEmail) ToChannelEmailOutput() ChannelEmailOutput

func (*ChannelEmail) ToChannelEmailOutputWithContext added in v3.31.1

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

func (*ChannelEmail) ToChannelEmailPtrOutput added in v3.47.1

func (i *ChannelEmail) ToChannelEmailPtrOutput() ChannelEmailPtrOutput

func (*ChannelEmail) ToChannelEmailPtrOutputWithContext added in v3.47.1

func (i *ChannelEmail) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput

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.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
}

The set of arguments for constructing a ChannelEmail resource.

func (ChannelEmailArgs) ElementType

func (ChannelEmailArgs) ElementType() reflect.Type

type ChannelEmailArray added in v3.47.1

type ChannelEmailArray []ChannelEmailInput

func (ChannelEmailArray) ElementType added in v3.47.1

func (ChannelEmailArray) ElementType() reflect.Type

func (ChannelEmailArray) ToChannelEmailArrayOutput added in v3.47.1

func (i ChannelEmailArray) ToChannelEmailArrayOutput() ChannelEmailArrayOutput

func (ChannelEmailArray) ToChannelEmailArrayOutputWithContext added in v3.47.1

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

type ChannelEmailArrayInput added in v3.47.1

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 added in v3.47.1

type ChannelEmailArrayOutput struct{ *pulumi.OutputState }

func (ChannelEmailArrayOutput) ElementType added in v3.47.1

func (ChannelEmailArrayOutput) ElementType() reflect.Type

func (ChannelEmailArrayOutput) Index added in v3.47.1

func (ChannelEmailArrayOutput) ToChannelEmailArrayOutput added in v3.47.1

func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutput() ChannelEmailArrayOutput

func (ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext added in v3.47.1

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

type ChannelEmailInput added in v3.31.1

type ChannelEmailInput interface {
	pulumi.Input

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

type ChannelEmailMap added in v3.47.1

type ChannelEmailMap map[string]ChannelEmailInput

func (ChannelEmailMap) ElementType added in v3.47.1

func (ChannelEmailMap) ElementType() reflect.Type

func (ChannelEmailMap) ToChannelEmailMapOutput added in v3.47.1

func (i ChannelEmailMap) ToChannelEmailMapOutput() ChannelEmailMapOutput

func (ChannelEmailMap) ToChannelEmailMapOutputWithContext added in v3.47.1

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

type ChannelEmailMapInput added in v3.47.1

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 added in v3.47.1

type ChannelEmailMapOutput struct{ *pulumi.OutputState }

func (ChannelEmailMapOutput) ElementType added in v3.47.1

func (ChannelEmailMapOutput) ElementType() reflect.Type

func (ChannelEmailMapOutput) MapIndex added in v3.47.1

func (ChannelEmailMapOutput) ToChannelEmailMapOutput added in v3.47.1

func (o ChannelEmailMapOutput) ToChannelEmailMapOutput() ChannelEmailMapOutput

func (ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext added in v3.47.1

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

type ChannelEmailOutput added in v3.31.1

type ChannelEmailOutput struct {
	*pulumi.OutputState
}

func (ChannelEmailOutput) ElementType added in v3.31.1

func (ChannelEmailOutput) ElementType() reflect.Type

func (ChannelEmailOutput) ToChannelEmailOutput added in v3.31.1

func (o ChannelEmailOutput) ToChannelEmailOutput() ChannelEmailOutput

func (ChannelEmailOutput) ToChannelEmailOutputWithContext added in v3.31.1

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

func (ChannelEmailOutput) ToChannelEmailPtrOutput added in v3.47.1

func (o ChannelEmailOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput

func (ChannelEmailOutput) ToChannelEmailPtrOutputWithContext added in v3.47.1

func (o ChannelEmailOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput

type ChannelEmailPtrInput added in v3.47.1

type ChannelEmailPtrInput interface {
	pulumi.Input

	ToChannelEmailPtrOutput() ChannelEmailPtrOutput
	ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
}

type ChannelEmailPtrOutput added in v3.47.1

type ChannelEmailPtrOutput struct {
	*pulumi.OutputState
}

func (ChannelEmailPtrOutput) ElementType added in v3.47.1

func (ChannelEmailPtrOutput) ElementType() reflect.Type

func (ChannelEmailPtrOutput) ToChannelEmailPtrOutput added in v3.47.1

func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput

func (ChannelEmailPtrOutput) ToChannelEmailPtrOutputWithContext added in v3.47.1

func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput

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 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 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 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/v3/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{
			Location:          pulumi.String("global"),
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelSlack(ctx, "exampleChannelSlack", &bot.ChannelSlackArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: exampleResourceGroup.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 added in v3.31.1

func (*ChannelSlack) ElementType() reflect.Type

func (*ChannelSlack) ToChannelSlackOutput added in v3.31.1

func (i *ChannelSlack) ToChannelSlackOutput() ChannelSlackOutput

func (*ChannelSlack) ToChannelSlackOutputWithContext added in v3.31.1

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

func (*ChannelSlack) ToChannelSlackPtrOutput added in v3.47.1

func (i *ChannelSlack) ToChannelSlackPtrOutput() ChannelSlackPtrOutput

func (*ChannelSlack) ToChannelSlackPtrOutputWithContext added in v3.47.1

func (i *ChannelSlack) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput

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 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 added in v3.47.1

type ChannelSlackArray []ChannelSlackInput

func (ChannelSlackArray) ElementType added in v3.47.1

func (ChannelSlackArray) ElementType() reflect.Type

func (ChannelSlackArray) ToChannelSlackArrayOutput added in v3.47.1

func (i ChannelSlackArray) ToChannelSlackArrayOutput() ChannelSlackArrayOutput

func (ChannelSlackArray) ToChannelSlackArrayOutputWithContext added in v3.47.1

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

type ChannelSlackArrayInput added in v3.47.1

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 added in v3.47.1

type ChannelSlackArrayOutput struct{ *pulumi.OutputState }

func (ChannelSlackArrayOutput) ElementType added in v3.47.1

func (ChannelSlackArrayOutput) ElementType() reflect.Type

func (ChannelSlackArrayOutput) Index added in v3.47.1

func (ChannelSlackArrayOutput) ToChannelSlackArrayOutput added in v3.47.1

func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutput() ChannelSlackArrayOutput

func (ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext added in v3.47.1

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

type ChannelSlackInput added in v3.31.1

type ChannelSlackInput interface {
	pulumi.Input

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

type ChannelSlackMap added in v3.47.1

type ChannelSlackMap map[string]ChannelSlackInput

func (ChannelSlackMap) ElementType added in v3.47.1

func (ChannelSlackMap) ElementType() reflect.Type

func (ChannelSlackMap) ToChannelSlackMapOutput added in v3.47.1

func (i ChannelSlackMap) ToChannelSlackMapOutput() ChannelSlackMapOutput

func (ChannelSlackMap) ToChannelSlackMapOutputWithContext added in v3.47.1

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

type ChannelSlackMapInput added in v3.47.1

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 added in v3.47.1

type ChannelSlackMapOutput struct{ *pulumi.OutputState }

func (ChannelSlackMapOutput) ElementType added in v3.47.1

func (ChannelSlackMapOutput) ElementType() reflect.Type

func (ChannelSlackMapOutput) MapIndex added in v3.47.1

func (ChannelSlackMapOutput) ToChannelSlackMapOutput added in v3.47.1

func (o ChannelSlackMapOutput) ToChannelSlackMapOutput() ChannelSlackMapOutput

func (ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext added in v3.47.1

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

type ChannelSlackOutput added in v3.31.1

type ChannelSlackOutput struct {
	*pulumi.OutputState
}

func (ChannelSlackOutput) ElementType added in v3.31.1

func (ChannelSlackOutput) ElementType() reflect.Type

func (ChannelSlackOutput) ToChannelSlackOutput added in v3.31.1

func (o ChannelSlackOutput) ToChannelSlackOutput() ChannelSlackOutput

func (ChannelSlackOutput) ToChannelSlackOutputWithContext added in v3.31.1

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

func (ChannelSlackOutput) ToChannelSlackPtrOutput added in v3.47.1

func (o ChannelSlackOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput

func (ChannelSlackOutput) ToChannelSlackPtrOutputWithContext added in v3.47.1

func (o ChannelSlackOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput

type ChannelSlackPtrInput added in v3.47.1

type ChannelSlackPtrInput interface {
	pulumi.Input

	ToChannelSlackPtrOutput() ChannelSlackPtrOutput
	ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
}

type ChannelSlackPtrOutput added in v3.47.1

type ChannelSlackPtrOutput struct {
	*pulumi.OutputState
}

func (ChannelSlackPtrOutput) ElementType added in v3.47.1

func (ChannelSlackPtrOutput) ElementType() reflect.Type

func (ChannelSlackPtrOutput) ToChannelSlackPtrOutput added in v3.47.1

func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput

func (ChannelSlackPtrOutput) ToChannelSlackPtrOutputWithContext added in v3.47.1

func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput

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 Verification Token that will be used to authenticate with Slack.
	VerificationToken pulumi.StringPtrInput
}

func (ChannelSlackState) ElementType

func (ChannelSlackState) 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"`
	// 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/v3/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{
			Location:          pulumi.String("global"),
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelTeams(ctx, "exampleChannelTeams", &bot.ChannelTeamsArgs{
			BotName:           exampleChannelsRegistration.Name,
			Location:          exampleChannelsRegistration.Location,
			ResourceGroupName: exampleResourceGroup.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 added in v3.31.1

func (*ChannelTeams) ElementType() reflect.Type

func (*ChannelTeams) ToChannelTeamsOutput added in v3.31.1

func (i *ChannelTeams) ToChannelTeamsOutput() ChannelTeamsOutput

func (*ChannelTeams) ToChannelTeamsOutputWithContext added in v3.31.1

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

func (*ChannelTeams) ToChannelTeamsPtrOutput added in v3.47.1

func (i *ChannelTeams) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput

func (*ChannelTeams) ToChannelTeamsPtrOutputWithContext added in v3.47.1

func (i *ChannelTeams) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput

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
	// 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 added in v3.47.1

type ChannelTeamsArray []ChannelTeamsInput

func (ChannelTeamsArray) ElementType added in v3.47.1

func (ChannelTeamsArray) ElementType() reflect.Type

func (ChannelTeamsArray) ToChannelTeamsArrayOutput added in v3.47.1

func (i ChannelTeamsArray) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput

func (ChannelTeamsArray) ToChannelTeamsArrayOutputWithContext added in v3.47.1

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

type ChannelTeamsArrayInput added in v3.47.1

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 added in v3.47.1

type ChannelTeamsArrayOutput struct{ *pulumi.OutputState }

func (ChannelTeamsArrayOutput) ElementType added in v3.47.1

func (ChannelTeamsArrayOutput) ElementType() reflect.Type

func (ChannelTeamsArrayOutput) Index added in v3.47.1

func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput added in v3.47.1

func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput

func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext added in v3.47.1

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

type ChannelTeamsInput added in v3.31.1

type ChannelTeamsInput interface {
	pulumi.Input

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

type ChannelTeamsMap added in v3.47.1

type ChannelTeamsMap map[string]ChannelTeamsInput

func (ChannelTeamsMap) ElementType added in v3.47.1

func (ChannelTeamsMap) ElementType() reflect.Type

func (ChannelTeamsMap) ToChannelTeamsMapOutput added in v3.47.1

func (i ChannelTeamsMap) ToChannelTeamsMapOutput() ChannelTeamsMapOutput

func (ChannelTeamsMap) ToChannelTeamsMapOutputWithContext added in v3.47.1

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

type ChannelTeamsMapInput added in v3.47.1

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 added in v3.47.1

type ChannelTeamsMapOutput struct{ *pulumi.OutputState }

func (ChannelTeamsMapOutput) ElementType added in v3.47.1

func (ChannelTeamsMapOutput) ElementType() reflect.Type

func (ChannelTeamsMapOutput) MapIndex added in v3.47.1

func (ChannelTeamsMapOutput) ToChannelTeamsMapOutput added in v3.47.1

func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutput() ChannelTeamsMapOutput

func (ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext added in v3.47.1

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

type ChannelTeamsOutput added in v3.31.1

type ChannelTeamsOutput struct {
	*pulumi.OutputState
}

func (ChannelTeamsOutput) ElementType added in v3.31.1

func (ChannelTeamsOutput) ElementType() reflect.Type

func (ChannelTeamsOutput) ToChannelTeamsOutput added in v3.31.1

func (o ChannelTeamsOutput) ToChannelTeamsOutput() ChannelTeamsOutput

func (ChannelTeamsOutput) ToChannelTeamsOutputWithContext added in v3.31.1

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

func (ChannelTeamsOutput) ToChannelTeamsPtrOutput added in v3.47.1

func (o ChannelTeamsOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput

func (ChannelTeamsOutput) ToChannelTeamsPtrOutputWithContext added in v3.47.1

func (o ChannelTeamsOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput

type ChannelTeamsPtrInput added in v3.47.1

type ChannelTeamsPtrInput interface {
	pulumi.Input

	ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
	ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
}

type ChannelTeamsPtrOutput added in v3.47.1

type ChannelTeamsPtrOutput struct {
	*pulumi.OutputState
}

func (ChannelTeamsPtrOutput) ElementType added in v3.47.1

func (ChannelTeamsPtrOutput) ElementType() reflect.Type

func (ChannelTeamsPtrOutput) ToChannelTeamsPtrOutput added in v3.47.1

func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput

func (ChannelTeamsPtrOutput) ToChannelTeamsPtrOutputWithContext added in v3.47.1

func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput

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

type ChannelsRegistration struct {
	pulumi.CustomResourceState

	// 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 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"`
	// 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"`
	// 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/v3/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{
			Location:          pulumi.String("global"),
			ResourceGroupName: exampleResourceGroup.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 added in v3.31.1

func (*ChannelsRegistration) ElementType() reflect.Type

func (*ChannelsRegistration) ToChannelsRegistrationOutput added in v3.31.1

func (i *ChannelsRegistration) ToChannelsRegistrationOutput() ChannelsRegistrationOutput

func (*ChannelsRegistration) ToChannelsRegistrationOutputWithContext added in v3.31.1

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

func (*ChannelsRegistration) ToChannelsRegistrationPtrOutput added in v3.47.1

func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput

func (*ChannelsRegistration) ToChannelsRegistrationPtrOutputWithContext added in v3.47.1

func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput

type ChannelsRegistrationArgs

type ChannelsRegistrationArgs struct {
	// 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 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
	// 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
	// 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 added in v3.47.1

type ChannelsRegistrationArray []ChannelsRegistrationInput

func (ChannelsRegistrationArray) ElementType added in v3.47.1

func (ChannelsRegistrationArray) ElementType() reflect.Type

func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput added in v3.47.1

func (i ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput

func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutputWithContext added in v3.47.1

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

type ChannelsRegistrationArrayInput added in v3.47.1

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 added in v3.47.1

type ChannelsRegistrationArrayOutput struct{ *pulumi.OutputState }

func (ChannelsRegistrationArrayOutput) ElementType added in v3.47.1

func (ChannelsRegistrationArrayOutput) Index added in v3.47.1

func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput added in v3.47.1

func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput

func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext added in v3.47.1

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

type ChannelsRegistrationInput added in v3.31.1

type ChannelsRegistrationInput interface {
	pulumi.Input

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

type ChannelsRegistrationMap added in v3.47.1

type ChannelsRegistrationMap map[string]ChannelsRegistrationInput

func (ChannelsRegistrationMap) ElementType added in v3.47.1

func (ChannelsRegistrationMap) ElementType() reflect.Type

func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutput added in v3.47.1

func (i ChannelsRegistrationMap) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput

func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutputWithContext added in v3.47.1

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

type ChannelsRegistrationMapInput added in v3.47.1

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 added in v3.47.1

type ChannelsRegistrationMapOutput struct{ *pulumi.OutputState }

func (ChannelsRegistrationMapOutput) ElementType added in v3.47.1

func (ChannelsRegistrationMapOutput) MapIndex added in v3.47.1

func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput added in v3.47.1

func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput

func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext added in v3.47.1

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

type ChannelsRegistrationOutput added in v3.31.1

type ChannelsRegistrationOutput struct {
	*pulumi.OutputState
}

func (ChannelsRegistrationOutput) ElementType added in v3.31.1

func (ChannelsRegistrationOutput) ElementType() reflect.Type

func (ChannelsRegistrationOutput) ToChannelsRegistrationOutput added in v3.31.1

func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutput() ChannelsRegistrationOutput

func (ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext added in v3.31.1

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

func (ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutput added in v3.47.1

func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput

func (ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutputWithContext added in v3.47.1

func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput

type ChannelsRegistrationPtrInput added in v3.47.1

type ChannelsRegistrationPtrInput interface {
	pulumi.Input

	ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
	ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
}

type ChannelsRegistrationPtrOutput added in v3.47.1

type ChannelsRegistrationPtrOutput struct {
	*pulumi.OutputState
}

func (ChannelsRegistrationPtrOutput) ElementType added in v3.47.1

func (ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutput added in v3.47.1

func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput

func (ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutputWithContext added in v3.47.1

func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput

type ChannelsRegistrationState

type ChannelsRegistrationState struct {
	// 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 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
	// 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
	// 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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Bot Connection.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{
			Location:          pulumi.String("global"),
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("F0"),
			MicrosoftAppId:    pulumi.String(current.ClientId),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewConnection(ctx, "exampleConnection", &bot.ConnectionArgs{
			BotName:             exampleChannelsRegistration.Name,
			Location:            exampleChannelsRegistration.Location,
			ResourceGroupName:   exampleResourceGroup.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 added in v3.31.1

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput added in v3.31.1

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext added in v3.31.1

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

func (*Connection) ToConnectionPtrOutput added in v3.47.1

func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput

func (*Connection) ToConnectionPtrOutputWithContext added in v3.47.1

func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

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.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray added in v3.47.1

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType added in v3.47.1

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput added in v3.47.1

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext added in v3.47.1

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

type ConnectionArrayInput added in v3.47.1

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 added in v3.47.1

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType added in v3.47.1

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index added in v3.47.1

func (ConnectionArrayOutput) ToConnectionArrayOutput added in v3.47.1

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext added in v3.47.1

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

type ConnectionInput added in v3.31.1

type ConnectionInput interface {
	pulumi.Input

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

type ConnectionMap added in v3.47.1

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType added in v3.47.1

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput added in v3.47.1

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext added in v3.47.1

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

type ConnectionMapInput added in v3.47.1

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 added in v3.47.1

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType added in v3.47.1

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex added in v3.47.1

func (ConnectionMapOutput) ToConnectionMapOutput added in v3.47.1

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext added in v3.47.1

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

type ConnectionOutput added in v3.31.1

type ConnectionOutput struct {
	*pulumi.OutputState
}

func (ConnectionOutput) ElementType added in v3.31.1

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) ToConnectionOutput added in v3.31.1

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext added in v3.31.1

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

func (ConnectionOutput) ToConnectionPtrOutput added in v3.47.1

func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionOutput) ToConnectionPtrOutputWithContext added in v3.47.1

func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionPtrInput added in v3.47.1

type ConnectionPtrInput interface {
	pulumi.Input

	ToConnectionPtrOutput() ConnectionPtrOutput
	ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
}

type ConnectionPtrOutput added in v3.47.1

type ConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (ConnectionPtrOutput) ElementType added in v3.47.1

func (ConnectionPtrOutput) ElementType() reflect.Type

func (ConnectionPtrOutput) ToConnectionPtrOutput added in v3.47.1

func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext added in v3.47.1

func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

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.
	Tags pulumi.StringMapInput
}

func (ConnectionState) ElementType

func (ConnectionState) 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/v3/go/azure/bot"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		_, err = bot.NewWebApp(ctx, "exampleWebApp", &bot.WebAppArgs{
			Location:          pulumi.String("global"),
			ResourceGroupName: exampleResourceGroup.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 added in v3.31.1

func (*WebApp) ElementType() reflect.Type

func (*WebApp) ToWebAppOutput added in v3.31.1

func (i *WebApp) ToWebAppOutput() WebAppOutput

func (*WebApp) ToWebAppOutputWithContext added in v3.31.1

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

func (*WebApp) ToWebAppPtrOutput added in v3.47.1

func (i *WebApp) ToWebAppPtrOutput() WebAppPtrOutput

func (*WebApp) ToWebAppPtrOutputWithContext added in v3.47.1

func (i *WebApp) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput

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 added in v3.47.1

type WebAppArray []WebAppInput

func (WebAppArray) ElementType added in v3.47.1

func (WebAppArray) ElementType() reflect.Type

func (WebAppArray) ToWebAppArrayOutput added in v3.47.1

func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArray) ToWebAppArrayOutputWithContext added in v3.47.1

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

type WebAppArrayInput added in v3.47.1

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 added in v3.47.1

type WebAppArrayOutput struct{ *pulumi.OutputState }

func (WebAppArrayOutput) ElementType added in v3.47.1

func (WebAppArrayOutput) ElementType() reflect.Type

func (WebAppArrayOutput) Index added in v3.47.1

func (WebAppArrayOutput) ToWebAppArrayOutput added in v3.47.1

func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArrayOutput) ToWebAppArrayOutputWithContext added in v3.47.1

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

type WebAppInput added in v3.31.1

type WebAppInput interface {
	pulumi.Input

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

type WebAppMap added in v3.47.1

type WebAppMap map[string]WebAppInput

func (WebAppMap) ElementType added in v3.47.1

func (WebAppMap) ElementType() reflect.Type

func (WebAppMap) ToWebAppMapOutput added in v3.47.1

func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMap) ToWebAppMapOutputWithContext added in v3.47.1

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

type WebAppMapInput added in v3.47.1

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 added in v3.47.1

type WebAppMapOutput struct{ *pulumi.OutputState }

func (WebAppMapOutput) ElementType added in v3.47.1

func (WebAppMapOutput) ElementType() reflect.Type

func (WebAppMapOutput) MapIndex added in v3.47.1

func (WebAppMapOutput) ToWebAppMapOutput added in v3.47.1

func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMapOutput) ToWebAppMapOutputWithContext added in v3.47.1

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

type WebAppOutput added in v3.31.1

type WebAppOutput struct {
	*pulumi.OutputState
}

func (WebAppOutput) ElementType added in v3.31.1

func (WebAppOutput) ElementType() reflect.Type

func (WebAppOutput) ToWebAppOutput added in v3.31.1

func (o WebAppOutput) ToWebAppOutput() WebAppOutput

func (WebAppOutput) ToWebAppOutputWithContext added in v3.31.1

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

func (WebAppOutput) ToWebAppPtrOutput added in v3.47.1

func (o WebAppOutput) ToWebAppPtrOutput() WebAppPtrOutput

func (WebAppOutput) ToWebAppPtrOutputWithContext added in v3.47.1

func (o WebAppOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput

type WebAppPtrInput added in v3.47.1

type WebAppPtrInput interface {
	pulumi.Input

	ToWebAppPtrOutput() WebAppPtrOutput
	ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
}

type WebAppPtrOutput added in v3.47.1

type WebAppPtrOutput struct {
	*pulumi.OutputState
}

func (WebAppPtrOutput) ElementType added in v3.47.1

func (WebAppPtrOutput) ElementType() reflect.Type

func (WebAppPtrOutput) ToWebAppPtrOutput added in v3.47.1

func (o WebAppPtrOutput) ToWebAppPtrOutput() WebAppPtrOutput

func (WebAppPtrOutput) ToWebAppPtrOutputWithContext added in v3.47.1

func (o WebAppPtrOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput

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