class Azure::ServiceFabric::V7_0_0_42::Models::HttpConfig

Describes the http configuration for external connectivity for this network.

Attributes

hosts[RW]

@return [Array<HttpHostConfig>] description for routing.

name[RW]

@return [String] http gateway config name.

port[RW]

@return [Integer] Specifies the port at which the service endpoint below needs to be exposed.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/http_config.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HttpConfig',
    type: {
      name: 'Composite',
      class_name: 'HttpConfig',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        },
        hosts: {
          client_side_validation: true,
          required: true,
          serialized_name: 'hosts',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HttpHostConfigElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HttpHostConfig'
                }
            }
          }
        }
      }
    }
  }
end