Class: Azure::IotHub::Mgmt::V2019_07_01_preview::Models::MessagingEndpointProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb

Overview

The properties of the messaging endpoints used by this IoT hub.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#lock_duration_as_iso8601Duration

Returns:

  • (Duration)

    The lock duration. See:



17
18
19
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb', line 17

def lock_duration_as_iso8601
  @lock_duration_as_iso8601
end

#max_delivery_countInteger

Returns:

  • (Integer)

    The number of times the IoT hub attempts to deliver a



27
28
29
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb', line 27

def max_delivery_count
  @max_delivery_count
end

#ttl_as_iso8601Duration

to consume before it is expired by the IoT hub. See: docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.

Returns:

  • (Duration)

    The period of time for which a message is available



22
23
24
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb', line 22

def ttl_as_iso8601
  @ttl_as_iso8601
end

Class Method Details

.mapperObject

Mapper for MessagingEndpointProperties class as Ruby Hash. This will be used for serialization/deserialization.



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MessagingEndpointProperties',
    type: {
      name: 'Composite',
      class_name: 'MessagingEndpointProperties',
      model_properties: {
        lock_duration_as_iso8601: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lockDurationAsIso8601',
          type: {
            name: 'TimeSpan'
          }
        },
        ttl_as_iso8601: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ttlAsIso8601',
          type: {
            name: 'TimeSpan'
          }
        },
        max_delivery_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxDeliveryCount',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end