Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure api management breaking change notifications #11602

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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;

[GenericBreakingChange("Output changed: ClientSecret will not be returned anymore. Additional cmdlet will be added to retrieve ClientSecret.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementAuthorizationServer", DefaultParameterSetName = ContextParameterSet)]
[OutputType(typeof(PsApiManagementOAuth2AuthorizationServer))]
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;

[GenericBreakingChange("Output changed: ClientSecret will not be returned anymore. Additional cmdlet will be added to retrieve ClientSecret.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementIdentityProvider", DefaultParameterSetName = AllIdentityProviders)]
[OutputType(typeof(PsApiManagementIdentityProvider))]
public class GetAzureApiManagementIdentityProvider : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Collections.Generic;
using System.Management.Automation;

[GenericBreakingChange("Output changed: ClientSecret will not be returned anymore. Additional cmdlet will be added to retrieve ClientSecret.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementOpenIdConnectProvider", DefaultParameterSetName = GetAll)]
[OutputType(typeof(PsApiManagementOpenIdConnectProvider))]
public class GetAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Collections.Generic;
using System.Management.Automation;

[CmdletDeprecation(ReplacementCmdletName = "Get-AzureApiManagementNamedValue")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementProperty", DefaultParameterSetName = GetAll)]
[OutputType(typeof(PsApiManagementProperty))]
public class GetAzureApiManagementProperty : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Management.Automation;

[GenericBreakingChange("Output changed: Subscription keys will not be returned anymore. Additional cmdlet will be added to retrieve subscription keys.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementSubscription", DefaultParameterSetName = GetAll)]
[OutputType(typeof(PsApiManagementSubscription), ParameterSetName = new[] { GetAll, GetBySubscriptionId, GetByUserId, GetByScope, GetByProductIdAndUser, GetByProductId })]
public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System.Management.Automation;

[GenericBreakingChange("Output changed: Keys will not be returned anymore. Additional cmdlet will be added to retrieve the keys.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementTenantAccess")]
[OutputType(typeof(PsApiManagementAccessInformation))]
public class GetAzureRmApiManagementTenantAccess : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System.Management.Automation;

[GenericBreakingChange("Output changed: Keys will not be returned anymore. Additional cmdlet will be added to retrieve the keys.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementTenantGitAccess")]
[OutputType(typeof(PsApiManagementAccessInformation))]
public class GetAzureRmApiManagementTenantGitAccess : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Management.Automation;

[CmdletDeprecation(ReplacementCmdletName = "New-AzureApiManagementNamedValue")]
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementProperty")]
[OutputType(typeof(PsApiManagementProperty))]
public class NewAzureApiManagementProperty : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Globalization;
using System.Management.Automation;

[CmdletDeprecation(ReplacementCmdletName = "Remove-AzureApiManagementNamedValue")]
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementProperty", SupportsShouldProcess = true)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementProperty : AzureApiManagementCmdletBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Management.Automation;

[CmdletDeprecation(ReplacementCmdletName = "Set-AzureApiManagementNamedValue")]
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementProperty", SupportsShouldProcess = true)]
[OutputType(typeof(PsApiManagementProperty))]
public class SetAzureApiManagementProperty : AzureApiManagementCmdletBase
Expand Down
1 change: 1 addition & 0 deletions src/ApiManagement/ApiManagement/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Add breaking change notice for Azure File cmdlets output change in a future release
* `Set-AzApiManagementGroup` Updated documentation to specify the GroupId parameter

## Version 1.4.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
namespace Microsoft.Azure.Commands.ApiManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using ResourceManager.Common.ArgumentCompleters;
using System.Collections.Generic;
using System.Management.Automation;
Expand Down Expand Up @@ -119,6 +120,7 @@ public class NewAzureApiManagement : AzureApiManagementCmdletBase

[Parameter(Mandatory = false,
HelpMessage = "Generate and assign an Azure Active Directory Identity for this service for use with key management services like Azure KeyVault.")]
[CmdletParameterBreakingChange("AssignIdentity", ChangeDescription = "The AssignIdentity parameter will be renamed as SystemAssignedIdentity. Also new parameter will be added: UserAssignedIdentity.")]
public SwitchParameter AssignIdentity { get; set; }

[Parameter(Mandatory = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
namespace Microsoft.Azure.Commands.ApiManagement.Commands
{
using Microsoft.Azure.Commands.ApiManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using Properties;
using System.Management.Automation;

Expand All @@ -30,6 +31,7 @@ public class SetAzureApiManagement : AzureApiManagementCmdletBase

[Parameter(Mandatory = false,
HelpMessage = "Generate and assign an Azure Active Directory Identity for this server for use with key management services like Azure KeyVault.")]
[CmdletParameterBreakingChange("AssignIdentity", ChangeDescription = "The AssignIdentity parameter will be renamed as SystemAssignedIdentity. Also new parameter will be added: UserAssignedIdentity.")]
public SwitchParameter AssignIdentity { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
Expand Down