LabInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. labservices. fluent. models. LabInner
- com.
- com.
- com.
public final class LabInner
extends Resource
The lab resource.
Constructor Summary
| Constructor | Description |
|---|---|
| LabInner() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
autoShutdownProfile()
Get the auto |
|
Connection |
connectionProfile()
Get the connection |
| String |
description()
Get the description property: The description of the lab. |
|
static
Lab |
fromJson(JsonReader jsonReader)
Reads an instance of Lab |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
labPlanId()
Get the lab |
| String |
name()
Get the name property: The name of the resource. |
|
Lab |
networkProfile()
Get the network |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Roster |
rosterProfile()
Get the roster |
|
Security |
securityProfile()
Get the security |
|
Lab |
state()
Get the state property: The lab state. |
|
System |
systemData()
Get the system |
| String |
title()
Get the title property: The title of the lab. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Virtual |
virtualMachineProfile()
Get the virtual |
|
Lab |
withAutoShutdownProfile(AutoShutdownProfile autoShutdownProfile)
Set the auto |
|
Lab |
withConnectionProfile(ConnectionProfile connectionProfile)
Set the connection |
|
Lab |
withDescription(String description)
Set the description property: The description of the lab. |
|
Lab |
withLabPlanId(String labPlanId)
Set the lab |
|
Lab |
withLocation(String location) |
|
Lab |
withNetworkProfile(LabNetworkProfile networkProfile)
Set the network |
|
Lab |
withRosterProfile(RosterProfile rosterProfile)
Set the roster |
|
Lab |
withSecurityProfile(SecurityProfile securityProfile)
Set the security |
|
Lab |
withTags(Map<String,String> tags) |
|
Lab |
withTitle(String title)
Set the title property: The title of the lab. |
|
Lab |
withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)
Set the virtual |
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:
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:
description
public String description()
Get the description property: The description of the lab.
Returns:
fromJson
public static LabInner fromJson(JsonReader jsonReader)
Reads an instance of LabInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LabInner.id()Returns:
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LabInner.name()Returns:
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the lab.
Returns:
rosterProfile
public RosterProfile rosterProfile()
Get the rosterProfile property: The lab user list management profile.
Returns:
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: The lab security profile.
Returns:
state
public LabState state()
Get the state property: The lab state.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the lab.
Returns:
title
public String title()
Get the title property: The title of the lab.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LabInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LabInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualMachineProfile
public VirtualMachineProfile virtualMachineProfile()
Get the virtualMachineProfile property: The profile used for creating lab virtual machines.
Returns:
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:
Returns:
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:
Returns:
withDescription
public LabInner withDescription(String description)
Set the description property: The description of the lab.
Parameters:
Returns:
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:
Returns:
withLocation
public LabInner withLocation(String location)
Overrides:
LabInner.withLocation(String location)Parameters:
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:
Returns:
withRosterProfile
public LabInner withRosterProfile(RosterProfile rosterProfile)
Set the rosterProfile property: The lab user list management profile.
Parameters:
Returns:
withSecurityProfile
public LabInner withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: The lab security profile.
Parameters:
Returns:
withTags
public LabInner withTags(Map<String,String> tags)
Overrides:
LabInner.withTags(Map<String,String> tags)Parameters:
withTitle
public LabInner withTitle(String title)
Set the title property: The title of the lab.
Parameters:
Returns:
withVirtualMachineProfile
public LabInner withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)
Set the virtualMachineProfile property: The profile used for creating lab virtual machines.
Parameters:
Returns: