BotArgs

data class BotArgs(val botName: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<BotArgs>

HealthBot resource definition API Version: 2020-12-08.

Example Usage

BotCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var bot = new AzureNative.HealthBot.Bot("bot", new()
{
BotName = "samplebotname",
Location = "East US",
ResourceGroupName = "healthbotClient",
Sku = new AzureNative.HealthBot.Inputs.SkuArgs
{
Name = AzureNative.HealthBot.SkuName.F0,
},
});
});
package main
import (
healthbot "github.com/pulumi/pulumi-azure-native-sdk/healthbot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := healthbot.NewBot(ctx, "bot", &healthbot.BotArgs{
BotName: pulumi.String("samplebotname"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("healthbotClient"),
Sku: &healthbot.SkuArgs{
Name: healthbot.SkuNameF0,
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.healthbot.Bot;
import com.pulumi.azurenative.healthbot.BotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bot = new Bot("bot", BotArgs.builder()
.botName("samplebotname")
.location("East US")
.resourceGroupName("healthbotClient")
.sku(Map.of("name", "F0"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:healthbot:Bot samplebotname /subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname

Constructors

Link copied to clipboard
constructor(botName: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val botName: Output<String>? = null

The name of the Bot resource.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Bot resource group in the user subscription.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

SKU of the HealthBot.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): BotArgs