azure-native.botservice.EnterpriseChannel

Explore with Pulumi AI

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

Example Usage

Create Enterprise Channel

using System.Collections.Generic;
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/go/azure/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.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.SkuResponse{
				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 pulumi
import pulumi_azure_native as azure_native

enterprise_channel = azure_native.botservice.EnterpriseChannel("enterpriseChannel",
    location="West US",
    properties=azure_native.botservice.EnterpriseChannelPropertiesResponseArgs(
        nodes=[{
            "azureLocation": "WestUs",
            "azureSku": "Int1",
            "name": "Node 1",
        }],
    ),
    resource_group_name="OneResourceGroupName",
    resource_name_="contoso-dl",
    sku=azure_native.botservice.SkuResponseArgs(
        name="S1",
    ),
    tags={
        "tag1": "value1",
        "tag2": "value2",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const enterpriseChannel = new azure_native.botservice.EnterpriseChannel("enterpriseChannel", {
    location: "West US",
    properties: {
        nodes: [{
            azureLocation: "WestUs",
            azureSku: "Int1",
            name: "Node 1",
        }],
    },
    resourceGroupName: "OneResourceGroupName",
    resourceName: "contoso-dl",
    sku: {
        name: "S1",
    },
    tags: {
        tag1: "value1",
        tag2: "value2",
    },
});
resources:
  enterpriseChannel:
    type: azure-native:botservice:EnterpriseChannel
    properties:
      location: West US
      properties:
        nodes:
          - azureLocation: WestUs
            azureSku: Int1
            name: Node 1
      resourceGroupName: OneResourceGroupName
      resourceName: contoso-dl
      sku:
        name: S1
      tags:
        tag1: value1
        tag2: value2

Create EnterpriseChannel Resource

new EnterpriseChannel(name: string, args: EnterpriseChannelArgs, opts?: CustomResourceOptions);
@overload
def EnterpriseChannel(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      kind: Optional[Union[str, Kind]] = None,
                      location: Optional[str] = None,
                      properties: Optional[EnterpriseChannelPropertiesArgs] = None,
                      resource_group_name: Optional[str] = None,
                      resource_name_: Optional[str] = None,
                      sku: Optional[SkuArgs] = None,
                      tags: Optional[Mapping[str, str]] = None)
@overload
def EnterpriseChannel(resource_name: str,
                      args: EnterpriseChannelArgs,
                      opts: Optional[ResourceOptions] = None)
func NewEnterpriseChannel(ctx *Context, name string, args EnterpriseChannelArgs, opts ...ResourceOption) (*EnterpriseChannel, error)
public EnterpriseChannel(string name, EnterpriseChannelArgs args, CustomResourceOptions? opts = null)
public EnterpriseChannel(String name, EnterpriseChannelArgs args)
public EnterpriseChannel(String name, EnterpriseChannelArgs args, CustomResourceOptions options)
type: azure-native:botservice:EnterpriseChannel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnterpriseChannelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EnterpriseChannelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EnterpriseChannelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnterpriseChannelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnterpriseChannelArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EnterpriseChannel Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EnterpriseChannel resource accepts the following input properties:

ResourceGroupName string

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

Kind string | Pulumi.AzureNative.BotService.Kind

Required. Gets or sets the Kind of the resource.

Location string

Specifies the location of the resource.

Properties Pulumi.AzureNative.BotService.Inputs.EnterpriseChannelPropertiesArgs

The set of properties specific to an Enterprise Channel resource.

ResourceName string

The name of the Bot resource.

Sku Pulumi.AzureNative.BotService.Inputs.SkuArgs

Gets or sets the SKU of the resource.

Tags Dictionary<string, string>

Contains resource tags defined as key/value pairs.

ResourceGroupName string

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

Kind string | Kind

Required. Gets or sets the Kind of the resource.

Location string

Specifies the location of the resource.

Properties EnterpriseChannelPropertiesArgs

The set of properties specific to an Enterprise Channel resource.

ResourceName string

The name of the Bot resource.

Sku SkuArgs

Gets or sets the SKU of the resource.

Tags map[string]string

Contains resource tags defined as key/value pairs.

resourceGroupName String

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

kind String | Kind

Required. Gets or sets the Kind of the resource.

location String

Specifies the location of the resource.

properties EnterpriseChannelPropertiesArgs

The set of properties specific to an Enterprise Channel resource.

resourceName String

The name of the Bot resource.

sku SkuArgs

Gets or sets the SKU of the resource.

tags Map<String,String>

Contains resource tags defined as key/value pairs.

resourceGroupName string

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

kind string | Kind

Required. Gets or sets the Kind of the resource.

location string

Specifies the location of the resource.

properties EnterpriseChannelPropertiesArgs

The set of properties specific to an Enterprise Channel resource.

resourceName string

The name of the Bot resource.

sku SkuArgs

Gets or sets the SKU of the resource.

tags {[key: string]: string}

Contains resource tags defined as key/value pairs.

resource_group_name str

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

kind str | Kind

Required. Gets or sets the Kind of the resource.

location str

Specifies the location of the resource.

properties EnterpriseChannelPropertiesArgs

The set of properties specific to an Enterprise Channel resource.

resource_name str

The name of the Bot resource.

sku SkuArgs

Gets or sets the SKU of the resource.

tags Mapping[str, str]

Contains resource tags defined as key/value pairs.

resourceGroupName String

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

kind String | "sdk" | "designer" | "bot" | "function"

Required. Gets or sets the Kind of the resource.

location String

Specifies the location of the resource.

properties Property Map

The set of properties specific to an Enterprise Channel resource.

resourceName String

The name of the Bot resource.

sku Property Map

Gets or sets the SKU of the resource.

tags Map<String>

Contains resource tags defined as key/value pairs.

Outputs

All input properties are implicitly available as output properties. Additionally, the EnterpriseChannel resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Specifies the name of the resource.

Type string

Specifies the type of the resource.

Etag string

Entity Tag

Id string

The provider-assigned unique ID for this managed resource.

Name string

Specifies the name of the resource.

Type string

Specifies the type of the resource.

Etag string

Entity Tag

id String

The provider-assigned unique ID for this managed resource.

name String

Specifies the name of the resource.

type String

Specifies the type of the resource.

etag String

Entity Tag

id string

The provider-assigned unique ID for this managed resource.

name string

Specifies the name of the resource.

type string

Specifies the type of the resource.

etag string

Entity Tag

id str

The provider-assigned unique ID for this managed resource.

name str

Specifies the name of the resource.

type str

Specifies the type of the resource.

etag str

Entity Tag

id String

The provider-assigned unique ID for this managed resource.

name String

Specifies the name of the resource.

type String

Specifies the type of the resource.

etag String

Entity Tag

Supporting Types

EnterpriseChannelNode

AzureLocation string

The location of the Enterprise Channel Node.

AzureSku string

The sku of the Enterprise Channel Node.

Name string

The name of the Enterprise Channel Node.

State string | Pulumi.AzureNative.BotService.EnterpriseChannelNodeState

The current state of the Enterprise Channel Node.

AzureLocation string

The location of the Enterprise Channel Node.

AzureSku string

The sku of the Enterprise Channel Node.

Name string

The name of the Enterprise Channel Node.

State string | EnterpriseChannelNodeState

The current state of the Enterprise Channel Node.

azureLocation String

The location of the Enterprise Channel Node.

azureSku String

The sku of the Enterprise Channel Node.

name String

The name of the Enterprise Channel Node.

state String | EnterpriseChannelNodeState

The current state of the Enterprise Channel Node.

azureLocation string

The location of the Enterprise Channel Node.

azureSku string

The sku of the Enterprise Channel Node.

name string

The name of the Enterprise Channel Node.

state string | EnterpriseChannelNodeState

The current state of the Enterprise Channel Node.

azure_location str

The location of the Enterprise Channel Node.

azure_sku str

The sku of the Enterprise Channel Node.

name str

The name of the Enterprise Channel Node.

state str | EnterpriseChannelNodeState

The current state of the Enterprise Channel Node.

azureLocation String

The location of the Enterprise Channel Node.

azureSku String

The sku of the Enterprise Channel Node.

name String

The name of the Enterprise Channel Node.

state String | "Creating" | "CreateFailed" | "Started" | "Starting" | "StartFailed" | "Stopped" | "Stopping" | "StopFailed" | "Deleting" | "DeleteFailed"

The current state of the Enterprise Channel Node.

EnterpriseChannelNodeResponse

AzureLocation string

The location of the Enterprise Channel Node.

AzureSku string

The sku of the Enterprise Channel Node.

Id string

Id of Enterprise Channel Node. This is generated by the Bot Framework.

Name string

The name of the Enterprise Channel Node.

State string

The current state of the Enterprise Channel Node.

AzureLocation string

The location of the Enterprise Channel Node.

AzureSku string

The sku of the Enterprise Channel Node.

Id string

Id of Enterprise Channel Node. This is generated by the Bot Framework.

Name string

The name of the Enterprise Channel Node.

State string

The current state of the Enterprise Channel Node.

azureLocation String

The location of the Enterprise Channel Node.

azureSku String

The sku of the Enterprise Channel Node.

id String

Id of Enterprise Channel Node. This is generated by the Bot Framework.

name String

The name of the Enterprise Channel Node.

state String

The current state of the Enterprise Channel Node.

azureLocation string

The location of the Enterprise Channel Node.

azureSku string

The sku of the Enterprise Channel Node.

id string

Id of Enterprise Channel Node. This is generated by the Bot Framework.

name string

The name of the Enterprise Channel Node.

state string

The current state of the Enterprise Channel Node.

azure_location str

The location of the Enterprise Channel Node.

azure_sku str

The sku of the Enterprise Channel Node.

id str

Id of Enterprise Channel Node. This is generated by the Bot Framework.

name str

The name of the Enterprise Channel Node.

state str

The current state of the Enterprise Channel Node.

azureLocation String

The location of the Enterprise Channel Node.

azureSku String

The sku of the Enterprise Channel Node.

id String

Id of Enterprise Channel Node. This is generated by the Bot Framework.

name String

The name of the Enterprise Channel Node.

state String

The current state of the Enterprise Channel Node.

EnterpriseChannelNodeState

Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
EnterpriseChannelNodeStateCreating
Creating
EnterpriseChannelNodeStateCreateFailed
CreateFailed
EnterpriseChannelNodeStateStarted
Started
EnterpriseChannelNodeStateStarting
Starting
EnterpriseChannelNodeStateStartFailed
StartFailed
EnterpriseChannelNodeStateStopped
Stopped
EnterpriseChannelNodeStateStopping
Stopping
EnterpriseChannelNodeStateStopFailed
StopFailed
EnterpriseChannelNodeStateDeleting
Deleting
EnterpriseChannelNodeStateDeleteFailed
DeleteFailed
Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
CREATING
Creating
CREATE_FAILED
CreateFailed
STARTED
Started
STARTING
Starting
START_FAILED
StartFailed
STOPPED
Stopped
STOPPING
Stopping
STOP_FAILED
StopFailed
DELETING
Deleting
DELETE_FAILED
DeleteFailed
"Creating"
Creating
"CreateFailed"
CreateFailed
"Started"
Started
"Starting"
Starting
"StartFailed"
StartFailed
"Stopped"
Stopped
"Stopping"
Stopping
"StopFailed"
StopFailed
"Deleting"
Deleting
"DeleteFailed"
DeleteFailed

EnterpriseChannelProperties

Nodes List<Pulumi.AzureNative.BotService.Inputs.EnterpriseChannelNode>

The nodes associated with the Enterprise Channel.

State string | Pulumi.AzureNative.BotService.EnterpriseChannelState

The current state of the Enterprise Channel.

Nodes []EnterpriseChannelNode

The nodes associated with the Enterprise Channel.

State string | EnterpriseChannelStateEnum

The current state of the Enterprise Channel.

nodes List<EnterpriseChannelNode>

The nodes associated with the Enterprise Channel.

state String | EnterpriseChannelState

The current state of the Enterprise Channel.

nodes EnterpriseChannelNode[]

The nodes associated with the Enterprise Channel.

state string | EnterpriseChannelState

The current state of the Enterprise Channel.

nodes Sequence[EnterpriseChannelNode]

The nodes associated with the Enterprise Channel.

state str | EnterpriseChannelState

The current state of the Enterprise Channel.

EnterpriseChannelPropertiesResponse

Nodes List<Pulumi.AzureNative.BotService.Inputs.EnterpriseChannelNodeResponse>

The nodes associated with the Enterprise Channel.

State string

The current state of the Enterprise Channel.

Nodes []EnterpriseChannelNodeResponse

The nodes associated with the Enterprise Channel.

State string

The current state of the Enterprise Channel.

nodes List<EnterpriseChannelNodeResponse>

The nodes associated with the Enterprise Channel.

state String

The current state of the Enterprise Channel.

nodes EnterpriseChannelNodeResponse[]

The nodes associated with the Enterprise Channel.

state string

The current state of the Enterprise Channel.

nodes Sequence[EnterpriseChannelNodeResponse]

The nodes associated with the Enterprise Channel.

state str

The current state of the Enterprise Channel.

nodes List<Property Map>

The nodes associated with the Enterprise Channel.

state String

The current state of the Enterprise Channel.

EnterpriseChannelState

Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
EnterpriseChannelStateCreating
Creating
EnterpriseChannelStateCreateFailed
CreateFailed
EnterpriseChannelStateStarted
Started
EnterpriseChannelStateStarting
Starting
EnterpriseChannelStateStartFailed
StartFailed
EnterpriseChannelStateStopped
Stopped
EnterpriseChannelStateStopping
Stopping
EnterpriseChannelStateStopFailed
StopFailed
EnterpriseChannelStateDeleting
Deleting
EnterpriseChannelStateDeleteFailed
DeleteFailed
Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
Creating
Creating
CreateFailed
CreateFailed
Started
Started
Starting
Starting
StartFailed
StartFailed
Stopped
Stopped
Stopping
Stopping
StopFailed
StopFailed
Deleting
Deleting
DeleteFailed
DeleteFailed
CREATING
Creating
CREATE_FAILED
CreateFailed
STARTED
Started
STARTING
Starting
START_FAILED
StartFailed
STOPPED
Stopped
STOPPING
Stopping
STOP_FAILED
StopFailed
DELETING
Deleting
DELETE_FAILED
DeleteFailed
"Creating"
Creating
"CreateFailed"
CreateFailed
"Started"
Started
"Starting"
Starting
"StartFailed"
StartFailed
"Stopped"
Stopped
"Stopping"
Stopping
"StopFailed"
StopFailed
"Deleting"
Deleting
"DeleteFailed"
DeleteFailed

Kind

Sdk
sdk
Designer
designer
Bot
bot
Function
function
KindSdk
sdk
KindDesigner
designer
KindBot
bot
KindFunction
function
Sdk
sdk
Designer
designer
Bot
bot
Function
function
Sdk
sdk
Designer
designer
Bot
bot
Function
function
SDK
sdk
DESIGNER
designer
BOT
bot
FUNCTION
function
"sdk"
sdk
"designer"
designer
"bot"
bot
"function"
function

Sku

Name string | SkuName

The sku name

name String | SkuName

The sku name

name string | SkuName

The sku name

name str | SkuName

The sku name

name String | "F0" | "S1"

The sku name

SkuName

F0
F0
S1
S1
SkuNameF0
F0
SkuNameS1
S1
F0
F0
S1
S1
F0
F0
S1
S1
F0
F0
S1
S1
"F0"
F0
"S1"
S1

SkuResponse

Name string

The sku name

Tier string

Gets the sku tier. This is based on the SKU name.

Name string

The sku name

Tier string

Gets the sku tier. This is based on the SKU name.

name String

The sku name

tier String

Gets the sku tier. This is based on the SKU name.

name string

The sku name

tier string

Gets the sku tier. This is based on the SKU name.

name str

The sku name

tier str

Gets the sku tier. This is based on the SKU name.

name String

The sku name

tier String

Gets the sku tier. This is based on the SKU name.

Import

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

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0