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

GalleryScriptVersionsOperations interface

表示 GalleryScriptVersions 操作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

创建或更新图库脚本版本。

delete
get

自定义ArmResourceRead作模板,CloudError为错误

listByGalleryScript

列表画廊 脚本版本 画廊 脚本定义。

update

更新图库脚本版本。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

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, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>>

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

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, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams) => Promise<GalleryScriptVersion>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

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, options?: GalleryScriptVersionsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

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, options?: GalleryScriptVersionsUpdateOptionalParams) => Promise<GalleryScriptVersion>

createOrUpdate

创建或更新图库脚本版本。

createOrUpdate: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersion, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersion, options?: GalleryScriptVersionsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>

delete

delete: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

自定义ArmResourceRead作模板,CloudError为错误

get: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsGetOptionalParams) => Promise<GalleryScriptVersion>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, options?: GalleryScriptVersionsGetOptionalParams) => Promise<GalleryScriptVersion>

listByGalleryScript

列表画廊 脚本版本 画廊 脚本定义。

listByGalleryScript: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptVersionsListByGalleryScriptOptionalParams) => PagedAsyncIterableIterator<GalleryScriptVersion, GalleryScriptVersion[], PageSettings>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptVersionsListByGalleryScriptOptionalParams) => PagedAsyncIterableIterator<GalleryScriptVersion, GalleryScriptVersion[], PageSettings>

update

更新图库脚本版本。

update: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersionUpdate, options?: GalleryScriptVersionsUpdateOptionalParams) => PollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>

属性值

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScriptVersionName: string, galleryScriptVersion: GalleryScriptVersionUpdate, options?: GalleryScriptVersionsUpdateOptionalParams) => PollerLike<OperationState<GalleryScriptVersion>, GalleryScriptVersion>