Class LabProperties

    • Constructor Detail

      • LabProperties

        public LabProperties()
    • Method Detail

      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Current provisioning state of the lab.
        Returns:
        the provisioningState value.
      • networkProfile

        public LabNetworkProfile networkProfile()
        Get the networkProfile property: The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created.
        Returns:
        the networkProfile value.
      • withNetworkProfile

        public LabProperties withNetworkProfile​(LabNetworkProfile networkProfile)
        Set the networkProfile property: The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created.
        Parameters:
        networkProfile - the networkProfile value to set.
        Returns:
        the LabProperties object itself.
      • state

        public LabState state()
        Get the state property: The lab state.
        Returns:
        the state value.
      • withAutoShutdownProfile

        public LabProperties withAutoShutdownProfile​(AutoShutdownProfile autoShutdownProfile)
        Set the autoShutdownProfile property: The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle.
        Overrides:
        withAutoShutdownProfile in class LabUpdateProperties
        Parameters:
        autoShutdownProfile - the autoShutdownProfile value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withConnectionProfile

        public LabProperties withConnectionProfile​(ConnectionProfile connectionProfile)
        Set the connectionProfile property: The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open.
        Overrides:
        withConnectionProfile in class LabUpdateProperties
        Parameters:
        connectionProfile - the connectionProfile value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withVirtualMachineProfile

        public LabProperties withVirtualMachineProfile​(VirtualMachineProfile virtualMachineProfile)
        Set the virtualMachineProfile property: The profile used for creating lab virtual machines.
        Overrides:
        withVirtualMachineProfile in class LabUpdateProperties
        Parameters:
        virtualMachineProfile - the virtualMachineProfile value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withSecurityProfile

        public LabProperties withSecurityProfile​(SecurityProfile securityProfile)
        Set the securityProfile property: The lab security profile.
        Overrides:
        withSecurityProfile in class LabUpdateProperties
        Parameters:
        securityProfile - the securityProfile value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withRosterProfile

        public LabProperties withRosterProfile​(RosterProfile rosterProfile)
        Set the rosterProfile property: The lab user list management profile.
        Overrides:
        withRosterProfile in class LabUpdateProperties
        Parameters:
        rosterProfile - the rosterProfile value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withLabPlanId

        public LabProperties withLabPlanId​(String labPlanId)
        Set the labPlanId property: The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization..
        Overrides:
        withLabPlanId in class LabUpdateProperties
        Parameters:
        labPlanId - the labPlanId value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withTitle

        public LabProperties withTitle​(String title)
        Set the title property: The title of the lab.
        Overrides:
        withTitle in class LabUpdateProperties
        Parameters:
        title - the title value to set.
        Returns:
        the LabUpdateProperties object itself.
      • withDescription

        public LabProperties withDescription​(String description)
        Set the description property: The description of the lab.
        Overrides:
        withDescription in class LabUpdateProperties
        Parameters:
        description - the description value to set.
        Returns:
        the LabUpdateProperties object itself.