class Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventHub

Properties related to EventHub.

Attributes

connection_string_primary_key[RW]

@return [String] PrimaryConnectionString of the endpoint. Will be obfuscated during read.

connection_string_secondary_key[RW]

@return [String] SecondaryConnectionString of the endpoint. Will be obfuscated during read.

endpointType[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventHub',
    type: {
      name: 'Composite',
      class_name: 'EventHub',
      model_properties: {
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        created_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'createdTime',
          type: {
            name: 'DateTime'
          }
        },
        dead_letter_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'deadLetterSecret',
          type: {
            name: 'String'
          }
        },
        endpointType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'endpointType',
          type: {
            name: 'String'
          }
        },
        connection_string_primary_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectionStringPrimaryKey',
          type: {
            name: 'String'
          }
        },
        connection_string_secondary_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectionStringSecondaryKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb, line 16
def initialize
  @endpointType = "EventHub"
end