Gallery 03 03 Api Version#19644
Gallery 03 03 Api Version#19644ArcturusZhang merged 10 commits intoAzure:feature/gallery-2022-03-03-2ndfrom
Conversation
Swagger Validation Report
|
| compared swaggers (via Oad v0.9.6)] | new version | base version |
|---|---|---|
| gallery.json | 2022-03-03(16e9d74) | 2021-10-01(main) |
| gallery.json | 2022-03-03(16e9d74) | 2020-09-30(main) |
| sharedGallery.json | 2022-03-03(16e9d74) | 2021-07-01(main) |
| sharedGallery.json | 2022-03-03(16e9d74) | 2020-09-30(main) |
The following breaking changes are detected by comparison with the latest stable version:
The following breaking changes are detected by comparison with the latest preview version:
️⚠️LintDiff: 4 Warnings warning [Detail]
| compared tags (via openapi-validator v1.13.0) | new version | base version |
|---|---|---|
| package-2022-03-03 | package-2022-03-03(16e9d74) | package-2022-03-03(feature/gallery-2022-03-03-2nd) |
The following errors/warnings are introduced by current PR:
| Rule | Message |
|---|---|
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: required Location: galleryRP/stable/2022-03-03/gallery.json#L2239 |
|
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: excludeFromLatest Location: galleryRP/stable/2022-03-03/gallery.json#L2595 |
|
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: allowDeletionOfReplicatedLocations Location: galleryRP/stable/2022-03-03/gallery.json#L2897 |
|
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: reportedForPolicyViolation Location: galleryRP/stable/2022-03-03/gallery.json#L2907 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
R4037 - MissingTypeObject |
The schema 'Gallery' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1798 |
R4037 - MissingTypeObject |
The schema 'GalleryUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1812 |
R4037 - MissingTypeObject |
The schema 'GalleryProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1826 |
R4037 - MissingTypeObject |
The schema 'GalleryIdentifier' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1852 |
R4037 - MissingTypeObject |
The schema 'SharingProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1862 |
R4037 - MissingTypeObject |
The schema 'SharingProfileGroup' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L1893 |
R4037 - MissingTypeObject |
The schema 'GalleryApplication' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2018 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2032 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2046 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationVersion' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2097 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationVersionUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2111 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationVersionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2125 |
R4037 - MissingTypeObject |
The schema 'GalleryApplicationVersionPublishingProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2147 |
R4037 - MissingTypeObject |
The schema 'UserArtifactSource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2270 |
R4037 - MissingTypeObject |
The schema 'UserArtifactManage' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2286 |
R4037 - MissingTypeObject |
The schema 'GalleryImage' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2320 |
R4037 - MissingTypeObject |
The schema 'GalleryImageUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2334 |
R4037 - MissingTypeObject |
The schema 'GalleryImageProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2348 |
R4037 - MissingTypeObject |
The schema 'GalleryImageVersion' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2444 |
R4037 - MissingTypeObject |
The schema 'GalleryImageVersionUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2458 |
R4037 - MissingTypeObject |
The schema 'GalleryImageVersionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2472 |
R4037 - MissingTypeObject |
The schema 'GalleryArtifactPublishingProfileBase' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2497 |
R4037 - MissingTypeObject |
The schema 'TargetRegion' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2568 |
R4037 - MissingTypeObject |
The schema 'EncryptionImages' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2662 |
R4037 - MissingTypeObject |
The schema 'DataDiskImageEncryption' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2719 |
R4037 - MissingTypeObject |
The schema 'DiskImageEncryption' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2737 |
R4037 - MissingTypeObject |
The schema 'GalleryArtifactSource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2746 |
R4037 - MissingTypeObject |
The schema 'ManagedArtifact' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2757 |
R4037 - MissingTypeObject |
The schema 'GalleryImageVersionStorageProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2777 |
R4037 - MissingTypeObject |
The schema 'GalleryArtifactVersionSource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: galleryRP/stable/2022-03-03/gallery.json#L2813 |
️⚠️Avocado: 1 Warnings warning [Detail]
| Rule | Message |
|---|---|
| The default tag contains multiple API versions swaggers. readme: specification/compute/resource-manager/readme.md tag: specification/compute/resource-manager/readme.md#tag-package-2022-03-03 |
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️⚠️SDK Track2 Validation: 0 Warnings warning [Detail]
- The following tags are being changed in this PR
- "https://github.com/Azure/azure-rest-api-specs/blob/16e9d7438427bd212997c1bc8744e33d36b60c0e/specification/compute/resource-manager/readme.md#tag-package-2022-03-03">compute/resource-manager/readme.md#package-2022-03-03
- "https://github.com/Azure/azure-rest-api-specs/blob/16e9d7438427bd212997c1bc8744e33d36b60c0e/specification/compute/resource-manager/readme.md#tag-package-2022-03-03-only">compute/resource-manager/readme.md#package-2022-03-03-only
| Rule | Message |
|---|---|
PreCheck/DuplicateSchema |
"readme":"compute/resource-manager/readme.md", "tag":"package-2022-03-03", "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1403", "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that." |
|
"readme":"compute/resource-manager/readme.md", "tag":"package-2022-03-03", "details":"Error: 1 errors occured -- cannot continue." |
| "readme":"compute/resource-manager/readme.md", "tag":"package-2022-03-03-only", "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken, AzureKey, Anonymous" |
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
|
Hi, @tiregan Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com |
Swagger Generation Artifacts
|
| Rule | Message |
|---|---|
RestBuild error |
"logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=308113&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b", "detail":"Run.ps1 failed with exit code 1 " |
️⚠️SDK Breaking Change Tracking warning [Detail]
Breaking Changes Tracking
⚠️azure-sdk-for-go - armcompute - 4.0.0+ Field `URI` of struct `GalleryArtifactVersionSource` has been removed
+ Type of `GalleryDataDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource`
+ Type of `GalleryDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource`
+ Type of `GalleryImageVersionStorageProfile.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryArtifactVersionFullSource`
+ Type of `GalleryOSDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource`
+ Type of `SharingProfile.CommunityGalleryInfo` has been changed from `interface{}` to `*CommunityGalleryInfo`⚠️azure-sdk-for-js - @azure/arm-compute - 20.0.0+ Interface GalleryArtifactVersionSource no longer has parameter uri
️❌ azure-sdk-for-net failed [Detail]
❌Failed [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0warn Skip initScript due to not configured command sudo apt-get install -y dotnet-sdk-6.0 command autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/compute/resource-manager/readme.md cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] realpath(): Permission denied cmderr [Autorest] No usable version of the libssl was found cmderr [Autorest] FATAL: csharp/simplifier - FAILED cmderr [Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated. cmderr [Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated. error Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest warn Skip package processing as generation is failed
️❌ azure-sdk-for-python-track2 failed [Detail]
❌Failed [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0command sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json cmderr [automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed. command sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json cmderr [automation_generate.sh] WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.41.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.42.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.43.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.44.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.45.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.46.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.47.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.46.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.47.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] [Autorest] info | Loading AutoRest extension '@autorest/modelerfour' (4.19.3->4.19.3) cmdout [automation_generate.sh] [Autorest] info | Loading AutoRest extension '@autorest/python' (5.16.0->5.16.0) cmdout [automation_generate.sh] [Autorest] fatal | Process() cancelled due to failure cmdout [automation_generate.sh] [Autorest] error | Batch/Error | Failure during batch task - {"tag":"package-2022-04-04-only"} -- Error: Could not read 'file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/common.json'. cmdout [automation_generate.sh] [Autorest] error | Error: Could not read 'file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/common.json'. cmdout [automation_generate.sh] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen error Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh warn Skip package processing as generation is failed
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0command ./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json command ./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
️✔️azure-resourcemanager-compute-generated [View full logs] [Preview SDK Changes]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0command sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json warn File azure-sdk-for-js_tmp/initOutput.json not found to read command sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
️✔️@azure/arm-compute [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] **Features** info [Changelog] info [Changelog] - Added operation GalleryImages.getLatestVersionName info [Changelog] - Added Interface GalleryApplicationCustomAction info [Changelog] - Added Interface GalleryApplicationCustomActionParameter info [Changelog] - Added Interface GalleryArtifactSafetyProfileBase info [Changelog] - Added Interface GalleryImagesGetLatestVersionNameOptionalParams info [Changelog] - Added Interface LatestGalleryImageVersion info [Changelog] - Added Interface PolicyViolation info [Changelog] - Added Type Alias AvailabilitySet info [Changelog] - Added Type Alias AvailabilitySetUpdate info [Changelog] - Added Type Alias CapacityReservation info [Changelog] - Added Type Alias CapacityReservationGroup info [Changelog] - Added Type Alias CapacityReservationGroupUpdate info [Changelog] - Added Type Alias CapacityReservationInstanceViewWithName info [Changelog] - Added Type Alias CapacityReservationUpdate info [Changelog] - Added Type Alias CommunityGallery info [Changelog] - Added Type Alias CommunityGalleryImage info [Changelog] - Added Type Alias CommunityGalleryImageVersion info [Changelog] - Added Type Alias DataDiskImageEncryption info [Changelog] - Added Type Alias DedicatedHost info [Changelog] - Added Type Alias DedicatedHostGroup info [Changelog] - Added Type Alias DedicatedHostGroupUpdate info [Changelog] - Added Type Alias DedicatedHostInstanceViewWithName info [Changelog] - Added Type Alias DedicatedHostUpdate info [Changelog] - Added Type Alias Disk info [Changelog] - Added Type Alias DiskAccess info [Changelog] - Added Type Alias DiskEncryptionSet info [Changelog] - Added Type Alias DiskEncryptionSetParameters info [Changelog] - Added Type Alias DiskRestorePoint info [Changelog] - Added Type Alias Gallery info [Changelog] - Added Type Alias GalleryApplication info [Changelog] - Added Type Alias GalleryApplicationCustomActionParameterType info [Changelog] - Added Type Alias GalleryApplicationUpdate info [Changelog] - Added Type Alias GalleryApplicationVersion info [Changelog] - Added Type Alias GalleryApplicationVersionPublishingProfile info [Changelog] - Added Type Alias GalleryApplicationVersionSafetyProfile info [Changelog] - Added Type Alias GalleryApplicationVersionUpdate info [Changelog] - Added Type Alias GalleryArtifactVersionFullSource info [Changelog] - Added Type Alias GalleryDataDiskImage info [Changelog] - Added Type Alias GalleryDiskImageSource info [Changelog] - Added Type Alias GalleryImage info [Changelog] - Added Type Alias GalleryImagesGetLatestVersionNameResponse info [Changelog] - Added Type Alias GalleryImageUpdate info [Changelog] - Added Type Alias GalleryImageVersion info [Changelog] - Added Type Alias GalleryImageVersionPublishingProfile info [Changelog] - Added Type Alias GalleryImageVersionSafetyProfile info [Changelog] - Added Type Alias GalleryImageVersionUpdate info [Changelog] - Added Type Alias GalleryOSDiskImage info [Changelog] - Added Type Alias GalleryUpdate info [Changelog] - Added Type Alias Image_2 info [Changelog] - Added Type Alias ImageDataDisk info [Changelog] - Added Type Alias ImageOSDisk info [Changelog] - Added Type Alias ImageReference info [Changelog] - Added Type Alias ImageUpdate info [Changelog] - Added Type Alias ManagedDiskParameters info [Changelog] - Added Type Alias NetworkInterfaceReference info [Changelog] - Added Type Alias OSDiskImageEncryption info [Changelog] - Added Type Alias PirSharedGalleryResource info [Changelog] - Added Type Alias PolicyViolationCategory info [Changelog] - Added Type Alias ProximityPlacementGroup info [Changelog] - Added Type Alias ProximityPlacementGroupUpdate info [Changelog] - Added Type Alias RequestRateByIntervalInput info [Changelog] - Added Type Alias RestorePoint info [Changelog] - Added Type Alias RestorePointCollection info [Changelog] - Added Type Alias RestorePointCollectionUpdate info [Changelog] - Added Type Alias RollingUpgradeStatusInfo info [Changelog] - Added Type Alias RunCommandDocument info [Changelog] - Added Type Alias SharedGallery info [Changelog] - Added Type Alias SharedGalleryDataDiskImage info [Changelog] - Added Type Alias SharedGalleryImage info [Changelog] - Added Type Alias SharedGalleryImageVersion info [Changelog] - Added Type Alias SharedGalleryOSDiskImage info [Changelog] - Added Type Alias Snapshot info [Changelog] - Added Type Alias SshPublicKeyResource info [Changelog] - Added Type Alias SshPublicKeyUpdateResource info [Changelog] - Added Type Alias SubResourceWithColocationStatus info [Changelog] - Added Type Alias ThrottledRequestsInput info [Changelog] - Added Type Alias VirtualMachine info [Changelog] - Added Type Alias VirtualMachineCaptureResult info [Changelog] - Added Type Alias VirtualMachineExtension info [Changelog] - Added Type Alias VirtualMachineExtensionImage info [Changelog] - Added Type Alias VirtualMachineExtensionUpdate info [Changelog] - Added Type Alias VirtualMachineImage info [Changelog] - Added Type Alias VirtualMachineImageResource info [Changelog] - Added Type Alias VirtualMachineRunCommand info [Changelog] - Added Type Alias VirtualMachineRunCommandUpdate info [Changelog] - Added Type Alias VirtualMachineScaleSet info [Changelog] - Added Type Alias VirtualMachineScaleSetExtension info [Changelog] - Added Type Alias VirtualMachineScaleSetExtensionUpdate info [Changelog] - Added Type Alias VirtualMachineScaleSetIPConfiguration info [Changelog] - Added Type Alias VirtualMachineScaleSetNetworkConfiguration info [Changelog] - Added Type Alias VirtualMachineScaleSetReimageParameters info [Changelog] - Added Type Alias VirtualMachineScaleSetUpdate info [Changelog] - Added Type Alias VirtualMachineScaleSetUpdateIPConfiguration info [Changelog] - Added Type Alias VirtualMachineScaleSetUpdateNetworkConfiguration info [Changelog] - Added Type Alias VirtualMachineScaleSetVM info [Changelog] - Added Type Alias VirtualMachineScaleSetVMExtension info [Changelog] - Added Type Alias VirtualMachineScaleSetVMExtensionUpdate info [Changelog] - Added Type Alias VirtualMachineScaleSetVMReimageParameters info [Changelog] - Added Type Alias VirtualMachineUpdate info [Changelog] - Interface TargetRegion has a new optional parameter excludeFromLatest info [Changelog] - Added Enum KnownPolicyViolationCategory info [Changelog] info [Changelog] **Breaking Changes** info [Changelog] info [Changelog] - Interface GalleryArtifactVersionSource no longer has parameter uri
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0command sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json command generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
️✔️armcompute [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] ### Breaking Changes info [Changelog] info [Changelog] - Type of `GalleryDataDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource` info [Changelog] - Type of `GalleryDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource` info [Changelog] - Type of `GalleryImageVersionStorageProfile.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryArtifactVersionFullSource` info [Changelog] - Type of `GalleryOSDiskImage.Source` has been changed from `*GalleryArtifactVersionSource` to `*GalleryDiskImageSource` info [Changelog] - Type of `SharingProfile.CommunityGalleryInfo` has been changed from `interface{}` to `*CommunityGalleryInfo` info [Changelog] - Field `URI` of struct `GalleryArtifactVersionSource` has been removed info [Changelog] info [Changelog] ### Features Added info [Changelog] info [Changelog] - New const `GalleryApplicationCustomActionParameterTypeString` info [Changelog] - New const `GalleryApplicationCustomActionParameterTypeConfigurationDataBlob` info [Changelog] - New const `PolicyViolationCategoryOther` info [Changelog] - New const `GalleryApplicationCustomActionParameterTypeLogOutputBlob` info [Changelog] - New const `PolicyViolationCategoryCopyrightValidation` info [Changelog] - New const `PolicyViolationCategoryImageFlaggedUnsafe` info [Changelog] - New const `PolicyViolationCategoryIPTheft` info [Changelog] - New function `PossibleGalleryApplicationCustomActionParameterTypeValues() []GalleryApplicationCustomActionParameterType` info [Changelog] - New function `PossiblePolicyViolationCategoryValues() []PolicyViolationCategory` info [Changelog] - New function `*GalleryImagesClient.GetLatestVersionName(context.Context, string, string, string, *GalleryImagesClientGetLatestVersionNameOptions) (GalleryImagesClientGetLatestVersionNameResponse, error)` info [Changelog] - New struct `GalleryApplicationCustomAction` info [Changelog] - New struct `GalleryApplicationCustomActionParameter` info [Changelog] - New struct `GalleryApplicationVersionSafetyProfile` info [Changelog] - New struct `GalleryArtifactSafetyProfileBase` info [Changelog] - New struct `GalleryArtifactVersionFullSource` info [Changelog] - New struct `GalleryDiskImageSource` info [Changelog] - New struct `GalleryImageVersionSafetyProfile` info [Changelog] - New struct `GalleryImagesClientGetLatestVersionNameOptions` info [Changelog] - New struct `GalleryImagesClientGetLatestVersionNameResponse` info [Changelog] - New struct `LatestGalleryImageVersion` info [Changelog] - New struct `PolicyViolation` info [Changelog] - New field `CustomActions` in struct `GalleryApplicationVersionPublishingProfile` info [Changelog] - New field `PrivacyStatementURI` in struct `SharedGalleryImageProperties` info [Changelog] - New field `Eula` in struct `SharedGalleryImageProperties` info [Changelog] - New field `ExcludeFromLatest` in struct `TargetRegion` info [Changelog] - New field `SafetyProfile` in struct `GalleryApplicationVersionProperties` info [Changelog] - New field `CustomActions` in struct `GalleryApplicationProperties` info [Changelog] - New field `SafetyProfile` in struct `GalleryImageVersionProperties` info [Changelog] info [Changelog] Total 6 breaking change(s), 38 additive change(s).
️❌ azure-resource-manager-schemas failed [Detail]
❌Failed [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. Schema Automation 14.0.0command .sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json cmderr [initScript.sh] WARN old lockfile cmderr [initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm, cmderr [initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry. cmderr [initScript.sh] npm WARN old lockfile cmderr [initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient... cmderr [initScript.sh] npm WARN old lockfile warn File azure-resource-manager-schemas_tmp/initOutput.json not found to read command .sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
❌compute/resource-manager [View full logs] [Preview Schema Changes]
️❌ azure-powershell failed [Detail]
❌Failed [Logs] Generate from 9e4219f67f5ef74313da431f816ff45ca048bcb0. SDK Automation 14.0.0command sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json command pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
❌Az.compute [View full logs] [Preview SDK Changes]
|
Hi @tiregan, Your PR has some issues. Please fix the CI sequentially by following the order of
|
|
Hi @tiregan, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
|
The breaking change errors are concerning 2022-03-03 compared to 2021-10-01. This skips the 2022-01-03 version which had caused these breaking changes and were approved and merged. |
ArcturusZhang
left a comment
There was a problem hiding this comment.
We have quite a few breaking changes introduced by this PR. I notice these because compute SDK of dotnet has already GA and we cannot introduce breaking changes to it (at lease for a few years). We will need to discuss a solution for these changes as well.
We could defer that discussion since this is a dev branch.
| }, | ||
| "source": { | ||
| "$ref": "#/definitions/GalleryArtifactVersionSource" | ||
| "$ref": "#/definitions/GalleryDiskImageSource" |
There was a problem hiding this comment.
This change is a breaking change to SDKs and it is hard for our SDKs to resolve that.
Could we change the implementation here a little bit to keep its original name?
There was a problem hiding this comment.
@ArcturusZhang
The issue is that previously both GalleryImageVersionStorageProfile and GalleryDiskImage both refer to an object called GalleryArtifactVersionSource for the source field. This isn't really correct because they're logically different concepts. These changes fixes this issue.
To illustrate this issue, the current swagger before these changes implies that you can use source.uri field for the GalleryImageVersionStorageProfile but that is incorrect. The uri field only exists on the GalleryDiskImage. These changes I made here fixed this issue and prevent the issue from getting worse as these two models evolve independently.
This is not really a breaking change for the customer. If the customer where to specify the source.uri field for the GalleryImageVersionStorageProfile then the service would have rejected that request. We are not breaking any customer but instead fixing a previous mistake.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.