class Azure::ServiceFabric::V6_5_0_36::Models::HttpHostConfig

Describes the hostname properties for http routing.

Attributes

name[RW]

@return [String] http hostname config name.

routes[RW]

@return [Array<HttpRouteConfig>] Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/http_host_config.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HttpHostConfig',
    type: {
      name: 'Composite',
      class_name: 'HttpHostConfig',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        routes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'routes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HttpRouteConfigElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HttpRouteConfig'
                }
            }
          }
        }
      }
    }
  }
end