-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Updated Management.ResourceManager sdk models and tests for new api version. #7419
Conversation
I believe the csproj and maybe AssemblyInfo need to have their versions updated (may be wrong, been a long time) |
.props as well according to this: https://github.com/Azure/azure-sdk-for-net/blob/master/Documentation/code-generation-instructions.md |
LGTM. Please get an ack from Tian Ouyang and Gaurav Bhatnagar that you are pushing a new Management.Resource SDK version before completing this PR. |
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.
You are not only updating the tests, are you? It would be great if the title correctly reflects the changes.
Anyway, when you are generating code, please also track the eng\mgmt\mgmtmetadata\<rpName>.txt
file, which gets updated when you run generate.ps1
.
And could you also put a link to the swagger review PR in the description?
Otherwise it looks good to me. Thanks
swagger PR is here - Azure/azure-rest-api-specs#6998 |
@sandipsh Thanks for the update, though the |
@@ -7,7 +7,7 @@ | |||
<PackageId>Microsoft.Azure.Management.ResourceManager</PackageId> | |||
<Description>Provides resource group and resource management capabilities for Microsoft Azure.</Description> | |||
<AssemblyName>Microsoft.Azure.Management.ResourceManager</AssemblyName> | |||
<Version>2.4.0-preview</Version> | |||
<Version>2.5.0-preview</Version> |
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.
2.5.0-preview [](start = 11, length = 13)
I don't think 2.4.0-preview was ever released. you may not need a new version.
Start-AutoRestCodeGeneration -ResourceProvider "resources/resource-manager" -SdkRepoRootPath "$PSScriptRoot\..\..\..\.." -AutoRestVersion "latest" -AutoRestCodeGenerationFlags "--tag=package-policy-2019-06" -SdkGenerationDirectory "$PSScriptRoot\Generated" |
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.
--tag=package-policy-2019-06" [](start = 177, length = 29)
instead of updating the cmd, can we add a new line of command and leave it as commented?
Looks good to me. |
…ersion. (Azure#7419) * updated tests for new api version. * Fixed merging of couple of models and a record file. * minor: adjusted whitepacing * Fixed test. * updated .csproj, .props and assembly info. * reverting proj version to 2.4.0-preview as it is the latest. * updated generate.ps1 and resources_resource-manager.txt tracking file. * updated generate.ps1 as suggested. * updated generate.ps1 as suggested. * correct the line that needs to be commented out
Updated policy tests for enforcementMode and data plane modes.