Class: Azure::ServiceFabric::V6_4_0_36::Models::HttpConfig
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::HttpConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/http_config.rb
Overview
Describes the http configuration for external connectivity for this network.
Instance Attribute Summary collapse
-
#hosts ⇒ Array<HttpHostConfig>
Description for routing.
-
#name ⇒ String
Http gateway config name.
-
#port ⇒ Integer
below needs to be exposed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HttpConfig class as Ruby Hash.
Instance Attribute Details
#hosts ⇒ Array<HttpHostConfig>
Returns description for routing.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_config.rb', line 24 def hosts @hosts end |
#name ⇒ String
Returns http gateway config name.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_config.rb', line 17 def name @name end |
#port ⇒ Integer
below needs to be exposed.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_config.rb', line 21 def port @port end |
Class Method Details
.mapper ⇒ Object
Mapper for HttpConfig class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/6.4.0.36/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 |