共用方式為


GalleryScriptVersions interface

介面代表 GalleryScriptVersions。

方法

beginCreateOrUpdate(string, string, string, string, GalleryScriptVersion, GalleryScriptVersionsCreateOrUpdateOptionalParams)

建立或更新圖庫腳本版本。

beginCreateOrUpdateAndWait(string, string, string, string, GalleryScriptVersion, GalleryScriptVersionsCreateOrUpdateOptionalParams)

建立或更新圖庫腳本版本。

beginDelete(string, string, string, string, GalleryScriptVersionsDeleteOptionalParams)

刪除圖庫腳本版本。

beginDeleteAndWait(string, string, string, string, GalleryScriptVersionsDeleteOptionalParams)

刪除圖庫腳本版本。

beginUpdate(string, string, string, string, GalleryScriptVersionUpdate, GalleryScriptVersionsUpdateOptionalParams)

更新畫廊腳本版本。

beginUpdateAndWait(string, string, string, string, GalleryScriptVersionUpdate, GalleryScriptVersionsUpdateOptionalParams)

更新畫廊腳本版本。

get(string, string, string, string, GalleryScriptVersionsGetOptionalParams)

自訂 ArmResourceRead 操作範本,CloudError 為錯誤

listByGalleryScript(string, string, string, GalleryScriptVersionsListByGalleryScriptOptionalParams)

在圖庫中列出腳本版本 腳本定義。

方法詳細資料

beginCreateOrUpdate(string, string, string, string, GalleryScriptVersion, GalleryScriptVersionsCreateOrUpdateOptionalParams)

建立或更新圖庫腳本版本。

function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersion, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

galleryScriptVersion
GalleryScriptVersion

提供給建立或更新圖庫 腳本版本操作的參數。

傳回

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

beginCreateOrUpdateAndWait(string, string, string, string, GalleryScriptVersion, GalleryScriptVersionsCreateOrUpdateOptionalParams)

建立或更新圖庫腳本版本。

function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersion, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams): Promise<GalleryScriptVersion>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

galleryScriptVersion
GalleryScriptVersion

提供給建立或更新圖庫 腳本版本操作的參數。

傳回

beginDelete(string, string, string, string, GalleryScriptVersionsDeleteOptionalParams)

刪除圖庫腳本版本。

function beginDelete(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScriptVersionsDeleteHeaders>, GalleryScriptVersionsDeleteHeaders>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

傳回

beginDeleteAndWait(string, string, string, string, GalleryScriptVersionsDeleteOptionalParams)

刪除圖庫腳本版本。

function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams): Promise<GalleryScriptVersionsDeleteHeaders>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

傳回

beginUpdate(string, string, string, string, GalleryScriptVersionUpdate, GalleryScriptVersionsUpdateOptionalParams)

更新畫廊腳本版本。

function beginUpdate(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersionUpdate, options?: GalleryScriptVersionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

galleryScriptVersion
GalleryScriptVersionUpdate

參數提供給更新畫廊腳本版本操作。

傳回

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

beginUpdateAndWait(string, string, string, string, GalleryScriptVersionUpdate, GalleryScriptVersionsUpdateOptionalParams)

更新畫廊腳本版本。

function beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersionUpdate, options?: GalleryScriptVersionsUpdateOptionalParams): Promise<GalleryScriptVersion>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

galleryScriptVersion
GalleryScriptVersionUpdate

參數提供給更新畫廊腳本版本操作。

傳回

get(string, string, string, string, GalleryScriptVersionsGetOptionalParams)

自訂 ArmResourceRead 操作範本,CloudError 為錯誤

function get(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsGetOptionalParams): Promise<GalleryScriptVersion>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

galleryScriptVersionName

string

畫廊名稱 劇本版本待檢索。

options
GalleryScriptVersionsGetOptionalParams

選項參數。

傳回

listByGalleryScript(string, string, string, GalleryScriptVersionsListByGalleryScriptOptionalParams)

在圖庫中列出腳本版本 腳本定義。

function listByGalleryScript(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptVersionsListByGalleryScriptOptionalParams): PagedAsyncIterableIterator<GalleryScriptVersion, GalleryScriptVersion[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

galleryName

string

共用映像庫的名稱。

galleryScriptName

string

畫廊名稱 腳本定義待檢索。

傳回