GallerySharingProfileOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:gallery_sharing_profile> attribute.

Inheritance
builtins.object
GallerySharingProfileOperations

Constructor

GallerySharingProfileOperations(*args, **kwargs)

Methods

begin_update

Update sharing profile of a gallery.

begin_update

Update sharing profile of a gallery.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

sharing_update
Required

Parameters supplied to the update gallery sharing profile. Is either a SharingUpdate type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either SharingUpdate 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'>