Condividi tramite


DigestConfig Class

Definition

Advisor Digest configuration entity

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.DigestConfigTypeConverter))]
public class DigestConfig : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IDigestConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.DigestConfigTypeConverter))>]
type DigestConfig = class
    interface IDigestConfig
    interface IJsonSerializable
Public Class DigestConfig
Implements IDigestConfig
Inheritance
DigestConfig
Attributes
Implements

Constructors

DigestConfig()

Creates an new DigestConfig instance.

Properties

ActionGroupResourceId

Action group resource id used by digest.

Category

Categories to send digest for. If categories are not provided, then digest will be sent for all categories.

Frequency

Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive.

Language

Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en).

Name

Name of digest configuration. Value is case-insensitive and must be unique within a subscription.

State

State of digest configuration.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DigestConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DigestConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IDigestConfig.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DigestConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to