Share via


NamespaceTopicPatch Class

Definition

Properties of the namespace topic update.

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

Constructors

NamespaceTopicPatch()

Initializes a new instance of NamespaceTopicPatch.

Properties

EventRetentionInDays

Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.

Explicit Interface Implementations

IJsonModel<NamespaceTopicPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamespaceTopicPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamespaceTopicPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamespaceTopicPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamespaceTopicPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to