EventHubDescription Class

Definition

Represents the metadata description of an Event Hub.

[System.Runtime.Serialization.DataContract(Name="EventHubDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class EventHubDescription : Microsoft.ServiceBus.Messaging.EntityDescription
Inheritance
EventHubDescription
Attributes

Constructors

EventHubDescription(String)

Initializes a new instance of the EventHubDescription class.

Properties

Authorization

Gets the AuthorizationRules.

CreatedAt

Gets the exact time the message was created.

MessageRetentionInDays

Gets or sets the number of days to retain the events for this Event Hub.

PartitionCount

Gets or sets the current number of shards on the Event Hub.

PartitionIds

Gets identifiers for partitions created for Event Hubs.

Path

Gets the full path of the Event Hub.

Status

Gets or sets the current status of the Event Hub (enabled or disabled).

UpdatedAt

Gets the exact time the message has been updated.

UserMetadata

Gets or sets the user metadata.

Methods

ExtensionData Inherited from EntityDescription
IsReadOnly Inherited from EntityDescription
ThrowIfReadOnly() Inherited from EntityDescription

Extension Methods

IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to