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>