class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request

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.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Request',
    type: {
      name: 'Composite',
      class_name: 'Request',
      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