GalleryScripts interface
表示 GalleryScripts 的接口。
方法
方法详细信息
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
画廊名称 脚本定义 待检索。
选项参数。
返回
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
画廊名称 脚本定义 待检索。
选项参数。
返回
Promise<GalleryScriptsDeleteHeaders>
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
参数提供给更新画廊脚本作。
选项参数。
返回
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
参数提供给更新画廊脚本作。
选项参数。
返回
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
共享映像库的名称。
选项参数。