Share via


LabsClient Interface

public interface LabsClient

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

Method Summary

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

Create or update a lab resource.

abstract SyncPoller<PollResult<LabInner>,LabInner> beginCreateOrUpdate(String resourceGroupName, String labName, LabInner body, Context context)

Create or update a lab resource.

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

Deletes a lab resource.

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

Deletes a lab resource.

abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String labName)

Publish or re-publish a lab.

abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String labName, Context context)

Publish or re-publish a lab.

abstract SyncPoller<PollResult<Void>,Void> beginSyncGroup(String resourceGroupName, String labName)

Manually sync the lab group.

abstract SyncPoller<PollResult<Void>,Void> beginSyncGroup(String resourceGroupName, String labName, Context context)

Manually sync the lab group.

abstract SyncPoller<PollResult<LabInner>,LabInner> beginUpdate(String resourceGroupName, String labName, LabUpdate body)

Update a lab resource.

abstract SyncPoller<PollResult<LabInner>,LabInner> beginUpdate(String resourceGroupName, String labName, LabUpdate body, Context context)

Update a lab resource.

abstract LabInner createOrUpdate(String resourceGroupName, String labName, LabInner body)

Create or update a lab resource.

abstract LabInner createOrUpdate(String resourceGroupName, String labName, LabInner body, Context context)

Create or update a lab resource.

abstract void delete(String resourceGroupName, String labName)

Deletes a lab resource.

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

Deletes a lab resource.

abstract LabInner getByResourceGroup(String resourceGroupName, String labName)

Get a lab resource.

abstract Response<LabInner> getByResourceGroupWithResponse(String resourceGroupName, String labName, Context context)

Get a lab resource.

abstract PagedIterable<LabInner> list()

Get all labs for a subscription.

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

Get all labs for a subscription.

abstract PagedIterable<LabInner> listByResourceGroup(String resourceGroupName)

Get all labs for a subscription and resource group.

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

Get all labs for a subscription and resource group.

abstract void publish(String resourceGroupName, String labName)

Publish or re-publish a lab.

abstract void publish(String resourceGroupName, String labName, Context context)

Publish or re-publish a lab.

abstract void syncGroup(String resourceGroupName, String labName)

Manually sync the lab group.

abstract void syncGroup(String resourceGroupName, String labName, Context context)

Manually sync the lab group.

abstract LabInner update(String resourceGroupName, String labName, LabUpdate body)

Update a lab resource.

abstract LabInner update(String resourceGroupName, String labName, LabUpdate body, Context context)

Update a lab resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<LabInner>,LabInner> beginCreateOrUpdate(String resourceGroupName, String labName, LabInner body)

Create or update a lab resource. Operation to create or update a lab resource.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of the lab resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<LabInner>,LabInner> beginCreateOrUpdate(String resourceGroupName, String labName, LabInner body, Context context)

Create or update a lab resource. Operation to create or update a lab resource.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of the lab resource.

beginDelete

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

Deletes a lab resource. Operation to delete a lab resource.

Parameters:

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

Returns:

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

beginDelete

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

Deletes a lab resource. Operation to delete a lab resource.

Parameters:

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

Returns:

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

beginPublish

public abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String labName)

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

Parameters:

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

Returns:

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

beginPublish

public abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String labName, Context context)

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

Parameters:

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

Returns:

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

beginSyncGroup

public abstract SyncPoller<PollResult<Void>,Void> beginSyncGroup(String resourceGroupName, String labName)

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

Parameters:

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

Returns:

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

beginSyncGroup

public abstract SyncPoller<PollResult<Void>,Void> beginSyncGroup(String resourceGroupName, String labName, Context context)

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

Parameters:

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

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<LabInner>,LabInner> beginUpdate(String resourceGroupName, String labName, LabUpdate body)

Update a lab resource. Operation to update a lab resource.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of the lab resource.

beginUpdate

public abstract SyncPoller<PollResult<LabInner>,LabInner> beginUpdate(String resourceGroupName, String labName, LabUpdate body, Context context)

Update a lab resource. Operation to update a lab resource.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of the lab resource.

createOrUpdate

public abstract LabInner createOrUpdate(String resourceGroupName, String labName, LabInner body)

Create or update a lab resource. Operation to create or update a lab resource.

Parameters:

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

Returns:

the lab resource.

createOrUpdate

public abstract LabInner createOrUpdate(String resourceGroupName, String labName, LabInner body, Context context)

Create or update a lab resource. Operation to create or update a lab resource.

Parameters:

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

Returns:

the lab resource.

delete

public abstract void delete(String resourceGroupName, String labName)

Deletes a lab resource. Operation to delete a lab resource.

Parameters:

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

delete

public abstract void delete(String resourceGroupName, String labName, Context context)

Deletes a lab resource. Operation to delete a lab resource.

Parameters:

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

getByResourceGroup

public abstract LabInner getByResourceGroup(String resourceGroupName, String labName)

Get a lab resource. Returns the properties of a lab resource.

Parameters:

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

Returns:

the lab resource.

getByResourceGroupWithResponse

public abstract Response<LabInner> getByResourceGroupWithResponse(String resourceGroupName, String labName, Context context)

Get a lab resource. Returns the properties of a lab resource.

Parameters:

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

Returns:

the lab resource along with Response<T>.

list

public abstract PagedIterable<LabInner> list()

Get all labs for a subscription. Returns a list of all labs for a subscription.

Returns:

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

list

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

Get all labs for a subscription. Returns a list of all labs for a subscription.

Parameters:

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

Returns:

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

listByResourceGroup

public abstract PagedIterable<LabInner> listByResourceGroup(String resourceGroupName)

Get all labs for a subscription and resource group. Returns a list of all labs in a resource group.

Parameters:

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

Returns:

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

listByResourceGroup

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

Get all labs for a subscription and resource group. Returns a list of all labs in a 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 labs as paginated response with PagedIterable<T>.

publish

public abstract void publish(String resourceGroupName, String labName)

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

Parameters:

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

publish

public abstract void publish(String resourceGroupName, String labName, Context context)

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

Parameters:

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

syncGroup

public abstract void syncGroup(String resourceGroupName, String labName)

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

Parameters:

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

syncGroup

public abstract void syncGroup(String resourceGroupName, String labName, Context context)

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

Parameters:

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

update

public abstract LabInner update(String resourceGroupName, String labName, LabUpdate body)

Update a lab resource. Operation to update a lab resource.

Parameters:

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

Returns:

the lab resource.

update

public abstract LabInner update(String resourceGroupName, String labName, LabUpdate body, Context context)

Update a lab resource. Operation to update a lab resource.

Parameters:

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

Returns:

the lab resource.

Applies to