你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Images interface
表示图像的接口。
方法
begin |
创建或更新映像。 |
begin |
创建或更新映像。 |
begin |
删除图像。 |
begin |
删除图像。 |
begin |
更新映像。 |
begin |
更新映像。 |
get(string, string, Images |
获取图像。 |
list(Images |
获取订阅中的映像列表。 在响应中使用 nextLink 属性获取图像的下一页。 执行此作,直到 nextLink 为 null 以提取所有映像。 |
list |
获取资源组下的图像列表。 在响应中使用 nextLink 属性获取图像的下一页。 执行此作,直到 nextLink 为 null 以提取所有映像。 |
方法详细信息
beginCreateOrUpdate(string, string, Image, ImagesCreateOrUpdateOptionalParams)
创建或更新映像。
function beginCreateOrUpdate(resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Image>, Image>>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- parameters
- Image
提供给“创建映像”作的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Image>, Image>>
beginCreateOrUpdateAndWait(string, string, Image, ImagesCreateOrUpdateOptionalParams)
创建或更新映像。
function beginCreateOrUpdateAndWait(resourceGroupName: string, imageName: string, parameters: Image, options?: ImagesCreateOrUpdateOptionalParams): Promise<Image>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- parameters
- Image
提供给“创建映像”作的参数。
选项参数。
返回
Promise<Image>
beginDelete(string, string, ImagesDeleteOptionalParams)
删除图像。
function beginDelete(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- options
- ImagesDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, ImagesDeleteOptionalParams)
删除图像。
function beginDeleteAndWait(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- options
- ImagesDeleteOptionalParams
选项参数。
返回
Promise<void>
beginUpdate(string, string, ImageUpdate, ImagesUpdateOptionalParams)
更新映像。
function beginUpdate(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Image>, Image>>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- parameters
- ImageUpdate
提供给更新映像作的参数。
- options
- ImagesUpdateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Image>, Image>>
beginUpdateAndWait(string, string, ImageUpdate, ImagesUpdateOptionalParams)
更新映像。
function beginUpdateAndWait(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<Image>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- parameters
- ImageUpdate
提供给更新映像作的参数。
- options
- ImagesUpdateOptionalParams
选项参数。
返回
Promise<Image>
get(string, string, ImagesGetOptionalParams)
获取图像。
function get(resourceGroupName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<Image>
参数
- resourceGroupName
-
string
资源组的名称。
- imageName
-
string
图像的名称。
- options
- ImagesGetOptionalParams
选项参数。
返回
Promise<Image>
list(ImagesListOptionalParams)
获取订阅中的映像列表。 在响应中使用 nextLink 属性获取图像的下一页。 执行此作,直到 nextLink 为 null 以提取所有映像。
function list(options?: ImagesListOptionalParams): PagedAsyncIterableIterator<Image, Image[], PageSettings>
参数
- options
- ImagesListOptionalParams
选项参数。
返回
listByResourceGroup(string, ImagesListByResourceGroupOptionalParams)
获取资源组下的图像列表。 在响应中使用 nextLink 属性获取图像的下一页。 执行此作,直到 nextLink 为 null 以提取所有映像。
function listByResourceGroup(resourceGroupName: string, options?: ImagesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Image, Image[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
选项参数。