class Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties

The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.

Attributes

endpoint[RW]

@return [String] The Event Hub-compatible endpoint.

partition_count[RW]

@return [Integer] The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

partition_ids[RW]

@return [Array<String>] The partition ids in the Event Hub-compatible endpoint.

path[RW]

@return [String] The Event Hub-compatible name.

retention_time_in_days[RW]

@return [Integer] The retention time for device-to-cloud messages in days. See: docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventHubProperties',
    type: {
      name: 'Composite',
      class_name: 'EventHubProperties',
      model_properties: {
        retention_time_in_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'retentionTimeInDays',
          type: {
            name: 'Number'
          }
        },
        partition_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'partitionCount',
          type: {
            name: 'Number'
          }
        },
        partition_ids: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'partitionIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endpoint',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end