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 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 SummaryLogsInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SummaryLogsInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.isActive()Get the isActive property: Indicates if Summary rule is active.name()Get the name property: The name of the resource.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.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.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
-
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
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
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 SummaryLogsInner 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 SummaryLogsInner 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 SummaryLogsInner 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 SummaryLogsInner object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
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.
-