class Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource

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.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerRegistryEventSource',
    type: {
      name: 'Composite',
      class_name: 'ContainerRegistryEventSource',
      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