Share via


TagRuleUpdate Class

Definition

The type used for update operations of the TagRule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.TagRuleUpdateTypeConverter))]
public class TagRuleUpdate : Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITagRuleUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.TagRuleUpdateTypeConverter))>]
type TagRuleUpdate = class
    interface ITagRuleUpdate
    interface IJsonSerializable
Public Class TagRuleUpdate
Implements ITagRuleUpdate
Inheritance
TagRuleUpdate
Attributes
Implements

Constructors

TagRuleUpdate()

Creates an new TagRuleUpdate instance.

Properties

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.

MetricRuleFilteringTag

List of filtering tags to be used for capturing metrics.

MetricRuleSendMetric

Flag specifying if metrics should be sent for the Monitor resource.

MetricRuleUserEmail

User Email

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TagRuleUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TagRuleUpdate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITagRuleUpdate.

FromJsonString(String)

Creates a new instance of TagRuleUpdate, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TagRuleUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to