EventHubDescription EventHubDescription 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
type EventHubDescription = class
    inherit EntityDescription
Public NotInheritable Class EventHubDescription
Inherits EntityDescription
Inheritance
EventHubDescriptionEventHubDescriptionEventHubDescription
Attributes

Constructors

EventHubDescription(String) EventHubDescription(String) EventHubDescription(String)

Initializes a new instance of the EventHubDescription class.

Properties

Authorization Authorization Authorization

Gets the AuthorizationRules.

CreatedAt CreatedAt CreatedAt

Gets the exact time the message was created.

ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IsReadOnly IsReadOnly IsReadOnly

Gets or sets a value that indicates whether the entity description is read-only.

(Inherited from EntityDescription)
MessageRetentionInDays MessageRetentionInDays MessageRetentionInDays

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

PartitionCount PartitionCount PartitionCount

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

PartitionIds PartitionIds PartitionIds

Gets identifiers for partitions created for Event Hubs.

Path Path Path

Gets the full path of the Event Hub.

Status Status Status

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

UpdatedAt UpdatedAt UpdatedAt

Gets the exact time the message has been updated.

UserMetadata UserMetadata UserMetadata

Gets or sets the user metadata.

Methods

ThrowIfReadOnly() ThrowIfReadOnly() ThrowIfReadOnly()

Throws an exception if the entity description is read-only.

(Inherited from EntityDescription)

Applies to