LogRules Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set of rules for sending logs for the Monitor resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.LogRulesTypeConverter))]
public class LogRules : Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ILogRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.LogRulesTypeConverter))>]
type LogRules = class
interface ILogRules
interface IJsonSerializable
Public Class LogRules
Implements ILogRules
- Inheritance
-
LogRules
- Attributes
- Implements
Constructors
LogRules() |
Creates an new LogRules instance. |
Properties
FilteringTag |
List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. |
SendAadLog |
Flag specifying if AAD logs should be sent for the Monitor resource. |
SendActivityLog |
Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. |
SendSubscriptionLog |
Flag specifying if subscription logs should be sent for the Monitor resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of LogRules. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ILogRules. |
FromJsonString(String) |
Creates a new instance of LogRules, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |