Share via


Eventhub Class

Definition

Single item in List or Get Event Hub operation

[Microsoft.Rest.Serialization.JsonTransformation]
public class Eventhub : Microsoft.Azure.Management.EventHub.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Eventhub = class
    inherit ProxyResource
Public Class Eventhub
Inherits ProxyResource
Inheritance
Attributes

Constructors

Eventhub()

Initializes a new instance of the Eventhub class.

Eventhub(String, String, String, String, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>, Nullable<Int64>, Nullable<EntityStatus>, CaptureDescription, SystemData)

Initializes a new instance of the Eventhub class.

Properties

CaptureDescription

Gets or sets properties of capture description

CreatedAt

Gets exact time the Event Hub was created.

Id

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

(Inherited from ProxyResource)
Location

Gets the geo-location where the resource lives

(Inherited from ProxyResource)
MessageRetentionInDays

Gets or sets number of days to retain the events for this Event Hub, value should be 1 to 7 days

Name

Gets the name of the resource

(Inherited from ProxyResource)
PartitionCount

Gets or sets number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

PartitionIds

Gets current number of shards on the Event Hub.

Status

Gets or sets enumerates the possible values for the status of the Event Hub. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'

SystemData

Gets the system meta data relating to this resource.

Type

Gets the type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

(Inherited from ProxyResource)
UpdatedAt

Gets the exact time the message was updated.

Methods

Validate()

Validate the object.

Applies to