MonitoringTagRules 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.
Capture logs and metrics of Azure resources based on ARM tags.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.MonitoringTagRulesTypeConverter))]
public class MonitoringTagRules : Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.IMonitoringTagRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.MonitoringTagRulesTypeConverter))>]
type MonitoringTagRules = class
interface IMonitoringTagRules
interface IJsonSerializable
Public Class MonitoringTagRules
Implements IMonitoringTagRules
- Inheritance
-
MonitoringTagRules
- Attributes
- Implements
Constructors
MonitoringTagRules() |
Creates an new MonitoringTagRules instance. |
Properties
Id |
The id of the rule set. |
LogRuleFilteringTag |
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. |
LogRuleSendAadLog |
Flag specifying if AAD logs should be sent for the Monitor resource. |
LogRuleSendActivityLog |
Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. |
LogRuleSendSubscriptionLog |
Flag specifying if subscription logs should be sent for the Monitor resource. |
Name |
Name of the rule set. |
ProvisioningState |
Provisioning state of the monitoring tag rules. |
ResourceGroupName |
Gets the resource group name |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Type |
The type of the rule set. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MonitoringTagRules. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MonitoringTagRules. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.IMonitoringTagRules. |
FromJsonString(String) |
Creates a new instance of MonitoringTagRules, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of MonitoringTagRules into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |