Class: Azure::ServiceFabric::V6_5_0_36::Models::TcpConfig
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::TcpConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb
Overview
Describes the tcp configuration for external connectivity for this network.
Instance Attribute Summary collapse
-
#destination ⇒ GatewayDestination
traffic.
-
#name ⇒ String
Tcp gateway config name.
-
#port ⇒ Integer
below needs to be exposed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TcpConfig class as Ruby Hash.
Instance Attribute Details
#destination ⇒ GatewayDestination
traffic.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb', line 25 def destination @destination end |
#name ⇒ String
Returns tcp gateway config name.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb', line 17 def name @name end |
#port ⇒ Integer
below needs to be exposed.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb', line 21 def port @port end |
Class Method Details
.mapper ⇒ Object
Mapper for TcpConfig class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TcpConfig', type: { name: 'Composite', class_name: 'TcpConfig', 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' } }, destination: { client_side_validation: true, required: true, serialized_name: 'destination', type: { name: 'Composite', class_name: 'GatewayDestination' } } } } } end |