SharedGalleryImagesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:shared_gallery_images> attribute.
Constructor
SharedGalleryImagesOperations(*args, **kwargs)
Methods
| get |
Get a shared gallery image by subscription id or tenant id. |
| list |
List shared gallery images by subscription id or tenant id. |
get
Get a shared gallery image by subscription id or tenant id.
get(location: str, gallery_unique_name: str, gallery_image_name: str, **kwargs: Any) -> SharedGalleryImage
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The name of the Azure region. Required. |
|
gallery_unique_name
Required
|
The unique name of the Shared Gallery. Required. |
|
gallery_image_name
Required
|
The name of the Shared Gallery Image Definition from which the Image Versions are to be listed. Required. |
Returns
| Type | Description |
|---|---|
|
SharedGalleryImage. The SharedGalleryImage is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
List shared gallery images by subscription id or tenant id.
list(location: str, gallery_unique_name: str, *, shared_to: str | SharedToValues | None = None, **kwargs: Any) -> ItemPaged[SharedGalleryImage]
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The name of the Azure region. Required. |
|
gallery_unique_name
Required
|
The unique name of the Shared Gallery. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
shared_to
|
The query parameter to decide what shared galleries to fetch when doing listing operations. "tenant" Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of SharedGalleryImage |
Exceptions
| Type | Description |
|---|---|