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
[<System.Runtime.Serialization.DataContract(Name="EventHubDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type EventHubDescription = class
    inherit EntityDescription
Public NotInheritable Class EventHubDescription
Inherits 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.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IsReadOnly

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

(Inherited from EntityDescription)
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

ThrowIfReadOnly()

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

(Inherited from EntityDescription)

Applies to