Show / Hide Table of Contents

Namespace Pulumi.Azure.Bot

Classes

ChannelDirectLine

Manages a Directline integration for a Bot Channel

ChannelDirectLineArgs

ChannelDirectLineState

ChannelEmail

Manages a Email integration for a Bot Channel

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

ChannelEmailArgs

ChannelEmailState

ChannelSlack

Manages a Slack integration for a Bot Channel

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

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleChannelsRegistration = new Azure.Bot.ChannelsRegistration("exampleChannelsRegistration", new Azure.Bot.ChannelsRegistrationArgs
    {
        Location = "global",
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "F0",
        MicrosoftAppId = current.Apply(current => current.ClientId),
    });
    var exampleChannelSlack = new Azure.Bot.ChannelSlack("exampleChannelSlack", new Azure.Bot.ChannelSlackArgs
    {
        BotName = exampleChannelsRegistration.Name,
        Location = exampleChannelsRegistration.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        ClientId = "exampleId",
        ClientSecret = "exampleSecret",
        VerificationToken = "exampleVerificationToken",
    });
}

}

ChannelSlackArgs

ChannelSlackState

ChannelsRegistration

Manages a Bot Channels Registration.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleChannelsRegistration = new Azure.Bot.ChannelsRegistration("exampleChannelsRegistration", new Azure.Bot.ChannelsRegistrationArgs
    {
        Location = "global",
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "F0",
        MicrosoftAppId = current.Apply(current => current.ClientId),
    });
}

}

ChannelsRegistrationArgs

ChannelsRegistrationState

ChannelTeams

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

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleChannelsRegistration = new Azure.Bot.ChannelsRegistration("exampleChannelsRegistration", new Azure.Bot.ChannelsRegistrationArgs
    {
        Location = "global",
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "F0",
        MicrosoftAppId = current.Apply(current => current.ClientId),
    });
    var exampleChannelTeams = new Azure.Bot.ChannelTeams("exampleChannelTeams", new Azure.Bot.ChannelTeamsArgs
    {
        BotName = exampleChannelsRegistration.Name,
        Location = exampleChannelsRegistration.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        CallingWebHook = "https://example2.com/",
        EnableCalling = false,
    });
}

}

ChannelTeamsArgs

ChannelTeamsState

Connection

Manages a Bot Connection.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleChannelsRegistration = new Azure.Bot.ChannelsRegistration("exampleChannelsRegistration", new Azure.Bot.ChannelsRegistrationArgs
    {
        Location = "global",
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "F0",
        MicrosoftAppId = current.Apply(current => current.ClientId),
    });
    var exampleConnection = new Azure.Bot.Connection("exampleConnection", new Azure.Bot.ConnectionArgs
    {
        BotName = exampleChannelsRegistration.Name,
        Location = exampleChannelsRegistration.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        ServiceProviderName = "box",
        ClientId = "exampleId",
        ClientSecret = "exampleSecret",
    });
}

}

ConnectionArgs

ConnectionState

WebApp

Manages a Bot Web App.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleWebApp = new Azure.Bot.WebApp("exampleWebApp", new Azure.Bot.WebAppArgs
    {
        Location = "global",
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "F0",
        MicrosoftAppId = current.Apply(current => current.ClientId),
    });
}

}

WebAppArgs

WebAppState

Back to top Copyright 2016-2020, Pulumi Corporation.