GalleryApplicationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:gallery_applications> attribute.

Inheritance
builtins.object
GalleryApplicationsOperations

Constructor

GalleryApplicationsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a gallery Application Definition.

begin_delete

Delete a gallery Application.

begin_update

Update a gallery Application Definition.

get

Retrieves information about a gallery Application Definition.

list_by_gallery

List gallery Application Definitions in a gallery.

begin_create_or_update

Create or update a gallery Application Definition.

async begin_create_or_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application: _models.GalleryApplication, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.GalleryApplication]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Application Gallery in which the Application Definition is to be created. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. Required.

gallery_application
Required

Parameters supplied to the create or update gallery Application operation. Is either a GalleryApplication type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either GalleryApplication or the result of cls(response)

Exceptions

Type Description

begin_delete

Delete a gallery Application.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Application Gallery in which the Application Definition is to be deleted. Required.

gallery_application_name
Required
str

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

Returns

Type Description

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

begin_update

Update a gallery Application Definition.

async begin_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application: _models.GalleryApplicationUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.GalleryApplication]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Application Gallery in which the Application Definition is to be updated. Required.

gallery_application_name
Required
str

The name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. Required.

gallery_application
Required

Parameters supplied to the update gallery Application operation. Is either a GalleryApplicationUpdate type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either GalleryApplication or the result of cls(response)

Exceptions

Type Description

get

Retrieves information about a gallery Application Definition.

async get(resource_group_name: str, gallery_name: str, gallery_application_name: str, **kwargs: Any) -> GalleryApplication

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Application Gallery from which the Application Definitions are to be retrieved. Required.

gallery_application_name
Required
str

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

Returns

Type Description

GalleryApplication or the result of cls(response)

Exceptions

Type Description

List gallery Application Definitions in a gallery.

list_by_gallery(resource_group_name: str, gallery_name: str, **kwargs: Any) -> AsyncIterable[GalleryApplication]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Application Gallery from which Application Definitions are to be listed. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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