共用方式為


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

共用映像庫的名稱。

傳回