你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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>