forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformatted exception message for cmdlets (Azure#18932)
* Move DnsResolver to main * Update Changelog.md Co-authored-by: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com>
- Loading branch information
1 parent
221a722
commit f52066b
Showing
64 changed files
with
1,014 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# | ||
# Generated by: Microsoft Corporation | ||
# | ||
# Generated on: 7/6/2022 | ||
# Generated on: 7/14/2022 | ||
# | ||
|
||
@{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetForwardingRule_Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetForwardingRule_Get | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetForwardingRule_GetViaIdentity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetForwardingRule_GetViaIdentity | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetForwardingRule_List.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetForwardingRule_List | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetVirtualNetworkLink_Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetVirtualNetworkLink_Get | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetVirtualNetworkLink_GetViaIdentity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetVirtualNetworkLink_GetViaIdentity | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRulesetVirtualNetworkLink_List.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRulesetVirtualNetworkLink_List | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRuleset_Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRuleset_Get | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/DnsResolver/custom/csharp/GetAzDnsForwardingRuleset_GetViaIdentity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DnsResolver.Models.Api20220701; | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Cmdlets | ||
{ | ||
public partial class GetAzDnsForwardingRuleset_GetViaIdentity | ||
{ | ||
partial void overrideOnDefault(HttpResponseMessage responseMessage, Task<ICloudError> errorResponseTask, ref Task<bool> returnNow) | ||
{ | ||
this.WriteError(responseMessage, errorResponseTask, ref returnNow); | ||
} | ||
} | ||
} |
Oops, something went wrong.