LabPlansClient Interface
public interface LabPlansClient
An instance of this class provides access to all the operations defined in LabPlansClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginCreateOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body)
Updates or creates a Lab Plan resource. Operation to create or update a Lab Plan resource.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginCreateOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body, Context context)
Updates or creates a Lab Plan resource. Operation to create or update a Lab Plan resource.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labPlanName)
Deletes a Lab Plan resource. 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.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labPlanName, Context context)
Deletes a Lab Plan resource. 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.
Parameters:
Returns:
beginSaveImage
public abstract SyncPoller<PollResult<Void>,Void> beginSaveImage(String resourceGroupName, String labPlanName, SaveImageBody body)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
Returns:
beginSaveImage
public abstract SyncPoller<PollResult<Void>,Void> beginSaveImage(String resourceGroupName, String labPlanName, SaveImageBody body, Context context)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginUpdate(String resourceGroupName, String labPlanName, LabPlanUpdate body)
Updates a Lab Plan resource. Operation to update a Lab Plan resource.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginUpdate(String resourceGroupName, String labPlanName, LabPlanUpdate body, Context context)
Updates a Lab Plan resource. Operation to update a Lab Plan resource.
Parameters:
Returns:
createOrUpdate
public abstract LabPlanInner createOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body)
Updates or creates a Lab Plan resource. Operation to create or update a Lab Plan resource.
Parameters:
Returns:
createOrUpdate
public abstract LabPlanInner createOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body, Context context)
Updates or creates a Lab Plan resource. Operation to create or update a Lab Plan resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String labPlanName)
Deletes a Lab Plan resource. 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.
Parameters:
delete
public abstract void delete(String resourceGroupName, String labPlanName, Context context)
Deletes a Lab Plan resource. 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.
Parameters:
getByResourceGroup
public abstract LabPlanInner getByResourceGroup(String resourceGroupName, String labPlanName)
Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<LabPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String labPlanName, Context context)
Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.
Parameters:
Returns:
list
public abstract PagedIterable<LabPlanInner> list()
Get all lab plans for a subscription. Returns a list of all lab plans within a subscription.
Returns:
list
public abstract PagedIterable<LabPlanInner> list(String filter, Context context)
Get all lab plans for a subscription. Returns a list of all lab plans within a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<LabPlanInner> listByResourceGroup(String resourceGroupName)
Get all lab plans for a subscription and resource group. Returns a list of all lab plans for a subscription and resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<LabPlanInner> listByResourceGroup(String resourceGroupName, Context context)
Get all lab plans for a subscription and resource group. Returns a list of all lab plans for a subscription and resource group.
Parameters:
Returns:
saveImage
public abstract void saveImage(String resourceGroupName, String labPlanName, SaveImageBody body)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
saveImage
public abstract void saveImage(String resourceGroupName, String labPlanName, SaveImageBody body, Context context)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
update
public abstract LabPlanInner update(String resourceGroupName, String labPlanName, LabPlanUpdate body)
Updates a Lab Plan resource. Operation to update a Lab Plan resource.
Parameters:
Returns:
update
public abstract LabPlanInner update(String resourceGroupName, String labPlanName, LabPlanUpdate body, Context context)
Updates a Lab Plan resource. Operation to update a Lab Plan resource.
Parameters:
Returns: