Class: Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventHub
- Inherits:
-
DigitalTwinsEndpointResourceProperties
- Object
- DigitalTwinsEndpointResourceProperties
- Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventHub
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb
Overview
Properties related to EventHub.
Instance Attribute Summary collapse
-
#connection_string_primary_key ⇒ String
obfuscated during read.
-
#connection_string_secondary_key ⇒ String
obfuscated during read.
-
#endpointType ⇒ Object
Returns the value of attribute endpointType.
Attributes inherited from DigitalTwinsEndpointResourceProperties
#created_time, #dead_letter_secret, #provisioning_state
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventHub class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventHub
constructor
A new instance of EventHub.
Constructor Details
#initialize ⇒ EventHub
Returns a new instance of EventHub.
16 17 18 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb', line 16 def initialize @endpointType = "EventHub" end |
Instance Attribute Details
#connection_string_primary_key ⇒ String
obfuscated during read.
24 25 26 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb', line 24 def connection_string_primary_key @connection_string_primary_key end |
#connection_string_secondary_key ⇒ String
obfuscated during read.
28 29 30 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb', line 28 def connection_string_secondary_key @connection_string_secondary_key end |
#endpointType ⇒ Object
Returns the value of attribute endpointType.
20 21 22 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb', line 20 def endpointType @endpointType end |
Class Method Details
.mapper ⇒ Object
Mapper for EventHub class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_hub.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventHub', type: { name: 'Composite', class_name: 'EventHub', model_properties: { provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, created_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'createdTime', type: { name: 'DateTime' } }, dead_letter_secret: { client_side_validation: true, required: false, serialized_name: 'deadLetterSecret', type: { name: 'String' } }, endpointType: { client_side_validation: true, required: true, serialized_name: 'endpointType', type: { name: 'String' } }, connection_string_primary_key: { client_side_validation: true, required: false, serialized_name: 'connectionStringPrimaryKey', type: { name: 'String' } }, connection_string_secondary_key: { client_side_validation: true, required: false, serialized_name: 'connectionStringSecondaryKey', type: { name: 'String' } } } } } end |