Sdílet prostřednictvím


SubscriptionLogSettings Class

Definition

Part of Subscription diagnostic setting. Specifies the settings for a particular log.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.SubscriptionLogSettingsTypeConverter))]
public class SubscriptionLogSettings : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.ISubscriptionLogSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.SubscriptionLogSettingsTypeConverter))>]
type SubscriptionLogSettings = class
    interface ISubscriptionLogSettings
    interface IJsonSerializable
Public Class SubscriptionLogSettings
Implements ISubscriptionLogSettings
Inheritance
SubscriptionLogSettings
Attributes
Implements

Constructors

SubscriptionLogSettings()

Creates an new SubscriptionLogSettings instance.

Properties

Category

Name of a Subscription Diagnostic Log category for a resource type this setting is applied to.

CategoryGroup

Name of a Subscription Diagnostic Log category group for a resource type this setting is applied to.

Enabled

a value indicating whether this log is enabled.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SubscriptionLogSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SubscriptionLogSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.ISubscriptionLogSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SubscriptionLogSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to