Class LabProperties
java.lang.Object
com.azure.resourcemanager.labservices.fluent.models.LabUpdateProperties
com.azure.resourcemanager.labservices.fluent.models.LabProperties
Properties of a lab resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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.state()
Get the state property: The lab state.void
validate()
Validates the instance.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.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.resourcemanager.labservices.fluent.models.LabUpdateProperties
autoShutdownProfile, connectionProfile, description, labPlanId, rosterProfile, securityProfile, title, virtualMachineProfile
-
Constructor Details
-
LabProperties
public LabProperties()
-
-
Method Details
-
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 LabProperties object itself.
-
state
Get the state property: The lab state.- Returns:
- the state 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.- Overrides:
withAutoShutdownProfile
in classLabUpdateProperties
- Parameters:
autoShutdownProfile
- the autoShutdownProfile value to set.- Returns:
- the LabUpdateProperties object itself.
-
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.- Overrides:
withConnectionProfile
in classLabUpdateProperties
- Parameters:
connectionProfile
- the connectionProfile value to set.- Returns:
- the LabUpdateProperties object itself.
-
withVirtualMachineProfile
Set the virtualMachineProfile property: The profile used for creating lab virtual machines.- Overrides:
withVirtualMachineProfile
in classLabUpdateProperties
- Parameters:
virtualMachineProfile
- the virtualMachineProfile value to set.- Returns:
- the LabUpdateProperties object itself.
-
withSecurityProfile
Set the securityProfile property: The lab security profile.- Overrides:
withSecurityProfile
in classLabUpdateProperties
- Parameters:
securityProfile
- the securityProfile value to set.- Returns:
- the LabUpdateProperties object itself.
-
withRosterProfile
Set the rosterProfile property: The lab user list management profile.- Overrides:
withRosterProfile
in classLabUpdateProperties
- Parameters:
rosterProfile
- the rosterProfile value to set.- Returns:
- the LabUpdateProperties object itself.
-
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..- Overrides:
withLabPlanId
in classLabUpdateProperties
- Parameters:
labPlanId
- the labPlanId value to set.- Returns:
- the LabUpdateProperties object itself.
-
withTitle
Set the title property: The title of the lab.- Overrides:
withTitle
in classLabUpdateProperties
- Parameters:
title
- the title value to set.- Returns:
- the LabUpdateProperties object itself.
-
withDescription
Set the description property: The description of the lab.- Overrides:
withDescription
in classLabUpdateProperties
- Parameters:
description
- the description value to set.- Returns:
- the LabUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classLabUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-