Class LabInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.labservices.fluent.models.LabInner
public final class LabInner
extends com.azure.core.management.Resource
The lab resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoShutdownProfile property: The resource auto shutdown configuration for the lab.Get the connectionProfile property: The connection profile for the lab.Get the description property: The description of the lab.Get the labPlanId property: The ID of the lab plan.Get the networkProfile property: The network profile for the lab, typically applied via a lab plan.Get the provisioningState property: Current provisioning state of the lab.Get the rosterProfile property: The lab user list management profile.Get the securityProfile property: The lab security profile.state()
Get the state property: The lab state.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the lab.title()
Get the title property: The title of the lab.void
validate()
Validates the instance.Get the virtualMachineProfile property: The profile used for creating lab virtual machines.withAutoShutdownProfile
(AutoShutdownProfile autoShutdownProfile) Set the autoShutdownProfile property: The resource auto shutdown configuration for the lab.withConnectionProfile
(ConnectionProfile connectionProfile) Set the connectionProfile property: The connection profile for the lab.withDescription
(String description) Set the description property: The description of the lab.withLabPlanId
(String labPlanId) Set the labPlanId property: The ID of the lab plan.withLocation
(String location) withNetworkProfile
(LabNetworkProfile networkProfile) Set the networkProfile property: The network profile for the lab, typically applied via a lab plan.withRosterProfile
(RosterProfile rosterProfile) Set the rosterProfile property: The lab user list management profile.withSecurityProfile
(SecurityProfile securityProfile) Set the securityProfile property: The lab security profile.Set the title property: The title of the lab.withVirtualMachineProfile
(VirtualMachineProfile virtualMachineProfile) Set the virtualMachineProfile property: The profile used for creating lab virtual machines.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
LabInner
public LabInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the lab.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Current provisioning state of the lab.- Returns:
- the provisioningState value.
-
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.
-
withNetworkProfile
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.
-
state
Get the state property: The lab state.- Returns:
- the state value.
-
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.
-
withAutoShutdownProfile
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.
-
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.
-
withConnectionProfile
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.
-
virtualMachineProfile
Get the virtualMachineProfile property: The profile used for creating lab virtual machines.- Returns:
- the virtualMachineProfile value.
-
withVirtualMachineProfile
Set the virtualMachineProfile property: The profile used for creating lab virtual machines.- Parameters:
virtualMachineProfile
- the virtualMachineProfile value to set.- Returns:
- the LabInner object itself.
-
securityProfile
Get the securityProfile property: The lab security profile.- Returns:
- the securityProfile value.
-
withSecurityProfile
Set the securityProfile property: The lab security profile.- Parameters:
securityProfile
- the securityProfile value to set.- Returns:
- the LabInner object itself.
-
rosterProfile
Get the rosterProfile property: The lab user list management profile.- Returns:
- the rosterProfile value.
-
withRosterProfile
Set the rosterProfile property: The lab user list management profile.- Parameters:
rosterProfile
- the rosterProfile value to set.- Returns:
- the LabInner object itself.
-
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.
-
withLabPlanId
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.
-
title
Get the title property: The title of the lab.- Returns:
- the title value.
-
withTitle
Set the title property: The title of the lab.- Parameters:
title
- the title value to set.- Returns:
- the LabInner object itself.
-
description
Get the description property: The description of the lab.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the lab.- Parameters:
description
- the description value to set.- Returns:
- the LabInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-