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