Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/SignalR/SignalR.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@ 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: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
- where:
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
remove: true
# Remove the set-* cmdlet
- where:
Expand Down Expand Up @@ -328,6 +327,10 @@ directive:
set:
parameter-name: Name
alias: CertificateName
- where:
subject: WebPubSubCustomCertificate
verb: Update
remove: true
# Disable Inline on the Baseclass(Model).
- no-inline:
- EventListenerEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;

namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
public partial class UpdateAzWebPubSubCustomDomain_UpdateExpanded
{
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<IErrorResponse> errorResponseTask, ref Task<bool> returnNow)
{
this.WriteError(responseMessage, errorResponseTask, ref returnNow);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models;

namespace Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Cmdlets
{
public partial class UpdateAzWebPubSubCustomDomain_UpdateViaIdentityExpanded
{
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<IErrorResponse> errorResponseTask, ref Task<bool> returnNow)
{
this.WriteError(responseMessage, errorResponseTask, ref returnNow);
}
}
}
Loading
Loading