Class LabPlanInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.labservices.fluent.models.LabPlanInner
public final class LabPlanInner
extends com.azure.core.management.Resource
Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of
default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.Get the defaultAutoShutdownProfile property: The default lab shutdown profile.Get the defaultConnectionProfile property: The default lab connection profile.Get the defaultNetworkProfile property: The lab plan network profile.identity()
Get the identity property: Managed Identity Information.Get the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.Get the provisioningState property: Current provisioning state of the lab plan.Get the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan.Get the supportInfo property: Support contact information and instructions for users of the lab plan.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the lab plan.void
validate()
Validates the instance.withAllowedRegions
(List<String> allowedRegions) Set the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.withDefaultAutoShutdownProfile
(AutoShutdownProfile defaultAutoShutdownProfile) Set the defaultAutoShutdownProfile property: The default lab shutdown profile.withDefaultConnectionProfile
(ConnectionProfile defaultConnectionProfile) Set the defaultConnectionProfile property: The default lab connection profile.withDefaultNetworkProfile
(LabPlanNetworkProfile defaultNetworkProfile) Set the defaultNetworkProfile property: The lab plan network profile.withIdentity
(Identity identity) Set the identity property: Managed Identity Information.withLinkedLmsInstance
(String linkedLmsInstance) Set the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.withLocation
(String location) withSharedGalleryId
(String sharedGalleryId) Set the sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan.withSupportInfo
(SupportInfo supportInfo) Set the supportInfo property: Support contact information and instructions for users of the lab plan.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
-
LabPlanInner
public LabPlanInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the lab plan.- Returns:
- the systemData value.
-
identity
Get the identity property: Managed Identity Information.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed Identity Information.- Parameters:
identity
- the identity value to set.- Returns:
- the LabPlanInner object itself.
-
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 plan.- Returns:
- the provisioningState value.
-
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
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 LabPlanInner object itself.
-
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
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 LabPlanInner object itself.
-
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
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 LabPlanInner object itself.
-
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
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 LabPlanInner object itself.
-
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
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 LabPlanInner object itself.
-
linkedLmsInstance
Get the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.- Returns:
- the linkedLmsInstance value.
-
withLinkedLmsInstance
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 LabPlanInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-