ValidationsProfile Class

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

Implements

public final class ValidationsProfile
implements JsonSerializable<ValidationsProfile>

This is the validations profile of a Gallery Image Version.

Method Summary

Modifier and Type Method and Description
List<ExecutedValidation> executedValidations()

Get the executedValidations property: The executedValidations property.

static ValidationsProfile fromJson(JsonReader jsonReader)

Reads an instance of ValidationsProfile from the JsonReader.

List<PlatformAttribute> platformAttributes()

Get the platformAttributes property: This specifies the pub, offer, sku and version of the image version metadata.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String validationEtag()

Get the validationEtag property: The published time of the image version.

Methods inherited from java.lang.Object

Method Details

executedValidations

public List<ExecutedValidation> executedValidations()

Get the executedValidations property: The executedValidations property.

Returns:

the executedValidations value.

fromJson

public static ValidationsProfile fromJson(JsonReader jsonReader)

Reads an instance of ValidationsProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

platformAttributes

public List<PlatformAttribute> platformAttributes()

Get the platformAttributes property: This specifies the pub, offer, sku and version of the image version metadata.

Returns:

the platformAttributes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validationEtag

public String validationEtag()

Get the validationEtag property: The published time of the image version.

Returns:

the validationEtag value.

Applies to