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

ImagesOperations interface

表示图像操作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

创建或更新映像。

delete
get

获取映像。

list

获取订阅中的映像列表。 在响应中使用 nextLink 属性来获取图像的下一页。 这样做直到 nextLink 为 null 以获取所有图像。

listByResourceGroup

获取资源组下的映像列表。 在响应中使用 nextLink 属性来获取图像的下一页。 这样做直到 nextLink 为 null 以获取所有图像。

update

更新映像。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Image>, Image>>

属性值

(resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Image>, Image>>

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => Promise<Image>

属性值

(resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => Promise<Image>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

beginUpdate: (resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Image>, Image>>

属性值

(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Image>, Image>>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

beginUpdateAndWait: (resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => Promise<Image>

属性值

(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => Promise<Image>

createOrUpdate

创建或更新映像。

createOrUpdate: (resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Image>, Image>

属性值

(resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Image>, Image>

delete

delete: (resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

获取映像。

get: (resourceGroupName: string, imageName: string, options?: ImagesGetOptionalParams) => Promise<Image>

属性值

(resourceGroupName: string, imageName: string, options?: ImagesGetOptionalParams) => Promise<Image>

list

获取订阅中的映像列表。 在响应中使用 nextLink 属性来获取图像的下一页。 这样做直到 nextLink 为 null 以获取所有图像。

list: (options?: ImagesListOptionalParams) => PagedAsyncIterableIterator<Image, Image[], PageSettings>

属性值

(options?: ImagesListOptionalParams) => PagedAsyncIterableIterator<Image, Image[], PageSettings>

listByResourceGroup

获取资源组下的映像列表。 在响应中使用 nextLink 属性来获取图像的下一页。 这样做直到 nextLink 为 null 以获取所有图像。

listByResourceGroup: (resourceGroupName: string, options?: ImagesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Image, Image[], PageSettings>

属性值

(resourceGroupName: string, options?: ImagesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Image, Image[], PageSettings>

update

更新映像。

update: (resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => PollerLike<OperationState<Image>, Image>

属性值

(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams) => PollerLike<OperationState<Image>, Image>