Images interface
Interface representing a Images.
Methods
Method Details
beginCreateOrUpdate(string, string, Image_2, ImagesCreateOrUpdateOptionalParams)
Create or update an image.
function beginCreateOrUpdate(resourceGroupName: string, imageName: string, parameters: Image_2, options?: ImagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Image_2>, Image_2>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- parameters
- Image
Parameters supplied to the Create Image operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Image>, Image>>
beginCreateOrUpdateAndWait(string, string, Image_2, ImagesCreateOrUpdateOptionalParams)
Create or update an image.
function beginCreateOrUpdateAndWait(resourceGroupName: string, imageName: string, parameters: Image_2, options?: ImagesCreateOrUpdateOptionalParams): Promise<Image_2>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- parameters
- Image
Parameters supplied to the Create Image operation.
The options parameters.
Returns
Promise<Image>
beginDelete(string, string, ImagesDeleteOptionalParams)
Deletes an Image.
function beginDelete(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- options
- ImagesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, ImagesDeleteOptionalParams)
Deletes an Image.
function beginDeleteAndWait(resourceGroupName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- options
- ImagesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, ImageUpdate, ImagesUpdateOptionalParams)
Update an image.
function beginUpdate(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Image_2>, Image_2>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- parameters
- ImageUpdate
Parameters supplied to the Update Image operation.
- options
- ImagesUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Image>, Image>>
beginUpdateAndWait(string, string, ImageUpdate, ImagesUpdateOptionalParams)
Update an image.
function beginUpdateAndWait(resourceGroupName: string, imageName: string, parameters: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<Image_2>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- parameters
- ImageUpdate
Parameters supplied to the Update Image operation.
- options
- ImagesUpdateOptionalParams
The options parameters.
Returns
Promise<Image>
get(string, string, ImagesGetOptionalParams)
Gets an image.
function get(resourceGroupName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<Image_2>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- imageName
-
string
The name of the image.
- options
- ImagesGetOptionalParams
The options parameters.
Returns
Promise<Image>
list(ImagesListOptionalParams)
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.
function list(options?: ImagesListOptionalParams): PagedAsyncIterableIterator<Image_2, Image_2[], PageSettings>
Parameters
- options
- ImagesListOptionalParams
The options parameters.
Returns
listByResourceGroup(string, ImagesListByResourceGroupOptionalParams)
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.
function listByResourceGroup(resourceGroupName: string, options?: ImagesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Image_2, Image_2[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.