-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Fixed Integration Runtime semantic validation error. #6989
Conversation
In Testing, Please Ignore[Logs] (Generated from 4c59155, Iteration 1).NET: test-repo-billy/azure-sdk-for-net [Logs] [Diff]
Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
Java: test-repo-billy/azure-sdk-for-java [Logs] [Diff]Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]JavaScript: test-repo-billy/azure-sdk-for-js [Logs]
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonNothing to generate for azure-sdk-for-python |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
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.
@zhangyd2015 , change property from optional to required is a breaking change to SDK.
@raych1 We don't want to change this however we got semantic validation error for new PR. Looks like there is new validation rule that requires the properties for "discriminator" need to be required. |
To confirm with you, from SDK user perspective, they always pass the |
Right. |
* GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (#6751) * initial commit * syntax error fix * move galleryimageversionproperties under galleryimageproperties * add galleryimageversion as child of galleryimageproperties * update create/get galleryimage json example * remove version readonly and fix version description * add imagesource and fix imagepath example * fix getgalleryimage.json * pending to inprogress * mark secret x-ms-secret * fix osdisk uri to id in vms * update to local * create marketplacegalleryimages * fix file name * filenmae fix * file rename * file rename * add missing exampl.es * add enum * update vm and vhd examples * add num to galleryimages as well * fix example: remove imagepath from response and fix sizeInMB * update vhd example response with other properties * fix vm create vlow * fix example imagereference * fix osdisk camel case * remove securityprofile from response * add readonly to sizeInMB * update disksizeBytes and readonly to sizeInMB * update missed diskSizeBytes in examples * fix camelcase * remove osprofile from response and request when osdisk is specified in vm put * Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (#6989) * add signature, set proper status properties * fix semantics * fix status for all resources and remove signature * remove imagePath from marketplacegalleryimage example * fix status name * add readonly to status * add x-ms-client-flatten, and align errorMessage/errorCode description * update property description * add powerstate to virtualmachinestatus * add provisioningstate enum and remove readonly for galleryimageversion.name * Sync azurestackhci 2021-07 changes to 2021-09 (#7106) * sync marketplacegalleryimage descriptions * Add to custom words and fix example * fix updatemarketplacegalleryimage.json * add marketplaceGalleryImages to readme * update all references to v3 * Revert "update all references to v3" This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a. * npm run prettier * User/vishalk/storage container rpsaasdev (#7084) * swagger chanfes * added availablesize and containersize in status Co-authored-by: Vishal Kadam <[email protected]> * V3 to v2 * fix typo * Revert "fix typo" This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9. * Revert "V3 to v2" This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e. * convert all to v3 * v3 to v2, add ListOperationByCluster example * linter feedback * more fix based on linter feedback * fix breaking change errors * continue fixing breaking change * User/vishalk/storage container (#5953) * updated VHD object * updated storage container swagger * added available size property * updated description of path Co-authored-by: Vishal Kadam <[email protected]> * Add canceled to provisioningState enum Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]>
…ft.AzureStackHCI-2021-09-01-preview' (#21296) * Adds base for updating Microsoft.AzureStackHCI from version stable/2021-09-01 to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * resolve conflicts * [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147) * GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (#6751) * initial commit * syntax error fix * move galleryimageversionproperties under galleryimageproperties * add galleryimageversion as child of galleryimageproperties * update create/get galleryimage json example * remove version readonly and fix version description * add imagesource and fix imagepath example * fix getgalleryimage.json * pending to inprogress * mark secret x-ms-secret * fix osdisk uri to id in vms * update to local * create marketplacegalleryimages * fix file name * filenmae fix * file rename * file rename * add missing exampl.es * add enum * update vm and vhd examples * add num to galleryimages as well * fix example: remove imagepath from response and fix sizeInMB * update vhd example response with other properties * fix vm create vlow * fix example imagereference * fix osdisk camel case * remove securityprofile from response * add readonly to sizeInMB * update disksizeBytes and readonly to sizeInMB * update missed diskSizeBytes in examples * fix camelcase * remove osprofile from response and request when osdisk is specified in vm put * Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (#6989) * add signature, set proper status properties * fix semantics * fix status for all resources and remove signature * remove imagePath from marketplacegalleryimage example * fix status name * add readonly to status * add x-ms-client-flatten, and align errorMessage/errorCode description * update property description * add powerstate to virtualmachinestatus * add provisioningstate enum and remove readonly for galleryimageversion.name * Sync azurestackhci 2021-07 changes to 2021-09 (#7106) * sync marketplacegalleryimage descriptions * Add to custom words and fix example * fix updatemarketplacegalleryimage.json * add marketplaceGalleryImages to readme * update all references to v3 * Revert "update all references to v3" This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a. * npm run prettier * User/vishalk/storage container rpsaasdev (#7084) * swagger chanfes * added availablesize and containersize in status Co-authored-by: Vishal Kadam <[email protected]> * V3 to v2 * fix typo * Revert "fix typo" This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9. * Revert "V3 to v2" This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e. * convert all to v3 * v3 to v2, add ListOperationByCluster example * linter feedback * more fix based on linter feedback * fix breaking change errors * continue fixing breaking change * User/vishalk/storage container (#5953) * updated VHD object * updated storage container swagger * added available size property * updated description of path Co-authored-by: Vishal Kadam <[email protected]> * Add canceled to provisioningState enum Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> * cherry-pick merge conflict resolution * storage container changes (#6614) * storage container changes * added availableSizeGB and containerSizeGB properties * changed data type of containersize and availablesize * converted gb to mb * made availableSizeMB and containerSizeMB fields readonly Co-authored-by: Vishal Kadam <[email protected]> * Change hybrididentitymetadata vmid to resourceUid (#4921) * change hybrididentitymetadata vmid to resourceUid * update examples * fix missed merging changes * cherry-pick merge conflict resolution * remove 2022-09-01 examples * git difftool align differences with RPSaaSMaster * spellcheck fix * breaking change cross version fix * fix version * fix custom word typo * fix default tag to 2022-10 * address description and example feedback * address swagger modelvalidation errors * missed linter and model validation error * prettier fix * fixing breaking change errors * backport common.json from 2021-07-01-preview * prettier on common.json * replace Idenitty from v2 definitions * fix property bag capitalization * Add missed capitalization modifications * Add missed semantic fix * Add missed semantic fix * revert property definition capitalization according to reviewer feedback Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> Co-authored-by: aeweston-msft <[email protected]>
…ft.AzureStackHCI-2021-09-01-preview' (Azure#21296) * Adds base for updating Microsoft.AzureStackHCI from version stable/2021-09-01 to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * resolve conflicts * [Microsoft.AzureStackHCI] 2021-09-01-preview update (Azure#7147) * GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (Azure#6751) * initial commit * syntax error fix * move galleryimageversionproperties under galleryimageproperties * add galleryimageversion as child of galleryimageproperties * update create/get galleryimage json example * remove version readonly and fix version description * add imagesource and fix imagepath example * fix getgalleryimage.json * pending to inprogress * mark secret x-ms-secret * fix osdisk uri to id in vms * update to local * create marketplacegalleryimages * fix file name * filenmae fix * file rename * file rename * add missing exampl.es * add enum * update vm and vhd examples * add num to galleryimages as well * fix example: remove imagepath from response and fix sizeInMB * update vhd example response with other properties * fix vm create vlow * fix example imagereference * fix osdisk camel case * remove securityprofile from response * add readonly to sizeInMB * update disksizeBytes and readonly to sizeInMB * update missed diskSizeBytes in examples * fix camelcase * remove osprofile from response and request when osdisk is specified in vm put * Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (Azure#6989) * add signature, set proper status properties * fix semantics * fix status for all resources and remove signature * remove imagePath from marketplacegalleryimage example * fix status name * add readonly to status * add x-ms-client-flatten, and align errorMessage/errorCode description * update property description * add powerstate to virtualmachinestatus * add provisioningstate enum and remove readonly for galleryimageversion.name * Sync azurestackhci 2021-07 changes to 2021-09 (Azure#7106) * sync marketplacegalleryimage descriptions * Add to custom words and fix example * fix updatemarketplacegalleryimage.json * add marketplaceGalleryImages to readme * update all references to v3 * Revert "update all references to v3" This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a. * npm run prettier * User/vishalk/storage container rpsaasdev (Azure#7084) * swagger chanfes * added availablesize and containersize in status Co-authored-by: Vishal Kadam <[email protected]> * V3 to v2 * fix typo * Revert "fix typo" This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9. * Revert "V3 to v2" This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e. * convert all to v3 * v3 to v2, add ListOperationByCluster example * linter feedback * more fix based on linter feedback * fix breaking change errors * continue fixing breaking change * User/vishalk/storage container (Azure#5953) * updated VHD object * updated storage container swagger * added available size property * updated description of path Co-authored-by: Vishal Kadam <[email protected]> * Add canceled to provisioningState enum Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> * cherry-pick merge conflict resolution * storage container changes (Azure#6614) * storage container changes * added availableSizeGB and containerSizeGB properties * changed data type of containersize and availablesize * converted gb to mb * made availableSizeMB and containerSizeMB fields readonly Co-authored-by: Vishal Kadam <[email protected]> * Change hybrididentitymetadata vmid to resourceUid (Azure#4921) * change hybrididentitymetadata vmid to resourceUid * update examples * fix missed merging changes * cherry-pick merge conflict resolution * remove 2022-09-01 examples * git difftool align differences with RPSaaSMaster * spellcheck fix * breaking change cross version fix * fix version * fix custom word typo * fix default tag to 2022-10 * address description and example feedback * address swagger modelvalidation errors * missed linter and model validation error * prettier fix * fixing breaking change errors * backport common.json from 2021-07-01-preview * prettier on common.json * replace Idenitty from v2 definitions * fix property bag capitalization * Add missed capitalization modifications * Add missed semantic fix * Add missed semantic fix * revert property definition capitalization according to reviewer feedback Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> Co-authored-by: aeweston-msft <[email protected]>
…ft.AzureStackHCI-2021-09-01-preview' (Azure#21296) * Adds base for updating Microsoft.AzureStackHCI from version stable/2021-09-01 to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * resolve conflicts * [Microsoft.AzureStackHCI] 2021-09-01-preview update (Azure#7147) * GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (Azure#6751) * initial commit * syntax error fix * move galleryimageversionproperties under galleryimageproperties * add galleryimageversion as child of galleryimageproperties * update create/get galleryimage json example * remove version readonly and fix version description * add imagesource and fix imagepath example * fix getgalleryimage.json * pending to inprogress * mark secret x-ms-secret * fix osdisk uri to id in vms * update to local * create marketplacegalleryimages * fix file name * filenmae fix * file rename * file rename * add missing exampl.es * add enum * update vm and vhd examples * add num to galleryimages as well * fix example: remove imagepath from response and fix sizeInMB * update vhd example response with other properties * fix vm create vlow * fix example imagereference * fix osdisk camel case * remove securityprofile from response * add readonly to sizeInMB * update disksizeBytes and readonly to sizeInMB * update missed diskSizeBytes in examples * fix camelcase * remove osprofile from response and request when osdisk is specified in vm put * Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (Azure#6989) * add signature, set proper status properties * fix semantics * fix status for all resources and remove signature * remove imagePath from marketplacegalleryimage example * fix status name * add readonly to status * add x-ms-client-flatten, and align errorMessage/errorCode description * update property description * add powerstate to virtualmachinestatus * add provisioningstate enum and remove readonly for galleryimageversion.name * Sync azurestackhci 2021-07 changes to 2021-09 (Azure#7106) * sync marketplacegalleryimage descriptions * Add to custom words and fix example * fix updatemarketplacegalleryimage.json * add marketplaceGalleryImages to readme * update all references to v3 * Revert "update all references to v3" This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a. * npm run prettier * User/vishalk/storage container rpsaasdev (Azure#7084) * swagger chanfes * added availablesize and containersize in status Co-authored-by: Vishal Kadam <[email protected]> * V3 to v2 * fix typo * Revert "fix typo" This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9. * Revert "V3 to v2" This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e. * convert all to v3 * v3 to v2, add ListOperationByCluster example * linter feedback * more fix based on linter feedback * fix breaking change errors * continue fixing breaking change * User/vishalk/storage container (Azure#5953) * updated VHD object * updated storage container swagger * added available size property * updated description of path Co-authored-by: Vishal Kadam <[email protected]> * Add canceled to provisioningState enum Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> * cherry-pick merge conflict resolution * storage container changes (Azure#6614) * storage container changes * added availableSizeGB and containerSizeGB properties * changed data type of containersize and availablesize * converted gb to mb * made availableSizeMB and containerSizeMB fields readonly Co-authored-by: Vishal Kadam <[email protected]> * Change hybrididentitymetadata vmid to resourceUid (Azure#4921) * change hybrididentitymetadata vmid to resourceUid * update examples * fix missed merging changes * cherry-pick merge conflict resolution * remove 2022-09-01 examples * git difftool align differences with RPSaaSMaster * spellcheck fix * breaking change cross version fix * fix version * fix custom word typo * fix default tag to 2022-10 * address description and example feedback * address swagger modelvalidation errors * missed linter and model validation error * prettier fix * fixing breaking change errors * backport common.json from 2021-07-01-preview * prettier on common.json * replace Idenitty from v2 definitions * fix property bag capitalization * Add missed capitalization modifications * Add missed semantic fix * Add missed semantic fix * revert property definition capitalization according to reviewer feedback Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]> Co-authored-by: aeweston-msft <[email protected]>
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.