Class: Azure::ARM::StreamAnalytics::Models::IoTHubStreamInputDataSource
- Inherits:
-
StreamInputDataSource
- Object
- StreamInputDataSource
- Azure::ARM::StreamAnalytics::Models::IoTHubStreamInputDataSource
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb
Overview
Describes an IoT Hub input data source that contains stream data.
Instance Attribute Summary collapse
-
#consumer_group_name ⇒ String
used to read events from the IoT Hub.
-
#endpoint ⇒ String
messages/events, messages/operationsMonitoringEvents, etc.).
-
#iot_hub_namespace ⇒ String
(CreateOrReplace) requests.
-
#shared_access_policy_key ⇒ String
access policy.
-
#shared_access_policy_name ⇒ String
policy must contain at least the Service connect permission.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTHubStreamInputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ IoTHubStreamInputDataSource
constructor
A new instance of IoTHubStreamInputDataSource.
Constructor Details
#initialize ⇒ IoTHubStreamInputDataSource
Returns a new instance of IoTHubStreamInputDataSource.
17 18 19 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 17 def initialize @type = "Microsoft.Devices/IotHubs" end |
Instance Attribute Details
#consumer_group_name ⇒ String
used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group.
39 40 41 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 39 def consumer_group_name @consumer_group_name end |
#endpoint ⇒ String
messages/events, messages/operationsMonitoringEvents, etc.).
43 44 45 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 43 def endpoint @endpoint end |
#iot_hub_namespace ⇒ String
(CreateOrReplace) requests.
25 26 27 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 25 def iot_hub_namespace @iot_hub_namespace end |
#shared_access_policy_key ⇒ String
access policy. Required on PUT (CreateOrReplace) requests.
34 35 36 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 34 def shared_access_policy_key @shared_access_policy_key end |
#shared_access_policy_name ⇒ String
policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests.
30 31 32 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 30 def shared_access_policy_name @shared_access_policy_name end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTHubStreamInputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb', line 50 def self.mapper() { required: false, serialized_name: 'Microsoft.Devices/IotHubs', type: { name: 'Composite', class_name: 'IoTHubStreamInputDataSource', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, iot_hub_namespace: { required: false, serialized_name: 'properties.iotHubNamespace', type: { name: 'String' } }, shared_access_policy_name: { required: false, serialized_name: 'properties.sharedAccessPolicyName', type: { name: 'String' } }, shared_access_policy_key: { required: false, serialized_name: 'properties.sharedAccessPolicyKey', type: { name: 'String' } }, consumer_group_name: { required: false, serialized_name: 'properties.consumerGroupName', type: { name: 'String' } }, endpoint: { required: false, serialized_name: 'properties.endpoint', type: { name: 'String' } } } } } end |