Sprog

ArmIotHubModelFactory.CloudToDeviceProperties Method

Definition

The IoT hub cloud-to-device messaging properties.

public static Azure.ResourceManager.IotHub.Models.CloudToDeviceProperties CloudToDeviceProperties(int? maxDeliveryCount = default, TimeSpan? defaultTtlAsIso8601 = default, Azure.ResourceManager.IotHub.Models.CloudToDeviceFeedbackQueueProperties feedback = default);
static member CloudToDeviceProperties : Nullable<int> * Nullable<TimeSpan> * Azure.ResourceManager.IotHub.Models.CloudToDeviceFeedbackQueueProperties -> Azure.ResourceManager.IotHub.Models.CloudToDeviceProperties
Public Shared Function CloudToDeviceProperties (Optional maxDeliveryCount As Nullable(Of Integer) = Nothing, Optional defaultTtlAsIso8601 As Nullable(Of TimeSpan) = Nothing, Optional feedback As CloudToDeviceFeedbackQueueProperties = Nothing) As CloudToDeviceProperties

Parameters

maxDeliveryCount
Nullable<Int32>

The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

defaultTtlAsIso8601
Nullable<TimeSpan>

The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

feedback
CloudToDeviceFeedbackQueueProperties

The properties of the feedback queue for cloud-to-device messages.

Returns

A new CloudToDeviceProperties instance for mocking.

Applies to