Skip to content
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 community gallery image identifier #23820

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
"description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."
},
"identifier": {
"$ref": "./galleryRPCommon.json#/definitions/GalleryImageIdentifier"
"$ref": "#/definitions/CommunityGalleryImageIdentifier"
},
"recommended": {
"$ref": "./galleryRPCommon.json#/definitions/RecommendedMachineConfiguration"
Expand Down Expand Up @@ -482,6 +482,23 @@
}
},
"description": "Describes the properties of a gallery image version."
},
"CommunityGalleryImageIdentifier": {
"properties": {
"publisher": {
"type": "string",
"description": "The name of the gallery image definition publisher."
},
"offer": {
"type": "string",
"description": "The name of the gallery image definition offer."
},
"sku": {
"type": "string",
"description": "The name of the gallery image definition SKU."
}
},
"description": "This is the community gallery image definition identifier."
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same object as GalleryImageIdentifier, except no required portion

}
},
"parameters": {
Expand Down