-
Notifications
You must be signed in to change notification settings - Fork 4k
[Cognitive Services] Upgrade to 2021-04-30 #15133
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
Conversation
@yangyuan |
@msJinLei is next major release on Oct? Most of the changes are related to SDK. Let me see if I can do something in here to avoid breaking changes. Some of the changes are marked as breaking but it's actually bug fix, for example ActionRequired is removed from PrivateLinkServiceConnectionState. |
I understand your point. However, Azure PowerShell prevents any breaking changes being released in non-breaking change release.
If no way to work around these breaking changes, you have to release them in next major release. |
...itiveServices/CognitiveServices/CognitiveServicesAccount/GetAzureCognitiveServicesAccount.cs
Show resolved
Hide resolved
Hi @msJinLei , few things:
|
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Please refer to other review comments.
I check breaking change items one by one but cannot the following change.
I check the class definition. ActionRequired is not removed. #region Assembly Microsoft.Azure.Management.CognitiveServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// C:\Users\leijin\.nuget\packages\microsoft.azure.management.cognitiveservices\8.0.0-preview\lib\netstandard2.0\Microsoft.Azure.Management.CognitiveServices.dll
#endregion
using Newtonsoft.Json;
namespace Microsoft.Azure.Management.CognitiveServices.Models
{
//
// Summary:
// A collection of information about the state of the connection between service
// consumer and provider.
public class PrivateLinkServiceConnectionState
{
//
// Summary:
// Initializes a new instance of the PrivateLinkServiceConnectionState class.
public PrivateLinkServiceConnectionState();
//
// Summary:
// Initializes a new instance of the PrivateLinkServiceConnectionState class.
//
// Parameters:
// status:
// Indicates whether the connection has been Approved/Rejected/Removed by the owner
// of the service. Possible values include: 'Pending', 'Approved', 'Rejected'
//
// description:
// The reason for approval/rejection of the connection.
//
// actionsRequired:
// A message indicating if changes on the service provider require any updates on
// the consumer.
public PrivateLinkServiceConnectionState(string status = null, string description = null, string actionsRequired = null);
//
// Summary:
// Gets or sets indicates whether the connection has been Approved/Rejected/Removed
// by the owner of the service. Possible values include: 'Pending', 'Approved',
// 'Rejected'
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
//
// Summary:
// Gets or sets the reason for approval/rejection of the connection.
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
//
// Summary:
// Gets or sets a message indicating if changes on the service provider require
// any updates on the consumer.
[JsonProperty(PropertyName = "actionsRequired")]
public string ActionsRequired { get; set; }
}
} Could you double confirm whether ActionRequired is removed? For the following two items, please try to use automapper to work around, which is something like azure-powershell\src\Network\Network\Common\NetworkResourceManagerProfile.cs.
|
src/CognitiveServices/CognitiveServices/help/Az.CognitiveServices.md
Outdated
Show resolved
Hide resolved
src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccountApiProperty.md
Outdated
Show resolved
Hide resolved
...es/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccountApiProperty.cs
Outdated
Show resolved
Hide resolved
...vices/CognitiveServices/CognitiveServicesAccount/UndoAzureCognitiveServicesAccountRemoval.cs
Outdated
Show resolved
Hide resolved
@msJinLei Thanks for feedback, I'm DRI this week but will get back to you as soon as I get time. |
why you can merge commit 855cfd5 into master branch? |
Description
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added