Class AccessRuleProperties

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

public final class AccessRuleProperties extends Object implements com.azure.json.JsonSerializable<AccessRuleProperties>
Properties of Access Rule.
  • Method Details

    • direction

      public AccessRuleDirection direction()
      Get the direction property: The direction property.
      Returns:
      the direction value.
    • addressPrefixes

      public List<String> addressPrefixes()
      Get the addressPrefixes property: Address prefixes in the CIDR format for inbound rules.
      Returns:
      the addressPrefixes value.
    • subscriptions

      Get the subscriptions property: Subscriptions for inbound rules.
      Returns:
      the subscriptions value.
    • networkSecurityPerimeters

      public List<NetworkSecurityPerimeter> networkSecurityPerimeters()
      Get the networkSecurityPerimeters property: Network security perimeters for inbound rules.
      Returns:
      the networkSecurityPerimeters value.
    • fullyQualifiedDomainNames

      public List<String> fullyQualifiedDomainNames()
      Get the fullyQualifiedDomainNames property: Fully qualified domain names (FQDN) for outbound rules.
      Returns:
      the fullyQualifiedDomainNames value.
    • emailAddresses

      public List<String> emailAddresses()
      Get the emailAddresses property: Email addresses for outbound rules.
      Returns:
      the emailAddresses value.
    • phoneNumbers

      public List<String> phoneNumbers()
      Get the phoneNumbers property: Phone numbers for outbound rules.
      Returns:
      the phoneNumbers value.
    • toJson

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

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