class Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubResource
Single item in List or Get Event Hub operation
Attributes
created_at[RW]
@return [DateTime] Exact time the Event Hub was created.
message_retention_in_days[RW]
@return [Integer] Number of days to retain the events for this Event Hub.
partition_count[RW]
@return [Integer] Number of partitions created for the Event Hub.
partition_ids[RW]
@return [Array<String>] Current number of shards on the Event Hub.
status[RW]
@return [EntityStatus] Enumerates the possible values for the status of the Event Hub. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
updated_at[RW]
@return [DateTime] The exact time the message was updated.
Public Class Methods
mapper()
click to toggle source
Mapper for EventHubResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb, line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventHubResource', type: { name: 'Composite', class_name: 'EventHubResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, created_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, message_retention_in_days: { client_side_validation: true, required: false, serialized_name: 'properties.messageRetentionInDays', type: { name: 'Number' } }, partition_count: { client_side_validation: true, required: false, serialized_name: 'properties.partitionCount', type: { name: 'Number' } }, partition_ids: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partitionIds', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'Enum', module: 'EntityStatus' } }, updated_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.updatedAt', type: { name: 'DateTime' } } } } } end