GalleryApplicationVersionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:gallery_application_versions> attribute.

Constructor

GalleryApplicationVersionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a gallery Application Version.

begin_delete

Delete a gallery Application Version.

begin_update

Update a gallery Application Version.

get

Retrieves information about a gallery Application Version.

list_by_gallery_application

List gallery Application Versions in a gallery Application Definition.

begin_create_or_update

Create or update a gallery Application Version.

begin_create_or_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, gallery_application_version: _models.GalleryApplicationVersion, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.GalleryApplicationVersion]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be retrieved. Required.

gallery_application_version_name
Required
str

The name of the gallery Application Version to be retrieved. Required.

gallery_application_version
Required
GalleryApplicationVersion or <xref:JSON> or IO[bytes]

Parameters supplied to the create or update gallery Application Version operation. Is one of the following types: GalleryApplicationVersion, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns GalleryApplicationVersion. The GalleryApplicationVersion is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a gallery Application Version.

begin_delete(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be retrieved. Required.

gallery_application_version_name
Required
str

The name of the gallery Application Version to be retrieved. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_update

Update a gallery Application Version.

begin_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, gallery_application_version: _models.GalleryApplicationVersionUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.GalleryApplicationVersion]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be retrieved. Required.

gallery_application_version_name
Required
str

The name of the gallery Application Version to be retrieved. Required.

gallery_application_version
Required

Parameters supplied to the update gallery Application Version operation. Is one of the following types: GalleryApplicationVersionUpdate, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns GalleryApplicationVersion. The GalleryApplicationVersion is compatible with MutableMapping

Exceptions

Type Description

get

Retrieves information about a gallery Application Version.

get(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, *, expand: str | ReplicationStatusTypes | None = None, **kwargs: Any) -> GalleryApplicationVersion

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be retrieved. Required.

gallery_application_version_name
Required
str

The name of the gallery Application Version to be retrieved. Required.

Keyword-Only Parameters

Name Description
expand

The expand expression to apply on the operation. Known values are: "ReplicationStatus" and "UefiSettings". Default value is None.

Default value: None

Returns

Type Description

GalleryApplicationVersion. The GalleryApplicationVersion is compatible with MutableMapping

Exceptions

Type Description

List gallery Application Versions in a gallery Application Definition.

list_by_gallery_application(resource_group_name: str, gallery_name: str, gallery_application_name: str, **kwargs: Any) -> ItemPaged[GalleryApplicationVersion]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be retrieved. Required.

Returns

Type Description

An iterator like instance of GalleryApplicationVersion

Exceptions

Type Description