Skip to content

Commit ea8c308

Browse files
LucasYao93dingmeng-xueisra-fel
authored
[marketplace ordering] upcoming breaking change message (#19319)
* [MarketplaceOrdering] Added upcoming breaking change warning message to Get-AzMarketplaceTerms. * [MarketplaceOrdering] update breakchange message. * [MarketplaceOrdering] update breakchange message. * Update ChangeLog.md * Update ChangeLog.md Co-authored-by: Dingmeng Xue <[email protected]> Co-authored-by: Yeming Liu <[email protected]>
1 parent e87ccdb commit ea8c308

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/MarketplaceOrdering/MarketplaceOrdering/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added a warning message for an upcoming breaking change to `Get-AzMarketplaceTerms`.
2122

2223
## Version 1.0.2
2324
* Update references in .psd1 to use relative path

src/MarketplaceOrdering/MarketplaceOrdering/Cmdlets/Agreements/GetAzureRmMarketplaceTerms.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
using Microsoft.Azure.Commands.MarketplaceOrdering.Models;
1818
using Microsoft.Azure.Management.MarketplaceOrdering;
1919
using Microsoft.Azure.Management.MarketplaceOrdering.Models;
20+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2021

2122
namespace Microsoft.Azure.Commands.MarketplaceOrdering.Cmdlets.Agreements
2223
{
24+
[GenericBreakingChange("Cmdlet will call GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current by default in an upcoming breaking change release.")]
2325
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "MarketplaceTerms", DefaultParameterSetName = Constants.ParameterSetNames.AgreementAcceptParameterSet), OutputType(typeof(PSAgreementTerms))]
2426
public class GetAzureRmMarketplaceTerms : AzureMarketplaceOrderingCmdletBase
2527
{

0 commit comments

Comments
 (0)