GalleryImage.DefinitionStages.WithGallery Interface

public static interface GalleryImage.DefinitionStages.WithGallery

The stage of the gallery image definition allowing to specify parent gallery it belongs to.

Method Summary

Modifier and Type Method and Description
abstract WithLocation withExistingGallery(Gallery gallery)

Specifies the gallery in which this image resides.

abstract WithLocation withExistingGallery(String resourceGroupName, String galleryName)

Specifies the gallery in which this image resides.

Method Details

withExistingGallery

public abstract GalleryImage.DefinitionStages.WithLocation withExistingGallery(Gallery gallery)

Specifies the gallery in which this image resides.

Parameters:

gallery - the gallery

Returns:

the next definition stage

withExistingGallery

public abstract GalleryImage.DefinitionStages.WithLocation withExistingGallery(String resourceGroupName, String galleryName)

Specifies the gallery in which this image resides.

Parameters:

resourceGroupName - The name of the resource group
galleryName - The name of the gallery

Returns:

the next definition stage

Applies to