Class WebApp
Manages a Bot Web App.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "northeurope",
});
var exampleWebApp = new Azure.Bot.WebApp("exampleWebApp", new Azure.Bot.WebAppArgs
{
Location = "global",
ResourceGroupName = exampleResourceGroup.Name,
Sku = "F0",
MicrosoftAppId = current.Apply(current => current.ClientId),
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Bot
Assembly: Pulumi.Azure.dll
Syntax
public class WebApp : CustomResource
Constructors
View SourceWebApp(String, WebAppArgs, CustomResourceOptions)
Create a WebApp resource with the given unique name, arguments, and options.
Declaration
public WebApp(string name, WebAppArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| WebAppArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDeveloperAppInsightsApiKey
The Application Insights API Key to associate with the Web App Bot.
Declaration
public Output<string> DeveloperAppInsightsApiKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeveloperAppInsightsApplicationId
The Application Insights Application ID to associate with the Web App Bot.
Declaration
public Output<string> DeveloperAppInsightsApplicationId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeveloperAppInsightsKey
The Application Insights Key to associate with the Web App Bot.
Declaration
public Output<string> DeveloperAppInsightsKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DisplayName
The name of the Web App Bot will be displayed as. This defaults to name if not specified.
Declaration
public Output<string> DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Endpoint
The Web App Bot endpoint.
Declaration
public Output<string> Endpoint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LuisAppIds
A list of LUIS App IDs to associate with the Web App Bot.
Declaration
public Output<ImmutableArray<string>> LuisAppIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
LuisKey
The LUIS key to associate with the Web App Bot.
Declaration
public Output<string> LuisKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MicrosoftAppId
The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
Declaration
public Output<string> MicrosoftAppId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Sku
The SKU of the Web App Bot. Valid values include F0 or S1. Changing this forces a new resource to be created.
Declaration
public Output<string> Sku { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, WebAppState, CustomResourceOptions)
Get an existing WebApp resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static WebApp Get(string name, Input<string> id, WebAppState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| WebAppState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| WebApp |