LabPlans Interface
public interface LabPlans
Resource collection API of LabPlans.
Method Summary
Method Details
define
public abstract LabPlan.DefinitionStages.Blank define(String name)
Begins definition for a new LabPlan resource.
Parameters:
Returns:
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:
deleteById
public abstract void deleteById(String id)
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:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, 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:
deleteByResourceGroup
public abstract void deleteByResourceGroup(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:
getById
public abstract LabPlan getById(String id)
Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<LabPlan> getByIdWithResponse(String id, Context context)
Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.
Parameters:
Returns:
getByResourceGroup
public abstract LabPlan getByResourceGroup(String resourceGroupName, String labPlanName)
Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<LabPlan> 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<LabPlan> list()
Get all lab plans for a subscription. Returns a list of all lab plans within a subscription.
Returns:
list
public abstract PagedIterable<LabPlan> 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<LabPlan> 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<LabPlan> 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: