GalleryScriptVersions interface
介面代表 GalleryScriptVersions。
方法
方法詳細資料
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
提供給建立或更新圖庫 腳本版本操作的參數。
選項參數。
傳回
Promise<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
畫廊名稱 劇本版本待檢索。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryScriptVersionsDeleteHeaders>, GalleryScriptVersionsDeleteHeaders>>
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
畫廊名稱 劇本版本待檢索。
選項參數。
傳回
Promise<GalleryScriptVersionsDeleteHeaders>
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
參數提供給更新畫廊腳本版本操作。
選項參數。
傳回
Promise<GalleryScriptVersion>
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
畫廊名稱 劇本版本待檢索。
選項參數。
傳回
Promise<GalleryScriptVersion>
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
畫廊名稱 腳本定義待檢索。
選項參數。