/// <summary> /// Gets all images. /// </summary> /// <remarks> /// Gets all images from galleries attached to a lab plan. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='labPlanName'> /// The name of the lab plan that uniquely identifies it within containing /// resource group. Used in resource URIs and in UI. /// </param> /// <param name='filter'> /// The filter to apply to the operation. /// </param> public static IPage <Image> ListByLabPlan(this IImagesOperations operations, string resourceGroupName, string labPlanName, string filter = default(string)) { return(operations.ListByLabPlanAsync(resourceGroupName, labPlanName, filter).GetAwaiter().GetResult()); }