Eventhub Constructors

Definition

Overloads

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.

Eventhub()

Initializes a new instance of the Eventhub class.

public Eventhub ();
Public Sub New ()

Applies to

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.

public Eventhub (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IList<string> partitionIds = default, DateTime? createdAt = default, DateTime? updatedAt = default, long? messageRetentionInDays = default, long? partitionCount = default, Microsoft.Azure.Management.EventHub.Models.EntityStatus? status = default, Microsoft.Azure.Management.EventHub.Models.CaptureDescription captureDescription = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.Eventhub : string * string * string * string * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int64> * Nullable<int64> * Nullable<Microsoft.Azure.Management.EventHub.Models.EntityStatus> * Microsoft.Azure.Management.EventHub.Models.CaptureDescription * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.Eventhub
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional partitionIds As IList(Of String) = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional messageRetentionInDays As Nullable(Of Long) = Nothing, Optional partitionCount As Nullable(Of Long) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional captureDescription As CaptureDescription = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

location
String

The geo-location where the resource lives

partitionIds
IList<String>

Current number of shards on the Event Hub.

createdAt
Nullable<DateTime>

Exact time the Event Hub was created.

updatedAt
Nullable<DateTime>

The exact time the message was updated.

messageRetentionInDays
Nullable<Int64>

Number of days to retain the events for this Event Hub, value should be 1 to 7 days

partitionCount
Nullable<Int64>

Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

status
Nullable<EntityStatus>

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

captureDescription
CaptureDescription

Properties of capture description

systemData
SystemData

The system meta data relating to this resource.

Applies to