Class LabPlanUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.labservices.fluent.models.LabPlanUpdateProperties
-
- Direct Known Subclasses:
LabPlanProperties
public class LabPlanUpdateProperties extends Object
Lab plan resource properties for updates.
-
-
Constructor Summary
Constructors Constructor Description LabPlanUpdateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
allowedRegions()
Get the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.AutoShutdownProfile
defaultAutoShutdownProfile()
Get the defaultAutoShutdownProfile property: The default lab shutdown profile.ConnectionProfile
defaultConnectionProfile()
Get the defaultConnectionProfile property: The default lab connection profile.LabPlanNetworkProfile
defaultNetworkProfile()
Get the defaultNetworkProfile property: The lab plan network profile.String
linkedLmsInstance()
Get the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.String
sharedGalleryId()
Get the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan.SupportInfo
supportInfo()
Get the supportInfo property: Support contact information and instructions for users of the lab plan.void
validate()
Validates the instance.LabPlanUpdateProperties
withAllowedRegions(List<String> allowedRegions)
Set the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.LabPlanUpdateProperties
withDefaultAutoShutdownProfile(AutoShutdownProfile defaultAutoShutdownProfile)
Set the defaultAutoShutdownProfile property: The default lab shutdown profile.LabPlanUpdateProperties
withDefaultConnectionProfile(ConnectionProfile defaultConnectionProfile)
Set the defaultConnectionProfile property: The default lab connection profile.LabPlanUpdateProperties
withDefaultNetworkProfile(LabPlanNetworkProfile defaultNetworkProfile)
Set the defaultNetworkProfile property: The lab plan network profile.LabPlanUpdateProperties
withLinkedLmsInstance(String linkedLmsInstance)
Set the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.LabPlanUpdateProperties
withSharedGalleryId(String sharedGalleryId)
Set the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan.LabPlanUpdateProperties
withSupportInfo(SupportInfo supportInfo)
Set the supportInfo property: Support contact information and instructions for users of the lab plan.
-
-
-
Method Detail
-
defaultConnectionProfile
public ConnectionProfile defaultConnectionProfile()
Get the defaultConnectionProfile property: The default lab connection profile. This can be changed on a lab resource and only provides a default profile.- Returns:
- the defaultConnectionProfile value.
-
withDefaultConnectionProfile
public LabPlanUpdateProperties withDefaultConnectionProfile(ConnectionProfile defaultConnectionProfile)
Set the defaultConnectionProfile property: The default lab connection profile. This can be changed on a lab resource and only provides a default profile.- Parameters:
defaultConnectionProfile
- the defaultConnectionProfile value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
defaultAutoShutdownProfile
public AutoShutdownProfile defaultAutoShutdownProfile()
Get the defaultAutoShutdownProfile property: The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.- Returns:
- the defaultAutoShutdownProfile value.
-
withDefaultAutoShutdownProfile
public LabPlanUpdateProperties withDefaultAutoShutdownProfile(AutoShutdownProfile defaultAutoShutdownProfile)
Set the defaultAutoShutdownProfile property: The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.- Parameters:
defaultAutoShutdownProfile
- the defaultAutoShutdownProfile value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
defaultNetworkProfile
public LabPlanNetworkProfile defaultNetworkProfile()
Get the defaultNetworkProfile property: The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.- Returns:
- the defaultNetworkProfile value.
-
withDefaultNetworkProfile
public LabPlanUpdateProperties withDefaultNetworkProfile(LabPlanNetworkProfile defaultNetworkProfile)
Set the defaultNetworkProfile property: The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.- Parameters:
defaultNetworkProfile
- the defaultNetworkProfile value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
allowedRegions
public List<String> allowedRegions()
Get the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.- Returns:
- the allowedRegions value.
-
withAllowedRegions
public LabPlanUpdateProperties withAllowedRegions(List<String> allowedRegions)
Set the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.- Parameters:
allowedRegions
- the allowedRegions value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
sharedGalleryId
public String sharedGalleryId()
Get the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.- Returns:
- the sharedGalleryId value.
-
withSharedGalleryId
public LabPlanUpdateProperties withSharedGalleryId(String sharedGalleryId)
Set the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.- Parameters:
sharedGalleryId
- the sharedGalleryId value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
supportInfo
public SupportInfo supportInfo()
Get the supportInfo property: Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.- Returns:
- the supportInfo value.
-
withSupportInfo
public LabPlanUpdateProperties withSupportInfo(SupportInfo supportInfo)
Set the supportInfo property: Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.- Parameters:
supportInfo
- the supportInfo value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
linkedLmsInstance
public String linkedLmsInstance()
Get the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.- Returns:
- the linkedLmsInstance value.
-
withLinkedLmsInstance
public LabPlanUpdateProperties withLinkedLmsInstance(String linkedLmsInstance)
Set the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.- Parameters:
linkedLmsInstance
- the linkedLmsInstance value to set.- Returns:
- the LabPlanUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-