Class SummaryLogsProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.SummaryLogsProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SummaryLogsProperties>
public final class SummaryLogsProperties
extends Object
implements com.azure.json.JsonSerializable<SummaryLogsProperties>
Summary rule properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the Summary rule.Get the displayName property: The display name of the Summary rule.static SummaryLogsPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SummaryLogsProperties from the JsonReader.isActive()Get the isActive property: Indicates if Summary rule is active.Get the provisioningState property: Summary rule is in provisioning state.Get the ruleDefinition property: Rule definition parameters.ruleType()Get the ruleType property: SummaryRules rule type: User.Get the statusCode property: Indicates the reason for rule deactivation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withDescription(String description) Set the description property: The description of the Summary rule.withDisplayName(String displayName) Set the displayName property: The display name of the Summary rule.withRuleDefinition(RuleDefinition ruleDefinition) Set the ruleDefinition property: Rule definition parameters.withRuleType(RuleTypeEnum ruleType) Set the ruleType property: SummaryRules rule type: User.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SummaryLogsProperties
public SummaryLogsProperties()Creates an instance of SummaryLogsProperties class.
-
-
Method Details
-
ruleType
Get the ruleType property: SummaryRules rule type: User.- Returns:
- the ruleType value.
-
withRuleType
Set the ruleType property: SummaryRules rule type: User.- Parameters:
ruleType- the ruleType value to set.- Returns:
- the SummaryLogsProperties object itself.
-
displayName
Get the displayName property: The display name of the Summary rule.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the Summary rule.- Parameters:
displayName- the displayName value to set.- Returns:
- the SummaryLogsProperties object itself.
-
description
Get the description property: The description of the Summary rule.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the Summary rule.- Parameters:
description- the description value to set.- Returns:
- the SummaryLogsProperties object itself.
-
isActive
Get the isActive property: Indicates if Summary rule is active. If not, Summary rule execution stops.- Returns:
- the isActive value.
-
statusCode
Get the statusCode property: Indicates the reason for rule deactivation.- Returns:
- the statusCode value.
-
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
Get the ruleDefinition property: Rule definition parameters.- Returns:
- the ruleDefinition value.
-
withRuleDefinition
Set the ruleDefinition property: Rule definition parameters.- Parameters:
ruleDefinition- the ruleDefinition value to set.- Returns:
- the SummaryLogsProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SummaryLogsProperties>- Throws:
IOException
-
fromJson
public static SummaryLogsProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SummaryLogsProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SummaryLogsProperties 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 SummaryLogsProperties.
-