通过


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

GallerySharingProfile interface

表示 GallerySharingProfile 的接口。

方法

beginUpdate(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

更新库的共享配置文件。

beginUpdateAndWait(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

更新库的共享配置文件。

方法详细信息

beginUpdate(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

更新库的共享配置文件。

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

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

galleryName

string

共享映像库的名称。

sharingUpdate
SharingUpdate

提供给更新库共享配置文件的参数。

返回

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

beginUpdateAndWait(string, string, SharingUpdate, GallerySharingProfileUpdateOptionalParams)

更新库的共享配置文件。

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

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

galleryName

string

共享映像库的名称。

sharingUpdate
SharingUpdate

提供给更新库共享配置文件的参数。

返回

Promise<SharingUpdate>