LabsClient Interface
public interface LabsClient
An instance of this class provides access to all the operations defined in LabsClient.
Method Summary
Method Details
beginClaimAnyVm
public abstract SyncPoller<PollResult<Void>,Void> beginClaimAnyVm(String resourceGroupName, String name)
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Parameters:
Returns:
beginClaimAnyVm
public abstract SyncPoller<PollResult<Void>,Void> beginClaimAnyVm(String resourceGroupName, String name, Context context)
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Parameters:
Returns:
beginCreateEnvironment
public abstract SyncPoller<PollResult<Void>,Void> beginCreateEnvironment(String resourceGroupName, String name, LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
Returns:
beginCreateEnvironment
public abstract SyncPoller<PollResult<Void>,Void> beginCreateEnvironment(String resourceGroupName, String name, LabVirtualMachineCreationParameter labVirtualMachineCreationParameter, Context context)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<LabInner>,LabInner> beginCreateOrUpdate(String resourceGroupName, String name, LabInner lab)
Create or replace an existing lab. This operation can take a while to complete.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<LabInner>,LabInner> beginCreateOrUpdate(String resourceGroupName, String name, LabInner lab, Context context)
Create or replace an existing lab. This operation can take a while to complete.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String name)
Delete lab. This operation can take a while to complete.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String name, Context context)
Delete lab. This operation can take a while to complete.
Parameters:
Returns:
beginExportResourceUsage
public abstract SyncPoller<PollResult<Void>,Void> beginExportResourceUsage(String resourceGroupName, String name, ExportResourceUsageParameters exportResourceUsageParameters)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
Returns:
beginExportResourceUsage
public abstract SyncPoller<PollResult<Void>,Void> beginExportResourceUsage(String resourceGroupName, String name, ExportResourceUsageParameters exportResourceUsageParameters, Context context)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
Returns:
beginImportVirtualMachine
public abstract SyncPoller<PollResult<Void>,Void> beginImportVirtualMachine(String resourceGroupName, String name, ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
Returns:
beginImportVirtualMachine
public abstract SyncPoller<PollResult<Void>,Void> beginImportVirtualMachine(String resourceGroupName, String name, ImportLabVirtualMachineRequest importLabVirtualMachineRequest, Context context)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
Returns:
claimAnyVm
public abstract void claimAnyVm(String resourceGroupName, String name)
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Parameters:
claimAnyVm
public abstract void claimAnyVm(String resourceGroupName, String name, Context context)
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Parameters:
createEnvironment
public abstract void createEnvironment(String resourceGroupName, String name, LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
createEnvironment
public abstract void createEnvironment(String resourceGroupName, String name, LabVirtualMachineCreationParameter labVirtualMachineCreationParameter, Context context)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
createOrUpdate
public abstract LabInner createOrUpdate(String resourceGroupName, String name, LabInner lab)
Create or replace an existing lab. This operation can take a while to complete.
Parameters:
Returns:
createOrUpdate
public abstract LabInner createOrUpdate(String resourceGroupName, String name, LabInner lab, Context context)
Create or replace an existing lab. This operation can take a while to complete.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String name)
Delete lab. This operation can take a while to complete.
Parameters:
delete
public abstract void delete(String resourceGroupName, String name, Context context)
Delete lab. This operation can take a while to complete.
Parameters:
exportResourceUsage
public abstract void exportResourceUsage(String resourceGroupName, String name, ExportResourceUsageParameters exportResourceUsageParameters)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
exportResourceUsage
public abstract void exportResourceUsage(String resourceGroupName, String name, ExportResourceUsageParameters exportResourceUsageParameters, Context context)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
generateUploadUri
public abstract GenerateUploadUriResponseInner generateUploadUri(String resourceGroupName, String name, GenerateUploadUriParameter generateUploadUriParameter)
Generate a URI for uploading custom disk images to a Lab.
Parameters:
Returns:
generateUploadUriWithResponse
public abstract Response<GenerateUploadUriResponseInner> generateUploadUriWithResponse(String resourceGroupName, String name, GenerateUploadUriParameter generateUploadUriParameter, Context context)
Generate a URI for uploading custom disk images to a Lab.
Parameters:
Returns:
getByResourceGroup
public abstract LabInner getByResourceGroup(String resourceGroupName, String name)
Get lab.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<LabInner> getByResourceGroupWithResponse(String resourceGroupName, String name, String expand, Context context)
Get lab.
Parameters:
Returns:
importVirtualMachine
public abstract void importVirtualMachine(String resourceGroupName, String name, ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
importVirtualMachine
public abstract void importVirtualMachine(String resourceGroupName, String name, ImportLabVirtualMachineRequest importLabVirtualMachineRequest, Context context)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
list
public abstract PagedIterable<LabInner> list()
List labs in a subscription.
Returns:
list
public abstract PagedIterable<LabInner> list(String expand, String filter, Integer top, String orderby, Context context)
List labs in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<LabInner> listByResourceGroup(String resourceGroupName)
List labs in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<LabInner> listByResourceGroup(String resourceGroupName, String expand, String filter, Integer top, String orderby, Context context)
List labs in a resource group.
Parameters:
Returns:
listVhds
public abstract PagedIterable<LabVhdInner> listVhds(String resourceGroupName, String name)
List disk images available for custom image creation.
Parameters:
Returns:
listVhds
public abstract PagedIterable<LabVhdInner> listVhds(String resourceGroupName, String name, Context context)
List disk images available for custom image creation.
Parameters:
Returns:
update
public abstract LabInner update(String resourceGroupName, String name, LabFragment lab)
Allows modifying tags of labs. All other properties will be ignored.
Parameters:
Returns:
updateWithResponse
public abstract Response<LabInner> updateWithResponse(String resourceGroupName, String name, LabFragment lab, Context context)
Allows modifying tags of labs. All other properties will be ignored.
Parameters:
Returns: