java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.LabProperties

public final class LabProperties extends Object
Properties of a lab.
  • Constructor Details

    • LabProperties

      public LabProperties()
      Creates an instance of LabProperties class.
  • Method Details

    • defaultStorageAccount

      public String defaultStorageAccount()
      Get the defaultStorageAccount property: The lab's default storage account.
      Returns:
      the defaultStorageAccount value.
    • defaultPremiumStorageAccount

      public String defaultPremiumStorageAccount()
      Get the defaultPremiumStorageAccount property: The lab's default premium storage account.
      Returns:
      the defaultPremiumStorageAccount value.
    • artifactsStorageAccount

      public String artifactsStorageAccount()
      Get the artifactsStorageAccount property: The lab's artifact storage account.
      Returns:
      the artifactsStorageAccount value.
    • premiumDataDiskStorageAccount

      public String premiumDataDiskStorageAccount()
      Get the premiumDataDiskStorageAccount property: The lab's premium data disk storage account.
      Returns:
      the premiumDataDiskStorageAccount value.
    • vaultName

      public String vaultName()
      Get the vaultName property: The lab's Key vault.
      Returns:
      the vaultName value.
    • labStorageType

      public StorageType 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

      public LabProperties withLabStorageType(StorageType labStorageType)
      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

      public List<String> 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

      public List<String> 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

      public OffsetDateTime createdDate()
      Get the createdDate property: The creation date of the lab.
      Returns:
      the createdDate value.
    • premiumDataDisks

      public PremiumDataDisk premiumDataDisks()
      Get 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:
      the premiumDataDisks value.
    • withPremiumDataDisks

      public LabProperties withPremiumDataDisks(PremiumDataDisk premiumDataDisks)
      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

      public EnvironmentPermission environmentPermission()
      Get the environmentPermission property: The access rights to be granted to the user when provisioning an environment.
      Returns:
      the environmentPermission value.
    • withEnvironmentPermission

      public LabProperties withEnvironmentPermission(EnvironmentPermission environmentPermission)
      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

      public LabAnnouncementProperties announcement()
      Get the announcement property: The properties of any lab announcement associated with this lab.
      Returns:
      the announcement value.
    • withAnnouncement

      public LabProperties withAnnouncement(LabAnnouncementProperties announcement)
      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

      public LabSupportProperties support()
      Get the support property: The properties of any lab support message associated with this lab.
      Returns:
      the support value.
    • withSupport

      public LabProperties withSupport(LabSupportProperties support)
      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

      public String 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

      public String publicIpId()
      Get the publicIpId property: The public IP address for the lab's load balancer.
      Returns:
      the publicIpId value.
    • loadBalancerId

      public String loadBalancerId()
      Get the loadBalancerId property: The load balancer used to for lab VMs that use shared IP address.
      Returns:
      the loadBalancerId value.
    • networkSecurityGroupId

      public String 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

      public Map<String,String> extendedProperties()
      Get the extendedProperties property: Extended properties of the lab used for experimental features.
      Returns:
      the extendedProperties value.
    • withExtendedProperties

      public LabProperties withExtendedProperties(Map<String,String> extendedProperties)
      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

      public String provisioningState()
      Get the provisioningState property: The provisioning status of the resource.
      Returns:
      the provisioningState value.
    • uniqueIdentifier

      public String 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.