Sdílet prostřednictvím


DigestConfig Class

Definition

Advisor Digest configuration entity.

public class DigestConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Advisor.Models.DigestConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Advisor.Models.DigestConfig>
type DigestConfig = class
    interface IJsonModel<DigestConfig>
    interface IPersistableModel<DigestConfig>
Public Class DigestConfig
Implements IJsonModel(Of DigestConfig), IPersistableModel(Of DigestConfig)
Inheritance
DigestConfig
Implements

Constructors

DigestConfig()

Initializes a new instance of DigestConfig.

Properties

ActionGroupResourceId

Action group resource id used by digest.

Categories

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DigestConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DigestConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DigestConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DigestConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DigestConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to