diff --git a/src/BotService/BotService.Autorest/Properties/AssemblyInfo.cs b/src/BotService/BotService.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..318652415c99 --- /dev/null +++ b/src/BotService/BotService.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - BotService")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.5.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.5.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/BotService/BotService.Autorest/README.md b/src/BotService/BotService.Autorest/README.md index ae9c82cd2023..865df1a8d917 100644 --- a/src/BotService/BotService.Autorest/README.md +++ b/src/BotService/BotService.Autorest/README.md @@ -76,11 +76,7 @@ input-file: - $(repo)/specification/botservice/resource-manager/Microsoft.BotService/preview/2022-06-15-preview/botservice.json title: BotService module-version: 0.1.0 -identity-correction-for-post: true subject-prefix: 'BotService' -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" directive: - from: botservice.json @@ -98,7 +94,10 @@ directive: where: $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.BotService/operationresults/{operationResultId}"] transform: delete $["get"] - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^RegenerateViaIdentity$|^RegenerateViaIdentityExpanded$ + variant: ^(Create|Update|Regenerate)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpdateViaIdentity$|^RegenerateViaIdentity$|^RegenerateViaIdentityExpanded$|^RegenerateViaIdentityBotServiceExpanded$ remove: true - where: subject: Bot diff --git a/src/BotService/BotService.Autorest/custom/Export-AzBotServiceApp.ps1 b/src/BotService/BotService.Autorest/custom/Export-AzBotServiceApp.ps1 index fd8641832e9d..2f61a75894a8 100644 --- a/src/BotService/BotService.Autorest/custom/Export-AzBotServiceApp.ps1 +++ b/src/BotService/BotService.Autorest/custom/Export-AzBotServiceApp.ps1 @@ -22,7 +22,7 @@ Returns a BotService specified by the parameters. https://learn.microsoft.com/powershell/module/az.botservice/export-azbotserviceapp #> function Export-AzBotServiceApp { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter()] diff --git a/src/BotService/BotService.Autorest/custom/Initialize-AzBotServicePrepareDeploy.ps1 b/src/BotService/BotService.Autorest/custom/Initialize-AzBotServicePrepareDeploy.ps1 index c8029096f9ad..8896887b3555 100644 --- a/src/BotService/BotService.Autorest/custom/Initialize-AzBotServicePrepareDeploy.ps1 +++ b/src/BotService/BotService.Autorest/custom/Initialize-AzBotServicePrepareDeploy.ps1 @@ -22,7 +22,7 @@ Returns a BotService specified by the parameters. https://learn.microsoft.com/powershell/module/az.botservice/initialize-azbotservicepreparedeploy #> function Initialize-AzBotServicePrepareDeploy { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter()] diff --git a/src/BotService/BotService.Autorest/custom/New-AzBotService.ps1 b/src/BotService/BotService.Autorest/custom/New-AzBotService.ps1 index b67153a6eb25..3468d1ab09b1 100644 --- a/src/BotService/BotService.Autorest/custom/New-AzBotService.ps1 +++ b/src/BotService/BotService.Autorest/custom/New-AzBotService.ps1 @@ -22,7 +22,7 @@ Returns a BotService specified by the parameters. https://learn.microsoft.com/powershell/module/az.botservice/new-azbotservice #> function New-AzBotService { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/BotService/BotService.Autorest/docs/Az.BotService.md b/src/BotService/BotService.Autorest/docs/Az.BotService.md index 56308ac03719..878ac7a3f256 100644 --- a/src/BotService/BotService.Autorest/docs/Az.BotService.md +++ b/src/BotService/BotService.Autorest/docs/Az.BotService.md @@ -1,6 +1,6 @@ --- Module Name: Az.BotService -Module Guid: 0fbff4fb-215b-4aca-b867-d1acfecab531 +Module Guid: 30262aa0-2203-409b-8e89-92c02e07022d Download Help Link: https://learn.microsoft.com/powershell/module/az.botservice Help Version: 1.0.0.0 Locale: en-US @@ -36,5 +36,5 @@ Returns a BotService specified by the parameters. Deletes a Bot Service from the resource group. ### [Update-AzBotService](Update-AzBotService.md) -Updates a Bot Service +update a Bot Service diff --git a/src/BotService/BotService.Autorest/docs/Export-AzBotServiceApp.md b/src/BotService/BotService.Autorest/docs/Export-AzBotServiceApp.md index 2c79dbd645cd..ae56728114ff 100644 --- a/src/BotService/BotService.Autorest/docs/Export-AzBotServiceApp.md +++ b/src/BotService/BotService.Autorest/docs/Export-AzBotServiceApp.md @@ -123,7 +123,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/Get-AzBotService.md b/src/BotService/BotService.Autorest/docs/Get-AzBotService.md index bc7caee87c8f..2e2cbd4cbe56 100644 --- a/src/BotService/BotService.Autorest/docs/Get-AzBotService.md +++ b/src/BotService/BotService.Autorest/docs/Get-AzBotService.md @@ -115,7 +115,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity @@ -183,7 +182,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/Get-AzBotServiceHostSetting.md b/src/BotService/BotService.Autorest/docs/Get-AzBotServiceHostSetting.md index 343b540a251e..6ef36bef27b4 100644 --- a/src/BotService/BotService.Autorest/docs/Get-AzBotServiceHostSetting.md +++ b/src/BotService/BotService.Autorest/docs/Get-AzBotServiceHostSetting.md @@ -73,7 +73,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IHostSettingsResponse +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IHostSettingsResponse ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/Initialize-AzBotServicePrepareDeploy.md b/src/BotService/BotService.Autorest/docs/Initialize-AzBotServicePrepareDeploy.md index dc20b18005a2..dd92eccd4b76 100644 --- a/src/BotService/BotService.Autorest/docs/Initialize-AzBotServicePrepareDeploy.md +++ b/src/BotService/BotService.Autorest/docs/Initialize-AzBotServicePrepareDeploy.md @@ -113,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/New-AzBotService.md b/src/BotService/BotService.Autorest/docs/New-AzBotService.md index 1e6aaa85bee1..9c08157c9d92 100644 --- a/src/BotService/BotService.Autorest/docs/New-AzBotService.md +++ b/src/BotService/BotService.Autorest/docs/New-AzBotService.md @@ -323,7 +323,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/New-AzBotServiceDirectLineKey.md b/src/BotService/BotService.Autorest/docs/New-AzBotServiceDirectLineKey.md index fa2a57ec3f4c..b8207904f79b 100644 --- a/src/BotService/BotService.Autorest/docs/New-AzBotServiceDirectLineKey.md +++ b/src/BotService/BotService.Autorest/docs/New-AzBotServiceDirectLineKey.md @@ -12,10 +12,25 @@ Regenerates secret keys and returns them for the DirectLine Channel of a particu ## SYNTAX +### RegenerateExpanded (Default) ``` -New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName - -ResourceName -Key -SiteName [-SubscriptionId ] [-DefaultProfile ] - [-Confirm] [-WhatIf] [] +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + -Key -SiteName [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### RegenerateViaJsonFilePath +``` +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### RegenerateViaJsonString +``` +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -36,7 +51,7 @@ Regenerates secret keys and returns them for the DirectLine Channel of a particu The name of the Channel resource for which keys are to be regenerated. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.RegenerateKeysChannelName +Type: System.String Parameter Sets: (All) Aliases: @@ -63,12 +78,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Regenerate operation + +```yaml +Type: System.String +Parameter Sets: RegenerateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Regenerate operation + +```yaml +Type: System.String +Parameter Sets: RegenerateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Key Determines which key is to be regenerated ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.Key -Parameter Sets: (All) +Type: System.String +Parameter Sets: RegenerateExpanded Aliases: Required: True @@ -113,7 +158,7 @@ The site name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: RegenerateExpanded Aliases: Required: True @@ -176,7 +221,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBotChannel +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannel ## NOTES diff --git a/src/BotService/BotService.Autorest/docs/Remove-AzBotService.md b/src/BotService/BotService.Autorest/docs/Remove-AzBotService.md index 1ca946d413cb..8c95eaaeb8da 100644 --- a/src/BotService/BotService.Autorest/docs/Remove-AzBotService.md +++ b/src/BotService/BotService.Autorest/docs/Remove-AzBotService.md @@ -64,7 +64,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity diff --git a/src/BotService/BotService.Autorest/docs/Update-AzBotService.md b/src/BotService/BotService.Autorest/docs/Update-AzBotService.md index 848166600e5d..98265553c883 100644 --- a/src/BotService/BotService.Autorest/docs/Update-AzBotService.md +++ b/src/BotService/BotService.Autorest/docs/Update-AzBotService.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzBotService ## SYNOPSIS -Updates a Bot Service +update a Bot Service ## SYNTAX @@ -19,11 +19,10 @@ Update-AzBotService -Name -ResourceGroupName [-SubscriptionId [-DeveloperAppInsightKey ] [-DeveloperAppInsightsApiKey ] [-DeveloperAppInsightsApplicationId ] [-DisableLocalAuth] [-DisplayName ] [-Endpoint ] [-Etag ] [-IconUrl ] [-IsCmekEnabled] [-IsStreamingSupported] - [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] [-ManifestUrl ] - [-MsaAppId ] [-MsaAppMsiResourceId ] [-MsaAppTenantId ] [-MsaAppType ] - [-OpenWithHint ] [-Parameter ] [-PublicNetworkAccess ] - [-PublishingCredentials ] [-SchemaTransformationVersion ] [-SkuName ] - [-StorageResourceId ] [-Tag ] [-TenantId ] [-DefaultProfile ] [-Confirm] + [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] [-ManifestUrl ] + [-MsaAppMsiResourceId ] [-MsaAppType ] [-OpenWithHint ] [-Parameter ] + [-PublicNetworkAccess ] [-PublishingCredentials ] [-SchemaTransformationVersion ] + [-SkuName ] [-StorageResourceId ] [-Tag ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -33,16 +32,27 @@ Update-AzBotService -InputObject [-AllSetting ] [-CmekKeyVaultUrl ] [-Description ] [-DeveloperAppInsightKey ] [-DeveloperAppInsightsApiKey ] [-DeveloperAppInsightsApplicationId ] [-DisableLocalAuth] [-DisplayName ] [-Endpoint ] [-Etag ] [-IconUrl ] [-IsCmekEnabled] - [-IsStreamingSupported] [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] - [-ManifestUrl ] [-MsaAppId ] [-MsaAppMsiResourceId ] [-MsaAppTenantId ] - [-MsaAppType ] [-OpenWithHint ] [-Parameter ] - [-PublicNetworkAccess ] [-PublishingCredentials ] - [-SchemaTransformationVersion ] [-SkuName ] [-StorageResourceId ] [-Tag ] - [-TenantId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-IsStreamingSupported] [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] + [-ManifestUrl ] [-MsaAppMsiResourceId ] [-MsaAppType ] [-OpenWithHint ] + [-Parameter ] [-PublicNetworkAccess ] [-PublishingCredentials ] + [-SchemaTransformationVersion ] [-SkuName ] [-StorageResourceId ] [-Tag ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzBotService -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzBotService -Name -ResourceGroupName -JsonString [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Updates a Bot Service +update a Bot Service ## EXAMPLES @@ -80,7 +90,7 @@ Contains resource all settings defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -96,7 +106,7 @@ keyVault secret resourceId) on how to fetch the app secret ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -111,7 +121,7 @@ The CMK Url ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -142,7 +152,7 @@ The description of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -157,7 +167,7 @@ The Application Insights key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -172,7 +182,7 @@ The Application Insights Api Key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -187,7 +197,7 @@ The Application Insights App Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -202,7 +212,7 @@ Opt-out of local authentication and ensure only MSI and AAD can be used exclusiv ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -217,7 +227,7 @@ The Name of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -232,7 +242,7 @@ The bot's endpoint ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -247,7 +257,7 @@ Entity Tag ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -262,7 +272,7 @@ The Icon Url of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -274,7 +284,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity @@ -293,7 +302,7 @@ Whether Cmek is enabled ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -308,7 +317,7 @@ Whether the bot is streaming supported ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -318,43 +327,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind -Required. -Gets or sets the Kind of the resource. +### -JsonFilePath +Path of Json file supplied to the Update operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.Kind -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateViaJsonFilePath Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -Location -Specifies the location of the resource. +### -JsonString +Json string supplied to the Update operation ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateViaJsonString Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -LuisAppId -Collection of LUIS App Ids +### -Kind +Required. +Gets or sets the Kind of the resource. ```yaml -Type: System.String[] -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -364,12 +373,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LuisKey -The LUIS Key +### -Location +Specifies the location of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -379,12 +388,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ManifestUrl -The bot's manifest url +### -LuisAppId +Collection of LUIS App Ids ```yaml -Type: System.String -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -394,12 +403,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppId -Microsoft App Id for the bot +### -LuisKey +The LUIS Key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -409,12 +418,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppMsiResourceId -Microsoft App Managed Identity Resource Id for the bot +### -ManifestUrl +The bot's manifest url ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -424,12 +433,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppTenantId -Microsoft App Tenant Id for the bot +### -MsaAppMsiResourceId +Microsoft App Managed Identity Resource Id for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -443,8 +452,8 @@ Accept wildcard characters: False Microsoft App Type for the bot ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.MsaAppType -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -459,7 +468,7 @@ The name of the Bot resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: BotName Required: True @@ -475,7 +484,7 @@ protocol handler) on how to open the bot for authoring ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -490,7 +499,7 @@ Contains resource parameters defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -504,8 +513,8 @@ Accept wildcard characters: False Whether the bot is in an isolated network ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.PublicNetworkAccess -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -520,7 +529,7 @@ Publishing credentials of the resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -535,7 +544,7 @@ The name of the Bot resource group in the user subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -550,7 +559,7 @@ The channel schema transformation version for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -564,8 +573,8 @@ Accept wildcard characters: False The sku name ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.SkuName -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -580,7 +589,7 @@ The storage resourceId for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -595,7 +604,7 @@ Azure Subscription ID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -610,22 +619,7 @@ Contains resource tags defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TenantId -The Tenant Id for the bot - -```yaml -Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -675,7 +669,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService.Autorest/generate-info.json b/src/BotService/BotService.Autorest/generate-info.json index 563fd16aa762..6a675ba81175 100644 --- a/src/BotService/BotService.Autorest/generate-info.json +++ b/src/BotService/BotService.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "913093fe-4d29-4b55-9f9e-89026b9c664b" + "generate_Id": "9cf6877d-65bb-40b1-a43f-aa4d04107caf" } diff --git a/src/BotService/BotService.Autorest/resources/README.md b/src/BotService/BotService.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/BotService/BotService.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/BotService/BotService.sln b/src/BotService/BotService.sln index 6c37d5230812..fc71d9c3d896 100644 --- a/src/BotService/BotService.sln +++ b/src/BotService/BotService.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BotService", "BotService\BotService.csproj", "{FFE20009-821E-4E3B-A84F-42B64E3A7AEC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.BotService", "..\..\generated\BotService\BotService.Autorest\Az.BotService.csproj", "{DEC8A338-D740-4DA7-95A3-E93BB0366487}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BotService.Autorest", "BotService.Autorest", "{E87C5151-8C44-364E-8668-5E32C2AF386B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.BotService", "..\..\generated\BotService\BotService.Autorest\Az.BotService.csproj", "{3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|Any CPU.Build.0 = Debug|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|x64.ActiveCfg = Debug|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|x64.Build.0 = Debug|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|x86.ActiveCfg = Debug|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Debug|x86.Build.0 = Debug|Any CPU {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|Any CPU.ActiveCfg = Release|Any CPU {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|Any CPU.Build.0 = Release|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|x64.ActiveCfg = Release|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|x64.Build.0 = Release|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|x86.ActiveCfg = Release|Any CPU + {542B1FA9-F381-4503-A745-537E45B3FB24}.Release|x86.Build.0 = Release|Any CPU {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|Any CPU.Build.0 = Debug|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|x64.ActiveCfg = Debug|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|x64.Build.0 = Debug|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|x86.ActiveCfg = Debug|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Debug|x86.Build.0 = Debug|Any CPU {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|Any CPU.ActiveCfg = Release|Any CPU {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|Any CPU.Build.0 = Release|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|x64.ActiveCfg = Release|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|x64.Build.0 = Release|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|x86.ActiveCfg = Release|Any CPU + {321A2564-B15F-4BBD-A22D-32D3848B3787}.Release|x86.Build.0 = Release|Any CPU {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|x64.ActiveCfg = Debug|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|x64.Build.0 = Debug|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|x86.ActiveCfg = Debug|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Debug|x86.Build.0 = Debug|Any CPU {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|Any CPU.ActiveCfg = Release|Any CPU {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|Any CPU.Build.0 = Release|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|x64.ActiveCfg = Release|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|x64.Build.0 = Release|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|x86.ActiveCfg = Release|Any CPU + {8E1DDD3E-05A0-48BD-AE9B-8F038BCD7EDF}.Release|x86.Build.0 = Release|Any CPU {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|x64.ActiveCfg = Debug|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|x64.Build.0 = Debug|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|x86.ActiveCfg = Debug|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Debug|x86.Build.0 = Debug|Any CPU {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|Any CPU.ActiveCfg = Release|Any CPU {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|Any CPU.Build.0 = Release|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|x64.ActiveCfg = Release|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|x64.Build.0 = Release|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|x86.ActiveCfg = Release|Any CPU + {034D4F56-1944-4F2A-88BC-2596EC407B9F}.Release|x86.Build.0 = Release|Any CPU {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|x64.ActiveCfg = Debug|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|x64.Build.0 = Debug|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|x86.ActiveCfg = Debug|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Debug|x86.Build.0 = Debug|Any CPU {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|Any CPU.Build.0 = Release|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|x64.ActiveCfg = Release|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|x64.Build.0 = Release|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|x86.ActiveCfg = Release|Any CPU + {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC}.Release|x86.Build.0 = Release|Any CPU {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|x64.ActiveCfg = Debug|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|x64.Build.0 = Debug|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|x86.ActiveCfg = Debug|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Debug|x86.Build.0 = Debug|Any CPU {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|Any CPU.ActiveCfg = Release|Any CPU {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|Any CPU.Build.0 = Release|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|x64.ActiveCfg = Release|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|x64.Build.0 = Release|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|x86.ActiveCfg = Release|Any CPU + {3593405D-7E0A-4CD4-831A-66F67B5A7B9E}.Release|x86.Build.0 = Release|Any CPU {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|x64.ActiveCfg = Debug|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|x64.Build.0 = Debug|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|x86.ActiveCfg = Debug|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Debug|x86.Build.0 = Debug|Any CPU {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|Any CPU.ActiveCfg = Release|Any CPU {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|Any CPU.Build.0 = Release|Any CPU - {DEC8A338-D740-4DA7-95A3-E93BB0366487}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DEC8A338-D740-4DA7-95A3-E93BB0366487}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DEC8A338-D740-4DA7-95A3-E93BB0366487}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DEC8A338-D740-4DA7-95A3-E93BB0366487}.Release|Any CPU.Build.0 = Release|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|x64.ActiveCfg = Release|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|x64.Build.0 = Release|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|x86.ActiveCfg = Release|Any CPU + {FFE20009-821E-4E3B-A84F-42B64E3A7AEC}.Release|x86.Build.0 = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|x64.ActiveCfg = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|x64.Build.0 = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|x86.ActiveCfg = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Debug|x86.Build.0 = Debug|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|Any CPU.Build.0 = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|x64.ActiveCfg = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|x64.Build.0 = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|x86.ActiveCfg = Release|Any CPU + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {542B1FA9-F381-4503-A745-537E45B3FB24} = {58ECC49C-4BD1-4D7F-A0DC-E8D4EB606DAE} @@ -70,5 +140,6 @@ Global {034D4F56-1944-4F2A-88BC-2596EC407B9F} = {58ECC49C-4BD1-4D7F-A0DC-E8D4EB606DAE} {F9AAEBED-2D49-4A02-8164-C8A97B1A79CC} = {58ECC49C-4BD1-4D7F-A0DC-E8D4EB606DAE} {3593405D-7E0A-4CD4-831A-66F67B5A7B9E} = {58ECC49C-4BD1-4D7F-A0DC-E8D4EB606DAE} + {3B618EA0-2D7E-4B7E-A759-9E5EED7B2C8F} = {E87C5151-8C44-364E-8668-5E32C2AF386B} EndGlobalSection EndGlobal diff --git a/src/BotService/BotService/Az.BotService.psd1 b/src/BotService/BotService/Az.BotService.psd1 index 23c4e6b89d5e..3853533636b6 100644 --- a/src/BotService/BotService/Az.BotService.psd1 +++ b/src/BotService/BotService/Az.BotService.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-11 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'BotService.Autorest/bin/Az.BotService.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'BotService.Autorest\Az.BotService.format.ps1xml' +FormatsToProcess = 'BotService.Autorest/Az.BotService.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('BotService.Autorest/Az.BotService.psm1') @@ -99,7 +99,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','BotService' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'BotService' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -124,7 +124,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/BotService/BotService/ChangeLog.md b/src/BotService/BotService/ChangeLog.md index 0e16faee5159..b9e415654929 100644 --- a/src/BotService/BotService/ChangeLog.md +++ b/src/BotService/BotService/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 0.5.2 * Upgraded nuget package to signed package. diff --git a/src/BotService/BotService/help/Az.BotService.md b/src/BotService/BotService/help/Az.BotService.md index 56308ac03719..36660281c796 100644 --- a/src/BotService/BotService/help/Az.BotService.md +++ b/src/BotService/BotService/help/Az.BotService.md @@ -36,5 +36,5 @@ Returns a BotService specified by the parameters. Deletes a Bot Service from the resource group. ### [Update-AzBotService](Update-AzBotService.md) -Updates a Bot Service +update a Bot Service diff --git a/src/BotService/BotService/help/Export-AzBotServiceApp.md b/src/BotService/BotService/help/Export-AzBotServiceApp.md index 475896557308..5eb52067de3c 100644 --- a/src/BotService/BotService/help/Export-AzBotServiceApp.md +++ b/src/BotService/BotService/help/Export-AzBotServiceApp.md @@ -123,7 +123,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService/help/Get-AzBotService.md b/src/BotService/BotService/help/Get-AzBotService.md index e24a62ad804e..d203de0351ef 100644 --- a/src/BotService/BotService/help/Get-AzBotService.md +++ b/src/BotService/BotService/help/Get-AzBotService.md @@ -117,7 +117,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity @@ -185,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService/help/Get-AzBotServiceHostSetting.md b/src/BotService/BotService/help/Get-AzBotServiceHostSetting.md index 5bef266815be..60350e7d3e85 100644 --- a/src/BotService/BotService/help/Get-AzBotServiceHostSetting.md +++ b/src/BotService/BotService/help/Get-AzBotServiceHostSetting.md @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IHostSettingsResponse +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IHostSettingsResponse ## NOTES diff --git a/src/BotService/BotService/help/Initialize-AzBotServicePrepareDeploy.md b/src/BotService/BotService/help/Initialize-AzBotServicePrepareDeploy.md index b57188156a11..fd6eba46ee83 100644 --- a/src/BotService/BotService/help/Initialize-AzBotServicePrepareDeploy.md +++ b/src/BotService/BotService/help/Initialize-AzBotServicePrepareDeploy.md @@ -114,7 +114,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService/help/New-AzBotService.md b/src/BotService/BotService/help/New-AzBotService.md index 6bea6016f5df..d6393b6806d0 100644 --- a/src/BotService/BotService/help/New-AzBotService.md +++ b/src/BotService/BotService/help/New-AzBotService.md @@ -35,7 +35,7 @@ Returns a BotService specified by the parameters. ### Example 1: Create a new bot ```powershell -New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "00001111-aaaa-2222-bbbb-3333cccc4444" -Location global -Sku F0 -Description "123134" -Registration +New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration ``` ```output @@ -48,7 +48,7 @@ Create a new Bot by ResourceGroupName and ApplicationId ### Example 2: Create a new Web App ```powershell -New-AzBotService -resourcegroupname BotTest-rg -name BotTest2 -ApplicationId "00001111-aaaa-2222-bbbb-3333cccc4444" -Location global -Sku F0 -Description "123134" -Webapp +New-AzBotService -resourcegroupname BotTest-rg -name BotTest2 -ApplicationId "b1ab1727-0465-4255-a1bb-976210af972c" -Location global -Sku F0 -Description "123134" -Webapp ``` ```output @@ -320,7 +320,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES diff --git a/src/BotService/BotService/help/New-AzBotServiceDirectLineKey.md b/src/BotService/BotService/help/New-AzBotServiceDirectLineKey.md index 5a61053c6b35..f0cfea23c6d1 100644 --- a/src/BotService/BotService/help/New-AzBotServiceDirectLineKey.md +++ b/src/BotService/BotService/help/New-AzBotServiceDirectLineKey.md @@ -12,9 +12,24 @@ Regenerates secret keys and returns them for the DirectLine Channel of a particu ## SYNTAX +### RegenerateExpanded (Default) ``` -New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName - -ResourceName [-SubscriptionId ] -Key -SiteName [-DefaultProfile ] +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + [-SubscriptionId ] -Key -SiteName [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### RegenerateViaJsonFilePath +``` +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### RegenerateViaJsonString +``` +New-AzBotServiceDirectLineKey -ChannelName -ResourceGroupName -ResourceName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -36,7 +51,7 @@ Regenerates secret keys and returns them for the DirectLine Channel of a particu The name of the Channel resource for which keys are to be regenerated. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.RegenerateKeysChannelName +Type: System.String Parameter Sets: (All) Aliases: @@ -63,12 +78,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Regenerate operation + +```yaml +Type: System.String +Parameter Sets: RegenerateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Regenerate operation + +```yaml +Type: System.String +Parameter Sets: RegenerateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Key Determines which key is to be regenerated ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.Key -Parameter Sets: (All) +Type: System.String +Parameter Sets: RegenerateExpanded Aliases: Required: True @@ -113,7 +158,7 @@ The site name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: RegenerateExpanded Aliases: Required: True @@ -176,7 +221,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBotChannel +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannel ## NOTES diff --git a/src/BotService/BotService/help/Remove-AzBotService.md b/src/BotService/BotService/help/Remove-AzBotService.md index 3c618aaf098a..095e372ee6f5 100644 --- a/src/BotService/BotService/help/Remove-AzBotService.md +++ b/src/BotService/BotService/help/Remove-AzBotService.md @@ -65,7 +65,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity diff --git a/src/BotService/BotService/help/Update-AzBotService.md b/src/BotService/BotService/help/Update-AzBotService.md index f6df78a4afbd..926475f2e0c9 100644 --- a/src/BotService/BotService/help/Update-AzBotService.md +++ b/src/BotService/BotService/help/Update-AzBotService.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzBotService ## SYNOPSIS -Updates a Bot Service +update a Bot Service ## SYNTAX @@ -18,12 +18,24 @@ Update-AzBotService -Name -ResourceGroupName [-SubscriptionId [-AllSetting ] [-AppPasswordHint ] [-CmekKeyVaultUrl ] [-Description ] [-DeveloperAppInsightKey ] [-DeveloperAppInsightsApiKey ] [-DeveloperAppInsightsApplicationId ] [-DisableLocalAuth] [-DisplayName ] [-Endpoint ] - [-Etag ] [-IconUrl ] [-IsCmekEnabled] [-IsStreamingSupported] [-Kind ] - [-Location ] [-LuisAppId ] [-LuisKey ] [-ManifestUrl ] [-MsaAppId ] - [-MsaAppMsiResourceId ] [-MsaAppTenantId ] [-MsaAppType ] [-OpenWithHint ] - [-Parameter ] [-PublicNetworkAccess ] [-PublishingCredentials ] - [-SchemaTransformationVersion ] [-SkuName ] [-StorageResourceId ] [-Tag ] - [-TenantId ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [-Etag ] [-IconUrl ] [-IsCmekEnabled] [-IsStreamingSupported] [-Kind ] + [-Location ] [-LuisAppId ] [-LuisKey ] [-ManifestUrl ] + [-MsaAppMsiResourceId ] [-MsaAppType ] [-OpenWithHint ] [-Parameter ] + [-PublicNetworkAccess ] [-PublishingCredentials ] [-SchemaTransformationVersion ] + [-SkuName ] [-StorageResourceId ] [-Tag ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Update-AzBotService -Name -ResourceGroupName [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzBotService -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -33,17 +45,15 @@ Update-AzBotService -InputObject [-AllSetting ] [-CmekKeyVaultUrl ] [-Description ] [-DeveloperAppInsightKey ] [-DeveloperAppInsightsApiKey ] [-DeveloperAppInsightsApplicationId ] [-DisableLocalAuth] [-DisplayName ] [-Endpoint ] [-Etag ] [-IconUrl ] [-IsCmekEnabled] - [-IsStreamingSupported] [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] - [-ManifestUrl ] [-MsaAppId ] [-MsaAppMsiResourceId ] [-MsaAppTenantId ] - [-MsaAppType ] [-OpenWithHint ] [-Parameter ] - [-PublicNetworkAccess ] [-PublishingCredentials ] - [-SchemaTransformationVersion ] [-SkuName ] [-StorageResourceId ] [-Tag ] - [-TenantId ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-IsStreamingSupported] [-Kind ] [-Location ] [-LuisAppId ] [-LuisKey ] + [-ManifestUrl ] [-MsaAppMsiResourceId ] [-MsaAppType ] [-OpenWithHint ] + [-Parameter ] [-PublicNetworkAccess ] [-PublishingCredentials ] + [-SchemaTransformationVersion ] [-SkuName ] [-StorageResourceId ] [-Tag ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Updates a Bot Service +update a Bot Service ## EXAMPLES @@ -81,7 +91,7 @@ Contains resource all settings defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -97,7 +107,7 @@ keyVault secret resourceId) on how to fetch the app secret ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -112,7 +122,7 @@ The CMK Url ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -143,7 +153,7 @@ The description of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -158,7 +168,7 @@ The Application Insights key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -173,7 +183,7 @@ The Application Insights Api Key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -188,7 +198,7 @@ The Application Insights App Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -203,7 +213,7 @@ Opt-out of local authentication and ensure only MSI and AAD can be used exclusiv ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -218,7 +228,7 @@ The Name of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -233,7 +243,7 @@ The bot's endpoint ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -248,7 +258,7 @@ Entity Tag ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -263,7 +273,7 @@ The Icon Url of the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -275,7 +285,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotServiceIdentity @@ -294,7 +303,7 @@ Whether Cmek is enabled ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -309,7 +318,7 @@ Whether the bot is streaming supported ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -319,43 +328,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind -Required. -Gets or sets the Kind of the resource. +### -JsonFilePath +Path of Json file supplied to the Update operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.Kind -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateViaJsonFilePath Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -Location -Specifies the location of the resource. +### -JsonString +Json string supplied to the Update operation ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateViaJsonString Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -LuisAppId -Collection of LUIS App Ids +### -Kind +Required. +Gets or sets the Kind of the resource. ```yaml -Type: System.String[] -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -365,12 +374,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LuisKey -The LUIS Key +### -Location +Specifies the location of the resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -380,12 +389,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ManifestUrl -The bot's manifest url +### -LuisAppId +Collection of LUIS App Ids ```yaml -Type: System.String -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -395,12 +404,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppId -Microsoft App Id for the bot +### -LuisKey +The LUIS Key ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -410,12 +419,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppMsiResourceId -Microsoft App Managed Identity Resource Id for the bot +### -ManifestUrl +The bot's manifest url ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -425,12 +434,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MsaAppTenantId -Microsoft App Tenant Id for the bot +### -MsaAppMsiResourceId +Microsoft App Managed Identity Resource Id for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -444,8 +453,8 @@ Accept wildcard characters: False Microsoft App Type for the bot ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.MsaAppType -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -460,7 +469,7 @@ The name of the Bot resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: BotName Required: True @@ -476,7 +485,7 @@ protocol handler) on how to open the bot for authoring ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -491,7 +500,7 @@ Contains resource parameters defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -505,8 +514,8 @@ Accept wildcard characters: False Whether the bot is in an isolated network ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.PublicNetworkAccess -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -521,7 +530,7 @@ Publishing credentials of the resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -536,7 +545,7 @@ The name of the Bot resource group in the user subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -551,7 +560,7 @@ The channel schema transformation version for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -565,8 +574,8 @@ Accept wildcard characters: False The sku name ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.BotService.Support.SkuName -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -581,7 +590,7 @@ The storage resourceId for the bot ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -596,7 +605,7 @@ Azure Subscription ID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -611,22 +620,7 @@ Contains resource tags defined as key/value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TenantId -The Tenant Id for the bot - -```yaml -Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -676,7 +670,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot +### Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBot ## NOTES