Lab Interface
public interface Lab
An immutable client-side representation of Lab.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Lab |
announcement()
Gets the announcement property: The properties of any lab announcement associated with this lab. |
| abstract String |
artifactsStorageAccount()
Gets the artifacts |
| abstract void |
claimAnyVm()
Claim a random claimable virtual machine in the lab. |
| abstract void |
claimAnyVm(Context context)
Claim a random claimable virtual machine in the lab. |
|
abstract
Offset |
createdDate()
Gets the created |
| abstract void |
createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
Create virtual machines in a lab. |
| abstract void |
createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter, Context context)
Create virtual machines in a lab. |
| abstract String |
defaultPremiumStorageAccount()
Gets the default |
| abstract String |
defaultStorageAccount()
Gets the default |
|
abstract
Environment |
environmentPermission()
Gets the environment |
| abstract void |
exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters)
Exports the lab resource usage into a storage account This operation can take a while to complete. |
| abstract void |
exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters, Context context)
Exports the lab resource usage into a storage account This operation can take a while to complete. |
| abstract Map<String,String> |
extendedProperties()
Gets the extended |
|
abstract
Generate |
generateUploadUri(GenerateUploadUriParameter generateUploadUriParameter)
Generate a URI for uploading custom disk images to a Lab. |
|
abstract
Response<Generate |
generateUploadUriWithResponse(GenerateUploadUriParameter generateUploadUriParameter, Context context)
Generate a URI for uploading custom disk images to a Lab. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
| abstract void |
importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
Import a virtual machine into a different lab. |
| abstract void |
importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest, Context context)
Import a virtual machine into a different lab. |
|
abstract
Lab |
innerModel()
Gets the inner com. |
|
abstract
Storage |
labStorageType()
Gets the lab |
|
abstract
Paged |
listVhds()
List disk images available for custom image creation. |
|
abstract
Paged |
listVhds(Context context)
List disk images available for custom image creation. |
| abstract String |
loadBalancerId()
Gets the load |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract List<String> |
mandatoryArtifactsResourceIdsLinux()
Gets the mandatory |
| abstract List<String> |
mandatoryArtifactsResourceIdsWindows()
Gets the mandatory |
| abstract String |
name()
Gets the name property: The name of the resource. |
| abstract String |
networkSecurityGroupId()
Gets the network |
|
abstract
Premium |
premiumDataDisks()
Gets the premium |
| abstract String |
premiumDataDiskStorageAccount()
Gets the premium |
| abstract String |
provisioningState()
Gets the provisioning |
| abstract String |
publicIpId()
Gets the public |
| 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
Lab |
support()
Gets the support property: The properties of any lab support message associated with this lab. |
|
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 String |
uniqueIdentifier()
Gets the unique |
| abstract Update |
update()
Begins update for the Lab resource. |
| abstract String |
vaultName()
Gets the vault |
| abstract String |
vmCreationResourceGroup()
Gets the vm |
Method Details
announcement
public abstract LabAnnouncementProperties announcement()
Gets the announcement property: The properties of any lab announcement associated with this lab.
Returns:
artifactsStorageAccount
public abstract String artifactsStorageAccount()
Gets the artifactsStorageAccount property: The lab's artifact storage account.
Returns:
claimAnyVm
public abstract void claimAnyVm()
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
claimAnyVm
public abstract void claimAnyVm(Context context)
Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Parameters:
createdDate
public abstract OffsetDateTime createdDate()
Gets the createdDate property: The creation date of the lab.
Returns:
createEnvironment
public abstract void createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
createEnvironment
public abstract void createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter, Context context)
Create virtual machines in a lab. This operation can take a while to complete.
Parameters:
defaultPremiumStorageAccount
public abstract String defaultPremiumStorageAccount()
Gets the defaultPremiumStorageAccount property: The lab's default premium storage account.
Returns:
defaultStorageAccount
public abstract String defaultStorageAccount()
Gets the defaultStorageAccount property: The lab's default storage account.
Returns:
environmentPermission
public abstract EnvironmentPermission environmentPermission()
Gets the environmentPermission property: The access rights to be granted to the user when provisioning an environment.
Returns:
exportResourceUsage
public abstract void exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
exportResourceUsage
public abstract void exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters, Context context)
Exports the lab resource usage into a storage account This operation can take a while to complete.
Parameters:
extendedProperties
public abstract Map<String,String> extendedProperties()
Gets the extendedProperties property: Extended properties of the lab used for experimental features.
Returns:
generateUploadUri
public abstract GenerateUploadUriResponse generateUploadUri(GenerateUploadUriParameter generateUploadUriParameter)
Generate a URI for uploading custom disk images to a Lab.
Parameters:
Returns:
generateUploadUriWithResponse
public abstract Response<GenerateUploadUriResponse> generateUploadUriWithResponse(GenerateUploadUriParameter generateUploadUriParameter, Context context)
Generate a URI for uploading custom disk images to a Lab.
Parameters:
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
importVirtualMachine
public abstract void importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
importVirtualMachine
public abstract void importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest, Context context)
Import a virtual machine into a different lab. This operation can take a while to complete.
Parameters:
innerModel
public abstract LabInner innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.LabInner object.
Returns:
labStorageType
public abstract StorageType labStorageType()
Gets the labStorageType property: Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
Returns:
listVhds
public abstract PagedIterable<LabVhd> listVhds()
List disk images available for custom image creation.
Returns:
listVhds
public abstract PagedIterable<LabVhd> listVhds(Context context)
List disk images available for custom image creation.
Parameters:
Returns:
loadBalancerId
public abstract String loadBalancerId()
Gets the loadBalancerId property: The load balancer used to for lab VMs that use shared IP address.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
mandatoryArtifactsResourceIdsLinux
public abstract List<String> mandatoryArtifactsResourceIdsLinux()
Gets the mandatoryArtifactsResourceIdsLinux property: The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
Returns:
mandatoryArtifactsResourceIdsWindows
public abstract List<String> mandatoryArtifactsResourceIdsWindows()
Gets the mandatoryArtifactsResourceIdsWindows property: The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
networkSecurityGroupId
public abstract String networkSecurityGroupId()
Gets the networkSecurityGroupId property: The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
Returns:
premiumDataDisks
public abstract PremiumDataDisk premiumDataDisks()
Gets the premiumDataDisks property: The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
Returns:
premiumDataDiskStorageAccount
public abstract String premiumDataDiskStorageAccount()
Gets the premiumDataDiskStorageAccount property: The lab's premium data disk storage account.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
Returns:
publicIpId
public abstract String publicIpId()
Gets the publicIpId property: The public IP address for the lab's load balancer.
Returns:
refresh
public abstract Lab refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Lab 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:
support
public abstract LabSupportProperties support()
Gets the support property: The properties of any lab support message associated with this lab.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
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:
uniqueIdentifier
public abstract String uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
update
public abstract Lab.Update update()
Begins update for the Lab resource.
Returns:
vaultName
public abstract String vaultName()
Gets the vaultName property: The lab's Key vault.
Returns:
vmCreationResourceGroup
public abstract String vmCreationResourceGroup()
Gets the vmCreationResourceGroup property: The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
Returns: