Images interface
Interface representing a Images.
Methods
begin |
Create or update an image. |
begin |
Create or update an image. |
begin |
Deletes an Image. |
begin |
Deletes an Image. |
begin |
Update an image. |
begin |
Update an image. |
get(string, string, Images |
Gets an image. |
list(Images |
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 |
Gets the list of images under a resource group. |
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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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.
function listByResourceGroup(resourceGroupName: string, options?: ImagesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Image_2, Image_2[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.