PoolProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. PoolUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. PoolProperties
- com.
- com.
public final class PoolProperties
extends PoolUpdateProperties
Properties of a Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolProperties() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
devBoxCount()
Get the dev |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
|
Health |
healthStatus()
Get the health |
|
List<Health |
healthStatusDetails()
Get the health |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Pool |
withDevBoxDefinitionName(String devBoxDefinitionName)
Set the dev |
|
Pool |
withDisplayName(String displayName)
Set the display |
|
Pool |
withLicenseType(LicenseType licenseType)
Set the license |
|
Pool |
withLocalAdministrator(LocalAdminStatus localAdministrator)
Set the local |
|
Pool |
withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)
Set the managed |
|
Pool |
withNetworkConnectionName(String networkConnectionName)
Set the network |
|
Pool |
withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)
Set the single |
|
Pool |
withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)
Set the stop |
|
Pool |
withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtual |
Methods inherited from PoolUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
PoolProperties
public PoolProperties()
Creates an instance of PoolProperties class.
Method Details
devBoxCount
public Integer devBoxCount()
Get the devBoxCount property: Indicates the number of provisioned Dev Boxes in this pool.
Returns:
fromJson
public static PoolProperties fromJson(JsonReader jsonReader)
Reads an instance of PoolProperties from the JsonReader.
Parameters:
Returns:
Throws:
healthStatus
public HealthStatus healthStatus()
Get the healthStatus property: Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
Returns:
healthStatusDetails
public List<HealthStatusDetail> healthStatusDetails()
Get the healthStatusDetails property: Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PoolProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
PoolProperties.validate()withDevBoxDefinitionName
public PoolProperties withDevBoxDefinitionName(String devBoxDefinitionName)
Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
Overrides:
PoolProperties.withDevBoxDefinitionName(String devBoxDefinitionName)Parameters:
withDisplayName
public PoolProperties withDisplayName(String displayName)
Set the displayName property: The display name of the pool.
Overrides:
PoolProperties.withDisplayName(String displayName)Parameters:
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:
PoolProperties.withLicenseType(LicenseType licenseType)Parameters:
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:
PoolProperties.withLocalAdministrator(LocalAdminStatus localAdministrator)Parameters:
withManagedVirtualNetworkRegions
public PoolProperties withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)
Set the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).
Overrides:
PoolProperties.withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)Parameters:
withNetworkConnectionName
public PoolProperties withNetworkConnectionName(String networkConnectionName)
Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
Overrides:
PoolProperties.withNetworkConnectionName(String networkConnectionName)Parameters:
withSingleSignOnStatus
public PoolProperties withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)
Set the singleSignOnStatus property: Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
Overrides:
PoolProperties.withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)Parameters:
withStopOnDisconnect
public PoolProperties withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)
Set the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.
Overrides:
PoolProperties.withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)Parameters:
withVirtualNetworkType
public PoolProperties withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtualNetworkType property: Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
Overrides:
PoolProperties.withVirtualNetworkType(VirtualNetworkType virtualNetworkType)Parameters: