Class: Azure::TimeSeriesInsights::Mgmt::V2018_08_15_preview::Models::EventHubEventSourceCreateOrUpdateParameters
- Inherits:
-
EventSourceCreateOrUpdateParameters
- Object
- CreateOrUpdateTrackedResourceProperties
- EventSourceCreateOrUpdateParameters
- Azure::TimeSeriesInsights::Mgmt::V2018_08_15_preview::Models::EventHubEventSourceCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb
Overview
Parameters supplied to the Create or Update Event Source operation for an EventHub event source.
Instance Attribute Summary collapse
-
#consumer_group_name ⇒ String
the partitions from which events will be read.
-
#creation_time ⇒ DateTime
The time the resource was created.
-
#event_hub_name ⇒ String
The name of the event hub.
-
#event_source_resource_id ⇒ String
Manager.
-
#key_name ⇒ String
Insights service access to the event hub.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Succeeded’, ‘Failed’, ‘Deleting’.
-
#service_bus_namespace ⇒ String
hub.
-
#shared_access_key ⇒ String
Time Series Insights service read access to the event hub.
-
#timestamp_property_name ⇒ String
source’s timestamp.
Attributes inherited from CreateOrUpdateTrackedResourceProperties
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventHubEventSourceCreateOrUpdateParameters class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventHubEventSourceCreateOrUpdateParameters
constructor
A new instance of EventHubEventSourceCreateOrUpdateParameters.
Constructor Details
#initialize ⇒ EventHubEventSourceCreateOrUpdateParameters
Returns a new instance of EventHubEventSourceCreateOrUpdateParameters.
17 18 19 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 17 def initialize @kind = "Microsoft.EventHub" end |
Instance Attribute Details
#consumer_group_name ⇒ String
the partitions from which events will be read.
50 51 52 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 50 def consumer_group_name @consumer_group_name end |
#creation_time ⇒ DateTime
Returns The time the resource was created.
29 30 31 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 29 def creation_time @creation_time end |
#event_hub_name ⇒ String
Returns The name of the event hub.
46 47 48 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 46 def event_hub_name @event_hub_name end |
#event_source_resource_id ⇒ String
Manager.
39 40 41 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 39 def event_source_resource_id @event_source_resource_id end |
#key_name ⇒ String
Insights service access to the event hub. The shared access policies for this key must grant ‘Listen’ permissions to the event hub.
55 56 57 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 55 def key_name @key_name end |
#kind ⇒ Object
Returns the value of attribute kind.
21 22 23 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 21 def kind @kind end |
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Succeeded’, ‘Failed’, ‘Deleting’
26 27 28 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 26 def provisioning_state @provisioning_state end |
#service_bus_namespace ⇒ String
hub.
43 44 45 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 43 def service_bus_namespace @service_bus_namespace end |
#shared_access_key ⇒ String
Time Series Insights service read access to the event hub. This property is not shown in event source responses.
60 61 62 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 60 def shared_access_key @shared_access_key end |
#timestamp_property_name ⇒ String
source’s timestamp. If a value isn’t specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
35 36 37 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 35 def @timestamp_property_name end |
Class Method Details
.mapper ⇒ Object
Mapper for EventHubEventSourceCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_create_or_update_parameters.rb', line 68 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.EventHub', type: { name: 'Composite', class_name: 'EventHubEventSourceCreateOrUpdateParameters', model_properties: { location: { client_side_validation: true, required: true, 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' } } } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, timestamp_property_name: { client_side_validation: true, required: false, serialized_name: 'properties.timestampPropertyName', type: { name: 'String' } }, event_source_resource_id: { client_side_validation: true, required: true, serialized_name: 'properties.eventSourceResourceId', type: { name: 'String' } }, service_bus_namespace: { client_side_validation: true, required: true, serialized_name: 'properties.serviceBusNamespace', type: { name: 'String' } }, event_hub_name: { client_side_validation: true, required: true, serialized_name: 'properties.eventHubName', type: { name: 'String' } }, consumer_group_name: { client_side_validation: true, required: true, serialized_name: 'properties.consumerGroupName', type: { name: 'String' } }, key_name: { client_side_validation: true, required: true, serialized_name: 'properties.keyName', type: { name: 'String' } }, shared_access_key: { client_side_validation: true, required: true, serialized_name: 'properties.sharedAccessKey', type: { name: 'String' } } } } } end |