Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb
Overview
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
Instance Attribute Summary collapse
-
#addr ⇒ String
that generated the event.
-
#instance_id ⇒ String
each restart.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Source class as Ruby Hash.
Instance Attribute Details
#addr ⇒ String
that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
19 20 21 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb', line 19 def addr @addr end |
#instance_id ⇒ String
each restart.
23 24 25 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb', line 23 def instance_id @instance_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Source class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Source', type: { name: 'Composite', class_name: 'Source', model_properties: { addr: { client_side_validation: true, required: false, serialized_name: 'addr', type: { name: 'String' } }, instance_id: { client_side_validation: true, required: false, serialized_name: 'instanceID', type: { name: 'String' } } } } } end |