Class: Azure::TimeSeriesInsights::Mgmt::V2018_08_15_preview::Models::EventSourceCreateOrUpdateParameters
- Inherits:
-
CreateOrUpdateTrackedResourceProperties
- Object
- CreateOrUpdateTrackedResourceProperties
- Azure::TimeSeriesInsights::Mgmt::V2018_08_15_preview::Models::EventSourceCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_source_create_or_update_parameters.rb
Overview
Parameters supplied to the Create or Update Event Source operation.
Direct Known Subclasses
EventHubEventSourceCreateOrUpdateParameters, IoTHubEventSourceCreateOrUpdateParameters
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Attributes inherited from CreateOrUpdateTrackedResourceProperties
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventSourceCreateOrUpdateParameters class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventSourceCreateOrUpdateParameters
constructor
A new instance of EventSourceCreateOrUpdateParameters.
Constructor Details
#initialize ⇒ EventSourceCreateOrUpdateParameters
Returns a new instance of EventSourceCreateOrUpdateParameters.
16 17 18 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_source_create_or_update_parameters.rb', line 16 def initialize @kind = "EventSourceCreateOrUpdateParameters" end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_source_create_or_update_parameters.rb', line 20 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for EventSourceCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 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 |
# File 'lib/2018-08-15-preview/generated/azure_mgmt_time_series_insights/models/event_source_create_or_update_parameters.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventSourceCreateOrUpdateParameters', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'CreateOrUpdateTrackedResourceProperties', class_name: 'EventSourceCreateOrUpdateParameters', 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' } } } } } } } end |