Show / Hide Table of Contents

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),
    });
}

}
Inheritance
System.Object
Resource
CustomResource
WebApp
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Bot
Assembly: Pulumi.Azure.dll
Syntax
public class WebApp : CustomResource

Constructors

View Source

WebApp(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 Source

DeveloperAppInsightsApiKey

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Endpoint

The Web App Bot endpoint.

Declaration
public Output<string> Endpoint { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>>
View Source

LuisKey

The LUIS key to associate with the Web App Bot.

Declaration
public Output<string> LuisKey { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.