Bot

class Bot : KotlinCustomResource

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

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The set of properties specific to Healthbot resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>

SKU of the HealthBot.

Link copied to clipboard

Metadata pertaining to creation and last modification of the resource

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>