PoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devcenter. fluent. models. PoolInner
- com.
- com.
- com.
public final class PoolInner
extends Resource
A pool of Virtual Machines.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolInner() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
devBoxCount()
Get the dev |
| String |
devBoxDefinitionName()
Get the dev |
| String |
displayName()
Get the display |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
|
Health |
healthStatus()
Get the health |
|
List<Health |
healthStatusDetails()
Get the health |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
License |
licenseType()
Get the license |
|
Local |
localAdministrator()
Get the local |
| List<String> |
managedVirtualNetworkRegions()
Get the managed |
| String |
name()
Get the name property: The name of the resource. |
| String |
networkConnectionName()
Get the network |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Single |
singleSignOnStatus()
Get the single |
|
Stop |
stopOnDisconnect()
Get the stop |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Virtual |
virtualNetworkType()
Get the virtual |
|
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 |
withLocation(String location) |
|
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 |
withTags(Map<String,String> tags) |
|
Pool |
withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PoolInner
public PoolInner()
Creates an instance of PoolInner class.
Method Details
devBoxCount
public Integer devBoxCount()
Get the devBoxCount property: Indicates the number of provisioned Dev Boxes in this pool.
Returns:
devBoxDefinitionName
public String devBoxDefinitionName()
Get the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the pool.
Returns:
fromJson
public static PoolInner fromJson(JsonReader jsonReader)
Reads an instance of PoolInner 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:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PoolInner.id()Returns:
licenseType
public LicenseType licenseType()
Get the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
Returns:
localAdministrator
public LocalAdminStatus localAdministrator()
Get the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
Returns:
managedVirtualNetworkRegions
public List<String> managedVirtualNetworkRegions()
Get the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PoolInner.name()Returns:
networkConnectionName
public String networkConnectionName()
Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
singleSignOnStatus
public SingleSignOnStatus singleSignOnStatus()
Get 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.
Returns:
stopOnDisconnect
public StopOnDisconnectConfiguration stopOnDisconnect()
Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PoolInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualNetworkType
public VirtualNetworkType virtualNetworkType()
Get the virtualNetworkType property: Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
Returns:
withDevBoxDefinitionName
public PoolInner withDevBoxDefinitionName(String devBoxDefinitionName)
Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
Parameters:
Returns:
withDisplayName
public PoolInner withDisplayName(String displayName)
Set the displayName property: The display name of the pool.
Parameters:
Returns:
withLicenseType
public PoolInner 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.
Parameters:
Returns:
withLocalAdministrator
public PoolInner 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.
Parameters:
Returns:
withLocation
public PoolInner withLocation(String location)
Overrides:
PoolInner.withLocation(String location)Parameters:
withManagedVirtualNetworkRegions
public PoolInner withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)
Set the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).
Parameters:
Returns:
withNetworkConnectionName
public PoolInner withNetworkConnectionName(String networkConnectionName)
Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
Parameters:
Returns:
withSingleSignOnStatus
public PoolInner 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.
Parameters:
Returns:
withStopOnDisconnect
public PoolInner withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)
Set the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.
Parameters:
Returns:
withTags
public PoolInner withTags(Map<String,String> tags)
Overrides:
PoolInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetworkType
public PoolInner withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtualNetworkType property: Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
Parameters:
Returns: