public interface Lab
Modifier and Type | Interface and Description |
---|---|
static interface |
Lab.Definition
The entirety of the Lab definition.
|
static interface |
Lab.DefinitionStages
The Lab definition stages.
|
static interface |
Lab.Update
The template for Lab update.
|
static interface |
Lab.UpdateStages
The Lab update stages.
|
Modifier and Type | Method and Description |
---|---|
LabAnnouncementProperties |
announcement()
Gets the announcement property: The properties of any lab announcement associated with this lab.
|
String |
artifactsStorageAccount()
Gets the artifactsStorageAccount property: The lab's artifact storage account.
|
void |
claimAnyVm()
Claim a random claimable virtual machine in the lab.
|
void |
claimAnyVm(com.azure.core.util.Context context)
Claim a random claimable virtual machine in the lab.
|
OffsetDateTime |
createdDate()
Gets the createdDate property: The creation date of the lab.
|
void |
createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
Create virtual machines in a lab.
|
void |
createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter,
com.azure.core.util.Context context)
Create virtual machines in a lab.
|
String |
defaultPremiumStorageAccount()
Gets the defaultPremiumStorageAccount property: The lab's default premium storage account.
|
String |
defaultStorageAccount()
Gets the defaultStorageAccount property: The lab's default storage account.
|
EnvironmentPermission |
environmentPermission()
Gets the environmentPermission property: The access rights to be granted to the user when provisioning an
environment.
|
void |
exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters)
Exports the lab resource usage into a storage account This operation can take a while to complete.
|
void |
exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters,
com.azure.core.util.Context context)
Exports the lab resource usage into a storage account This operation can take a while to complete.
|
Map<String,String> |
extendedProperties()
Gets the extendedProperties property: Extended properties of the lab used for experimental features.
|
GenerateUploadUriResponse |
generateUploadUri(GenerateUploadUriParameter generateUploadUriParameter)
Generate a URI for uploading custom disk images to a Lab.
|
com.azure.core.http.rest.Response<GenerateUploadUriResponse> |
generateUploadUriWithResponse(GenerateUploadUriParameter generateUploadUriParameter,
com.azure.core.util.Context context)
Generate a URI for uploading custom disk images to a Lab.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
void |
importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
Import a virtual machine into a different lab.
|
void |
importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest,
com.azure.core.util.Context context)
Import a virtual machine into a different lab.
|
LabInner |
innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.LabInner object.
|
StorageType |
labStorageType()
Gets the labStorageType property: Type of storage used by the lab.
|
com.azure.core.http.rest.PagedIterable<LabVhd> |
listVhds()
List disk images available for custom image creation.
|
com.azure.core.http.rest.PagedIterable<LabVhd> |
listVhds(com.azure.core.util.Context context)
List disk images available for custom image creation.
|
String |
loadBalancerId()
Gets the loadBalancerId property: The load balancer used to for lab VMs that use shared IP address.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
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.
|
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.
|
String |
name()
Gets the name property: The name of the resource.
|
String |
networkSecurityGroupId()
Gets the networkSecurityGroupId property: The Network Security Group attached to the lab VMs Network interfaces
to restrict open ports.
|
PremiumDataDisk |
premiumDataDisks()
Gets the premiumDataDisks property: The setting to enable usage of premium data disks.
|
String |
premiumDataDiskStorageAccount()
Gets the premiumDataDiskStorageAccount property: The lab's premium data disk storage account.
|
String |
provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
|
String |
publicIpId()
Gets the publicIpId property: The public IP address for the lab's load balancer.
|
Lab |
refresh()
Refreshes the resource to sync with Azure.
|
Lab |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
LabSupportProperties |
support()
Gets the support property: The properties of any lab support message associated with this lab.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
type()
Gets the type property: The type of the resource.
|
String |
uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
Lab.Update |
update()
Begins update for the Lab resource.
|
String |
vaultName()
Gets the vaultName property: The lab's Key vault.
|
String |
vmCreationResourceGroup()
Gets the vmCreationResourceGroup property: The resource group in which all new lab virtual machines will be
created.
|
String id()
String name()
String type()
String location()
String defaultStorageAccount()
String defaultPremiumStorageAccount()
String artifactsStorageAccount()
String premiumDataDiskStorageAccount()
String vaultName()
StorageType labStorageType()
List<String> mandatoryArtifactsResourceIdsLinux()
List<String> mandatoryArtifactsResourceIdsWindows()
OffsetDateTime createdDate()
PremiumDataDisk premiumDataDisks()
EnvironmentPermission environmentPermission()
LabAnnouncementProperties announcement()
LabSupportProperties support()
String vmCreationResourceGroup()
String publicIpId()
String loadBalancerId()
String networkSecurityGroupId()
Map<String,String> extendedProperties()
String provisioningState()
String uniqueIdentifier()
com.azure.core.management.Region region()
String regionName()
LabInner innerModel()
Lab.Update update()
Lab refresh()
Lab refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.void claimAnyVm()
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void claimAnyVm(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter)
labVirtualMachineCreationParameter
- Properties for creating a virtual machine.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void createEnvironment(LabVirtualMachineCreationParameter labVirtualMachineCreationParameter, com.azure.core.util.Context context)
labVirtualMachineCreationParameter
- Properties for creating a virtual machine.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters)
exportResourceUsageParameters
- The parameters of the export operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void exportResourceUsage(ExportResourceUsageParameters exportResourceUsageParameters, com.azure.core.util.Context context)
exportResourceUsageParameters
- The parameters of the export operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.GenerateUploadUriResponse generateUploadUri(GenerateUploadUriParameter generateUploadUriParameter)
generateUploadUriParameter
- Properties for generating an upload URI.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<GenerateUploadUriResponse> generateUploadUriWithResponse(GenerateUploadUriParameter generateUploadUriParameter, com.azure.core.util.Context context)
generateUploadUriParameter
- Properties for generating an upload URI.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest)
importLabVirtualMachineRequest
- This represents the payload required to import a virtual machine from a
different lab into the current one.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void importVirtualMachine(ImportLabVirtualMachineRequest importLabVirtualMachineRequest, com.azure.core.util.Context context)
importLabVirtualMachineRequest
- This represents the payload required to import a virtual machine from a
different lab into the current one.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LabVhd> listVhds()
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LabVhd> listVhds(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.