CommunityGalleryImageVersionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:community_gallery_image_versions> attribute.

Inheritance
builtins.object
CommunityGalleryImageVersionsOperations

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.

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

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.

gallery_image_version_name
Required
str

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>.:code:.:code:. Required.

Returns

Type Description

CommunityGalleryImageVersion or the result of cls(response)

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

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

An iterator like instance of either CommunityGalleryImageVersion or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2022_08_03.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2022_08_03\\models\\__init__.py'>