Class: Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEventHubProperties
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEventHubProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb
Overview
The properties related to an event hub endpoint.
Instance Attribute Summary collapse
-
#connection_string ⇒ String
The connection string of the event hub endpoint.
-
#name ⇒ String
only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters.
-
#resource_group ⇒ String
endpoint.
-
#subscription_id ⇒ String
The subscription identifier of the event hub endpoint.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoutingEventHubProperties class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
Returns The connection string of the event hub endpoint.
16 17 18 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 16 def connection_string @connection_string end |
#name ⇒ String
only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types.
23 24 25 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 23 def name @name end |
#resource_group ⇒ String
endpoint.
30 31 32 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 30 def resource_group @resource_group end |
#subscription_id ⇒ String
Returns The subscription identifier of the event hub endpoint.
26 27 28 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 26 def subscription_id @subscription_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RoutingEventHubProperties class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 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 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoutingEventHubProperties', type: { name: 'Composite', class_name: 'RoutingEventHubProperties', model_properties: { connection_string: { client_side_validation: true, required: true, serialized_name: 'connectionString', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { Pattern: '^[A-Za-z0-9-._]{1,64}$' }, type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { name: 'String' } } } } } end |