Share via


LabPlansOperationsExtensions.BeginSaveImageAsync Method

Definition

Save an image from a lab VM to the attached shared image gallery.

public static System.Threading.Tasks.Task BeginSaveImageAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, Microsoft.Azure.Management.LabServices.Models.SaveImageBody body, string resourceGroupName, string labPlanName, System.Threading.CancellationToken cancellationToken = default);
static member BeginSaveImageAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * Microsoft.Azure.Management.LabServices.Models.SaveImageBody * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginSaveImageAsync (operations As ILabPlansOperations, body As SaveImageBody, resourceGroupName As String, labPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILabPlansOperations

The operations group for this extension method.

body
SaveImageBody

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labPlanName
String

The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Saves an image from a lab VM to the attached shared image gallery.

Applies to