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
画廊名称 脚本定义 待检索。
选项参数。