PoolUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. TrackedResourceUpdate - com.
azure. resourcemanager. devcenter. models. PoolUpdate
- com.
- com.
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 Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
devBoxDefinitionName()
Get the dev |
| String |
displayName()
Get the display |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
|
License |
licenseType()
Get the license |
|
Local |
localAdministrator()
Get the local |
| List<String> |
managedVirtualNetworkRegions()
Get the managed |
| String |
networkConnectionName()
Get the network |
|
Single |
singleSignOnStatus()
Get the single |
|
Stop |
stopOnDisconnect()
Get the stop |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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)
Set the location property: The geo-location where the resource lives. |
|
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)
Set the tags property: Resource tags. |
|
Pool |
withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtual |
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:
displayName
public String displayName()
Get the displayName property: The display name of the pool.
Returns:
fromJson
public static PoolUpdate fromJson(JsonReader jsonReader)
Reads an instance of PoolUpdate from the JsonReader.
Parameters:
Returns:
Throws:
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:
networkConnectionName
public String networkConnectionName()
Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PoolUpdate.toJson(JsonWriter jsonWriter)Parameters:
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:
withDevBoxDefinitionName
public PoolUpdate withDevBoxDefinitionName(String devBoxDefinitionName)
Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
Parameters:
Returns:
withDisplayName
public PoolUpdate withDisplayName(String displayName)
Set the displayName property: The display name of the pool.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withLocation
public PoolUpdate withLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
PoolUpdate.withLocation(String location)Parameters:
withManagedVirtualNetworkRegions
public PoolUpdate withManagedVirtualNetworkRegions(List<String> managedVirtualNetworkRegions)
Set the managedVirtualNetworkRegions property: The regions of the managed virtual network (required when managedNetworkType is Managed).
Parameters:
Returns:
withNetworkConnectionName
public PoolUpdate withNetworkConnectionName(String networkConnectionName)
Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
Parameters:
Returns:
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:
Returns:
withStopOnDisconnect
public PoolUpdate withStopOnDisconnect(StopOnDisconnectConfiguration stopOnDisconnect)
Set the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.
Parameters:
Returns:
withTags
public PoolUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
PoolUpdate.withTags(Map<String,String> tags)Parameters:
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:
Returns: