GalleryImageVersions interface

Interface representing a GalleryImageVersions.

Methods

beginCreateOrUpdate(string, string, string, string, GalleryImageVersion, GalleryImageVersionsCreateOrUpdateOptionalParams)

Create or update a gallery image version.

beginCreateOrUpdateAndWait(string, string, string, string, GalleryImageVersion, GalleryImageVersionsCreateOrUpdateOptionalParams)

Create or update a gallery image version.

beginDelete(string, string, string, string, GalleryImageVersionsDeleteOptionalParams)

Delete a gallery image version.

beginDeleteAndWait(string, string, string, string, GalleryImageVersionsDeleteOptionalParams)

Delete a gallery image version.

beginUpdate(string, string, string, string, GalleryImageVersionUpdate, GalleryImageVersionsUpdateOptionalParams)

Update a gallery image version.

beginUpdateAndWait(string, string, string, string, GalleryImageVersionUpdate, GalleryImageVersionsUpdateOptionalParams)

Update a gallery image version.

get(string, string, string, string, GalleryImageVersionsGetOptionalParams)

Retrieves information about a gallery image version.

listByGalleryImage(string, string, string, GalleryImageVersionsListByGalleryImageOptionalParams)

List gallery image versions in a gallery image definition.

Method Details

beginCreateOrUpdate(string, string, string, string, GalleryImageVersion, GalleryImageVersionsCreateOrUpdateOptionalParams)

Create or update a gallery image version.

function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersion, options?: GalleryImageVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version is to be created.

galleryImageVersionName

string

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

galleryImageVersion
GalleryImageVersion

Parameters supplied to the create or update gallery image version operation.

options
GalleryImageVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

beginCreateOrUpdateAndWait(string, string, string, string, GalleryImageVersion, GalleryImageVersionsCreateOrUpdateOptionalParams)

Create or update a gallery image version.

function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersion, options?: GalleryImageVersionsCreateOrUpdateOptionalParams): Promise<GalleryImageVersion>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version is to be created.

galleryImageVersionName

string

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

galleryImageVersion
GalleryImageVersion

Parameters supplied to the create or update gallery image version operation.

options
GalleryImageVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, string, GalleryImageVersionsDeleteOptionalParams)

Delete a gallery image version.

function beginDelete(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version resides.

galleryImageVersionName

string

The name of the gallery image version to be deleted.

options
GalleryImageVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, GalleryImageVersionsDeleteOptionalParams)

Delete a gallery image version.

function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version resides.

galleryImageVersionName

string

The name of the gallery image version to be deleted.

options
GalleryImageVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, string, GalleryImageVersionUpdate, GalleryImageVersionsUpdateOptionalParams)

Update a gallery image version.

function beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersionUpdate, options?: GalleryImageVersionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version is to be updated.

galleryImageVersionName

string

The name of the gallery image version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

galleryImageVersion
GalleryImageVersionUpdate

Parameters supplied to the update gallery image version operation.

options
GalleryImageVersionsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

beginUpdateAndWait(string, string, string, string, GalleryImageVersionUpdate, GalleryImageVersionsUpdateOptionalParams)

Update a gallery image version.

function beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersionUpdate, options?: GalleryImageVersionsUpdateOptionalParams): Promise<GalleryImageVersion>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version is to be updated.

galleryImageVersionName

string

The name of the gallery image version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

galleryImageVersion
GalleryImageVersionUpdate

Parameters supplied to the update gallery image version operation.

options
GalleryImageVersionsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, string, GalleryImageVersionsGetOptionalParams)

Retrieves information about a gallery image version.

function get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsGetOptionalParams): Promise<GalleryImageVersion>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the gallery image definition in which the Image Version resides.

galleryImageVersionName

string

The name of the gallery image version to be retrieved.

options
GalleryImageVersionsGetOptionalParams

The options parameters.

Returns

listByGalleryImage(string, string, string, GalleryImageVersionsListByGalleryImageOptionalParams)

List gallery image versions in a gallery image definition.

function listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImageVersionsListByGalleryImageOptionalParams): PagedAsyncIterableIterator<GalleryImageVersion, GalleryImageVersion[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

galleryName

string

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName

string

The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.

Returns