Share via


PoolUpdateProperties Class

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

Implements

public class PoolUpdateProperties
implements JsonSerializable<PoolUpdateProperties>

Properties of a Pool. These properties can be updated after the resource has been created.

Constructor Summary

Constructor Description
PoolUpdateProperties()

Creates an instance of PoolUpdateProperties class.

Method Summary

Modifier and Type Method and Description
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 PoolUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of PoolUpdateProperties from the JsonReader.

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 networkConnectionName()

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

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

PoolUpdateProperties withDevBoxDefinitionName(String devBoxDefinitionName)

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

PoolUpdateProperties withDisplayName(String displayName)

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

PoolUpdateProperties 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.

PoolUpdateProperties 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.

PoolUpdateProperties withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)

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

PoolUpdateProperties withNetworkConnectionName(String networkConnectionName)

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

PoolUpdateProperties withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)

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

PoolUpdateProperties withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)

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

PoolUpdateProperties 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 java.lang.Object

Constructor Details

PoolUpdateProperties

public PoolUpdateProperties()

Creates an instance of PoolUpdateProperties class.

Method Details

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 PoolUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of PoolUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the PoolUpdateProperties.

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.

networkConnectionName

public String networkConnectionName()

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

Returns:

the networkConnectionName 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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 PoolUpdateProperties 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 PoolUpdateProperties object itself.

withDisplayName

public PoolUpdateProperties withDisplayName(String displayName)

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

Parameters:

displayName - the displayName value to set.

Returns:

the PoolUpdateProperties object itself.

withLicenseType

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withLocalAdministrator

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withManagedVirtualNetworkRegions

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withNetworkConnectionName

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withSingleSignOnStatus

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withStopOnDisconnect

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

withVirtualNetworkType

public PoolUpdateProperties 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 PoolUpdateProperties object itself.

Applies to