CommunityGalleryImagesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:community_gallery_images> attribute.
- Inheritance
-
builtins.objectCommunityGalleryImagesOperations
Constructor
CommunityGalleryImagesOperations(*args, **kwargs)
Methods
get |
Get a community gallery image. |
list |
List community gallery images inside a gallery. |
get
Get a community gallery image.
get(location: str, public_gallery_name: str, gallery_image_name: str, **kwargs: Any) -> CommunityGalleryImage
Parameters
Name | Description |
---|---|
location
Required
|
Resource location. Required. |
public_gallery_name
Required
|
The public name of the community gallery. Required. |
gallery_image_name
Required
|
The name of the community gallery image definition. Required. |
Returns
Type | Description |
---|---|
CommunityGalleryImage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
List community gallery images inside a gallery.
list(location: str, public_gallery_name: str, **kwargs: Any) -> Iterable[CommunityGalleryImage]
Parameters
Name | Description |
---|---|
location
Required
|
Resource location. Required. |
public_gallery_name
Required
|
The public name of the community gallery. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either CommunityGalleryImage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.compute.v2022_01_03.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2022_01_03\\models\\__init__.py'>