This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.

bot

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class pulumi_azure.bot.ChannelDirectLine(resource_name, opts=None, bot_name=None, location=None, resource_group_name=None, sites=None, __props__=None, __name__=None, __opts__=None)

Manages a Directline integration for a Bot Channel

Parameters

The sites object supports the following:

  • enabled (pulumi.Input[bool])

  • enhancedAuthenticationEnabled (pulumi.Input[bool])

  • id (pulumi.Input[str])

  • key (pulumi.Input[str])

  • key2 (pulumi.Input[str])

  • name (pulumi.Input[str])

  • trustedOrigins (pulumi.Input[list])

  • v1Allowed (pulumi.Input[bool])

  • v3Allowed (pulumi.Input[bool])

static get(resource_name, id, opts=None, bot_name=None, location=None, resource_group_name=None, sites=None)

Get an existing ChannelDirectLine resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

The sites object supports the following:

  • enabled (pulumi.Input[bool])

  • enhancedAuthenticationEnabled (pulumi.Input[bool])

  • id (pulumi.Input[str])

  • key (pulumi.Input[str])

  • key2 (pulumi.Input[str])

  • name (pulumi.Input[str])

  • trustedOrigins (pulumi.Input[list])

  • v1Allowed (pulumi.Input[bool])

  • v3Allowed (pulumi.Input[bool])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.ChannelEmail(resource_name, opts=None, bot_name=None, email_address=None, email_password=None, location=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Email integration for a Bot Channel

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

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • email_address (pulumi.Input[str]) – The email address that the Bot will authenticate with.

  • email_password (pulumi.Input[str]) – The email password that the Bot will authenticate with.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

bot_name: pulumi.Output[str] = None

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

email_address: pulumi.Output[str] = None

The email address that the Bot will authenticate with.

email_password: pulumi.Output[str] = None

The email password that the Bot will authenticate with.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, bot_name=None, email_address=None, email_password=None, location=None, resource_group_name=None)

Get an existing ChannelEmail resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • email_address (pulumi.Input[str]) – The email address that the Bot will authenticate with.

  • email_password (pulumi.Input[str]) – The email password that the Bot will authenticate with.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.ChannelSlack(resource_name, opts=None, bot_name=None, client_id=None, client_secret=None, landing_page_url=None, location=None, resource_group_name=None, verification_token=None, __props__=None, __name__=None, __opts__=None)

Manages a Slack integration for a Bot Channel

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

import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="northeurope")
example_channels_registration = azure.bot.ChannelsRegistration("exampleChannelsRegistration",
    location="global",
    resource_group_name=example_resource_group.name,
    sku="F0",
    microsoft_app_id=current.client_id)
example_channel_slack = azure.bot.ChannelSlack("exampleChannelSlack",
    bot_name=example_channels_registration.name,
    location=example_channels_registration.location,
    resource_group_name=example_resource_group.name,
    client_id="exampleId",
    client_secret="exampleSecret",
    verification_token="exampleVerificationToken")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • client_id (pulumi.Input[str]) – The Client ID that will be used to authenticate with Slack.

  • client_secret (pulumi.Input[str]) – The Client Secret that will be used to authenticate with Slack.

  • landing_page_url (pulumi.Input[str]) – The Slack Landing Page URL.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

  • verification_token (pulumi.Input[str]) – The Verification Token that will be used to authenticate with Slack.

bot_name: pulumi.Output[str] = None

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

client_id: pulumi.Output[str] = None

The Client ID that will be used to authenticate with Slack.

client_secret: pulumi.Output[str] = None

The Client Secret that will be used to authenticate with Slack.

landing_page_url: pulumi.Output[str] = None

The Slack Landing Page URL.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

verification_token: pulumi.Output[str] = None

The Verification Token that will be used to authenticate with Slack.

static get(resource_name, id, opts=None, bot_name=None, client_id=None, client_secret=None, landing_page_url=None, location=None, resource_group_name=None, verification_token=None)

Get an existing ChannelSlack resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • client_id (pulumi.Input[str]) – The Client ID that will be used to authenticate with Slack.

  • client_secret (pulumi.Input[str]) – The Client Secret that will be used to authenticate with Slack.

  • landing_page_url (pulumi.Input[str]) – The Slack Landing Page URL.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

  • verification_token (pulumi.Input[str]) – The Verification Token that will be used to authenticate with Slack.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.ChannelTeams(resource_name, opts=None, bot_name=None, calling_web_hook=None, enable_calling=None, location=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a MS Teams integration for a Bot Channel

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

import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="northeurope")
example_channels_registration = azure.bot.ChannelsRegistration("exampleChannelsRegistration",
    location="global",
    resource_group_name=example_resource_group.name,
    sku="F0",
    microsoft_app_id=current.client_id)
example_channel_teams = azure.bot.ChannelTeams("exampleChannelTeams",
    bot_name=example_channels_registration.name,
    location=example_channels_registration.location,
    resource_group_name=example_resource_group.name)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • calling_web_hook (pulumi.Input[str]) – Specifies the webhook for Microsoft Teams channel calls.

  • enable_calling (pulumi.Input[bool]) – Specifies whether to enable Microsoft Teams channel calls. This defaults to false.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

