-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MessagingEndpointProperties.cs
38 lines (32 loc) · 2.13 KB
/
MessagingEndpointProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.IotHub.Models
{
/// <summary> The properties of the messaging endpoints used by this IoT hub. </summary>
public partial class MessagingEndpointProperties
{
/// <summary> Initializes a new instance of <see cref="MessagingEndpointProperties"/>. </summary>
public MessagingEndpointProperties()
{
}
/// <summary> Initializes a new instance of <see cref="MessagingEndpointProperties"/>. </summary>
/// <param name="lockDurationAsIso8601"> The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </param>
/// <param name="ttlAsIso8601"> The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </param>
/// <param name="maxDeliveryCount"> The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </param>
internal MessagingEndpointProperties(TimeSpan? lockDurationAsIso8601, TimeSpan? ttlAsIso8601, int? maxDeliveryCount)
{
LockDurationAsIso8601 = lockDurationAsIso8601;
TtlAsIso8601 = ttlAsIso8601;
MaxDeliveryCount = maxDeliveryCount;
}
/// <summary> The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </summary>
public TimeSpan? LockDurationAsIso8601 { get; set; }
/// <summary> The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </summary>
public TimeSpan? TtlAsIso8601 { get; set; }
/// <summary> The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. </summary>
public int? MaxDeliveryCount { get; set; }
}
}