ExecutedValidation Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ExecutedValidation

Implements

public final class ExecutedValidation
implements JsonSerializable<ExecutedValidation>

This is the executed Validation.

Method Summary

Modifier and Type Method and Description
OffsetDateTime executionTime()

Get the executionTime property: This property specifies the starting timestamp.

static ExecutedValidation fromJson(JsonReader jsonReader)

Reads an instance of ExecutedValidation from the JsonReader.

ValidationStatus status()

Get the status property: This property specifies the status of the validationProfile of the image version.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: This property specifies the type of image version validation.

void validate()

Validates the instance.

String version()

Get the version property: This property specifies the valid version of the validation.

Methods inherited from java.lang.Object

Method Details

executionTime

public OffsetDateTime executionTime()

Get the executionTime property: This property specifies the starting timestamp.

Returns:

the executionTime value.

fromJson

public static ExecutedValidation fromJson(JsonReader jsonReader)

Reads an instance of ExecutedValidation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public ValidationStatus status()

Get the status property: This property specifies the status of the validationProfile of the image version.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: This property specifies the type of image version validation.

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: This property specifies the valid version of the validation.

Returns:

the version value.

Applies to