Eventhub Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Number of days to retain the events for this Event Hub, value should be 1 to 7 days
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
Azure SDK for .NET