Class: Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb
Overview
Single item in List or Get Event Hub operation
Instance Attribute Summary collapse
-
#capture_description ⇒ CaptureDescription
Properties of capture description.
-
#created_at ⇒ DateTime
Exact time the Event Hub was created.
-
#message_retention_in_days ⇒ Integer
Hub, value should be 1 to 7 days.
-
#partition_count ⇒ Integer
allowed values are from 1 to 32 partitions.
-
#partition_ids ⇒ Array<String>
Current number of shards on the Event Hub.
-
#status ⇒ EntityStatus
the Event Hub.
-
#updated_at ⇒ DateTime
The exact time the message was updated.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Eventhub class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#capture_description ⇒ CaptureDescription
Returns Properties of capture description.
39 40 41 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 39 def capture_description @capture_description end |
#created_at ⇒ DateTime
Returns Exact time the Event Hub was created.
19 20 21 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 19 def created_at @created_at end |
#message_retention_in_days ⇒ Integer
Hub, value should be 1 to 7 days
26 27 28 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 26 def @message_retention_in_days end |
#partition_count ⇒ Integer
allowed values are from 1 to 32 partitions.
30 31 32 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 30 def partition_count @partition_count end |
#partition_ids ⇒ Array<String>
Returns Current number of shards on the Event Hub.
16 17 18 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 16 def partition_ids @partition_ids end |
#status ⇒ EntityStatus
the Event Hub. Possible values include: ‘Active’, ‘Disabled’, ‘Restoring’, ‘SendDisabled’, ‘ReceiveDisabled’, ‘Creating’, ‘Deleting’, ‘Renaming’, ‘Unknown’
36 37 38 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 36 def status @status end |
#updated_at ⇒ DateTime
Returns The exact time the message was updated.
22 23 24 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 22 def updated_at @updated_at end |
Class Method Details
.mapper ⇒ Object
Mapper for Eventhub class as Ruby Hash. This will be used for serialization/deserialization.
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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Eventhub', type: { name: 'Composite', class_name: 'Eventhub', 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' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, 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' } } } }, created_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, updated_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.updatedAt', type: { name: 'DateTime' } }, message_retention_in_days: { client_side_validation: true, required: false, serialized_name: 'properties.messageRetentionInDays', constraints: { InclusiveMaximum: 7, InclusiveMinimum: 1 }, type: { name: 'Number' } }, partition_count: { client_side_validation: true, required: false, serialized_name: 'properties.partitionCount', constraints: { InclusiveMaximum: 32, InclusiveMinimum: 1 }, type: { name: 'Number' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'Enum', module: 'EntityStatus' } }, capture_description: { client_side_validation: true, required: false, serialized_name: 'properties.captureDescription', type: { name: 'Composite', class_name: 'CaptureDescription' } } } } } end |