Class LabUpdate
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.TrackedResourceUpdate
-
- com.azure.resourcemanager.labservices.models.LabUpdate
-
public final class LabUpdate extends TrackedResourceUpdate
The lab resource for updates.
-
-
Constructor Summary
Constructors Constructor Description LabUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
labPlanId()
Get the labPlanId property: The ID of the lab plan.RosterProfile
rosterProfile()
Get the rosterProfile property: The lab user list management profile.SecurityProfile
securityProfile()
Get the securityProfile property: The lab security profile.String
title()
Get the title property: The title of the lab.void
validate()
Validates the instance.VirtualMachineProfile
virtualMachineProfile()
Get the virtualMachineProfile property: The profile used for creating lab virtual machines.LabUpdate
withAutoShutdownProfile(AutoShutdownProfile autoShutdownProfile)
Set the autoShutdownProfile property: The resource auto shutdown configuration for the lab.LabUpdate
withConnectionProfile(ConnectionProfile connectionProfile)
Set the connectionProfile property: The connection profile for the lab.LabUpdate
withDescription(String description)
Set the description property: The description of the lab.LabUpdate
withLabPlanId(String labPlanId)
Set the labPlanId property: The ID of the lab plan.LabUpdate
withRosterProfile(RosterProfile rosterProfile)
Set the rosterProfile property: The lab user list management profile.LabUpdate
withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: The lab security profile.LabUpdate
withTags(List<String> tags)
Set the tags property: Resource tags.LabUpdate
withTitle(String title)
Set the title property: The title of the lab.LabUpdate
withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)
Set the virtualMachineProfile property: The profile used for creating lab virtual machines.-
Methods inherited from class com.azure.resourcemanager.labservices.models.TrackedResourceUpdate
tags
-
-
-
-
Method Detail
-
withTags
public LabUpdate withTags(List<String> tags)
Set the tags property: Resource tags.- Overrides:
withTags
in classTrackedResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
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.
-
withAutoShutdownProfile
public LabUpdate 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 LabUpdate object itself.
-
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.
-
withConnectionProfile
public LabUpdate 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 LabUpdate object itself.
-
virtualMachineProfile
public VirtualMachineProfile virtualMachineProfile()
Get the virtualMachineProfile property: The profile used for creating lab virtual machines.- Returns:
- the virtualMachineProfile value.
-
withVirtualMachineProfile
public LabUpdate withVirtualMachineProfile(VirtualMachineProfile virtualMachineProfile)
Set the virtualMachineProfile property: The profile used for creating lab virtual machines.- Parameters:
virtualMachineProfile
- the virtualMachineProfile value to set.- Returns:
- the LabUpdate object itself.
-
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: The lab security profile.- Returns:
- the securityProfile value.
-
withSecurityProfile
public LabUpdate withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: The lab security profile.- Parameters:
securityProfile
- the securityProfile value to set.- Returns:
- the LabUpdate object itself.
-
rosterProfile
public RosterProfile rosterProfile()
Get the rosterProfile property: The lab user list management profile.- Returns:
- the rosterProfile value.
-
withRosterProfile
public LabUpdate withRosterProfile(RosterProfile rosterProfile)
Set the rosterProfile property: The lab user list management profile.- Parameters:
rosterProfile
- the rosterProfile value to set.- Returns:
- the LabUpdate object itself.
-
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.
-
withLabPlanId
public LabUpdate 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 LabUpdate object itself.
-
title
public String title()
Get the title property: The title of the lab.- Returns:
- the title value.
-
withTitle
public LabUpdate withTitle(String title)
Set the title property: The title of the lab.- Parameters:
title
- the title value to set.- Returns:
- the LabUpdate object itself.
-
description
public String description()
Get the description property: The description of the lab.- Returns:
- the description value.
-
withDescription
public LabUpdate withDescription(String description)
Set the description property: The description of the lab.- Parameters:
description
- the description value to set.- Returns:
- the LabUpdate object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-