Sha256: 6ce76142af4651a18a836db0355e0eabf5d3325ac5383efb06abecdf7efe8bf0

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V7_0_0_42
  module Models
    #
    # Describes the hostname properties for http routing.
    #
    class HttpHostConfig

      include MsRestAzure

      # @return [String] http hostname config name.
      attr_accessor :name

      # @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.
      attr_accessor :routes


      #
      # Mapper for HttpHostConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/http_host_config.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/http_host_config.rb