CommunityGalleryImageVersionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:community_gallery_image_versions> attribute.
Constructor
CommunityGalleryImageVersionsOperations(*args, **kwargs)
Methods
| get |
Get a community gallery image version. |
| list |
List community gallery image versions inside an image. |
get
Get a community gallery image version.
get(location: str, public_gallery_name: str, gallery_image_name: str, gallery_image_version_name: str, **kwargs: Any) -> CommunityGalleryImageVersion
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The name of the Azure region. 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. |
|
gallery_image_version_name
Required
|
The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>. Required. |
Returns
| Type | Description |
|---|---|
|
CommunityGalleryImageVersion. The CommunityGalleryImageVersion is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
List community gallery image versions inside an image.
list(location: str, public_gallery_name: str, gallery_image_name: str, **kwargs: Any) -> ItemPaged[CommunityGalleryImageVersion]
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The name of the Azure region. 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 |
|---|---|
|
An iterator like instance of CommunityGalleryImageVersion |
Exceptions
| Type | Description |
|---|---|