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

GalleryScriptsOperations interface

表示 GalleryScripts 操作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

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

delete
get

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

listByGallery

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

update

更新画廊脚本定义。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

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

属性值

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

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

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

属性值

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

beginDelete

警告

现已弃用此 API。

use delete instead

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

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

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<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

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>

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

delete

delete: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

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

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

属性值

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

listByGallery

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

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

属性值

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

update

更新画廊脚本定义。

update: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>