Share via


LabInner Class

public final class LabInner
extends Resource

The lab resource.

Constructor Summary

Constructor Description
LabInner()

Creates an instance of LabInner class.

Method Summary

Modifier and Type Method and Description
AutoShutdownProfile autoShutdownProfile()

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

ConnectionProfile connectionProfile()

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

String description()

Get the description property: The description of the lab.

static LabInner fromJson(JsonReader jsonReader)

Reads an instance of LabInner from the JsonReader.

String id()

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

String labPlanId()

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

String name()

Get the name property: The name of the resource.

LabNetworkProfile networkProfile()

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

ProvisioningState provisioningState()

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

RosterProfile rosterProfile()

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

SecurityProfile securityProfile()

Get the securityProfile property: The lab security profile.

LabState state()

Get the state property: The lab state.

SystemData systemData()

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

String title()

Get the title property: The title of the lab.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VirtualMachineProfile virtualMachineProfile()

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

LabInner withAutoShutdownProfile(AutoShutdownProfile autoShutdownProfile)

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

LabInner withConnectionProfile(ConnectionProfile connectionProfile)

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

LabInner withDescription(String description)

Set the description property: The description of the lab.

LabInner withLabPlanId(String labPlanId)

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

LabInner withLocation(String location)
LabInner withNetworkProfile(LabNetworkProfile networkProfile)

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

LabInner withRosterProfile(RosterProfile rosterProfile)

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

LabInner withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: The lab security profile.

LabInner withTags(Map<String,String> tags)
LabInner withTitle(String title)

Set the title property: The title of the lab.

LabInner withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)

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

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

LabInner

public LabInner()

Creates an instance of LabInner class.

Method Details

autoShutdownProfile

public AutoShutdownProfile autoShutdownProfile()

Get 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 ConnectionProfile connectionProfile()

Get 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 String description()

Get the description property: The description of the lab.

Returns:

the description value.

fromJson

public static LabInner fromJson(JsonReader jsonReader)

Reads an instance of LabInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LabInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

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

Overrides:

LabInner.id()

Returns:

the id value.

labPlanId

public String labPlanId()

Get 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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LabInner.name()

Returns:

the name value.

networkProfile

public LabNetworkProfile networkProfile()

Get 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 ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

rosterProfile

public RosterProfile rosterProfile()

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

Returns:

the rosterProfile value.

securityProfile

public SecurityProfile securityProfile()

Get the securityProfile property: The lab security profile.

Returns:

the securityProfile value.

state

public LabState state()

Get the state property: The lab state.

Returns:

the state value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

title

public String title()

Get the title property: The title of the lab.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LabInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LabInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualMachineProfile

public VirtualMachineProfile virtualMachineProfile()

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

Returns:

the virtualMachineProfile value.

withAutoShutdownProfile

public LabInner withAutoShutdownProfile(AutoShutdownProfile autoShutdownProfile)

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

Parameters:

autoShutdownProfile - the autoShutdownProfile value to set.

Returns:

the LabInner object itself.

withConnectionProfile

public LabInner withConnectionProfile(ConnectionProfile connectionProfile)

Set 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.

Parameters:

connectionProfile - the connectionProfile value to set.

Returns:

the LabInner object itself.

withDescription

public LabInner withDescription(String description)

Set the description property: The description of the lab.

Parameters:

description - the description value to set.

Returns:

the LabInner object itself.

withLabPlanId

public LabInner withLabPlanId(String labPlanId)

Set 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..

Parameters:

labPlanId - the labPlanId value to set.

Returns:

the LabInner object itself.

withLocation

public LabInner withLocation(String location)

Overrides:

LabInner.withLocation(String location)

Parameters:

location

withNetworkProfile

public LabInner withNetworkProfile(LabNetworkProfile networkProfile)

Set 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.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the LabInner object itself.

withRosterProfile

public LabInner withRosterProfile(RosterProfile rosterProfile)

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

Parameters:

rosterProfile - the rosterProfile value to set.

Returns:

the LabInner object itself.

withSecurityProfile

public LabInner withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: The lab security profile.

Parameters:

securityProfile - the securityProfile value to set.

Returns:

the LabInner object itself.

withTags

public LabInner withTags(Map<String,String> tags)

Overrides:

LabInner.withTags(Map<String,String> tags)

Parameters:

tags

withTitle

public LabInner withTitle(String title)

Set the title property: The title of the lab.

Parameters:

title - the title value to set.

Returns:

the LabInner object itself.

withVirtualMachineProfile

public LabInner withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)

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

Parameters:

virtualMachineProfile - the virtualMachineProfile value to set.

Returns:

the LabInner object itself.

Applies to