Share via


LabPlansClient Interface

public interface LabPlansClient

An instance of this class provides access to all the operations defined in LabPlansClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginCreateOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body)

Updates or creates a Lab Plan resource.

abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginCreateOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body, Context context)

Updates or creates a Lab Plan resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labPlanName)

Deletes a Lab Plan resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labPlanName, Context context)

Deletes a Lab Plan resource.

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.

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.

abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginUpdate(String resourceGroupName, String labPlanName, LabPlanUpdate body)

Updates a Lab Plan resource.

abstract SyncPoller<PollResult<LabPlanInner>,LabPlanInner> beginUpdate(String resourceGroupName, String labPlanName, LabPlanUpdate body, Context context)

Updates a Lab Plan resource.

abstract LabPlanInner createOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body)

Updates or creates a Lab Plan resource.

abstract LabPlanInner createOrUpdate(String resourceGroupName, String labPlanName, LabPlanInner body, Context context)

Updates or creates a Lab Plan resource.

abstract void delete(String resourceGroupName, String labPlanName)

Deletes a Lab Plan resource.

abstract void delete(String resourceGroupName, String labPlanName, Context context)

Deletes a Lab Plan resource.

abstract LabPlanInner getByResourceGroup(String resourceGroupName, String labPlanName)

Retrieves a Lab Plan resource.

abstract Response<LabPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String labPlanName, Context context)

Retrieves a Lab Plan resource.

abstract PagedIterable<LabPlanInner> list()

Get all lab plans for a subscription.

abstract PagedIterable<LabPlanInner> list(String filter, Context context)

Get all lab plans for a subscription.

abstract PagedIterable<LabPlanInner> listByResourceGroup(String resourceGroupName)

Get all lab plans for a subscription and resource group.

abstract PagedIterable<LabPlanInner> listByResourceGroup(String resourceGroupName, Context context)

Get all lab plans for a subscription and resource group.

abstract void saveImage(String resourceGroupName, String labPlanName, SaveImageBody body)

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

abstract void saveImage(String resourceGroupName, String labPlanName, SaveImageBody body, Context context)

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

abstract LabPlanInner update(String resourceGroupName, String labPlanName, LabPlanUpdate body)

Updates a Lab Plan resource.

abstract LabPlanInner update(String resourceGroupName, String labPlanName, LabPlanUpdate body, Context context)

Updates a Lab Plan resource.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

Returns:

the SyncPoller<T,U> for polling of lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

Returns:

the SyncPoller<T,U> for polling of lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
context - The context to associate with this operation.

getByResourceGroup

public abstract LabPlanInner getByResourceGroup(String resourceGroupName, String labPlanName)

Retrieves a Lab Plan resource. Retrieves the properties of a Lab Plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
context - The context to associate with this operation.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com along with Response<T>.

list

public abstract PagedIterable<LabPlanInner> list()

Get all lab plans for a subscription. Returns a list of all lab plans within a subscription.

Returns:

paged list of lab plans as paginated response with PagedIterable<T>.

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:

filter - The filter to apply to the operation.
context - The context to associate with this operation.

Returns:

paged list of lab plans as paginated response with PagedIterable<T>.

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:

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

Returns:

paged list of lab plans as paginated response with PagedIterable<T>.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

paged list of lab plans as paginated response with PagedIterable<T>.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

update

public abstract LabPlanInner update(String resourceGroupName, String labPlanName, LabPlanUpdate body)

Updates a Lab Plan resource. Operation to update a Lab Plan resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
body - The request body.
context - The context to associate with this operation.

Returns:

lab Plans act as a permission container for creating labs via labs.azure.com.

Applies to