Class LabProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.LabProperties
Properties of a lab.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the announcement property: The properties of any lab announcement associated with this lab.Get the artifactsStorageAccount property: The lab's artifact storage account.Get the createdDate property: The creation date of the lab.Get the defaultPremiumStorageAccount property: The lab's default premium storage account.Get the defaultStorageAccount property: The lab's default storage account.Get the environmentPermission property: The access rights to be granted to the user when provisioning an environment.Get the extendedProperties property: Extended properties of the lab used for experimental features.Get the labStorageType property: Type of storage used by the lab.Get the loadBalancerId property: The load balancer used to for lab VMs that use shared IP address.Get 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.Get 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.Get the networkSecurityGroupId property: The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.Get the premiumDataDisks property: The setting to enable usage of premium data disks.Get the premiumDataDiskStorageAccount property: The lab's premium data disk storage account.Get the provisioningState property: The provisioning status of the resource.Get the publicIpId property: The public IP address for the lab's load balancer.support()
Get the support property: The properties of any lab support message associated with this lab.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.Get the vaultName property: The lab's Key vault.Get the vmCreationResourceGroup property: The resource group in which all new lab virtual machines will be created.withAnnouncement
(LabAnnouncementProperties announcement) Set the announcement property: The properties of any lab announcement associated with this lab.withEnvironmentPermission
(EnvironmentPermission environmentPermission) Set the environmentPermission property: The access rights to be granted to the user when provisioning an environment.withExtendedProperties
(Map<String, String> extendedProperties) Set the extendedProperties property: Extended properties of the lab used for experimental features.withLabStorageType
(StorageType labStorageType) Set the labStorageType property: Type of storage used by the lab.withMandatoryArtifactsResourceIdsLinux
(List<String> mandatoryArtifactsResourceIdsLinux) Set 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.withMandatoryArtifactsResourceIdsWindows
(List<String> mandatoryArtifactsResourceIdsWindows) Set 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.withPremiumDataDisks
(PremiumDataDisk premiumDataDisks) Set the premiumDataDisks property: The setting to enable usage of premium data disks.withSupport
(LabSupportProperties support) Set the support property: The properties of any lab support message associated with this lab.
-
Constructor Details
-
LabProperties
public LabProperties()Creates an instance of LabProperties class.
-
-
Method Details
-
defaultStorageAccount
Get the defaultStorageAccount property: The lab's default storage account.- Returns:
- the defaultStorageAccount value.
-
defaultPremiumStorageAccount
Get the defaultPremiumStorageAccount property: The lab's default premium storage account.- Returns:
- the defaultPremiumStorageAccount value.
-
artifactsStorageAccount
Get the artifactsStorageAccount property: The lab's artifact storage account.- Returns:
- the artifactsStorageAccount value.
-
vaultName
Get the vaultName property: The lab's Key vault.- Returns:
- the vaultName value.
-
labStorageType
Get the labStorageType property: Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.- Returns:
- the labStorageType value.
-
withLabStorageType
Set the labStorageType property: Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.- Parameters:
labStorageType
- the labStorageType value to set.- Returns:
- the LabProperties object itself.
-
mandatoryArtifactsResourceIdsLinux
Get 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:
- the mandatoryArtifactsResourceIdsLinux value.
-
withMandatoryArtifactsResourceIdsLinux
public LabProperties withMandatoryArtifactsResourceIdsLinux(List<String> mandatoryArtifactsResourceIdsLinux) Set 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.- Parameters:
mandatoryArtifactsResourceIdsLinux
- the mandatoryArtifactsResourceIdsLinux value to set.- Returns:
- the LabProperties object itself.
-
mandatoryArtifactsResourceIdsWindows
Get 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:
- the mandatoryArtifactsResourceIdsWindows value.
-
withMandatoryArtifactsResourceIdsWindows
public LabProperties withMandatoryArtifactsResourceIdsWindows(List<String> mandatoryArtifactsResourceIdsWindows) Set 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.- Parameters:
mandatoryArtifactsResourceIdsWindows
- the mandatoryArtifactsResourceIdsWindows value to set.- Returns:
- the LabProperties object itself.
-
createdDate
Get the createdDate property: The creation date of the lab.- Returns:
- the createdDate value.
-
withPremiumDataDisks
Set 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.- Parameters:
premiumDataDisks
- the premiumDataDisks value to set.- Returns:
- the LabProperties object itself.
-
environmentPermission
Get the environmentPermission property: The access rights to be granted to the user when provisioning an environment.- Returns:
- the environmentPermission value.
-
withEnvironmentPermission
Set the environmentPermission property: The access rights to be granted to the user when provisioning an environment.- Parameters:
environmentPermission
- the environmentPermission value to set.- Returns:
- the LabProperties object itself.
-
announcement
Get the announcement property: The properties of any lab announcement associated with this lab.- Returns:
- the announcement value.
-
withAnnouncement
Set the announcement property: The properties of any lab announcement associated with this lab.- Parameters:
announcement
- the announcement value to set.- Returns:
- the LabProperties object itself.
-
support
Get the support property: The properties of any lab support message associated with this lab.- Returns:
- the support value.
-
withSupport
Set the support property: The properties of any lab support message associated with this lab.- Parameters:
support
- the support value to set.- Returns:
- the LabProperties object itself.
-
vmCreationResourceGroup
Get 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:
- the vmCreationResourceGroup value.
-
publicIpId
Get the publicIpId property: The public IP address for the lab's load balancer.- Returns:
- the publicIpId value.
-
loadBalancerId
Get the loadBalancerId property: The load balancer used to for lab VMs that use shared IP address.- Returns:
- the loadBalancerId value.
-
networkSecurityGroupId
Get the networkSecurityGroupId property: The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.- Returns:
- the networkSecurityGroupId value.
-
extendedProperties
Get the extendedProperties property: Extended properties of the lab used for experimental features.- Returns:
- the extendedProperties value.
-
withExtendedProperties
Set the extendedProperties property: Extended properties of the lab used for experimental features.- Parameters:
extendedProperties
- the extendedProperties value to set.- Returns:
- the LabProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-