GalleryImageVersions interface
Interface representing a GalleryImageVersions.
Methods
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.
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.
The options parameters.
Returns
Promise<GalleryImageVersion>
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.
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.
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.
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.
The options parameters.
Returns
Promise<GalleryImageVersion>
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.
The options parameters.
Returns
Promise<GalleryImageVersion>
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.
The options parameters.