Поделиться через


PoolInner Class

public final class PoolInner
extends Resource

A pool of Virtual Machines.

Constructor Summary

Constructor Description
PoolInner()

Creates an instance of PoolInner class.

Method Summary

Modifier and Type Method and Description
Integer devBoxCount()

Get the devBoxCount property: Indicates the number of provisioned Dev Boxes in this pool.

String devBoxDefinitionName()

Get the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.

String displayName()

Get the displayName property: The display name of the pool.

static PoolInner fromJson(JsonReader jsonReader)

Reads an instance of PoolInner from the JsonReader.

HealthStatus healthStatus()

Get the healthStatus property: Overall health status of the Pool.

List<HealthStatusDetail> healthStatusDetails()

Get the healthStatusDetails property: Details on the Pool health status to help diagnose issues.

String id()

Get the id property: Fully qualified resource Id for the resource.

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.

LocalAdminStatus localAdministrator()

Get the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.

List<String> managedVirtualNetworkRegions()

Get the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).

String name()

Get the name property: The name of the resource.

String networkConnectionName()

Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

SingleSignOnStatus singleSignOnStatus()

Get the singleSignOnStatus property: Indicates whether Dev Boxes in this pool are created with single sign on enabled.

StopOnDisconnectConfiguration stopOnDisconnect()

Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VirtualNetworkType virtualNetworkType()

Get the virtualNetworkType property: Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.

PoolInner withDevBoxDefinitionName(String devBoxDefinitionName)

Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.

PoolInner withDisplayName(String displayName)

Set the displayName property: The display name of the pool.

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.

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.

PoolInner withLocation(String location)
PoolInner withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)

Set the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).

PoolInner withNetworkConnectionName(String networkConnectionName)

Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.

PoolInner withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)

Set the singleSignOnStatus property: Indicates whether Dev Boxes in this pool are created with single sign on enabled.

PoolInner withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)

Set the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

PoolInner withTags(Map<String,String> tags)
PoolInner withVirtualNetworkType(VirtualNetworkType virtualNetworkType)

Set the virtualNetworkType property: Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.

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:

the devBoxCount value.

devBoxDefinitionName

public String devBoxDefinitionName()

Get the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.

Returns:

the devBoxDefinitionName value.

displayName

public String displayName()

Get the displayName property: The display name of the pool.

Returns:

the displayName value.

fromJson

public static PoolInner fromJson(JsonReader jsonReader)

Reads an instance of PoolInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

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:

the healthStatus value.

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:

the healthStatusDetails value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

PoolInner.id()

Returns:

the id value.

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:

the licenseType value.

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:

the localAdministrator value.

managedVirtualNetworkRegions

public List<String> managedVirtualNetworkRegions()

Get the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).

Returns:

the managedVirtualNetworkRegions value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PoolInner.name()

Returns:

the name value.

networkConnectionName

public String networkConnectionName()

Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.

Returns:

the networkConnectionName value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

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:

the singleSignOnStatus value.

stopOnDisconnect

public StopOnDisconnectConfiguration stopOnDisconnect()

Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

Returns:

the stopOnDisconnect value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PoolInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PoolInner.type()

Returns:

the type value.

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:

the virtualNetworkType value.

withDevBoxDefinitionName

public PoolInner withDevBoxDefinitionName(String devBoxDefinitionName)

Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.

Parameters:

devBoxDefinitionName - the devBoxDefinitionName value to set.

Returns:

the PoolInner object itself.

withDisplayName

public PoolInner withDisplayName(String displayName)

Set the displayName property: The display name of the pool.

Parameters:

displayName - the displayName value to set.

Returns:

the PoolInner object itself.

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:

licenseType - the licenseType value to set.

Returns:

the PoolInner object itself.

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:

localAdministrator - the localAdministrator value to set.

Returns:

the PoolInner object itself.

withLocation

public PoolInner withLocation(String location)

Overrides:

PoolInner.withLocation(String location)

Parameters:

location

withManagedVirtualNetworkRegions

public PoolInner withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)

Set the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).

Parameters:

managedVirtualNetworkRegions - the managedVirtualNetworkRegions value to set.

Returns:

the PoolInner object itself.

withNetworkConnectionName

public PoolInner withNetworkConnectionName(String networkConnectionName)

Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.

Parameters:

networkConnectionName - the networkConnectionName value to set.

Returns:

the PoolInner object itself.

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:

singleSignOnStatus - the singleSignOnStatus value to set.

Returns:

the PoolInner object itself.

withStopOnDisconnect

public PoolInner withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)

Set the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

Parameters:

stopOnDisconnect - the stopOnDisconnect value to set.

Returns:

the PoolInner object itself.

withTags

public PoolInner withTags(Map<String,String> tags)

Overrides:

PoolInner.withTags(Map<String,String> tags)

Parameters:

tags

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:

virtualNetworkType - the virtualNetworkType value to set.

Returns:

the PoolInner object itself.

Applies to