LabPlanInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. labservices. fluent. models. LabPlanInner
- com.
- com.
- com.
public final class LabPlanInner
extends 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
| Constructor | Description |
|---|---|
| LabPlanInner() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
allowedRegions()
Get the allowed |
|
Auto |
defaultAutoShutdownProfile()
Get the default |
|
Connection |
defaultConnectionProfile()
Get the default |
|
Lab |
defaultNetworkProfile()
Get the default |
|
static
Lab |
fromJson(JsonReader jsonReader)
Reads an instance of Lab |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Identity |
identity()
Get the identity property: Managed Identity Information. |
| String |
linkedLmsInstance()
Get the linked |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
sharedGalleryId()
Get the shared |
|
Support |
supportInfo()
Get the support |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Lab |
withAllowedRegions(List<String> allowedRegions)
Set the allowed |
|
Lab |
withDefaultAutoShutdownProfile(AutoShutdownProfile defaultAutoShutdownProfile)
Set the default |
|
Lab |
withDefaultConnectionProfile(ConnectionProfile defaultConnectionProfile)
Set the default |
|
Lab |
withDefaultNetworkProfile(LabPlanNetworkProfile defaultNetworkProfile)
Set the default |
|
Lab |
withIdentity(Identity identity)
Set the identity property: Managed Identity Information. |
|
Lab |
withLinkedLmsInstance(String linkedLmsInstance)
Set the linked |
|
Lab |
withLocation(String location) |
|
Lab |
withSharedGalleryId(String sharedGalleryId)
Set the shared |
|
Lab |
withSupportInfo(SupportInfo supportInfo)
Set the support |
|
Lab |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
LabPlanInner
public LabPlanInner()
Creates an instance of LabPlanInner class.
Method Details
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:
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:
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:
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:
fromJson
public static LabPlanInner fromJson(JsonReader jsonReader)
Reads an instance of LabPlanInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LabPlanInner.id()Returns:
identity
public Identity identity()
Get the identity property: Managed Identity Information.
Returns:
linkedLmsInstance
public String linkedLmsInstance()
Get the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LabPlanInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the lab plan.
Returns:
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:
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:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the lab plan.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LabPlanInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LabPlanInner.type()Returns:
validate
public void validate()
Validates the instance.
withAllowedRegions
public LabPlanInner 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:
Returns:
withDefaultAutoShutdownProfile
public LabPlanInner 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:
Returns:
withDefaultConnectionProfile
public LabPlanInner 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:
Returns:
withDefaultNetworkProfile
public LabPlanInner 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:
Returns:
withIdentity
public LabPlanInner withIdentity(Identity identity)
Set the identity property: Managed Identity Information.
Parameters:
Returns:
withLinkedLmsInstance
public LabPlanInner withLinkedLmsInstance(String linkedLmsInstance)
Set the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.
Parameters:
Returns:
withLocation
public LabPlanInner withLocation(String location)
Overrides:
LabPlanInner.withLocation(String location)Parameters:
withSharedGalleryId
public LabPlanInner 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:
Returns:
withSupportInfo
public LabPlanInner 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:
Returns:
withTags
public LabPlanInner withTags(Map<String,String> tags)
Overrides:
LabPlanInner.withTags(Map<String,String> tags)Parameters: