通过


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

GalleryScripts interface

表示 GalleryScripts 的接口。

方法

beginCreateOrUpdate(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

创建或更新图库脚本定义。 图库脚本允许存储、共享和重用常用脚本

beginCreateOrUpdateAndWait(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

创建或更新图库脚本定义。 图库脚本允许存储、共享和重用常用脚本

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

删除图库脚本定义。

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

删除图库脚本定义。

beginUpdate(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

更新画廊脚本定义。

beginUpdateAndWait(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

更新画廊脚本定义。

get(string, string, string, GalleryScriptsGetOptionalParams)

检索关于画廊脚本定义的信息。

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

列表画廊 画廊中的脚本定义。

方法详细信息

beginCreateOrUpdate(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

创建或更新图库脚本定义。 图库脚本允许存储、共享和重用常用脚本

function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

galleryScript
GalleryScript

为创建或更新画廊脚本作提供的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

创建或更新图库脚本定义。 图库脚本允许存储、共享和重用常用脚本

function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams): Promise<GalleryScript>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

galleryScript
GalleryScript

为创建或更新画廊脚本作提供的参数。

返回

Promise<GalleryScript>

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

删除图库脚本定义。

function beginDelete(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScriptsDeleteHeaders>, GalleryScriptsDeleteHeaders>>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

options
GalleryScriptsDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

删除图库脚本定义。

function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams): Promise<GalleryScriptsDeleteHeaders>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

options
GalleryScriptsDeleteOptionalParams

选项参数。

返回

beginUpdate(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

更新画廊脚本定义。

function beginUpdate(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

galleryScript
GalleryScriptUpdate

参数提供给更新画廊脚本作。

options
GalleryScriptsUpdateOptionalParams

选项参数。

返回

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

beginUpdateAndWait(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

更新画廊脚本定义。

function beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams): Promise<GalleryScript>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

galleryScript
GalleryScriptUpdate

参数提供给更新画廊脚本作。

options
GalleryScriptsUpdateOptionalParams

选项参数。

返回

Promise<GalleryScript>

get(string, string, string, GalleryScriptsGetOptionalParams)

检索关于画廊脚本定义的信息。

function get(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsGetOptionalParams): Promise<GalleryScript>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

galleryScriptName

string

画廊名称 脚本定义 待检索。

options
GalleryScriptsGetOptionalParams

选项参数。

返回

Promise<GalleryScript>

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

列表画廊 画廊中的脚本定义。

function listByGallery(resourceGroupName: string, galleryName: string, options?: GalleryScriptsListByGalleryOptionalParams): PagedAsyncIterableIterator<GalleryScript, GalleryScript[], PageSettings>

参数

resourceGroupName

string

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

galleryName

string

共享映像库的名称。

返回