Class: Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb
Overview
This type describes a gateway resource.
Instance Attribute Summary collapse
-
#description ⇒ String
User readable description of the gateway.
-
#destination_network ⇒ NetworkRef
Network that the Application is using.
-
#http ⇒ Array<HttpConfig>
this gateway.
-
#ip_address ⇒ String
response and is ignored for incoming requests.
-
#name ⇒ String
Name of the Gateway resource.
-
#source_network ⇒ NetworkRef
Network the gateway should listen on for requests.
-
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’.
-
#status_details ⇒ String
of the gateway.
-
#tcp ⇒ Array<TcpConfig>
gateway.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GatewayResourceDescription class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns User readable description of the gateway.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 19 def description @description end |
#destination_network ⇒ NetworkRef
Returns Network that the Application is using.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 25 def destination_network @destination_network end |
#http ⇒ Array<HttpConfig>
this gateway.
33 34 35 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 33 def http @http end |
#ip_address ⇒ String
response and is ignored for incoming requests.
46 47 48 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 46 def ip_address @ip_address end |
#name ⇒ String
Returns Name of the Gateway resource.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 16 def name @name end |
#source_network ⇒ NetworkRef
Returns Network the gateway should listen on for requests.
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 22 def source_network @source_network end |
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’
38 39 40 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 38 def status @status end |
#status_details ⇒ String
of the gateway.
42 43 44 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 42 def status_details @status_details end |
#tcp ⇒ Array<TcpConfig>
gateway.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 29 def tcp @tcp end |
Class Method Details
.mapper ⇒ Object
Mapper for GatewayResourceDescription class as Ruby Hash. This will be used for serialization/deserialization.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GatewayResourceDescription', type: { name: 'Composite', class_name: 'GatewayResourceDescription', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, source_network: { client_side_validation: true, required: true, serialized_name: 'properties.sourceNetwork', type: { name: 'Composite', class_name: 'NetworkRef' } }, destination_network: { client_side_validation: true, required: true, serialized_name: 'properties.destinationNetwork', type: { name: 'Composite', class_name: 'NetworkRef' } }, tcp: { client_side_validation: true, required: false, serialized_name: 'properties.tcp', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TcpConfigElementType', type: { name: 'Composite', class_name: 'TcpConfig' } } } }, http: { client_side_validation: true, required: false, serialized_name: 'properties.http', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HttpConfigElementType', type: { name: 'Composite', class_name: 'HttpConfig' } } } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusDetails', type: { name: 'String' } }, ip_address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipAddress', type: { name: 'String' } } } } } end |