편집

다음을 통해 공유


Initialize-AzBotServicePrepareDeploy

Returns a BotService specified by the parameters.

Syntax

Initialize-AzBotServicePrepareDeploy
          [-CodeDir <String>]
          [-ProjFileName <String>]
          [-Language <String>]
          [-SubscriptionId <String[]>]
          [-DefaultProfile <PSObject>]
          [<CommonParameters>]

Description

Returns a BotService specified by the parameters.

Examples

Example 1: Initialize the Project FileFolder

Initialize-AzBotServicePrepareDeploy -CodeDir D:\zips\MyEchoBot -ProjFileName MyEchoBot.csproj

Initialize Prepares a resource for use, and sets it to a default state

Parameters

-CodeDir

The path to prepare a resource.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Language

The language could be C#, JavaScript or TypeScript.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProjFileName

The project file name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Azure Subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IBot