Class NspProfileProperties

java.lang.Object
com.azure.resourcemanager.network.fluent.models.NspProfileProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<NspProfileProperties>

public final class NspProfileProperties extends Object implements com.azure.json.JsonSerializable<NspProfileProperties>
Properties of NSP profile.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of NspProfileProperties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the accessRulesVersion property: Version number that increases with every update to access rules within the profile.
    Get the diagnosticSettingsVersion property: Version number that increases with every update to diagnostic settings within the profile.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of NspProfileProperties from the JsonReader.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    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
  • Constructor Details

    • NspProfileProperties

      public NspProfileProperties()
      Creates an instance of NspProfileProperties class.
  • Method Details

    • accessRulesVersion

      public String accessRulesVersion()
      Get the accessRulesVersion property: Version number that increases with every update to access rules within the profile.
      Returns:
      the accessRulesVersion value.
    • diagnosticSettingsVersion

      public String diagnosticSettingsVersion()
      Get the diagnosticSettingsVersion property: Version number that increases with every update to diagnostic settings within the profile.
      Returns:
      the diagnosticSettingsVersion value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

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