ArmIotHubModelFactory.EventHubCompatibleEndpointProperties 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 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
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.
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.