次の方法で共有


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 allowedRegions property: The allowed regions for the lab creator to use when creating labs using this lab plan.

abstract AutoShutdownProfile defaultAutoShutdownProfile()

Gets the defaultAutoShutdownProfile property: The default lab shutdown profile.

abstract ConnectionProfile defaultConnectionProfile()

Gets the defaultConnectionProfile property: The default lab connection profile.

abstract LabPlanNetworkProfile defaultNetworkProfile()

Gets the defaultNetworkProfile property: The lab plan network profile.

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 LabPlanInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.LabPlanInner object.

abstract String linkedLmsInstance()

Gets the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.

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 ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the lab plan.

abstract LabPlan refresh()

Refreshes the resource to sync with Azure.

abstract LabPlan 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 sharedGalleryId property: Resource ID of the Shared Image Gallery attached to this lab plan.

abstract SupportInfo supportInfo()

Gets the supportInfo property: Support contact information and instructions for users of the lab plan.

abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the lab plan.

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 LabPlan resource.

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:

the allowedRegions value.

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:

the defaultAutoShutdownProfile value.

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:

the defaultConnectionProfile value.

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:

the defaultNetworkProfile value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

identity

public abstract Identity identity()

Gets the identity property: Managed Identity Information.

Returns:

the identity value.

innerModel

public abstract LabPlanInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.LabPlanInner object.

Returns:

the inner object.

linkedLmsInstance

public abstract String linkedLmsInstance()

Gets the linkedLmsInstance property: Base Url of the lms instance this lab plan can link lab rosters against.

Returns:

the linkedLmsInstance value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the lab plan.

Returns:

the provisioningState value.

refresh

public abstract LabPlan refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract LabPlan refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

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:

body - The request body.

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:

body - The request body.
context - The context to associate with this operation.

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:

the sharedGalleryId value.

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:

the supportInfo value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the lab plan.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract LabPlan.Update update()

Begins update for the LabPlan resource.

Returns:

the stage of resource update.

Applies to