PoolImage Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. PoolImage
- com.
Implements
public final class PoolImage
implements JsonSerializable<PoolImage>
The VM image of the machines in the pool.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolImage() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
aliases()
Get the aliases property: List of aliases to reference the image by. |
| String |
buffer()
Get the buffer property: The percentage of the buffer to be allocated to this image. |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
wellKnownImageName()
Get the well |
|
Pool |
withAliases(List<String> aliases)
Set the aliases property: List of aliases to reference the image by. |
|
Pool |
withBuffer(String buffer)
Set the buffer property: The percentage of the buffer to be allocated to this image. |
|
Pool |
withResourceId(String resourceId)
Set the resource |
|
Pool |
withWellKnownImageName(String wellKnownImageName)
Set the well |
Methods inherited from java.lang.Object
Constructor Details
PoolImage
public PoolImage()
Creates an instance of PoolImage class.
Method Details
aliases
public List<String> aliases()
Get the aliases property: List of aliases to reference the image by.
Returns:
buffer
public String buffer()
Get the buffer property: The percentage of the buffer to be allocated to this image.
Returns:
fromJson
public static PoolImage fromJson(JsonReader jsonReader)
Reads an instance of PoolImage from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: The resource id of the image.
Returns:
toJson
validate
public void validate()
Validates the instance.
wellKnownImageName
public String wellKnownImageName()
Get the wellKnownImageName property: The image to use from a well-known set of images made available to customers.
Returns:
withAliases
public PoolImage withAliases(List<String> aliases)
Set the aliases property: List of aliases to reference the image by.
Parameters:
Returns:
withBuffer
public PoolImage withBuffer(String buffer)
Set the buffer property: The percentage of the buffer to be allocated to this image.
Parameters:
Returns:
withResourceId
public PoolImage withResourceId(String resourceId)
Set the resourceId property: The resource id of the image.
Parameters:
Returns:
withWellKnownImageName
public PoolImage withWellKnownImageName(String wellKnownImageName)
Set the wellKnownImageName property: The image to use from a well-known set of images made available to customers.
Parameters:
Returns: