GallerySharingProfileOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:gallery_sharing_profile> attribute.
- Inheritance
-
builtins.objectGallerySharingProfileOperations
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
|
The name of the resource group. Required. |
gallery_name
Required
|
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'>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python