Class ValidationTestProperties

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationTestProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationTestProperties>

public final class ValidationTestProperties extends Object implements com.azure.json.JsonSerializable<ValidationTestProperties>
Validation test catalog properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the audience property: Audience visibility of this validation test.
    Get the categoryIds property: The names of the validation test categories (ValidationTestCategory resource names, not ARM resource IDs) associated with this test.
    Get the currentVersion property: The resource ID of the current immutable version snapshot.
    Get the description property: Validation test description.
    Get the displayName property: Display name of the validation test.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ValidationTestProperties from the JsonReader.
    Get the inputs property: Declared input contract for this validation test.
    Get the lastPublishedAt property: Timestamp of the last version publication.
    Get the latestPublishedVersion property: The resource ID of the latest published version snapshot.
    Get the owners property: Owners of the validation test definition, expressed as team or distribution list aliases.
    Get the provisioningState property: Provisioning state of the validation test catalog resource.
    Get the testStoreUri property: URI of the location where the test artifact is stored.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name of the validation test.
      Returns:
      the displayName value.
    • description

      public String description()
      Get the description property: Validation test description.
      Returns:
      the description value.
    • audience

      public CatalogAudience audience()
      Get the audience property: Audience visibility of this validation test.
      Returns:
      the audience value.
    • provisioningState

      public ResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the validation test catalog resource.
      Returns:
      the provisioningState value.
    • categoryIds

      public List<String> categoryIds()
      Get the categoryIds property: The names of the validation test categories (ValidationTestCategory resource names, not ARM resource IDs) associated with this test.
      Returns:
      the categoryIds value.
    • owners

      public List<String> owners()
      Get the owners property: Owners of the validation test definition, expressed as team or distribution list aliases. Individual user aliases and directory object identifiers are not published in this field. Only catalog publishers(limited to microsoft internal only) set this value through an internal publishing process; end users of the validation service consume catalog entries read-only through Get/List and cannot modify it.
      Returns:
      the owners value.
    • inputs

      public List<ValidationTestInput> inputs()
      Get the inputs property: Declared input contract for this validation test.
      Returns:
      the inputs value.
    • testStoreUri

      public String testStoreUri()
      Get the testStoreUri property: URI of the location where the test artifact is stored.
      Returns:
      the testStoreUri value.
    • currentVersion

      public String currentVersion()
      Get the currentVersion property: The resource ID of the current immutable version snapshot.
      Returns:
      the currentVersion value.
    • latestPublishedVersion

      public String latestPublishedVersion()
      Get the latestPublishedVersion property: The resource ID of the latest published version snapshot.
      Returns:
      the latestPublishedVersion value.
    • lastPublishedAt

      public OffsetDateTime lastPublishedAt()
      Get the lastPublishedAt property: Timestamp of the last version publication.
      Returns:
      the lastPublishedAt value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ValidationTestProperties>
      Throws:
      IOException
    • fromJson

      public static ValidationTestProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ValidationTestProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ValidationTestProperties 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 ValidationTestProperties.