GalleryImages interface
Interface representing a GalleryImages.
Methods
begin |
Create or update a gallery image definition. |
begin |
Create or update a gallery image definition. |
begin |
Delete a gallery image. |
begin |
Delete a gallery image. |
begin |
Update a gallery image definition. |
begin |
Update a gallery image definition. |
get(string, string, string, Gallery |
Retrieves information about a gallery image definition. |
list |
List gallery image definitions in a gallery. |
Method Details
beginCreateOrUpdate(string, string, string, GalleryImage, GalleryImagesCreateOrUpdateOptionalParams)
Create or update a gallery image definition.
function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImage, options?: GalleryImagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery in which the Image Definition is to be created.
- galleryImageName
-
string
The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- galleryImage
- GalleryImage
Parameters supplied to the create or update gallery image operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
beginCreateOrUpdateAndWait(string, string, string, GalleryImage, GalleryImagesCreateOrUpdateOptionalParams)
Create or update a gallery image definition.
function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImage, options?: GalleryImagesCreateOrUpdateOptionalParams): Promise<GalleryImage>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery in which the Image Definition is to be created.
- galleryImageName
-
string
The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- galleryImage
- GalleryImage
Parameters supplied to the create or update gallery image operation.
The options parameters.
Returns
Promise<GalleryImage>
beginDelete(string, string, string, GalleryImagesDeleteOptionalParams)
Delete a gallery image.
function beginDelete(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesDeleteOptionalParams): 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 is to be deleted.
- galleryImageName
-
string
The name of the gallery image definition to be deleted.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, GalleryImagesDeleteOptionalParams)
Delete a gallery image.
function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesDeleteOptionalParams): 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 is to be deleted.
- galleryImageName
-
string
The name of the gallery image definition to be deleted.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, GalleryImageUpdate, GalleryImagesUpdateOptionalParams)
Update a gallery image definition.
function beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImageUpdate, options?: GalleryImagesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery in which the Image Definition is to be updated.
- galleryImageName
-
string
The name of the gallery image definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- galleryImage
- GalleryImageUpdate
Parameters supplied to the update gallery image operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryImage>, GalleryImage>>
beginUpdateAndWait(string, string, string, GalleryImageUpdate, GalleryImagesUpdateOptionalParams)
Update a gallery image definition.
function beginUpdateAndWait(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: GalleryImageUpdate, options?: GalleryImagesUpdateOptionalParams): Promise<GalleryImage>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery in which the Image Definition is to be updated.
- galleryImageName
-
string
The name of the gallery image definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- galleryImage
- GalleryImageUpdate
Parameters supplied to the update gallery image operation.
The options parameters.
Returns
Promise<GalleryImage>
get(string, string, string, GalleryImagesGetOptionalParams)
Retrieves information about a gallery image definition.
function get(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImagesGetOptionalParams): Promise<GalleryImage>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- galleryImageName
-
string
The name of the gallery image definition to be retrieved.
- options
- GalleryImagesGetOptionalParams
The options parameters.
Returns
Promise<GalleryImage>
listByGallery(string, string, GalleryImagesListByGalleryOptionalParams)
List gallery image definitions in a gallery.
function listByGallery(resourceGroupName: string, galleryName: string, options?: GalleryImagesListByGalleryOptionalParams): PagedAsyncIterableIterator<GalleryImage, GalleryImage[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- galleryName
-
string
The name of the Shared Image Gallery from which Image Definitions are to be listed.
The options parameters.