EnterpriseChannelArgs

data class EnterpriseChannelArgs(val kind: Output<Either<String, Kind>>? = null, val location: Output<String>? = null, val properties: Output<EnterpriseChannelPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<EnterpriseChannelArgs>

Enterprise Channel resource definition API Version: 2018-07-12.

Example Usage

Create Enterprise Channel

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var enterpriseChannel = new AzureNative.BotService.EnterpriseChannel("enterpriseChannel", new()
{
Location = "West US",
Properties = new AzureNative.BotService.Inputs.EnterpriseChannelPropertiesArgs
{
Nodes = new[]
{
new AzureNative.BotService.Inputs.EnterpriseChannelNodeArgs
{
AzureLocation = "WestUs",
AzureSku = "Int1",
Name = "Node 1",
},
},
},
ResourceGroupName = "OneResourceGroupName",
ResourceName = "contoso-dl",
Sku = new AzureNative.BotService.Inputs.SkuArgs
{
Name = "S1",
},
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
});
});
package main
import (
botservice "github.com/pulumi/pulumi-azure-native-sdk/botservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := botservice.NewEnterpriseChannel(ctx, "enterpriseChannel", &botservice.EnterpriseChannelArgs{
Location: pulumi.String("West US"),
Properties: botservice.EnterpriseChannelPropertiesResponse{
Nodes: botservice.EnterpriseChannelNodeArray{
&botservice.EnterpriseChannelNodeArgs{
AzureLocation: pulumi.String("WestUs"),
AzureSku: pulumi.String("Int1"),
Name: pulumi.String("Node 1"),
},
},
},
ResourceGroupName: pulumi.String("OneResourceGroupName"),
ResourceName: pulumi.String("contoso-dl"),
Sku: &botservice.SkuArgs{
Name: pulumi.String("S1"),
},
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
"tag2": pulumi.String("value2"),
},
})
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.botservice.EnterpriseChannel;
import com.pulumi.azurenative.botservice.EnterpriseChannelArgs;
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 enterpriseChannel = new EnterpriseChannel("enterpriseChannel", EnterpriseChannelArgs.builder()
.location("West US")
.properties(Map.of("nodes", Map.ofEntries(
Map.entry("azureLocation", "WestUs"),
Map.entry("azureSku", "Int1"),
Map.entry("name", "Node 1")
)))
.resourceGroupName("OneResourceGroupName")
.resourceName("contoso-dl")
.sku(Map.of("name", "S1"))
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.build());
}
}

Import

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

$ pulumi import azure-native:botservice:EnterpriseChannel myresource1 someid

Constructors

Link copied to clipboard
constructor(kind: Output<Either<String, Kind>>? = null, location: Output<String>? = null, properties: Output<EnterpriseChannelPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val kind: Output<Either<String, Kind>>? = null

Required. Gets or sets the Kind of the resource.

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

Specifies the location of the resource.

Link copied to clipboard

The set of properties specific to an Enterprise Channel resource.

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 resourceName: Output<String>? = null

The name of the Bot resource.

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

Gets or sets the SKU of the resource.

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

Contains resource tags defined as key/value pairs.

Functions

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