通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

画廊名称 脚本定义 待检索。

返回