diff --git a/src/SignalR/SignalR.Autorest/Az.SignalR.nuspec b/src/SignalR/SignalR.Autorest/Az.SignalR.nuspec
index 533aab2b8608..c1a4bee77c43 100644
--- a/src/SignalR/SignalR.Autorest/Az.SignalR.nuspec
+++ b/src/SignalR/SignalR.Autorest/Az.SignalR.nuspec
@@ -13,7 +13,7 @@
Microsoft Corporation. All rights reserved.
Azure ResourceManager ARM PSModule $(service-name)
-
+
diff --git a/src/SignalR/SignalR.Autorest/Properties/AssemblyInfo.cs b/src/SignalR/SignalR.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..c7bc69b098c5
--- /dev/null
+++ b/src/SignalR/SignalR.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,27 @@
+// 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 - WebPubSub")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("2.3.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("2.3.0")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
+
diff --git a/src/SignalR/SignalR.Autorest/README.md b/src/SignalR/SignalR.Autorest/README.md
index 632392e1b4d2..1300997833d7 100644
--- a/src/SignalR/SignalR.Autorest/README.md
+++ b/src/SignalR/SignalR.Autorest/README.md
@@ -53,17 +53,19 @@ commit: 492cf91751be945ceae53cfdd53b1ff2fb878703
# uncomment following line to support viaIdentity for these post APIs
identity-correction-for-post: true
-# 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:
# Following is two common directive which are normally required in all the RPs
# 1. Remove the unexpanded parameter set
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
- where:
- variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
+ variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
+ remove: true
+ - where:
+ variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
+ # - where:
+ # variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
+ # remove: true
# Remove the set-* cmdlet
- where:
verb: Set
@@ -328,6 +330,11 @@ directive:
set:
parameter-name: Name
alias: CertificateName
+ - where:
+ subject: WebPubSubCustomCertificate
+ verb: Update
+ remove: true
+
# Disable Inline on the Baseclass(Model).
- no-inline:
- EventListenerEndpoint
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzOperation_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzOperation_List.cs
index 06674fa9abab..7c167cbdec44 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzOperation_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzOperation_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_Get.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_Get.cs
index 8fb8a845419f..c6e82661a73b 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_Get.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_Get.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_GetViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_GetViaIdentity.cs
index 67e9f2a9a623..db2686430f9f 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_GetViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_GetViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_List.cs
index 119eb3223127..efbcc19d9648 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomCertificate_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_Get.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_Get.cs
index 3182ca629fa2..3d0e2101d152 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_Get.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_Get.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_GetViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_GetViaIdentity.cs
index 9151b11b34f0..81e13a1bc658 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_GetViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_GetViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_List.cs
index 8ee51e4b5d39..9b2de601c3ca 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubCustomDomain_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_Get.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_Get.cs
index 8cc9af283070..aa03c4dbc947 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_Get.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_Get.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_GetViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_GetViaIdentity.cs
index 80ef27fbbcdd..cbbf64602719 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_GetViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_GetViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_List.cs
index 546478531c75..f250b50eac9b 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubHub_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubKey_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubKey_List.cs
index 7ad16e7dccd8..c6d9b5fac306 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubKey_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubKey_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubSku_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubSku_List.cs
index 764dae0e42e8..2d4a484ecbb9 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubSku_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubSku_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubUsage_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubUsage_List.cs
index f17dd5c3de3d..abe2aca03e60 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubUsage_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSubUsage_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_Get.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_Get.cs
index 055d61494ee6..ca29fb681adf 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_Get.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_Get.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_GetViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_GetViaIdentity.cs
index 6d05b6466199..ec7438df927e 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_GetViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_GetViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List.cs
index db25fc050468..23680e8a60aa 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List1.cs b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List1.cs
index e826b2b96cd7..d10b4204a5a9 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List1.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/GetAzWebPubSub_List1.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomCertificate_CreateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomCertificate_CreateExpanded.cs
index f661d2cbe173..94222f0d9227 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomCertificate_CreateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomCertificate_CreateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomDomain_CreateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomDomain_CreateExpanded.cs
index 59b5cd9c5536..8bafee324eee 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomDomain_CreateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubCustomDomain_CreateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubHub_CreateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubHub_CreateExpanded.cs
index 3ab5e41be9ba..671cb026beb5 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubHub_CreateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubHub_CreateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateExpanded.cs
index 3177e211a371..a42dd996ab89 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateViaIdentityExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateViaIdentityExpanded.cs
index de71f0254c22..588b6e148fa2 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateViaIdentityExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSubKey_RegenerateViaIdentityExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSub_CreateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSub_CreateExpanded.cs
index 208778774c3a..a9e67ee8f485 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSub_CreateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/NewAzWebPubSub_CreateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_Delete.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_Delete.cs
index 64a0e217728f..53c4d38c1559 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_Delete.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_Delete.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_DeleteViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_DeleteViaIdentity.cs
index 5cbee99ad95e..d3de288cf974 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_DeleteViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomCertificate_DeleteViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_Delete.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_Delete.cs
index 3f64a0a6be1e..fda7e1755b7c 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_Delete.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_Delete.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_DeleteViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_DeleteViaIdentity.cs
index 66a7f95138bd..da89161fbcf8 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_DeleteViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubCustomDomain_DeleteViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_Delete.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_Delete.cs
index 2ec1c86a8ae2..a024ba9480fd 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_Delete.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_Delete.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_DeleteViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_DeleteViaIdentity.cs
index ed4fdd368d80..2f13a71dc85f 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_DeleteViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSubHub_DeleteViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_Delete.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_Delete.cs
index b7910f8ab72a..4d1e0bfc6893 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_Delete.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_Delete.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_DeleteViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_DeleteViaIdentity.cs
index 8753164c2a6a..1ab35852740a 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_DeleteViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RemoveAzWebPubSub_DeleteViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RestErrorHandler.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RestErrorHandler.cs
index 914b04efb955..100ba1784b13 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RestErrorHandler.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RestErrorHandler.cs
@@ -4,7 +4,7 @@
using System.Management.Automation;
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_Restart.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_Restart.cs
index a36087c18df6..ac553a45d4d9 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_Restart.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_Restart.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_RestartViaIdentity.cs b/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_RestartViaIdentity.cs
index d2fa4d49fcf8..ec6371b1abb2 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_RestartViaIdentity.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/RestartAzWebPubSub_RestartViaIdentity.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/TestAzWebPubSubNameAvailability_CheckExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/TestAzWebPubSubNameAvailability_CheckExpanded.cs
index e0bf4b9d5abe..48baabb446dc 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/TestAzWebPubSubNameAvailability_CheckExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/TestAzWebPubSubNameAvailability_CheckExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateExpanded.cs
index f4465c800b5a..bd1e7afa7395 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateViaIdentityExpanded.cs b/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateViaIdentityExpanded.cs
index e079bb637a00..a76a74080bed 100644
--- a/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateViaIdentityExpanded.cs
+++ b/src/SignalR/SignalR.Autorest/custom/csharp/UpdateAzWebPubSub_UpdateViaIdentityExpanded.cs
@@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
-using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20;
+using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;
namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/Get-AzWebPubSubKey_ListViaIdentity.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/Get-AzWebPubSubKey_ListViaIdentity.ps1
index 080dd6f7256c..06e9fbf22f5c 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/Get-AzWebPubSubKey_ListViaIdentity.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/Get-AzWebPubSubKey_ListViaIdentity.ps1
@@ -30,7 +30,7 @@ SecondaryKey : ********
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys
+Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubKeys
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
#>
function Get-AzWebPubSubKey_ListViaIdentity
{
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubKeys])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='ListViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSub.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSub.ps1
index 5a74d26af21b..406feae8e25d 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSub.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSub.ps1
@@ -64,14 +64,14 @@ SystemDataCreatedByType : User
SystemDataLastModifiedAt : 2021-10-12 7:21:58 AM
SystemDataLastModifiedBy : testuser@microsoft.com
SystemDataLastModifiedByType : User
-Tag : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.TrackedResourceTags
+Tag : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.TrackedResourceTags
Type : Microsoft.SignalRService/WebPubSub
-UserAssignedIdentity : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ManagedIdentityUserAssig
+UserAssignedIdentity : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ManagedIdentityUserAssig
nedIdentities
Version : 1.0
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubResource
+Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -92,7 +92,7 @@ RESOURCELOGCATEGORY : Gets or sets the list of category
#>
function New-AzWebPubSub
{
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubResource])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -117,46 +117,44 @@ function New-AzWebPubSub
# The subscription ID forms part of the URI for every service call.
${SubscriptionId},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.Management.Automation.SwitchParameter]
# DisableLocalAuthEnable or disable aad authWhen set as true, connection with AuthType=aad won't work.
${DisableAadAuth},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.Management.Automation.SwitchParameter]
# DisableLocalAuthEnable or disable local auth with AccessKeyWhen set as true, connection with AccessKey=xxx won't work.
${DisableLocalAuth},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.Management.Automation.SwitchParameter]
- # Request client certificate during TLS handshake if enabled
- ${EnableTlsClientCert},
+ # Determines whether to enable a system-assigned identity for the resource.
+ ${EnableSystemAssignedIdentity},
- [Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.ManagedIdentityType])]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.ManagedIdentityType]
- # Represent the identity type: systemAssigned, userAssigned, None
- ${IdentityType},
+ [System.Management.Automation.SwitchParameter]
+ # Request client certificate during TLS handshake if enabled
+ ${EnableTlsClientCert},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ILiveTraceCategory[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ILiveTraceCategory[]]
# Gets or sets the list of category configurations.
- # To construct, see NOTES section for LIVETRACECATEGORY properties and create a hash table.
${LiveTraceCategory},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# Indicates whether or not enable live trace.When it's set to true, live trace client can connect to the service.Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories".Available values: true, false.Case insensitive.
${LiveTraceEnabled},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# The GEO location of the resource.
@@ -164,98 +162,110 @@ function New-AzWebPubSub
# West US | East US | North Central US | South Central US.
${Location},
- [Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.AclAction])]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.PSArgumentCompleterAttribute("Allow", "Deny")]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.AclAction]
- # Default action when no other rule matches
+ [System.String]
+ # Azure Networking ACL Action.
${NetworkAcLDefaultAction},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IPrivateEndpointAcl[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IPrivateEndpointAcl[]]
# ACLs for requests from private endpoints
- # To construct, see NOTES section for PRIVATEENDPOINTACL properties and create a hash table.
${PrivateEndpointAcl},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# Enable or disable public network access.
# Default to "Enabled".When it's Enabled, network ACLs still apply.When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
${PublicNetworkAccess},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.PSArgumentCompleterAttribute("ClientConnection", "ServerConnection", "RESTAPI", "Trace")]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType[]]
+ [System.String[]]
# Allowed request types.
# The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
${PublicNetworkAllow},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.PSArgumentCompleterAttribute("ClientConnection", "ServerConnection", "RESTAPI", "Trace")]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType[]]
+ [System.String[]]
# Denied request types.
# The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
${PublicNetworkDeny},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IResourceLogCategory[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IResourceLogCategory[]]
# Gets or sets the list of category configurations.
- # To construct, see NOTES section for RESOURCELOGCATEGORY properties and create a hash table.
${ResourceLogCategory},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.Int32]
# Optional, integer.
# The unit count of the resource.
- # 1 by default.If present, following values are allowed: Free: 1 Standard: 1,2,5,10,20,50,100
+ # 1 by default.If present, following values are allowed: Free: 1; Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
${SkuCapacity},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# The name of the SKU.
- # Required.Allowed values: Standard_S1, Free_F1
+ # Required.Allowed values: Standard_S1, Free_F1, Premium_P1
${SkuName},
- [Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubSkuTier])]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.PSArgumentCompleterAttribute("Free", "Basic", "Standard", "Premium")]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubSkuTier]
+ [System.String]
# Optional tier of this particular SKU.
# 'Standard' or 'Free'.
# `Basic` is deprecated, use `Standard` instead.
${SkuTier},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ITrackedResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ITrackedResourceTags]))]
[System.Collections.Hashtable]
# Tags of the service which is a list of key value pairs that describe the resource.
${Tag},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IManagedIdentityUserAssignedIdentities]))]
- [System.Collections.Hashtable]
- # Get or set the user assigned identities
+ [System.String[]]
+ # The array of user assigned identities associated with the resource.
+ # The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.'
${UserAssignedIdentity},
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Path of Json file supplied to the Create operation
+ ${JsonFilePath},
+
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Json string supplied to the Create operation
+ ${JsonString},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubCustomDomain.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubCustomDomain.ps1
index e69e2bd92105..18e8c5da9090 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubCustomDomain.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubCustomDomain.ps1
@@ -22,7 +22,7 @@ Create or update a custom domain.
#>
function New-AzWebPubSubCustomDomain
{
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ICustomDomain])]
+ [OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -31,20 +31,26 @@ function New-AzWebPubSubCustomDomain
# Custom domain name.
${Name},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[System.String]
# The name of the resource group that contains the resource.
# You can obtain this value from the Azure Resource Manager API or the portal.
${ResourceGroupName},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[System.String]
# The name of the resource.
${ResourceName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath')]
+ [Parameter(ParameterSetName='CreateViaJsonString')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
@@ -52,24 +58,45 @@ function New-AzWebPubSubCustomDomain
# The subscription ID forms part of the URI for every service call.
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentityWebPubSubExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity]
+ # Identity Parameter
+ ${WebPubSubInputObject},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentityWebPubSubExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# The custom domain name.
${DomainName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityWebPubSubExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
[System.String]
# Resource ID.
${CustomCertificateId},
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Path of Json file supplied to the Create operation
+ ${JsonFilePath},
+
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Json string supplied to the Create operation
+ ${JsonString},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventHubEndpointObject.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventHubEndpointObject.ps1
index 6a0ef9bc34af..bab791a0a7ee 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventHubEndpointObject.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventHubEndpointObject.ps1
@@ -21,11 +21,12 @@ Create an in-memory object for EventHubEndpoint.
Create an in-memory object for EventHubEndpoint.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpoint
+Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventHubEndpoint
#>
function New-AzWebPubSubEventHubEndpointObject
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpoint')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventHubEndpoint')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -39,7 +40,7 @@ function New-AzWebPubSubEventHubEndpointObject
process
{
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpoint]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventHubEndpoint]::New()
if ($PSBoundParameters.ContainsKey('EventHubName'))
{
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventNameFilterObject.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventNameFilterObject.ps1
index ecb95bd7d70e..11d419c0383d 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventNameFilterObject.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubEventNameFilterObject.ps1
@@ -21,11 +21,12 @@ Create an in-memory object for EventNameFilter.
Create an in-memory object for EventNameFilter.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilter
+Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventNameFilter
#>
function New-AzWebPubSubEventNameFilterObject
{
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilter')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventNameFilter')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -43,7 +44,7 @@ function New-AzWebPubSubEventNameFilterObject
process
{
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilter]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventNameFilter]::New()
if ($PSBoundParameters.ContainsKey('SystemEvent'))
{
diff --git a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubKey.ps1 b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubKey.ps1
index 9d6816fc1ea9..2fa3fc92c1db 100644
--- a/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubKey.ps1
+++ b/src/SignalR/SignalR.Autorest/custom/scripts/New-AzWebPubSubKey.ps1
@@ -24,7 +24,7 @@ PS C:\> $identity | New-AzWebPubSubKey -KeyType Primary
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys
+Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubKeys
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -42,10 +42,12 @@ INPUTOBJECT : Identity Parameter
#>
function New-AzWebPubSubKey
{
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys])]
+ [OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='RegenerateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='RegenerateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='RegenerateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='RegenerateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[System.String]
# The name of the resource group that contains the resource.
@@ -53,12 +55,16 @@ function New-AzWebPubSubKey
${ResourceGroupName},
[Parameter(ParameterSetName='RegenerateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='RegenerateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='RegenerateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[System.String]
# The name of the resource.
${ResourceName},
[Parameter(ParameterSetName='RegenerateExpanded')]
+ [Parameter(ParameterSetName='RegenerateViaJsonFilePath')]
+ [Parameter(ParameterSetName='RegenerateViaJsonString')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
@@ -70,23 +76,35 @@ function New-AzWebPubSubKey
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity]
# Identity Parameter
- # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
- [Parameter(Mandatory)]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.KeyType])]
+ [Parameter(ParameterSetName='RegenerateExpanded')]
+ [Parameter(ParameterSetName='RegenerateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.PSArgumentCompleterAttribute("Primary", "Secondary", "Salt")]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.KeyType]
- # The keyType to regenerate.
- # Must be either 'primary', 'secondary' or 'salt'(case-insensitive).
+ [System.String]
+ # The type of access key.
${KeyType},
+ [Parameter(ParameterSetName='RegenerateViaJsonFilePath', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Path of Json file supplied to the Regenerate operation
+ ${JsonFilePath},
+
+ [Parameter(ParameterSetName='RegenerateViaJsonString', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Body')]
+ [System.String]
+ # Json string supplied to the Regenerate operation
+ ${JsonString},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
diff --git a/src/SignalR/SignalR.Autorest/docs/Az.SignalR.md b/src/SignalR/SignalR.Autorest/docs/Az.SignalR.md
index d4dc20ba1a41..c64fe1b9a43f 100644
--- a/src/SignalR/SignalR.Autorest/docs/Az.SignalR.md
+++ b/src/SignalR/SignalR.Autorest/docs/Az.SignalR.md
@@ -1,6 +1,6 @@
---
Module Name: Az.SignalR
-Module Guid: 887a3597-2c6e-46ff-a239-c56a20f0bf79
+Module Guid: b929d912-da6e-4ba9-9bc9-cc0dc77bc719
Download Help Link: https://learn.microsoft.com/powershell/module/az.signalr
Help Version: 1.0.0.0
Locale: en-US
@@ -36,7 +36,7 @@ List resource usage quotas by location.
Create or update a resource.
### [New-AzWebPubSubCustomCertificate](New-AzWebPubSubCustomCertificate.md)
-Create or update a custom certificate.
+Create a custom certificate.
### [New-AzWebPubSubCustomDomain](New-AzWebPubSubCustomDomain.md)
Create or update a custom domain.
@@ -48,7 +48,7 @@ Create an in-memory object for EventHubEndpoint.
Create an in-memory object for EventNameFilter.
### [New-AzWebPubSubHub](New-AzWebPubSubHub.md)
-Create or update a hub setting.
+Create a hub setting.
### [New-AzWebPubSubKey](New-AzWebPubSubKey.md)
Regenerate the access key for the resource.
@@ -73,5 +73,11 @@ Operation to restart a resource.
Checks that the resource name is valid and is not already in use.
### [Update-AzWebPubSub](Update-AzWebPubSub.md)
-Operation to update an exiting resource.
+Update a resource.
+
+### [Update-AzWebPubSubCustomDomain](Update-AzWebPubSubCustomDomain.md)
+Update a custom domain.
+
+### [Update-AzWebPubSubHub](Update-AzWebPubSubHub.md)
+Update a hub setting.
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSub.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSub.md
index bce6e99fb67b..5aa79c4dc6a1 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSub.md
@@ -116,7 +116,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.WebPubSub.Models.IWebPubSubIdentity
@@ -186,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubResource
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubResource
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomCertificate.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomCertificate.md
index 28c5a5d00bcb..ba916be7222b 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomCertificate.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomCertificate.md
@@ -30,6 +30,12 @@ Get-AzWebPubSubCustomCertificate -InputObject [-DefaultProf
[]
```
+### GetViaIdentityWebPubSub
+```
+Get-AzWebPubSubCustomCertificate -Name -WebPubSubInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Get a custom certificate.
@@ -95,7 +101,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.WebPubSub.Models.IWebPubSubIdentity
@@ -114,7 +119,7 @@ Custom certificate name
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityWebPubSub
Aliases: CertificateName
Required: True
@@ -171,6 +176,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: GetViaIdentityWebPubSub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
@@ -180,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ICustomCertificate
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ICustomCertificate
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomDomain.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomDomain.md
index b18ae0f5ebb1..8c2d523145d6 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomDomain.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubCustomDomain.md
@@ -30,6 +30,12 @@ Get-AzWebPubSubCustomDomain -InputObject [-DefaultProfile <
[]
```
+### GetViaIdentityWebPubSub
+```
+Get-AzWebPubSubCustomDomain -Name -WebPubSubInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Get a custom domain.
@@ -95,7 +101,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.WebPubSub.Models.IWebPubSubIdentity
@@ -114,7 +119,7 @@ Custom domain name.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityWebPubSub
Aliases:
Required: True
@@ -171,6 +176,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: GetViaIdentityWebPubSub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
@@ -180,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ICustomDomain
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ICustomDomain
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubHub.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubHub.md
index 3bc30c5eb0ba..90fe19661948 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubHub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubHub.md
@@ -29,6 +29,12 @@ Get-AzWebPubSubHub -Name -ResourceGroupName -ResourceName [-DefaultProfile ] []
```
+### GetViaIdentityHub
+```
+Get-AzWebPubSubHub -HubInputObject -ResourceName [-DefaultProfile ]
+ []
+```
+
## DESCRIPTION
Get a hub setting.
@@ -96,9 +102,23 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -HubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: GetViaIdentityHub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+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.WebPubSub.Models.IWebPubSubIdentity
@@ -148,7 +168,7 @@ The name of the resource.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityHub, List
Aliases:
Required: True
@@ -183,7 +203,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubHub
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubHub
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubKey.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubKey.md
index c1e1d0f316c1..a297f80ec9dd 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubKey.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubKey.md
@@ -179,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubKeys
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubSku.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubSku.md
index dead8e810714..f3aa90afd600 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubSku.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubSku.md
@@ -128,7 +128,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ISkuList
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ISkuList
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubUsage.md b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubUsage.md
index 8a2847094548..9784dc7e3a5b 100644
--- a/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubUsage.md
+++ b/src/SignalR/SignalR.Autorest/docs/Get-AzWebPubSubUsage.md
@@ -101,7 +101,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ISignalRServiceUsage
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ISignalRServiceUsage
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSub.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSub.md
index bbbf027ae7c3..249e0a58e599 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSub.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSub.md
@@ -12,16 +12,28 @@ Create or update a resource.
## SYNTAX
+### CreateExpanded (Default)
```
-New-AzWebPubSub -Name -ResourceGroupName -Location -SkuName
- [-SubscriptionId ] [-DisableAadAuth] [-DisableLocalAuth] [-EnableTlsClientCert]
- [-IdentityType ] [-LiveTraceCategory ]
- [-LiveTraceEnabled ] [-NetworkAcLDefaultAction ]
- [-PrivateEndpointAcl ] [-PublicNetworkAccess ]
- [-PublicNetworkAllow ] [-PublicNetworkDeny ]
- [-ResourceLogCategory ] [-SkuCapacity ] [-SkuTier ]
- [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait]
- [-Confirm] [-WhatIf] []
+New-AzWebPubSub -Name -ResourceGroupName [-SubscriptionId ] [-DisableAadAuth]
+ [-DisableLocalAuth] [-EnableSystemAssignedIdentity] [-EnableTlsClientCert]
+ [-LiveTraceCategory ] [-LiveTraceEnabled ] [-Location ]
+ [-NetworkAcLDefaultAction ] [-PrivateEndpointAcl ]
+ [-PublicNetworkAccess ] [-PublicNetworkAllow ] [-PublicNetworkDeny ]
+ [-ResourceLogCategory ] [-SkuCapacity ] [-SkuName ]
+ [-SkuTier ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ]
+ [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzWebPubSub -Name -ResourceGroupName -JsonFilePath [-SubscriptionId ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonString
+```
+New-AzWebPubSub -Name -ResourceGroupName -JsonString [-SubscriptionId ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
```
## DESCRIPTION
@@ -45,7 +57,7 @@ psdemo-wps eastus Standard_S1
### Example 2: Create a Web PubSub resource with more parameters and show the result
```powershell
$wps = New-AzWebPubSub -ResourceGroupName psdemo -Name psdemo-wps `
--Location eastus -SkuName Standard_S1 -IdentityType SystemAssigned -LiveTraceEnabled true `
+-Location eastus -SkuName Standard_S1 -EnableSystemAssignedIdentity -LiveTraceEnabled true `
-LiveTraceCategory @{ Name='ConnectivityLogs' ; Enabled = 'true' }, @{ Name='MessageLogs' ; Enabled = 'true' }
```
@@ -75,7 +87,8 @@ Accept wildcard characters: False
```
### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
+The DefaultProfile parameter is not functional.
+Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
```yaml
Type: System.Management.Automation.PSObject
@@ -94,7 +107,7 @@ DisableLocalAuthEnable or disable aad authWhen set as true, connection with Auth
```yaml
Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -109,7 +122,22 @@ DisableLocalAuthEnable or disable local auth with AccessKeyWhen set as true, con
```yaml
Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EnableSystemAssignedIdentity
+Determines whether to enable a system-assigned identity for the resource.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -124,7 +152,7 @@ Request client certificate during TLS handshake if enabled
```yaml
Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -134,15 +162,30 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -IdentityType
-Represent the identity type: systemAssigned, userAssigned, None
+### -JsonFilePath
+Path of Json file supplied to the Create operation
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.ManagedIdentityType
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
Aliases:
-Required: False
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -151,11 +194,10 @@ Accept wildcard characters: False
### -LiveTraceCategory
Gets or sets the list of category configurations.
-To construct, see NOTES section for LIVETRACECATEGORY properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ILiveTraceCategory[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ILiveTraceCategory[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -170,7 +212,7 @@ Indicates whether or not enable live trace.When it's set to true, live trace cli
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -187,10 +229,10 @@ West US | East US | North Central US | South Central US.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
-Required: True
+Required: False
Position: Named
Default value: None
Accept pipeline input: False
@@ -213,11 +255,11 @@ Accept wildcard characters: False
```
### -NetworkAcLDefaultAction
-Default action when no other rule matches
+Azure Networking ACL Action.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.AclAction
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -244,11 +286,10 @@ Accept wildcard characters: False
### -PrivateEndpointAcl
ACLs for requests from private endpoints
-To construct, see NOTES section for PRIVATEENDPOINTACL properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IPrivateEndpointAcl[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IPrivateEndpointAcl[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -264,7 +305,7 @@ Default to "Enabled".When it's Enabled, network ACLs still apply.When it's Disab
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -279,8 +320,8 @@ Allowed request types.
The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType[]
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -295,8 +336,8 @@ Denied request types.
The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubRequestType[]
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -324,11 +365,10 @@ Accept wildcard characters: False
### -ResourceLogCategory
Gets or sets the list of category configurations.
-To construct, see NOTES section for RESOURCELOGCATEGORY properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IResourceLogCategory[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IResourceLogCategory[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -341,11 +381,11 @@ Accept wildcard characters: False
### -SkuCapacity
Optional, integer.
The unit count of the resource.
-1 by default.If present, following values are allowed: Free: 1 Standard: 1,2,5,10,20,50,100
+1 by default.If present, following values are allowed: Free: 1; Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
```yaml
Type: System.Int32
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -357,14 +397,14 @@ Accept wildcard characters: False
### -SkuName
The name of the SKU.
-Required.Allowed values: Standard_S1, Free_F1
+Required.Allowed values: Standard_S1, Free_F1, Premium_P1
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
-Required: True
+Required: False
Position: Named
Default value: None
Accept pipeline input: False
@@ -377,8 +417,8 @@ Optional tier of this particular SKU.
`Basic` is deprecated, use `Standard` instead.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.WebPubSubSkuTier
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -409,7 +449,7 @@ Tags of the service which is a list of key value pairs that describe the resourc
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -420,11 +460,12 @@ Accept wildcard characters: False
```
### -UserAssignedIdentity
-Get or set the user assigned identities
+The array of user assigned identities associated with the resource.
+The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.'
```yaml
-Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -472,7 +513,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubResource
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubResource
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomCertificate.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomCertificate.md
index 27fac0763507..13fa84e629a1 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomCertificate.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomCertificate.md
@@ -8,10 +8,11 @@ schema: 2.0.0
# New-AzWebPubSubCustomCertificate
## SYNOPSIS
-Create or update a custom certificate.
+Create a custom certificate.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzWebPubSubCustomCertificate -Name -ResourceGroupName -ResourceName
-KeyVaultBaseUri -KeyVaultSecretName [-SubscriptionId ]
@@ -19,8 +20,29 @@ New-AzWebPubSubCustomCertificate -Name -ResourceGroupName -Res
[]
```
+### CreateViaIdentityWebPubSubExpanded
+```
+New-AzWebPubSubCustomCertificate -Name -WebPubSubInputObject
+ -KeyVaultBaseUri -KeyVaultSecretName [-KeyVaultSecretVersion ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzWebPubSubCustomCertificate -Name -ResourceGroupName -ResourceName
+ -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm]
+ [-WhatIf] []
+```
+
+### CreateViaJsonString
+```
+New-AzWebPubSubCustomCertificate -Name -ResourceGroupName -ResourceName
+ -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm]
+ [-WhatIf] []
+```
+
## DESCRIPTION
-Create or update a custom certificate.
+Create a custom certificate.
## EXAMPLES
@@ -70,12 +92,42 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -KeyVaultBaseUri
Base uri of the KeyVault that stores certificate.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityWebPubSubExpanded
Aliases:
Required: True
@@ -90,7 +142,7 @@ Certificate secret name.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityWebPubSubExpanded
Aliases:
Required: True
@@ -105,7 +157,7 @@ Certificate secret version.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityWebPubSubExpanded
Aliases:
Required: False
@@ -151,7 +203,7 @@ You can obtain this value from the Azure Resource Manager API or the portal.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -166,7 +218,7 @@ The name of the resource.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -182,7 +234,7 @@ The subscription ID forms part of the URI for every service call.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: False
@@ -192,6 +244,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: CreateViaIdentityWebPubSubExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -Confirm
Prompts you for confirmation before running the cmdlet.
@@ -228,9 +295,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ICustomCertificate
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.ICustomCertificate
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomDomain.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomDomain.md
index 161359b65d48..d8c2689fdc74 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomDomain.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubCustomDomain.md
@@ -12,12 +12,34 @@ Create or update a custom domain.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzWebPubSubCustomDomain -Name -ResourceGroupName -ResourceName
-DomainName [-SubscriptionId ] [-CustomCertificateId ] [-DefaultProfile ]
[-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
```
+### CreateViaIdentityWebPubSubExpanded
+```
+New-AzWebPubSubCustomDomain -Name -WebPubSubInputObject -DomainName
+ [-CustomCertificateId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm]
+ [-WhatIf] []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzWebPubSubCustomDomain -Name -ResourceGroupName -ResourceName
+ -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru]
+ [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonString
+```
+New-AzWebPubSubCustomDomain -Name -ResourceGroupName -ResourceName
+ -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru]
+ [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
Create or update a custom domain.
@@ -59,7 +81,7 @@ Resource ID.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityWebPubSubExpanded
Aliases:
Required: False
@@ -70,7 +92,8 @@ Accept wildcard characters: False
```
### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
+The DefaultProfile parameter is not functional.
+Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
```yaml
Type: System.Management.Automation.PSObject
@@ -89,7 +112,37 @@ The custom domain name.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityWebPubSubExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
Aliases:
Required: True
@@ -150,7 +203,7 @@ You can obtain this value from the Azure Resource Manager API or the portal.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -165,7 +218,7 @@ The name of the resource.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -181,7 +234,7 @@ The subscription ID forms part of the URI for every service call.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: False
@@ -191,6 +244,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: CreateViaIdentityWebPubSubExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -Confirm
Prompts you for confirmation before running the cmdlet.
@@ -227,9 +295,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.ICustomDomain
+### System.Boolean
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventHubEndpointObject.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventHubEndpointObject.md
index 2214f9a38782..6c707765b431 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventHubEndpointObject.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventHubEndpointObject.md
@@ -76,7 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpoint
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventHubEndpoint
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventNameFilterObject.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventNameFilterObject.md
index 25fa74cd014b..1bd0205d7fac 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventNameFilterObject.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubEventNameFilterObject.md
@@ -84,7 +84,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventNameFilter
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.EventNameFilter
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubHub.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubHub.md
index 778684b85aa2..750a8431d2c1 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubHub.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubHub.md
@@ -8,10 +8,11 @@ schema: 2.0.0
# New-AzWebPubSubHub
## SYNOPSIS
-Create or update a hub setting.
+Create a hub setting.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzWebPubSubHub -Name -ResourceGroupName -ResourceName
[-SubscriptionId ] [-AnonymousConnectPolicy ] [-EventHandler ]
@@ -19,8 +20,29 @@ New-AzWebPubSubHub -Name -ResourceGroupName -ResourceName ]
```
+### CreateViaIdentityHubExpanded
+```
+New-AzWebPubSubHub -HubInputObject -ResourceName
+ [-AnonymousConnectPolicy ] [-EventHandler ] [-EventListener ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzWebPubSubHub -Name -ResourceGroupName -ResourceName -JsonFilePath
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonString
+```
+New-AzWebPubSubHub -Name -ResourceGroupName -ResourceName -JsonString
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
## DESCRIPTION
-Create or update a hub setting.
+Create a hub setting.
## EXAMPLES
@@ -73,7 +95,7 @@ Default to "deny".
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityHubExpanded
Aliases:
Required: False
@@ -116,11 +138,10 @@ Accept wildcard characters: False
### -EventHandler
Event handler of a hub.
-To construct, see NOTES section for EVENTHANDLER properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventHandler[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IEventHandler[]
+Parameter Sets: CreateExpanded, CreateViaIdentityHubExpanded
Aliases:
Required: False
@@ -133,11 +154,10 @@ Accept wildcard characters: False
### -EventListener
Event listener settings for forwarding your client events to listeners.Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.One event can be sent to multiple listeners, as long as it matches the filters in those listeners.
The order of the array elements doesn't matter.Maximum count of event listeners among all hubs is 10.
-To construct, see NOTES section for EVENTLISTENER properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventListener[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IEventListener[]
+Parameter Sets: CreateExpanded, CreateViaIdentityHubExpanded
Aliases:
Required: False
@@ -147,12 +167,57 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -HubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: CreateViaIdentityHubExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Name
The hub name.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases: HubName
Required: True
@@ -183,7 +248,7 @@ You can obtain this value from the Azure Resource Manager API or the portal.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -214,7 +279,7 @@ The subscription ID forms part of the URI for every service call.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: False
@@ -260,9 +325,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubHub
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubHub
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubKey.md b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubKey.md
index 28dc297a8325..02ffeb5c26b9 100644
--- a/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubKey.md
+++ b/src/SignalR/SignalR.Autorest/docs/New-AzWebPubSubKey.md
@@ -15,17 +15,31 @@ PrimaryKey and SecondaryKey cannot be regenerated at the same time.
### RegenerateExpanded (Default)
```
-New-AzWebPubSubKey -ResourceGroupName -ResourceName -KeyType
- [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
+New-AzWebPubSubKey -ResourceGroupName -ResourceName [-SubscriptionId ]
+ [-KeyType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
[]
```
### RegenerateViaIdentityExpanded
```
-New-AzWebPubSubKey -InputObject -KeyType [-DefaultProfile ] [-AsJob]
+New-AzWebPubSubKey -InputObject [-KeyType ] [-DefaultProfile ] [-AsJob]
[-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
```
+### RegenerateViaJsonFilePath
+```
+New-AzWebPubSubKey -ResourceGroupName -ResourceName -JsonFilePath
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
+ []
+```
+
+### RegenerateViaJsonString
+```
+New-AzWebPubSubKey -ResourceGroupName -ResourceName -JsonString
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
+ []
+```
+
## DESCRIPTION
Regenerate the access key for the resource.
PrimaryKey and SecondaryKey cannot be regenerated at the same time.
@@ -79,7 +93,8 @@ Accept wildcard characters: False
```
### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
+The DefaultProfile parameter is not functional.
+Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
```yaml
Type: System.Management.Automation.PSObject
@@ -95,7 +110,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.WebPubSub.Models.IWebPubSubIdentity
@@ -109,13 +123,12 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
-### -KeyType
-The keyType to regenerate.
-Must be either 'primary', 'secondary' or 'salt'(case-insensitive).
+### -JsonFilePath
+Path of Json file supplied to the Regenerate operation
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Support.KeyType
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: RegenerateViaJsonFilePath
Aliases:
Required: True
@@ -125,6 +138,36 @@ 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
+```
+
+### -KeyType
+The type of access key.
+
+```yaml
+Type: System.String
+Parameter Sets: RegenerateExpanded, RegenerateViaIdentityExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -NoWait
Run the command asynchronously
@@ -161,7 +204,7 @@ You can obtain this value from the Azure Resource Manager API or the portal.
```yaml
Type: System.String
-Parameter Sets: RegenerateExpanded
+Parameter Sets: RegenerateExpanded, RegenerateViaJsonFilePath, RegenerateViaJsonString
Aliases:
Required: True
@@ -176,7 +219,7 @@ The name of the resource.
```yaml
Type: System.String
-Parameter Sets: RegenerateExpanded
+Parameter Sets: RegenerateExpanded, RegenerateViaJsonFilePath, RegenerateViaJsonString
Aliases:
Required: True
@@ -192,7 +235,7 @@ The subscription ID forms part of the URI for every service call.
```yaml
Type: System.String
-Parameter Sets: RegenerateExpanded
+Parameter Sets: RegenerateExpanded, RegenerateViaJsonFilePath, RegenerateViaJsonString
Aliases:
Required: False
@@ -242,7 +285,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubKeys
+### System.Boolean
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSub.md b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSub.md
index ac6caa1a9e9c..fa018bd4ce88 100644
--- a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSub.md
@@ -82,7 +82,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.WebPubSub.Models.IWebPubSubIdentity
diff --git a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomCertificate.md b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomCertificate.md
index 75ae06b5fb90..4d21a44546f9 100644
--- a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomCertificate.md
+++ b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomCertificate.md
@@ -24,6 +24,12 @@ Remove-AzWebPubSubCustomCertificate -InputObject [-DefaultP
[-Confirm] [-WhatIf] []
```
+### DeleteViaIdentityWebPubSub
+```
+Remove-AzWebPubSubCustomCertificate -Name -WebPubSubInputObject
+ [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
Delete a custom certificate.
@@ -64,7 +70,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.WebPubSub.Models.IWebPubSubIdentity
@@ -83,7 +88,7 @@ Custom certificate name
```yaml
Type: System.String
-Parameter Sets: Delete
+Parameter Sets: Delete, DeleteViaIdentityWebPubSub
Aliases: CertificateName
Required: True
@@ -155,6 +160,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: DeleteViaIdentityWebPubSub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -Confirm
Prompts you for confirmation before running the cmdlet.
diff --git a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomDomain.md b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomDomain.md
index 0ed68d3d409a..39547c838ea9 100644
--- a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomDomain.md
+++ b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubCustomDomain.md
@@ -25,6 +25,12 @@ Remove-AzWebPubSubCustomDomain -InputObject [-DefaultProfil
[-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
```
+### DeleteViaIdentityWebPubSub
+```
+Remove-AzWebPubSubCustomDomain -Name -WebPubSubInputObject
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
Delete a custom domain.
@@ -80,7 +86,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.WebPubSub.Models.IWebPubSubIdentity
@@ -99,7 +104,7 @@ Custom domain name.
```yaml
Type: System.String
-Parameter Sets: Delete
+Parameter Sets: Delete, DeleteViaIdentityWebPubSub
Aliases:
Required: True
@@ -186,6 +191,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -WebPubSubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: DeleteViaIdentityWebPubSub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -Confirm
Prompts you for confirmation before running the cmdlet.
diff --git a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubHub.md b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubHub.md
index 099238a8a6ea..d427639dccef 100644
--- a/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubHub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Remove-AzWebPubSubHub.md
@@ -25,6 +25,12 @@ Remove-AzWebPubSubHub -InputObject [-DefaultProfile ]
```
+### DeleteViaIdentityHub
+```
+Remove-AzWebPubSubHub -HubInputObject -ResourceName [-DefaultProfile ]
+ [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
Delete a hub setting.
@@ -82,9 +88,23 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -HubInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.IWebPubSubIdentity
+Parameter Sets: DeleteViaIdentityHub
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+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.WebPubSub.Models.IWebPubSubIdentity
@@ -164,7 +184,7 @@ The name of the resource.
```yaml
Type: System.String
-Parameter Sets: Delete
+Parameter Sets: Delete, DeleteViaIdentityHub
Aliases:
Required: True
diff --git a/src/SignalR/SignalR.Autorest/docs/Restart-AzWebPubSub.md b/src/SignalR/SignalR.Autorest/docs/Restart-AzWebPubSub.md
index a7f9c517e5f1..9b4329b978ae 100644
--- a/src/SignalR/SignalR.Autorest/docs/Restart-AzWebPubSub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Restart-AzWebPubSub.md
@@ -82,7 +82,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.WebPubSub.Models.IWebPubSubIdentity
diff --git a/src/SignalR/SignalR.Autorest/docs/Test-AzWebPubSubNameAvailability.md b/src/SignalR/SignalR.Autorest/docs/Test-AzWebPubSubNameAvailability.md
index e2f7faa339cb..a455d689bebf 100644
--- a/src/SignalR/SignalR.Autorest/docs/Test-AzWebPubSubNameAvailability.md
+++ b/src/SignalR/SignalR.Autorest/docs/Test-AzWebPubSubNameAvailability.md
@@ -12,11 +12,24 @@ Checks that the resource name is valid and is not already in use.
## SYNTAX
+### CheckExpanded (Default)
```
Test-AzWebPubSubNameAvailability -Location -Name [-SubscriptionId ]
[-DefaultProfile ] [-Confirm] [-WhatIf] []
```
+### CheckViaJsonFilePath
+```
+Test-AzWebPubSubNameAvailability -Location -JsonFilePath [-SubscriptionId ]
+ [-DefaultProfile ] [-Confirm] [-WhatIf] []
+```
+
+### CheckViaJsonString
+```
+Test-AzWebPubSubNameAvailability -Location -JsonString [-SubscriptionId ]
+ [-DefaultProfile ] [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
Checks that the resource name is valid and is not already in use.
@@ -53,6 +66,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Check operation
+
+```yaml
+Type: System.String
+Parameter Sets: CheckViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Check operation
+
+```yaml
+Type: System.String
+Parameter Sets: CheckViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Location
the region
@@ -74,7 +117,7 @@ e.g."my-resource-name"
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CheckExpanded
Aliases:
Required: True
@@ -138,7 +181,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.INameAvailability
+### Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.INameAvailability
## NOTES
diff --git a/src/SignalR/SignalR.Autorest/docs/Update-AzWebPubSub.md b/src/SignalR/SignalR.Autorest/docs/Update-AzWebPubSub.md
index 100ccaa9328d..8dd0b0ec2f1e 100644
--- a/src/SignalR/SignalR.Autorest/docs/Update-AzWebPubSub.md
+++ b/src/SignalR/SignalR.Autorest/docs/Update-AzWebPubSub.md
@@ -8,44 +8,43 @@ schema: 2.0.0
# Update-AzWebPubSub
## SYNOPSIS
-Operation to update an exiting resource.
+Update a resource.
## SYNTAX
### UpdateExpanded (Default)
```
Update-AzWebPubSub -Name -ResourceGroupName [-SubscriptionId ] [-DisableAadAuth]
- [-DisableLocalAuth] [-EnableTlsClientCert] [-IdentityType ]
- [-LiveTraceCategory ] [-LiveTraceEnabled ]
- [-NetworkAcLDefaultAction ] [-PrivateEndpointAcl ]
- [-PublicNetworkAccess ] [-PublicNetworkAllow ]
- [-PublicNetworkDeny ] [-ResourceLogCategory ]
- [-SkuCapacity ] [-SkuName ] [-SkuTier ] [-Tag ]
- [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
- []
+ [-DisableLocalAuth] [-EnableSystemAssignedIdentity ] [-EnableTlsClientCert]
+ [-LiveTraceCategory ] [-LiveTraceEnabled ] [-NetworkAcLDefaultAction ]
+ [-PrivateEndpointAcl ] [-PublicNetworkAccess ]
+ [-PublicNetworkAllow ] [-PublicNetworkDeny ]
+ [-ResourceLogCategory