bot_name: pulumi.Output[str] = None

The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

calling_web_hook: pulumi.Output[str] = None

Specifies the webhook for Microsoft Teams channel calls.

enable_calling: pulumi.Output[bool] = None

Specifies whether to enable Microsoft Teams channel calls. This defaults to false.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, bot_name=None, calling_web_hook=None, enable_calling=None, location=None, resource_group_name=None)

Get an existing ChannelTeams resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • calling_web_hook (pulumi.Input[str]) – Specifies the webhook for Microsoft Teams channel calls.

  • enable_calling (pulumi.Input[bool]) – Specifies whether to enable Microsoft Teams channel calls. This defaults to false.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.ChannelsRegistration(resource_name, opts=None, developer_app_insights_api_key=None, developer_app_insights_application_id=None, developer_app_insights_key=None, display_name=None, endpoint=None, location=None, microsoft_app_id=None, name=None, resource_group_name=None, sku=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages a Bot Channels Registration.

import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="northeurope")
example_channels_registration = azure.bot.ChannelsRegistration("exampleChannelsRegistration",
    location="global",
    resource_group_name=example_resource_group.name,
    sku="F0",
    microsoft_app_id=current.client_id)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • developer_app_insights_api_key (pulumi.Input[str]) – The Application Insights API Key to associate with the Bot Channels Registration.

  • developer_app_insights_application_id (pulumi.Input[str]) – The Application Insights Application ID to associate with the Bot Channels Registration.

  • developer_app_insights_key (pulumi.Input[str]) – The Application Insights Key to associate with the Bot Channels Registration.

  • display_name (pulumi.Input[str]) – The name of the Bot Channels Registration will be displayed as. This defaults to name if not specified.

  • endpoint (pulumi.Input[str]) – The Bot Channels Registration endpoint.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • microsoft_app_id (pulumi.Input[str]) – The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.

  • sku (pulumi.Input[str]) – The SKU of the Bot Channels Registration. Valid values include F0 or S1. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

developer_app_insights_api_key: pulumi.Output[str] = None

The Application Insights API Key to associate with the Bot Channels Registration.

developer_app_insights_application_id: pulumi.Output[str] = None

The Application Insights Application ID to associate with the Bot Channels Registration.

developer_app_insights_key: pulumi.Output[str] = None

The Application Insights Key to associate with the Bot Channels Registration.

display_name: pulumi.Output[str] = None

The name of the Bot Channels Registration will be displayed as. This defaults to name if not specified.

endpoint: pulumi.Output[str] = None

The Bot Channels Registration endpoint.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

microsoft_app_id: pulumi.Output[str] = None

The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.

name: pulumi.Output[str] = None

Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.

sku: pulumi.Output[str] = None

The SKU of the Bot Channels Registration. Valid values include F0 or S1. Changing this forces a new resource to be created.

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, developer_app_insights_api_key=None, developer_app_insights_application_id=None, developer_app_insights_key=None, display_name=None, endpoint=None, location=None, microsoft_app_id=None, name=None, resource_group_name=None, sku=None, tags=None)

Get an existing ChannelsRegistration resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • developer_app_insights_api_key (pulumi.Input[str]) – The Application Insights API Key to associate with the Bot Channels Registration.

  • developer_app_insights_application_id (pulumi.Input[str]) – The Application Insights Application ID to associate with the Bot Channels Registration.

  • developer_app_insights_key (pulumi.Input[str]) – The Application Insights Key to associate with the Bot Channels Registration.

  • display_name (pulumi.Input[str]) – The name of the Bot Channels Registration will be displayed as. This defaults to name if not specified.

  • endpoint (pulumi.Input[str]) – The Bot Channels Registration endpoint.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • microsoft_app_id (pulumi.Input[str]) – The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created.

  • sku (pulumi.Input[str]) – The SKU of the Bot Channels Registration. Valid values include F0 or S1. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.Connection(resource_name, opts=None, bot_name=None, client_id=None, client_secret=None, location=None, name=None, parameters=None, resource_group_name=None, scopes=None, service_provider_name=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages a Bot Connection.

import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="northeurope")
example_channels_registration = azure.bot.ChannelsRegistration("exampleChannelsRegistration",
    location="global",
    resource_group_name=example_resource_group.name,
    sku="F0",
    microsoft_app_id=current.client_id)
example_connection = azure.bot.Connection("exampleConnection",
    bot_name=example_channels_registration.name,
    location=example_channels_registration.location,
    resource_group_name=example_resource_group.name,
    service_provider_name="box",
    client_id="exampleId",
    client_secret="exampleSecret")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.

  • client_id (pulumi.Input[str]) – The Client ID that will be used to authenticate with the service provider.

  • client_secret (pulumi.Input[str]) – The Client Secret that will be used to authenticate with the service provider.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.

  • parameters (pulumi.Input[dict]) – A map of additional parameters to apply to the connection.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.

  • scopes (pulumi.Input[str]) – The Scopes at which the connection should be applied.

  • service_provider_name (pulumi.Input[str]) – The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

