Condividi tramite


NamespaceTopicData Class

Definition

A class representing the NamespaceTopic data model. Namespace topic details.

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

Constructors

NamespaceTopicData()

Initializes a new instance of NamespaceTopicData.

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InputSchema

This determines the format that is expected for incoming events published to the topic.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Provisioning state of the namespace topic.

PublisherType

Publisher type of the namespace topic.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<NamespaceTopicData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamespaceTopicData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamespaceTopicData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamespaceTopicData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamespaceTopicData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to