CommunityGalleryImagesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:community_gallery_images> attribute.

Inheritance
builtins.object
CommunityGalleryImagesOperations

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.

async get(location: str, public_gallery_name: str, gallery_image_name: str, **kwargs: Any) -> CommunityGalleryImage

Parameters

Name Description
location
Required
str

Resource location. Required.

public_gallery_name
Required
str

The public name of the community gallery. Required.

gallery_image_name
Required
str

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) -> AsyncIterable[CommunityGalleryImage]

Parameters

Name Description
location
Required
str

Resource location. Required.

public_gallery_name
Required
str

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_03_03.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2022_03_03\\models\\__init__.py'>