bot_name: pulumi.Output[str] = None

The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.

client_id: pulumi.Output[str] = None

The Client ID that will be used to authenticate with the service provider.

client_secret: pulumi.Output[str] = None

The Client Secret that will be used to authenticate with the service provider.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

name: pulumi.Output[str] = None

Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.

parameters: pulumi.Output[dict] = None

A map of additional parameters to apply to the connection.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.

scopes: pulumi.Output[str] = None

The Scopes at which the connection should be applied.

service_provider_name: pulumi.Output[str] = None

The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, bot_name=None, client_id=None, client_secret=None, location=None, name=None, parameters=None, resource_group_name=None, scopes=None, service_provider_name=None, tags=None)

Get an existing Connection resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bot_name (pulumi.Input[str]) – The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created.

  • client_id (pulumi.Input[str]) – The Client ID that will be used to authenticate with the service provider.

  • client_secret (pulumi.Input[str]) – The Client Secret that will be used to authenticate with the service provider.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique.

  • parameters (pulumi.Input[dict]) – A map of additional parameters to apply to the connection.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created.

  • scopes (pulumi.Input[str]) – The Scopes at which the connection should be applied.

  • service_provider_name (pulumi.Input[str]) – The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.bot.WebApp(resource_name, opts=None, developer_app_insights_api_key=None, developer_app_insights_application_id=None, developer_app_insights_key=None, display_name=None, endpoint=None, location=None, luis_app_ids=None, luis_key=None, microsoft_app_id=None, name=None, resource_group_name=None, sku=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages a Bot Web App.

import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="northeurope")
example_web_app = azure.bot.WebApp("exampleWebApp",
    location="global",
    resource_group_name=example_resource_group.name,
    sku="F0",
    microsoft_app_id=current.client_id)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • developer_app_insights_api_key (pulumi.Input[str]) – The Application Insights API Key to associate with the Web App Bot.

  • developer_app_insights_application_id (pulumi.Input[str]) – The Application Insights Application ID to associate with the Web App Bot.

  • developer_app_insights_key (pulumi.Input[str]) – The Application Insights Key to associate with the Web App Bot.

  • display_name (pulumi.Input[str]) – The name of the Web App Bot will be displayed as. This defaults to name if not specified.

  • endpoint (pulumi.Input[str]) – The Web App Bot endpoint.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • luis_app_ids (pulumi.Input[list]) – A list of LUIS App IDs to associate with the Web App Bot.

  • luis_key (pulumi.Input[str]) – The LUIS key to associate with the Web App Bot.

  • microsoft_app_id (pulumi.Input[str]) – The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.

  • sku (pulumi.Input[str]) – The SKU of the Web App Bot. Valid values include F0 or S1. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

developer_app_insights_api_key: pulumi.Output[str] = None

The Application Insights API Key to associate with the Web App Bot.

developer_app_insights_application_id: pulumi.Output[str] = None

The Application Insights Application ID to associate with the Web App Bot.

developer_app_insights_key: pulumi.Output[str] = None

The Application Insights Key to associate with the Web App Bot.

display_name: pulumi.Output[str] = None

The name of the Web App Bot will be displayed as. This defaults to name if not specified.

endpoint: pulumi.Output[str] = None

The Web App Bot endpoint.

location: pulumi.Output[str] = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

luis_app_ids: pulumi.Output[list] = None

A list of LUIS App IDs to associate with the Web App Bot.

luis_key: pulumi.Output[str] = None

The LUIS key to associate with the Web App Bot.

microsoft_app_id: pulumi.Output[str] = None

The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.

name: pulumi.Output[str] = None

Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.

resource_group_name: pulumi.Output[str] = None

The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.

sku: pulumi.Output[str] = None

The SKU of the Web App Bot. Valid values include F0 or S1. Changing this forces a new resource to be created.

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, developer_app_insights_api_key=None, developer_app_insights_application_id=None, developer_app_insights_key=None, display_name=None, endpoint=None, location=None, luis_app_ids=None, luis_key=None, microsoft_app_id=None, name=None, resource_group_name=None, sku=None, tags=None)

Get an existing WebApp resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • developer_app_insights_api_key (pulumi.Input[str]) – The Application Insights API Key to associate with the Web App Bot.

  • developer_app_insights_application_id (pulumi.Input[str]) – The Application Insights Application ID to associate with the Web App Bot.

  • developer_app_insights_key (pulumi.Input[str]) – The Application Insights Key to associate with the Web App Bot.

  • display_name (pulumi.Input[str]) – The name of the Web App Bot will be displayed as. This defaults to name if not specified.

  • endpoint (pulumi.Input[str]) – The Web App Bot endpoint.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • luis_app_ids (pulumi.Input[list]) – A list of LUIS App IDs to associate with the Web App Bot.

  • luis_key (pulumi.Input[str]) – The LUIS key to associate with the Web App Bot.

  • microsoft_app_id (pulumi.Input[str]) – The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.

  • sku (pulumi.Input[str]) – The SKU of the Web App Bot. Valid values include F0 or S1. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str