Lab Interface

public interface Lab

An immutable client-side representation of Lab.

Method Summary

Modifier and Type Method and Description
abstract AutoShutdownProfile autoShutdownProfile()

Gets the autoShutdownProfile property: The resource auto shutdown configuration for the lab.

abstract ConnectionProfile connectionProfile()

Gets the connectionProfile property: The connection profile for the lab.

abstract String description()

Gets the description property: The description of the lab.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract LabInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.LabInner object.

abstract String labPlanId()

Gets the labPlanId property: The ID of the lab plan.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract LabNetworkProfile networkProfile()

Gets the networkProfile property: The network profile for the lab, typically applied via a lab plan.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the lab.

abstract void publish()

Publish or re-publish a lab.

abstract void publish(Context context)

Publish or re-publish a lab.

abstract Lab refresh()

Refreshes the resource to sync with Azure.

abstract Lab refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract RosterProfile rosterProfile()

Gets the rosterProfile property: The lab user list management profile.

abstract SecurityProfile securityProfile()

Gets the securityProfile property: The lab security profile.

abstract LabState state()

Gets the state property: The lab state.

abstract void syncGroup()

Manually sync the lab group.

abstract void syncGroup(Context context)

Manually sync the lab group.

abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the lab.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String title()

Gets the title property: The title of the lab.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Lab resource.

abstract VirtualMachineProfile virtualMachineProfile()

Gets the virtualMachineProfile property: The profile used for creating lab virtual machines.

Method Details

autoShutdownProfile

public abstract AutoShutdownProfile autoShutdownProfile()

Gets the autoShutdownProfile property: The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle.

Returns:

the autoShutdownProfile value.

connectionProfile

public abstract ConnectionProfile connectionProfile()

Gets the connectionProfile property: The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open.

Returns:

the connectionProfile value.

description

public abstract String description()

Gets the description property: The description of the lab.

Returns:

the description value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract LabInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.LabInner object.

Returns:

the inner object.

labPlanId

public abstract String labPlanId()

Gets the labPlanId property: The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization..

Returns:

the labPlanId value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

networkProfile

public abstract LabNetworkProfile networkProfile()

Gets the networkProfile property: The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created.

Returns:

the networkProfile value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the lab.

Returns:

the provisioningState value.

publish

public abstract void publish()

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

publish

public abstract void publish(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:

context - The context to associate with this operation.

refresh

public abstract Lab refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Lab refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

rosterProfile

public abstract RosterProfile rosterProfile()

Gets the rosterProfile property: The lab user list management profile.

Returns:

the rosterProfile value.

securityProfile

public abstract SecurityProfile securityProfile()

Gets the securityProfile property: The lab security profile.

Returns:

the securityProfile value.

state

public abstract LabState state()

Gets the state property: The lab state.

Returns:

the state value.

syncGroup

public abstract void syncGroup()

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

syncGroup

public abstract void syncGroup(Context context)

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

Parameters:

context - The context to associate with this operation.

systemData

public abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the lab.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

title

public abstract String title()

Gets the title property: The title of the lab.

Returns:

the title value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Lab.Update update()

Begins update for the Lab resource.

Returns:

the stage of resource update.

virtualMachineProfile

public abstract VirtualMachineProfile virtualMachineProfile()

Gets the virtualMachineProfile property: The profile used for creating lab virtual machines.

Returns:

the virtualMachineProfile value.

Applies to