Partager via


LabServices Class

Definition

Low-level API implementation for the LabServices service. REST API for managing Azure Lab Services images.

public class LabServices
type LabServices = class
Public Class LabServices
Inheritance
LabServices

Constructors

LabServices()

Methods

ImagesCreateOrUpdate(String, String, String, String, IImage, Func<HttpResponseMessage, Task<IImage>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Updates an image resource via PUT. Creating new resources via PUT will not function.

ImagesCreateOrUpdateViaIdentity(String, IImage, Func<HttpResponseMessage, Task<IImage>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Updates an image resource via PUT. Creating new resources via PUT will not function.

ImagesGet(String, String, String, String, Func<HttpResponseMessage, Task<IImage>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Gets an image resource.

ImagesGetViaIdentity(String, Func<HttpResponseMessage,Task<IImage>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Gets an image resource.

ImagesListByLabPlan(String, String, String, String, Func<HttpResponseMessage, Task<IPagedImages>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Gets all images from galleries attached to a lab plan.

ImagesListByLabPlanViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedImages>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Gets all images from galleries attached to a lab plan.

ImagesUpdate(String, String, String, String, IImageUpdate, Func<HttpResponseMessage, Task<IImage>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Updates an image resource.

ImagesUpdateViaIdentity(String, IImageUpdate, Func<HttpResponseMessage, Task<IImage>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Updates an image resource.

LabPlansCreateOrUpdate(String, String, String, ILabPlan, Func<HttpResponseMessage, Task<ILabPlan>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a Lab Plan resource.

LabPlansCreateOrUpdateViaIdentity(String, ILabPlan, Func<HttpResponseMessage, Task<ILabPlan>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a Lab Plan resource.

LabPlansDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.

LabPlansDeleteViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.

LabPlansGet(String, String, String, Func<HttpResponseMessage, Task<ILabPlan>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Retrieves the properties of a Lab Plan.

LabPlansGetViaIdentity(String, Func<HttpResponseMessage,Task<ILabPlan>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Retrieves the properties of a Lab Plan.

LabPlansListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IPagedLabPlans>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all lab plans for a subscription and resource group.

LabPlansListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<IPagedLabPlans>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all lab plans for a subscription and resource group.

LabPlansListBySubscription(String, String, Func<HttpResponseMessage, Task<IPagedLabPlans>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all lab plans within a subscription

LabPlansListBySubscriptionViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedLabPlans>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all lab plans within a subscription

LabPlansSaveImage(String, String, String, ISaveImageBody, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

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

LabPlansSaveImageViaIdentity(String, ISaveImageBody, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

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

LabPlansUpdate(String, String, String, ILabPlanUpdate, Func<HttpResponseMessage, Task<ILabPlan>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a Lab Plan resource.

LabPlansUpdateViaIdentity(String, ILabPlanUpdate, Func<HttpResponseMessage, Task<ILabPlan>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a Lab Plan resource.

LabsCreateOrUpdate(String, String, String, ILab, Func<HttpResponseMessage, Task<ILab>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a lab resource.

LabsCreateOrUpdateViaIdentity(String, ILab, Func<HttpResponseMessage, Task<ILab>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a lab resource.

LabsDelete(String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to delete a lab resource.

LabsDeleteViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to delete a lab resource.

LabsGet(String, String, String, Func<HttpResponseMessage,Task<ILab>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns the properties of a lab resource.

LabsGetViaIdentity(String, Func<HttpResponseMessage,Task<ILab>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns the properties of a lab resource.

LabsListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IPagedLabs>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all labs in a resource group.

LabsListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<IPagedLabs>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all labs in a resource group.

LabsListBySubscription(String, String, Func<HttpResponseMessage, Task<IPagedLabs>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all labs for a subscription.

LabsListBySubscriptionViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedLabs>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all labs for a subscription.

LabsPublish(String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.

LabsPublishViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.

LabsSyncGroup(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action used to manually kick off an AAD group sync job.

LabsSyncGroupViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action used to manually kick off an AAD group sync job.

LabsUpdate(String, String, String, ILabUpdate, Func<HttpResponseMessage, Task<ILab>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a lab resource.

LabsUpdateViaIdentity(String, ILabUpdate, Func<HttpResponseMessage, Task<ILab>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a lab resource.

OperationResultsGet(String, String, Func<HttpResponseMessage, Task<IOperationResult>,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns an azure operation result.

OperationResultsGetViaIdentity(String, Func<HttpResponseMessage, Task<IOperationResult>,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns an azure operation result.

OperationsList(Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns a list of all operations.

OperationsListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns a list of all operations.

SchedulesCreateOrUpdate(String, String, String, String, ISchedule, Func<HttpResponseMessage,Task<ISchedule>,Task>, Func<HttpResponseMessage, Task<ISchedule>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a lab schedule.

SchedulesCreateOrUpdateViaIdentity(String, ISchedule, Func<HttpResponseMessage, Task<ISchedule>,Task>, Func<HttpResponseMessage,Task<ISchedule>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to create or update a lab schedule.

SchedulesDelete(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to delete a schedule resource.

SchedulesDeleteViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to delete a schedule resource.

SchedulesGet(String, String, String, String, Func<HttpResponseMessage, Task<ISchedule>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns the properties of a lab Schedule.

SchedulesGetViaIdentity(String, Func<HttpResponseMessage,Task<ISchedule>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns the properties of a lab Schedule.

SchedulesListByLab(String, String, String, String, Func<HttpResponseMessage, Task<IPagedSchedules>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all schedules for a lab.

SchedulesListByLabViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedSchedules>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all schedules for a lab.

SchedulesUpdate(String, String, String, String, IScheduleUpdate, Func<HttpResponseMessage,Task<ISchedule>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to update a lab schedule.

SchedulesUpdateViaIdentity(String, IScheduleUpdate, Func<HttpResponseMessage, Task<ISchedule>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a lab schedule.

UsersCreateOrUpdate(String, String, String, String, IUser, Func<HttpResponseMessage, Task<IUser>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a lab user.

UsersCreateOrUpdateViaIdentity(String, IUser, Func<HttpResponseMessage, Task<IUser>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to create or update a lab user.

UsersDelete(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to delete a user resource.

UsersDeleteViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to delete a user resource.

UsersGet(String, String, String, String, Func<HttpResponseMessage, Task<IUser>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns the properties of a lab user.

UsersGetViaIdentity(String, Func<HttpResponseMessage,Task<IUser>, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns the properties of a lab user.

UsersInvite(String, String, String, String, IInviteBody, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to invite a user to a lab.

UsersInviteViaIdentity(String, IInviteBody, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Operation to invite a user to a lab.

UsersListByLab(String, String, String, String, Func<HttpResponseMessage, Task<IPagedUsers>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all users for a lab.

UsersListByLabViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedUsers>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all users for a lab.

UsersUpdate(String, String, String, String, IUserUpdate, Func<HttpResponseMessage, Task<IUser>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a lab user.

UsersUpdateViaIdentity(String, IUserUpdate, Func<HttpResponseMessage, Task<IUser>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Operation to update a lab user.

VirtualMachinesGet(String, String, String, String, Func<HttpResponseMessage, Task<IVirtualMachine>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns the properties for a lab virtual machine.

VirtualMachinesGetViaIdentity(String, Func<HttpResponseMessage, Task<IVirtualMachine>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns the properties for a lab virtual machine.

VirtualMachinesListByLab(String, String, String, String, Func<HttpResponseMessage, Task<IPagedVirtualMachines>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all virtual machines for a lab.

VirtualMachinesListByLabViaIdentity(String, String, Func<HttpResponseMessage, Task<IPagedVirtualMachines>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Returns a list of all virtual machines for a lab.

VirtualMachinesRedeploy(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.

VirtualMachinesRedeployViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.

VirtualMachinesReimage(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.

VirtualMachinesReimageViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.

VirtualMachinesResetPassword(String, String, String, String, IResetPasswordBody, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Resets a lab virtual machine password.

VirtualMachinesResetPasswordViaIdentity(String, IResetPasswordBody, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)

Resets a lab virtual machine password.

VirtualMachinesStart(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to start a lab virtual machine.

VirtualMachinesStartViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to start a lab virtual machine.

VirtualMachinesStop(String, String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to stop a lab virtual machine.

VirtualMachinesStopViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Action to stop a lab virtual machine.

Applies to