Class: Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb
Overview
Single Namespace item in List or Get Operation
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
The time the Namespace was created.
-
#is_auto_inflate_enabled ⇒ Boolean
for eventhub namespace.
-
#maximum_throughput_units ⇒ Integer
enabled, vaule should be within 0 to 20 throughput units.
-
#metric_id ⇒ String
Identifier for Azure Insights metrics.
-
#provisioning_state ⇒ String
Provisioning state of the Namespace.
-
#service_bus_endpoint ⇒ String
operations.
-
#sku ⇒ Sku
Properties of sku resource.
-
#updated_at ⇒ DateTime
The time the Namespace was updated.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EHNamespace class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#created_at ⇒ DateTime
Returns The time the Namespace was created.
22 23 24 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 22 def created_at @created_at end |
#is_auto_inflate_enabled ⇒ Boolean
for eventhub namespace.
36 37 38 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 36 def is_auto_inflate_enabled @is_auto_inflate_enabled end |
#maximum_throughput_units ⇒ Integer
enabled, vaule should be within 0 to 20 throughput units. ( ‘0’ if AutoInflateEnabled = true)
41 42 43 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 41 def maximum_throughput_units @maximum_throughput_units end |
#metric_id ⇒ String
Returns Identifier for Azure Insights metrics.
32 33 34 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 32 def metric_id @metric_id end |
#provisioning_state ⇒ String
Returns Provisioning state of the Namespace.
19 20 21 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 19 def provisioning_state @provisioning_state end |
#service_bus_endpoint ⇒ String
operations.
29 30 31 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 29 def service_bus_endpoint @service_bus_endpoint end |
#sku ⇒ Sku
Returns Properties of sku resource.
16 17 18 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 16 def sku @sku end |
#updated_at ⇒ DateTime
Returns The time the Namespace was updated.
25 26 27 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 25 def updated_at @updated_at end |
Class Method Details
.mapper ⇒ Object
Mapper for EHNamespace class as Ruby Hash. This will be used for serialization/deserialization.
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 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EHNamespace', type: { name: 'Composite', class_name: 'EHNamespace', 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' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', 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' } }, service_bus_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceBusEndpoint', type: { name: 'String' } }, metric_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metricId', type: { name: 'String' } }, is_auto_inflate_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isAutoInflateEnabled', type: { name: 'Boolean' } }, maximum_throughput_units: { client_side_validation: true, required: false, serialized_name: 'properties.maximumThroughputUnits', constraints: { InclusiveMaximum: 20, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |