PoolUpdate Class

public final class PoolUpdate
extends TrackedResourceUpdate

The pool properties for partial update. Properties not provided in the update request will not be changed.

Constructor Summary

Constructor Description
PoolUpdate()

Creates an instance of PoolUpdate 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 PoolUpdate fromJson(JsonReader jsonReader)

Reads an instance of PoolUpdate 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.

PoolUpdate withDevBoxDefinitionName(String devBoxDefinitionName)

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

PoolUpdate withDisplayName(String displayName)

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

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

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

PoolUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

PoolUpdate withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)

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

PoolUpdate withNetworkConnectionName(String networkConnectionName)

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

PoolUpdate withSingleSignOnStatus(SingleSignOnStatus singleSignOnStatus)

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

PoolUpdate withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)

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

PoolUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

PoolUpdate 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 TrackedResourceUpdate

Methods inherited from java.lang.Object

Constructor Details

PoolUpdate

public PoolUpdate()

Creates an instance of PoolUpdate 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 PoolUpdate fromJson(JsonReader jsonReader)

Reads an instance of PoolUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolUpdate 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 PoolUpdate.

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)

Overrides:

PoolUpdate.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PoolUpdate.validate()

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

withDisplayName

public PoolUpdate withDisplayName(String displayName)

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

Parameters:

displayName - the displayName value to set.

Returns:

the PoolUpdate object itself.

withLicenseType

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

withLocalAdministrator

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

withLocation

public PoolUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

Overrides:

PoolUpdate.withLocation(String location)

Parameters:

location

withManagedVirtualNetworkRegions

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

withNetworkConnectionName

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

withSingleSignOnStatus

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

withStopOnDisconnect

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

withTags

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

Set the tags property: Resource tags.

Overrides:

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

Parameters:

tags

withVirtualNetworkType

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

Applies to