Class NetworkSecurityProfile

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

public final class NetworkSecurityProfile extends Object implements com.azure.json.JsonSerializable<NetworkSecurityProfile>
Network security perimeter configuration profile.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the profile.
      Returns:
      the name value.
    • accessRulesVersion

      public Integer accessRulesVersion()
      Get the accessRulesVersion property: Current access rules version.
      Returns:
      the accessRulesVersion value.
    • accessRules

      public List<AccessRule> accessRules()
      Get the accessRules property: List of Access Rules.
      Returns:
      the accessRules value.
    • diagnosticSettingsVersion

      public Integer diagnosticSettingsVersion()
      Get the diagnosticSettingsVersion property: Current diagnostic settings version.
      Returns:
      the diagnosticSettingsVersion value.
    • enabledLogCategories

      public List<String> enabledLogCategories()
      Get the enabledLogCategories property: List of log categories that are enabled.
      Returns:
      the enabledLogCategories value.
    • toJson

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

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