ImageVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. ImageVersionProperties
- com.
Implements
public final class ImageVersionProperties
implements JsonSerializable<ImageVersionProperties>
Properties of an image version.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageVersionProperties() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
excludeFromLatest()
Get the exclude |
|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
| String |
name()
Get the name property: The semantic version string. |
| Integer |
osDiskImageSizeInGb()
Get the os |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Offset |
publishedDate()
Get the published |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ImageVersionProperties
public ImageVersionProperties()
Creates an instance of ImageVersionProperties class.
Method Details
excludeFromLatest
public Boolean excludeFromLatest()
Get the excludeFromLatest property: If the version should be excluded from being treated as the latest version.
Returns:
fromJson
public static ImageVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of ImageVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The semantic version string.
Returns:
osDiskImageSizeInGb
public Integer osDiskImageSizeInGb()
Get the osDiskImageSizeInGb property: The size of the OS disk image, in GB.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The datetime that the backing image version was published.
Returns:
toJson
validate
public void validate()
Validates the instance.