@@ -59,7 +59,8 @@ export class API extends ParentAPI {
5959 )
6060
6161 /**
62- * List marketplace images.
62+ * List marketplace images. List all available images on the marketplace,
63+ * their UUID, CPU architecture and description.
6364 *
6465 * @param request - The request {@link ListImagesRequest}
6566 * @returns A Promise of ListImagesResponse
@@ -68,7 +69,8 @@ export class API extends ParentAPI {
6869 enrichForPagination ( 'images' , this . pageOfListImages , request )
6970
7071 /**
71- * Get a specific marketplace image.
72+ * Get a specific marketplace image. Get detailed information about a
73+ * marketplace image, specified by its `image_id` (UUID format).
7274 *
7375 * @param request - The request {@link GetImageRequest}
7476 * @returns A Promise of Image
@@ -103,9 +105,24 @@ export class API extends ParentAPI {
103105 unmarshalListVersionsResponse ,
104106 )
105107
108+ /**
109+ * List versions of an Image. Get a list of all available version of an image,
110+ * specified by its `image_id` (UUID format).
111+ *
112+ * @param request - The request {@link ListVersionsRequest}
113+ * @returns A Promise of ListVersionsResponse
114+ */
106115 listVersions = ( request : Readonly < ListVersionsRequest > ) =>
107116 enrichForPagination ( 'versions' , this . pageOfListVersions , request )
108117
118+ /**
119+ * Get a specific image version. Get information such as the name, creation
120+ * date, last update and published date for an image version specified by its
121+ * `version_id` (UUID format).
122+ *
123+ * @param request - The request {@link GetVersionRequest}
124+ * @returns A Promise of Version
125+ */
109126 getVersion = ( request : Readonly < GetVersionRequest > ) =>
110127 this . client . fetch < Version > (
111128 {
@@ -155,14 +172,26 @@ export class API extends ParentAPI {
155172 )
156173
157174 /**
158- * List local images from a specific image or version.
175+ * List local images from a specific image or version. List information about
176+ * local images in a specific Availability Zone, specified by its `image_id`
177+ * (UUID format), `version_id` (UUID format) or `image_label`. Only one of
178+ * these three parameters may be set.
159179 *
160180 * @param request - The request {@link ListLocalImagesRequest}
161181 * @returns A Promise of ListLocalImagesResponse
162182 */
163183 listLocalImages = ( request : Readonly < ListLocalImagesRequest > = { } ) =>
164184 enrichForPagination ( 'localImages' , this . pageOfListLocalImages , request )
165185
186+ /**
187+ * Get a specific local image by ID. Get detailed information about a local
188+ * image, including compatible commercial types, supported architecture,
189+ * labels and the Availability Zone of the image, specified by its
190+ * `local_image_id` (UUID format).
191+ *
192+ * @param request - The request {@link GetLocalImageRequest}
193+ * @returns A Promise of LocalImage
194+ */
166195 getLocalImage = ( request : Readonly < GetLocalImageRequest > ) =>
167196 this . client . fetch < LocalImage > (
168197 {
@@ -193,9 +222,23 @@ export class API extends ParentAPI {
193222 unmarshalListCategoriesResponse ,
194223 )
195224
225+ /**
226+ * List existing image categories. Get a list of all existing categories. The
227+ * output can be paginated.
228+ *
229+ * @param request - The request {@link ListCategoriesRequest}
230+ * @returns A Promise of ListCategoriesResponse
231+ */
196232 listCategories = ( request : Readonly < ListCategoriesRequest > = { } ) =>
197233 enrichForPagination ( 'categories' , this . pageOfListCategories , request )
198234
235+ /**
236+ * Get a specific category. Get information about a specific category of the
237+ * marketplace catalog, specified by its `category_id` (UUID format).
238+ *
239+ * @param request - The request {@link GetCategoryRequest}
240+ * @returns A Promise of Category
241+ */
199242 getCategory = ( request : Readonly < GetCategoryRequest > ) =>
200243 this . client . fetch < Category > (
201244 {
0 commit comments