Class PoolProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.PoolUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.PoolProperties
Properties of a Pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The provisioning state of the resource.void
validate()
Validates the instance.withDevBoxDefinitionName
(String devBoxDefinitionName) Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.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.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.withNetworkConnectionName
(String networkConnectionName) Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.Methods inherited from class com.azure.resourcemanager.devcenter.fluent.models.PoolUpdateProperties
devBoxDefinitionName, licenseType, localAdministrator, networkConnectionName
-
Constructor Details
-
PoolProperties
public PoolProperties()Creates an instance of PoolProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
withDevBoxDefinitionName
Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.- Overrides:
withDevBoxDefinitionName
in classPoolUpdateProperties
- Parameters:
devBoxDefinitionName
- the devBoxDefinitionName value to set.- Returns:
- the PoolUpdateProperties object itself.
-
withNetworkConnectionName
Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.- Overrides:
withNetworkConnectionName
in classPoolUpdateProperties
- Parameters:
networkConnectionName
- the networkConnectionName value to set.- Returns:
- the PoolUpdateProperties object itself.
-
withLicenseType
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 classPoolUpdateProperties
- Parameters:
licenseType
- the licenseType value to set.- Returns:
- the PoolUpdateProperties object itself.
-
withLocalAdministrator
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 classPoolUpdateProperties
- Parameters:
localAdministrator
- the localAdministrator value to set.- Returns:
- the PoolUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classPoolUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-