Share via


NamespaceTopic Class

Definition

Namespace topic details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceTopicTypeConverter))]
public class NamespaceTopic : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespaceTopic, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceTopicTypeConverter))>]
type NamespaceTopic = class
    interface INamespaceTopic
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class NamespaceTopic
Implements INamespaceTopic, IValidates
Inheritance
NamespaceTopic
Attributes
Implements

Constructors

NamespaceTopic()

Creates an new NamespaceTopic instance.

Properties

EventRetentionInDay

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 identifier of the resource.

InputSchema

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

Name

Name of the resource.

ProvisioningState

Provisioning state of the namespace topic.

PublisherType

Publisher type of the namespace topic.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

Type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NamespaceTopic.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NamespaceTopic.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespaceTopic.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NamespaceTopic into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to