GalleryImages interface
表示 GalleryImages 的介面。
方法
方法詳細資料
beginCreateOrUpdate(string, string, string, GalleryImage, GalleryImagesCreateOrUpdateOptionalParams)
建立或更新資源庫映像定義。
function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImage, options?: GalleryImagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要在其中建立映像定義的共用映像庫名稱。
- galleryImageName
-
string
要建立或更新的資源庫映像定義名稱。 允許的字元是字母和數位,其中包含中間允許的點、虛線和句點。 最大長度為80個字元。
- galleryImage
- GalleryImage
提供給建立或更新資源庫映像作業的參數。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
beginCreateOrUpdateAndWait(string, string, string, GalleryImage, GalleryImagesCreateOrUpdateOptionalParams)
建立或更新資源庫映像定義。
function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImage, options?: GalleryImagesCreateOrUpdateOptionalParams): Promise<GalleryImage>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要在其中建立映像定義的共用映像庫名稱。
- galleryImageName
-
string
要建立或更新的資源庫映像定義名稱。 允許的字元是字母和數位,其中包含中間允許的點、虛線和句點。 最大長度為80個字元。
- galleryImage
- GalleryImage
提供給建立或更新資源庫映像作業的參數。
選項參數。
傳回
Promise<GalleryImage>
beginDelete(string, string, string, GalleryImagesDeleteOptionalParams)
刪除資源庫映像。
function beginDelete(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要刪除映像定義的共用映像庫名稱。
- galleryImageName
-
string
要刪除的資源庫映像定義名稱。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, GalleryImagesDeleteOptionalParams)
刪除資源庫映像。
function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要刪除映像定義的共用映像庫名稱。
- galleryImageName
-
string
要刪除的資源庫映像定義名稱。
選項參數。
傳回
Promise<void>
beginUpdate(string, string, string, GalleryImageUpdate, GalleryImagesUpdateOptionalParams)
更新資源庫映像定義。
function beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImageUpdate, options?: GalleryImagesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要更新映像定義的共用映像庫名稱。
- galleryImageName
-
string
要更新的資源庫映像定義名稱。 允許的字元是字母和數位,其中包含中間允許的點、虛線和句點。 最大長度為80個字元。
- galleryImage
- GalleryImageUpdate
提供給更新資源庫映像作業的參數。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
beginUpdateAndWait(string, string, string, GalleryImageUpdate, GalleryImagesUpdateOptionalParams)
更新資源庫映像定義。
function beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImageUpdate, options?: GalleryImagesUpdateOptionalParams): Promise<GalleryImage>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要更新映像定義的共用映像庫名稱。
- galleryImageName
-
string
要更新的資源庫映像定義名稱。 允許的字元是字母和數位,其中包含中間允許的點、虛線和句點。 最大長度為80個字元。
- galleryImage
- GalleryImageUpdate
提供給更新資源庫映像作業的參數。
選項參數。
傳回
Promise<GalleryImage>
get(string, string, string, GalleryImagesGetOptionalParams)
擷取資源庫映像定義的相關信息。
function get(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesGetOptionalParams): Promise<GalleryImage>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要從中擷取映像定義的共用映像庫名稱。
- galleryImageName
-
string
要擷取的資源庫映像定義名稱。
- options
- GalleryImagesGetOptionalParams
選項參數。
傳回
Promise<GalleryImage>
listByGallery(string, string, GalleryImagesListByGalleryOptionalParams)
列出資源庫中的圖庫映像定義。
function listByGallery(resourceGroupName: string, galleryName: string, options?: GalleryImagesListByGalleryOptionalParams): PagedAsyncIterableIterator<GalleryImage, GalleryImage[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
- galleryName
-
string
要從中列出映像定義的共用映像庫名稱。
選項參數。