Class FirewallPolicyLogAnalyticsResources

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

public final class FirewallPolicyLogAnalyticsResources extends Object implements com.azure.json.JsonSerializable<FirewallPolicyLogAnalyticsResources>
Log Analytics Resources for Firewall Policy Insights.
  • Constructor Details

    • FirewallPolicyLogAnalyticsResources

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

    • workspaces

      Get the workspaces property: List of workspaces for Firewall Policy Insights.
      Returns:
      the workspaces value.
    • withWorkspaces

      Set the workspaces property: List of workspaces for Firewall Policy Insights.
      Parameters:
      workspaces - the workspaces value to set.
      Returns:
      the FirewallPolicyLogAnalyticsResources object itself.
    • defaultWorkspaceId

      public com.azure.core.management.SubResource defaultWorkspaceId()
      Get the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.
      Returns:
      the defaultWorkspaceId value.
    • withDefaultWorkspaceId

      public FirewallPolicyLogAnalyticsResources withDefaultWorkspaceId(com.azure.core.management.SubResource defaultWorkspaceId)
      Set the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.
      Parameters:
      defaultWorkspaceId - the defaultWorkspaceId value to set.
      Returns:
      the FirewallPolicyLogAnalyticsResources object itself.
    • 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<FirewallPolicyLogAnalyticsResources>
      Throws:
      IOException
    • fromJson

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