Skip to content
Merged
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
3 changes: 3 additions & 0 deletions src/Relay/Relay/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
- Additional information about change #1
-->
## Upcoming Release
* Added breaking change message for cmdlets.
* `Set-AzRelayNamespace`
* `Get-AzRelayOperation`

## Version 1.0.3
* Update references in .psd1 to use relative path
Expand Down
2 changes: 2 additions & 0 deletions src/Relay/Relay/Cmdlets/Namespace/SetAzureRelayNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using Microsoft.Azure.Commands.Relay.Models;
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System.Collections;
using System.Collections.Generic;
using System.Management.Automation;
Expand All @@ -23,6 +24,7 @@ namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
/// <summary>
/// 'Set-AzRelayNamespace' Cmdlet updates the specified Relay Namespace
/// </summary>
[GenericBreakingChange("Set-AzRelayNamespace will be removed in an upcoming breaking change release, you can use Update-AzRelayNamespace in a future release", "2.0.0")]
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayNamespace", SupportsShouldProcess = true), OutputType(typeof(PSRelayNamespaceAttributes))]
public class SetAzureRelayNamespace : AzureRelayCmdletBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Relay/Relay/Cmdlets/Operations/GetAzureRelayOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;

namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
{
/// <summary>
/// 'Get-AzRelayOperation' Cmdlet retrive the Operations List
/// </summary>
[GenericBreakingChange("Get-AzRelayOperation will be removed in an upcoming breaking change release. Please use 'Get-AzProviderOperation Microsoft.Relay/*'", "2.0.0")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayOperation"), OutputType(typeof(PSOperationAttributes))]
public class GetAzureRmRelayOperation : AzureRelayCmdletBase
{
Expand Down