Partager via


GallerySharingProfile interface

Interface representing a GallerySharingProfile.

Methods

beginUpdate(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

Update sharing profile of a gallery.

beginUpdateAndWait(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

Update sharing profile of a gallery.

Method Details

beginUpdate(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

Update sharing profile of a gallery.

function beginUpdate(resourceGroupName: string, galleryName: string, sharingUpdate: SharingUpdate, options?: GallerySharingProfileUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SharingUpdate>, SharingUpdate>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery.

sharingUpdate
SharingUpdate

Parameters supplied to the update gallery sharing profile.

options
GallerySharingProfileUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

Update sharing profile of a gallery.

function beginUpdateAndWait(resourceGroupName: string, galleryName: string, sharingUpdate: SharingUpdate, options?: GallerySharingProfileUpdateOptionalParams): Promise<SharingUpdate>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery.

sharingUpdate
SharingUpdate

Parameters supplied to the update gallery sharing profile.

options
GallerySharingProfileUpdateOptionalParams

The options parameters.

Returns

Promise<SharingUpdate>