Class: Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventGrid
- Inherits:
-
DigitalTwinsEndpointResourceProperties
- Object
- DigitalTwinsEndpointResourceProperties
- Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventGrid
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb
Overview
Properties related to EventGrid.
Instance Attribute Summary collapse
-
#access_key1 ⇒ String
during read.
-
#access_key2 ⇒ String
during read.
-
#endpointType ⇒ Object
Returns the value of attribute endpointType.
-
#topic_endpoint ⇒ String
EventGrid Topic Endpoint.
Attributes inherited from DigitalTwinsEndpointResourceProperties
#created_time, #dead_letter_secret, #provisioning_state
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventGrid class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventGrid
constructor
A new instance of EventGrid.
Constructor Details
#initialize ⇒ EventGrid
Returns a new instance of EventGrid.
16 17 18 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 16 def initialize @endpointType = "EventGrid" end |
Instance Attribute Details
#access_key1 ⇒ String
during read.
27 28 29 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 27 def access_key1 @access_key1 end |
#access_key2 ⇒ String
during read.
31 32 33 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 31 def access_key2 @access_key2 end |
#endpointType ⇒ Object
Returns the value of attribute endpointType.
20 21 22 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 20 def endpointType @endpointType end |
#topic_endpoint ⇒ String
Returns EventGrid Topic Endpoint.
23 24 25 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 23 def topic_endpoint @topic_endpoint end |
Class Method Details
.mapper ⇒ Object
Mapper for EventGrid class as Ruby Hash. This will be used for serialization/deserialization.
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 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/2020-10-31/generated/azure_mgmt_digitaltwins/models/event_grid.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventGrid', type: { name: 'Composite', class_name: 'EventGrid', 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' } }, topic_endpoint: { client_side_validation: true, required: false, serialized_name: 'TopicEndpoint', type: { name: 'String' } }, access_key1: { client_side_validation: true, required: false, serialized_name: 'accessKey1', type: { name: 'String' } }, access_key2: { client_side_validation: true, required: false, serialized_name: 'accessKey2', type: { name: 'String' } } } } } end |