class Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest
The request that generated the event.
Attributes
addr[RW]
@return [String] The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
host[RW]
@return [String] The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
id[RW]
@return [String] The ID of the request that initiated the event.
method[RW]
@return [String] The request method that generated the event.
useragent[RW]
@return [String] The user agent header of the request.
Private Class Methods
mapper()
click to toggle source
Mapper for ContainerRegistryEventRequest
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerRegistryEventRequest', type: { name: 'Composite', class_name: 'ContainerRegistryEventRequest', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, addr: { client_side_validation: true, required: false, serialized_name: 'addr', type: { name: 'String' } }, host: { client_side_validation: true, required: false, serialized_name: 'host', type: { name: 'String' } }, method: { client_side_validation: true, required: false, serialized_name: 'method', type: { name: 'String' } }, useragent: { client_side_validation: true, required: false, serialized_name: 'useragent', type: { name: 'String' } } } } } end