Package version:

Interface GalleryImageVersions

Interface representing a GalleryImageVersions.

interface GalleryImageVersions {
    beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersion, options?: GalleryImageVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersion, options?: GalleryImageVersionsCreateOrUpdateOptionalParams): Promise<GalleryImageVersion>;
    beginDelete(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersionUpdate, options?: GalleryImageVersionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>;
    beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: GalleryImageVersionUpdate, options?: GalleryImageVersionsUpdateOptionalParams): Promise<GalleryImageVersion>;
    get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: GalleryImageVersionsGetOptionalParams): Promise<GalleryImageVersion>;
    listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImageVersionsListByGalleryImageOptionalParams): PagedAsyncIterableIterator<GalleryImageVersion>;
}

Methods

  • Create or update a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

  • Create or update a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<GalleryImageVersion>

  • Delete a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Delete a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Update a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<GalleryImageVersion>, GalleryImageVersion>>

  • Update a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsUpdateOptionalParams

      The options parameters.

    Returns Promise<GalleryImageVersion>

  • Retrieves information about a gallery image version.

    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.

    • Optionaloptions: GalleryImageVersionsGetOptionalParams

      The options parameters.

    Returns Promise<GalleryImageVersion>