SharedGalleriesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:shared_galleries> attribute.

Constructor

SharedGalleriesOperations(*args, **kwargs)

Methods

get

Get a shared gallery by subscription id or tenant id.

list

List shared galleries by subscription id or tenant id.

get

Get a shared gallery by subscription id or tenant id.

async get(location: str, gallery_unique_name: str, **kwargs: Any) -> SharedGallery

Parameters

Name Description
location
Required
str

The name of the Azure region. Required.

gallery_unique_name
Required
str

The unique name of the Shared Gallery. Required.

Returns

Type Description

SharedGallery. The SharedGallery is compatible with MutableMapping

Exceptions

Type Description

list

List shared galleries by subscription id or tenant id.

list(location: str, *, shared_to: str | SharedToValues | None = None, **kwargs: Any) -> AsyncItemPaged[SharedGallery]

Parameters

Name Description
location
Required
str

The name of the Azure region. Required.

Keyword-Only Parameters

Name Description
shared_to

The query parameter to decide what shared galleries to fetch when doing listing operations. "tenant" Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of SharedGallery

Exceptions

Type Description