/// <summary> /// Retrieves information about a gallery Image Definition. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='galleryName'> /// The name of the Shared Image Gallery from which the Image Definitions are /// to be retrieved. /// </param> /// <param name='galleryImageName'> /// The name of the gallery Image Definition to be retrieved. /// </param> public static GalleryImage Get(this IGalleryImagesOperations operations, string resourceGroupName, string galleryName, string galleryImageName) { return(operations.GetAsync(resourceGroupName, galleryName, galleryImageName).GetAwaiter().GetResult()); }
/// <summary> /// Get gallery image /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='labAccountName'> /// The name of the lab Account. /// </param> /// <param name='galleryImageName'> /// The name of the gallery Image. /// </param> /// <param name='expand'> /// Specify the $expand query. Example: 'properties($select=author)' /// </param> public static GalleryImage Get(this IGalleryImagesOperations operations, string resourceGroupName, string labAccountName, string galleryImageName, string expand = default(string)) { return(operations.GetAsync(resourceGroupName, labAccountName, galleryImageName, expand).GetAwaiter().GetResult()); }