Partager via


Galleries interface

Interface representing a Galleries.

Methods

beginCreateOrUpdate(string, string, Gallery, GalleriesCreateOrUpdateOptionalParams)

Create or update a Shared Image Gallery.

beginCreateOrUpdateAndWait(string, string, Gallery, GalleriesCreateOrUpdateOptionalParams)

Create or update a Shared Image Gallery.

beginDelete(string, string, GalleriesDeleteOptionalParams)

Delete a Shared Image Gallery.

beginDeleteAndWait(string, string, GalleriesDeleteOptionalParams)

Delete a Shared Image Gallery.

beginUpdate(string, string, GalleryUpdate, GalleriesUpdateOptionalParams)

Update a Shared Image Gallery.

beginUpdateAndWait(string, string, GalleryUpdate, GalleriesUpdateOptionalParams)

Update a Shared Image Gallery.

get(string, string, GalleriesGetOptionalParams)

Retrieves information about a Shared Image Gallery.

list(GalleriesListOptionalParams)

List galleries under a subscription.

listByResourceGroup(string, GalleriesListByResourceGroupOptionalParams)

List galleries under a resource group.

Method Details

beginCreateOrUpdate(string, string, Gallery, GalleriesCreateOrUpdateOptionalParams)

Create or update a Shared Image Gallery.

function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, gallery: Gallery, options?: GalleriesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Gallery>, Gallery>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

gallery
Gallery

Parameters supplied to the create or update Shared Image Gallery operation.

options
GalleriesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Gallery>, Gallery>>

beginCreateOrUpdateAndWait(string, string, Gallery, GalleriesCreateOrUpdateOptionalParams)

Create or update a Shared Image Gallery.

function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, gallery: Gallery, options?: GalleriesCreateOrUpdateOptionalParams): Promise<Gallery>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

gallery
Gallery

Parameters supplied to the create or update Shared Image Gallery operation.

options
GalleriesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Gallery>

beginDelete(string, string, GalleriesDeleteOptionalParams)

Delete a Shared Image Gallery.

function beginDelete(resourceGroupName: string, galleryName: string, options?: GalleriesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery to be deleted.

options
GalleriesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, GalleriesDeleteOptionalParams)

Delete a Shared Image Gallery.

function beginDeleteAndWait(resourceGroupName: string, galleryName: string, options?: GalleriesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery to be deleted.

options
GalleriesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, GalleryUpdate, GalleriesUpdateOptionalParams)

Update a Shared Image Gallery.

function beginUpdate(resourceGroupName: string, galleryName: string, gallery: GalleryUpdate, options?: GalleriesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Gallery>, Gallery>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

gallery
GalleryUpdate

Parameters supplied to the update Shared Image Gallery operation.

options
GalleriesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Gallery>, Gallery>>

beginUpdateAndWait(string, string, GalleryUpdate, GalleriesUpdateOptionalParams)

Update a Shared Image Gallery.

function beginUpdateAndWait(resourceGroupName: string, galleryName: string, gallery: GalleryUpdate, options?: GalleriesUpdateOptionalParams): Promise<Gallery>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

gallery
GalleryUpdate

Parameters supplied to the update Shared Image Gallery operation.

options
GalleriesUpdateOptionalParams

The options parameters.

Returns

Promise<Gallery>

get(string, string, GalleriesGetOptionalParams)

Retrieves information about a Shared Image Gallery.

function get(resourceGroupName: string, galleryName: string, options?: GalleriesGetOptionalParams): Promise<Gallery>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery.

options
GalleriesGetOptionalParams

The options parameters.

Returns

Promise<Gallery>

list(GalleriesListOptionalParams)

List galleries under a subscription.

function list(options?: GalleriesListOptionalParams): PagedAsyncIterableIterator<Gallery, Gallery[], PageSettings>

Parameters

options
GalleriesListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, GalleriesListByResourceGroupOptionalParams)

List galleries under a resource group.

function listByResourceGroup(resourceGroupName: string, options?: GalleriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Gallery, Gallery[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
GalleriesListByResourceGroupOptionalParams

The options parameters.

Returns