-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Batch Control Plane 2021-06-01 update #22195
Conversation
d2177b5
to
6da7abb
Compare
f026ac7
to
d1bd488
Compare
/azp run net - mgmt - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
@allenjzhang CI passing now |
0250d72
to
a3572a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some breaking changes here. The changes aoround identity types I think can be easily mitigated by a customization, per the comments.
The breaking change in the constructor for ContainerRegisytry is caused by the way parameters are ordered (optional parameters come after required parameters). I don't think there is an easy mitigation here that is desirable.
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/BatchAccountIdentity.cs
Show resolved
Hide resolved
...ure.Management.Batch/src/Generated/Models/BatchAccountIdentityUserAssignedIdentitiesValue.cs
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/BatchPoolIdentity.cs
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/ContainerRegistry.cs
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/SdkInfo_BatchManagement.cs
Outdated
Show resolved
Hide resolved
Added generated descriptions.
PR SDK updates Updated version sdkinfo
Added markdown config Ignore MD013 Change log update Expanded change log.
Updated test recordings Updated recordings Updated recordings Updated session records
Fixed breacking change
b1616ec
to
5c3dc15
Compare
@markcowl could we get an approval here? Time is a factor. Thank you. |
Updated generation.
2afddbb
to
6e9d963
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you addressecd one breaking change issue, but did not address the other two. Did I miss something?
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/BatchAccountIdentity.cs
Show resolved
Hide resolved
...ure.Management.Batch/src/Generated/Models/BatchAccountIdentityUserAssignedIdentitiesValue.cs
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/BatchPoolIdentity.cs
Show resolved
Hide resolved
Which parameters have been removed? I still see them all there. The type name is shorter, will the old not be coerced into its parent type? UPDATE: Tested it, and you're right, I do need a wrapping constructor to facilitate the new type. I'll add one now. (Now done)
The generated one is removed, but I put in a manual one that derives from the newly renamed generated class, as discussed: sdk/batch/Microsoft.Azure.Management.Batch/src/Models/BatchAccountIdentityUserAssignedIdentitiesValue.cs |
sdk/batch/Microsoft.Azure.Management.Batch/src/Properties/AssemblyInfo.cs
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Microsoft.Azure.Management.Batch.csproj
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Microsoft.Azure.Management.Batch.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Properties/AssemblyInfo.cs
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Management.Batch/src/Properties/AssemblyInfo.cs
Outdated
Show resolved
Hide resolved
Fixed version.
d580555
to
81f4175
Compare
Hello @markcowl! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Swagger change PR
All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
Draft
mode if it is:General Guidelines and Best Practices
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK. Please double check nuget.org current release version.Additional management plane SDK specific contribution checklist:
Note: Only applies to
Microsoft.Azure.Management.[RP]
orAzure.ResourceManager.[RP]
Management plane SDK Troubleshooting
If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add
new service
label and/or contact assigned reviewer.If the check fails at the
Verify Code Generation
step, please ensure:generate.ps1/cmd
to generate this PR instead of callingautorest
directly.Please pay attention to the @microsoft.csharp version output after running
generate.ps1
. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.Note: We have recently updated the PSH module called by
generate.ps1
to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.