ArmEventHubsModelFactory.EventHubData Method
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.
Initializes a new instance of EventHubData.
public static Azure.ResourceManager.EventHubs.EventHubData EventHubData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<string> partitionIds = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, long? partitionCount = default, Azure.ResourceManager.EventHubs.Models.EventHubEntityStatus? status = default, Azure.ResourceManager.EventHubs.Models.CaptureDescription captureDescription = default, Azure.ResourceManager.EventHubs.Models.RetentionDescription retentionDescription = default, Azure.ResourceManager.EventHubs.Models.EventHubsTimestampType? messageTimestampType = default, string identifier = default, string userMetadata = default);
static member EventHubData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubEntityStatus> * Azure.ResourceManager.EventHubs.Models.CaptureDescription * Azure.ResourceManager.EventHubs.Models.RetentionDescription * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsTimestampType> * string * string -> Azure.ResourceManager.EventHubs.EventHubData
Public Shared Function EventHubData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional partitionIds As IEnumerable(Of String) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional partitionCount As Nullable(Of Long) = Nothing, Optional status As Nullable(Of EventHubEntityStatus) = Nothing, Optional captureDescription As CaptureDescription = Nothing, Optional retentionDescription As RetentionDescription = Nothing, Optional messageTimestampType As Nullable(Of EventHubsTimestampType) = Nothing, Optional identifier As String = Nothing, Optional userMetadata As String = Nothing) As EventHubData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
The geo-location where the resource lives.
- partitionIds
- IEnumerable<String>
Current number of shards on the Event Hub.
- createdOn
- Nullable<DateTimeOffset>
Exact time the Event Hub was created.
- updatedOn
- Nullable<DateTimeOffset>
The exact time the message was updated.
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- status
- Nullable<EventHubEntityStatus>
Enumerates the possible values for the status of the Event Hub.
- captureDescription
- CaptureDescription
Properties of capture description.
- retentionDescription
- RetentionDescription
Event Hub retention settings.
- messageTimestampType
- Nullable<EventHubsTimestampType>
Properties of MessageTimestamp Description.
- identifier
- String
Denotes the unique identifier for event hub and is generated by service while creating topic. This identifier can be used in kafka runtime apis wherever a UUID is required e.g Fetch & Delete Topic. This identifier is not supported in AMQP runtime operations yet.
- userMetadata
- String
Gets and Sets Metadata of User.
Returns
A new EventHubData instance for mocking.