Class SummaryLogsInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.SummaryLogsInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class SummaryLogsInner extends com.azure.core.management.ProxyResource
Workspace data summary rules definition.
  • Constructor Details

    • SummaryLogsInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • ruleType

      public RuleTypeEnum ruleType()
      Get the ruleType property: SummaryRules rule type: User.
      Returns:
      the ruleType value.
    • withRuleType

      public SummaryLogsInner withRuleType(RuleTypeEnum ruleType)
      Set the ruleType property: SummaryRules rule type: User.
      Parameters:
      ruleType - the ruleType value to set.
      Returns:
      the SummaryLogsInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the Summary rule.
      Returns:
      the displayName value.
    • withDisplayName

      public SummaryLogsInner withDisplayName(String displayName)
      Set the displayName property: The display name of the Summary rule.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SummaryLogsInner object itself.
    • description

      public String description()
      Get the description property: The description of the Summary rule.
      Returns:
      the description value.
    • withDescription

      public SummaryLogsInner withDescription(String description)
      Set the description property: The description of the Summary rule.
      Parameters:
      description - the description value to set.
      Returns:
      the SummaryLogsInner object itself.
    • isActive

      public Boolean isActive()
      Get the isActive property: Indicates if Summary rule is active. If not, Summary rule execution stops.
      Returns:
      the isActive value.
    • statusCode

      public StatusCodeEnum statusCode()
      Get the statusCode property: Indicates the reason for rule deactivation.
      Returns:
      the statusCode value.
    • provisioningState

      public SummaryLogsProvisioningState provisioningState()
      Get the provisioningState property: Summary rule is in provisioning state. If set to 'updating' or 'deleting', indicates a resource lock due to an ongoing operation, preventing any update to the Summary rule until the operation is complete.
      Returns:
      the provisioningState value.
    • ruleDefinition

      public RuleDefinition ruleDefinition()
      Get the ruleDefinition property: Rule definition parameters.
      Returns:
      the ruleDefinition value.
    • withRuleDefinition

      public SummaryLogsInner withRuleDefinition(RuleDefinition ruleDefinition)
      Set the ruleDefinition property: Rule definition parameters.
      Parameters:
      ruleDefinition - the ruleDefinition value to set.
      Returns:
      the SummaryLogsInner object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static SummaryLogsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SummaryLogsInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SummaryLogsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SummaryLogsInner.