-
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
add eula/privacy statement to gallery SDK release #28238
add eula/privacy statement to gallery SDK release #28238
Conversation
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Gallery.cs
Show resolved
Hide resolved
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.
I'm ok with these changes, do we need to merge this PR now?
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImage.cs
Show resolved
Hide resolved
@@ -105,6 +105,8 @@ private void ValidateCommunityGalleryImage(CommunityGalleryImage communityGaller | |||
{ | |||
string expectedId = "/CommunityGalleries/" + PublicGalleryName + "/Images/" + GalleryImageName; | |||
Assert.Equal(expectedId, communityGalleryImage.UniqueId); | |||
Assert.NotNull(communityGalleryImage.Eula); |
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.
Can you check for the exact expected value?
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.
Just in case something unexpectedly changes the value in an incorrect or breaking way.
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.
the exact value is a random string i put. It does not add much value here to check exact value because it might gets updated by mistake and this test will fail. But the only thing we want here is the string flow-through and NotNull assert do can 100% of that job right.
* set up feature branch * set up feature branch * new recordings * Gallery 01 03 SDK (#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (#28238) * save * update * update * update test * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (#29131) test rerecord that was needed * Update compute_resource-manager.txt * Update AzSdk.RP.props Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
* set up feature branch * set up feature branch * new recordings * Gallery 01 03 SDK (Azure#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (Azure#28238) * save * update * update * update test * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (Azure#29131) test rerecord that was needed * Update compute_resource-manager.txt * Update AzSdk.RP.props Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
* set up feature branch * generated with new changes * set up feature branch * new recordings * Gallery 01 03 SDK (#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (#28238) * save * update * update * update test * generated with new changes * SDK generation * Updated SDK * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * federatedclientid change * adding tests for restore point with securityprofile (#28949) * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (#29131) test rerecord that was needed * Test recordings * Adding Customizations * adding test recordings * update azsdk.rp.props and compute_resource-manager.txt * credscan Co-authored-by: Theodore Chang <thchan@microsoft.com> Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com> Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
* set up feature branch * set up feature branch * new recordings * Gallery 01 03 SDK (Azure#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (Azure#28238) * save * update * update * update test * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (Azure#29131) test rerecord that was needed * Update compute_resource-manager.txt * Update AzSdk.RP.props Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
* set up feature branch * generated with new changes * set up feature branch * new recordings * Gallery 01 03 SDK (Azure#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (Azure#28238) * save * update * update * update test * generated with new changes * SDK generation * Updated SDK * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * federatedclientid change * adding tests for restore point with securityprofile (Azure#28949) * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (Azure#29131) test rerecord that was needed * Test recordings * Adding Customizations * adding test recordings * update azsdk.rp.props and compute_resource-manager.txt * credscan Co-authored-by: Theodore Chang <thchan@microsoft.com> Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com> Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
* set up feature branch * generated with new changes * set up feature branch * new recordings * Gallery 01 03 SDK (Azure#27466) * save * save * update * update * save * save * sanitization * add eula/privacy statement to gallery SDK release (Azure#28238) * save * update * update * update test * generated with new changes * SDK generation * Updated SDK * SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250) * Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6 * Updated test and recording * removed SAS tokens from recorded test * generated SDK with updated comments from API PR * removed "sig=" tokens from recorded test * added customization and sanitized keys in recorded tests * Restored older customization * fixed customization * Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states. * federatedclientid change * adding tests for restore point with securityprofile (Azure#28949) * Update AssemblyInfo.cs .Net version update * Update Microsoft.Azure.Management.Compute.csproj * save (Azure#29131) test rerecord that was needed * Test recordings * Adding Customizations * adding test recordings * update azsdk.rp.props and compute_resource-manager.txt * credscan Co-authored-by: Theodore Chang <thchan@microsoft.com> Co-authored-by: Adam Sandor <adsandor@microsoft.com> Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com> Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.