LabPlan Interface
public interface LabPlan
An immutable client-side representation of LabPlan.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract List<String> |
allowedRegions()
Gets the allowed |
|
abstract
Auto |
defaultAutoShutdownProfile()
Gets the default |
|
abstract
Connection |
defaultConnectionProfile()
Gets the default |
|
abstract
Lab |
defaultNetworkProfile()
Gets the default |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
| abstract Identity |
identity()
Gets the identity property: Managed Identity Information. |
|
abstract
Lab |
innerModel()
Gets the inner com. |
| abstract String |
linkedLmsInstance()
Gets the linked |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Provisioning |
provisioningState()
Gets the provisioning |
|
abstract
Lab |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Lab |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
| abstract void |
saveImage(SaveImageBody body)
Save an image from a lab VM to the attached shared image gallery. |
| abstract void |
saveImage(SaveImageBody body, Context context)
Save an image from a lab VM to the attached shared image gallery. |
| abstract String |
sharedGalleryId()
Gets the shared |
|
abstract
Support |
supportInfo()
Gets the support |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Lab |
Method Details
allowedRegions
public abstract List<String> allowedRegions()
Gets the allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.
Returns:
defaultAutoShutdownProfile
public abstract AutoShutdownProfile defaultAutoShutdownProfile()
Gets 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 abstract ConnectionProfile defaultConnectionProfile()
Gets 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 abstract LabPlanNetworkProfile defaultNetworkProfile()
Gets 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:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract Identity identity()
Gets the identity property: Managed Identity Information.
Returns:
innerModel
public abstract LabPlanInner innerModel()
Gets the inner com.azure.resourcemanager.labservices.fluent.models.LabPlanInner object.
Returns:
linkedLmsInstance
public abstract String linkedLmsInstance()
Gets the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
provisioningState
public abstract ProvisioningState provisioningState()
Gets the provisioningState property: Current provisioning state of the lab plan.
Returns:
refresh
public abstract LabPlan refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract LabPlan refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
saveImage
public abstract void saveImage(SaveImageBody body)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
saveImage
public abstract void saveImage(SaveImageBody body, Context context)
Save an image from a lab VM to the attached shared image gallery. Saves an image from a lab VM to the attached shared image gallery.
Parameters:
sharedGalleryId
public abstract String sharedGalleryId()
Gets 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 abstract SupportInfo supportInfo()
Gets 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 abstract SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the lab plan.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract LabPlan.Update update()
Begins update for the LabPlan resource.
Returns: