Gallery 2022_03_03#29817
Conversation
|
This pull request is protected by Check Enforcer. |
|
/azp run net - mgmt - ci |
|
Pull request contains merge conflicts. |
...compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersion.cs
Show resolved
Hide resolved
...e/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionUpdate.cs
Show resolved
Hide resolved
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersion.cs
Show resolved
Hide resolved
...compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionUpdate.cs
Show resolved
Hide resolved
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryOSDiskImage.cs
Show resolved
Hide resolved
| /// shared to community. | ||
| /// </summary> | ||
| [JsonProperty(PropertyName = "communityGalleryInfo")] | ||
| public object CommunityGalleryInfo { get; set; } |
sdk/compute/Microsoft.Azure.Management.Compute/src/Customizations/GalleryApplicationVersion.cs
Show resolved
Hide resolved
...ute/Microsoft.Azure.Management.Compute/src/Customizations/GalleryApplicationVersionUpdate.cs
Outdated
Show resolved
Hide resolved
clean key value to allowed 'sanitized'
Yao725
left a comment
There was a problem hiding this comment.
I still find some breaking changes in this PR. Could you please take a look at below comments to see if we can do something in customization to minimize the breaking change, thanks.
P.S: I think some of them might be hard to support the backward compatibility by customization. If so, we need to bump the major package version before release.
| /// <param name="uri">The uri of the gallery artifact version source. | ||
| /// Currently used to specify vhd/blob source.</param> | ||
| public GalleryArtifactVersionSource(string id = default(string), string uri = default(string)) | ||
| public GalleryArtifactVersionSource(string id = default(string)) |
| /// values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values | ||
| /// include: 'None', 'ReadOnly', 'ReadWrite'</param> | ||
| public GalleryDataDiskImage(int lun, int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource)) | ||
| public GalleryDataDiskImage(int lun, int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryDiskImageSource source = default(GalleryDiskImageSource)) |
| /// values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values | ||
| /// include: 'None', 'ReadOnly', 'ReadWrite'</param> | ||
| public GalleryDiskImage(int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource)) | ||
| public GalleryDiskImage(int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryDiskImageSource source = default(GalleryDiskImageSource)) |
| /// </summary> | ||
| /// <param name="dataDiskImages">A list of data disk images.</param> | ||
| public GalleryImageVersionStorageProfile(GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource), GalleryOSDiskImage osDiskImage = default(GalleryOSDiskImage), IList<GalleryDataDiskImage> dataDiskImages = default(IList<GalleryDataDiskImage>)) | ||
| public GalleryImageVersionStorageProfile(GalleryArtifactVersionFullSource source = default(GalleryArtifactVersionFullSource), GalleryOSDiskImage osDiskImage = default(GalleryOSDiskImage), IList<GalleryDataDiskImage> dataDiskImages = default(IList<GalleryDataDiskImage>)) |
| /// values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values | ||
| /// include: 'None', 'ReadOnly', 'ReadWrite'</param> | ||
| public GalleryOSDiskImage(int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource)) | ||
| public GalleryOSDiskImage(int? sizeInGB = default(int?), HostCaching? hostCaching = default(HostCaching?), GalleryDiskImageSource source = default(GalleryDiskImageSource)) |
| /// </summary> | ||
| [JsonProperty(PropertyName = "communityGalleryInfo")] | ||
| public object CommunityGalleryInfo { get; set; } | ||
| public CommunityGalleryInfo CommunityGalleryInfo { get; set; } |
There was a problem hiding this comment.
It's nice to change the type from object to the specific type CommunityGalleryInfo, but it is still a breaking change.
There was a problem hiding this comment.
@Yao725 , and the breaking change was approved in the Swagger PR by the breaking change review board. Mostly because the functionality was broken without these changes.
I am unaware of any customizations that can be done to mitigate these different breaking changes. If you have any advice, please let us know.
Yes, the major version will be updated. |
Contributing to the Azure SDK
Generated from swagger PR: Azure/azure-rest-api-specs#20398
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.