azure-rest-api-specs
azure-rest-api-specs copied to clipboard
`compute` Gallery doesn't return `publicNamePrefix`
When using below request to create a community gallery, publicNamePrefix is set but not returned in the GET response. Though the value can be extracted from publicNames
, it violates https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md#roundtrip_missing_property.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}
{
"location": "eastus",
"properties": {
"sharingProfile": {
"permissions": "Community",
"communityGalleryInfo": {
"publicNamePrefix": "prefix",
"publisherUri": "publisherurl.net",
"publisherContact": "[email protected]",
"eula": "testeula"
}
}
}
}
GET response:
{
"properties": {
"sharingProfile": {
"communityGalleryInfo": {
...
"publicNames": [
"prefix-446a305e-2918-473a-8244-1a2fa18d9d5c"
]
}
}
}
}
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L37 https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L1873
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv, @vaibhav-agar, @amjads1.
Issue Details
When using below request to create a community gallery, publicNamePrefix is set but not returned in the GET response. Though the value can be extracted from publicNames
, it violates https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md#roundtrip_missing_property.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}
{
"location": "eastus",
"properties": {
"sharingProfile": {
"permissions": "Community",
"communityGalleryInfo": {
"publicNamePrefix": "prefix",
"publisherUri": "publisherurl.net",
"publisherContact": "[email protected]",
"eula": "testeula"
}
}
}
}
GET response:
{
"properties": {
"sharingProfile": {
"communityGalleryInfo": {
...
"publicNames": [
"prefix-446a305e-2918-473a-8244-1a2fa18d9d5c"
]
}
}
}
}
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L37 https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L1873
Author: | myc2h6o |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv, @vaibhav-agar, @amjads1.
Issue Details
When using below request to create a community gallery, publicNamePrefix is set but not returned in the GET response. Though the value can be extracted from publicNames
, it violates https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md#roundtrip_missing_property.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}
{
"location": "eastus",
"properties": {
"sharingProfile": {
"permissions": "Community",
"communityGalleryInfo": {
"publicNamePrefix": "prefix",
"publisherUri": "publisherurl.net",
"publisherContact": "[email protected]",
"eula": "testeula"
}
}
}
}
GET response:
{
"properties": {
"sharingProfile": {
"communityGalleryInfo": {
...
"publicNames": [
"prefix-446a305e-2918-473a-8244-1a2fa18d9d5c"
]
}
}
}
}
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L37 https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03/gallery.json#L1873
Author: | myc2h6o |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
Adding Service team to look into this.
@Drewm3, @avirishuv, @Vaibhav-Agar, @amjads1 Could you please look into this once you get a chance ?
@sandeepraichura, could you please look into this issue.
@kangsun-ctrl - We had a thread with Yichun on this, can you take a look at this one ?
Pr for this has been merged, rolling out right. This can be closed after fully rollout.
@myc2h6o - Closing this out as it has been addressed