Class MonitoringTagRulesProperties
java.lang.Object
com.azure.resourcemanager.logz.models.MonitoringTagRulesProperties
Definition of the properties for a TagRules resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MonitoringTagRulesProperties class. -
Method Summary
Modifier and TypeMethodDescriptionlogRules()
Get the logRules property: Set of rules for sending logs for the Monitor resource.Get the provisioningState property: Flag specifying if the resource provisioning state as tracked by ARM.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withLogRules
(LogRules logRules) Set the logRules property: Set of rules for sending logs for the Monitor resource.
-
Constructor Details
-
MonitoringTagRulesProperties
public MonitoringTagRulesProperties()Creates an instance of MonitoringTagRulesProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Flag specifying if the resource provisioning state as tracked by ARM.- Returns:
- the provisioningState value.
-
logRules
Get the logRules property: Set of rules for sending logs for the Monitor resource.- Returns:
- the logRules value.
-
withLogRules
Set the logRules property: Set of rules for sending logs for the Monitor resource.- Parameters:
logRules
- the logRules value to set.- Returns:
- the MonitoringTagRulesProperties object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-