class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

Attributes

addr[RW]

@return [String] The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.

instance_id[RW]

@return [String] The running instance of an application. Changes after each restart.

Public Class Methods

mapper() click to toggle source

Mapper for Source class as Ruby Hash. This will be used for serialization/deserialization.

# 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