java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.PoolUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.PoolProperties

public final class PoolProperties extends PoolUpdateProperties
Properties of a Pool.
  • Constructor Details

    • PoolProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • withDevBoxDefinitionName

      public PoolProperties withDevBoxDefinitionName(String devBoxDefinitionName)
      Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
      Overrides:
      withDevBoxDefinitionName in class PoolUpdateProperties
      Parameters:
      devBoxDefinitionName - the devBoxDefinitionName value to set.
      Returns:
      the PoolUpdateProperties object itself.
    • withNetworkConnectionName

      public PoolProperties withNetworkConnectionName(String networkConnectionName)
      Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
      Overrides:
      withNetworkConnectionName in class PoolUpdateProperties
      Parameters:
      networkConnectionName - the networkConnectionName value to set.
      Returns:
      the PoolUpdateProperties object itself.
    • withLicenseType

      public PoolProperties withLicenseType(LicenseType licenseType)
      Set the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
      Overrides:
      withLicenseType in class PoolUpdateProperties
      Parameters:
      licenseType - the licenseType value to set.
      Returns:
      the PoolUpdateProperties object itself.
    • withLocalAdministrator

      public PoolProperties withLocalAdministrator(LocalAdminStatus localAdministrator)
      Set the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
      Overrides:
      withLocalAdministrator in class PoolUpdateProperties
      Parameters:
      localAdministrator - the localAdministrator value to set.
      Returns:
      the PoolUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class PoolUpdateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.