Düzenle

Aracılığıyla paylaş


Publish-AzBotServiceApp

Returns a BotService specified by the parameters.

Syntax

Publish-AzBotServiceApp
       -ResourceGroupName <String>
       -Name <String>
       -CodeDir <String>
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

Returns a BotService specified by the parameters.

Examples

Example 1: Publish your BotService to Azure

Publish-AzBotServiceApp -ResourceGroupName youriBotTest -CodeDir D:\zips\MyEchoBot -Name youriechobottest

Publish your BotService to Azure by code

Parameters

-CodeDir

This parameter defines the Path of the ZIP

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

This parameter defines the name of the bot.

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

-ResourceGroupName

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

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False