ArmIotHubModelFactory.EventHubCompatibleEndpointProperties Method

Definition

Initializes a new instance of EventHubCompatibleEndpointProperties.

public static Azure.ResourceManager.IotHub.Models.EventHubCompatibleEndpointProperties EventHubCompatibleEndpointProperties (long? retentionTimeInDays = default, int? partitionCount = default, System.Collections.Generic.IEnumerable<string> partitionIds = default, string eventHubCompatibleName = default, string endpoint = default);
static member EventHubCompatibleEndpointProperties : Nullable<int64> * Nullable<int> * seq<string> * string * string -> Azure.ResourceManager.IotHub.Models.EventHubCompatibleEndpointProperties
Public Shared Function EventHubCompatibleEndpointProperties (Optional retentionTimeInDays As Nullable(Of Long) = Nothing, Optional partitionCount As Nullable(Of Integer) = Nothing, Optional partitionIds As IEnumerable(Of String) = Nothing, Optional eventHubCompatibleName As String = Nothing, Optional endpoint As String = Nothing) As EventHubCompatibleEndpointProperties

Parameters

retentionTimeInDays
Nullable<Int64>

The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

partitionCount
Nullable<Int32>

The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

partitionIds
IEnumerable<String>

The partition ids in the Event Hub-compatible endpoint.

eventHubCompatibleName
String

The Event Hub-compatible name.

endpoint
String

The Event Hub-compatible endpoint.

Returns

A new EventHubCompatibleEndpointProperties instance for mocking.

Applies to