ImagesOperations interface

Interface representing a Images operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Create or update an image.

delete
get

Gets an image.

list

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

listByResourceGroup

Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

update

Update an image.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

createOrUpdate

Create or update an image.

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

Property Value

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

delete

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

Property Value

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

get

Gets an image.

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

Property Value

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

list

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

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

Property Value

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

listByResourceGroup

Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

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

Property Value

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

update

Update an image.

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

Property Value

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