Class: Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns User readable description of the gateway.

Returns:

  • (String)

    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_networkNetworkRef

Returns Network that the Application is using.

Returns:

  • (NetworkRef)

    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

#httpArray<HttpConfig>

this gateway.

Returns:

  • (Array<HttpConfig>)

    Configuration for http connectivity for



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_addressString

response and is ignored for incoming requests.

Returns:

  • (String)

    IP address of the gateway. This is populated in the



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

#nameString

Returns Name of the Gateway resource.

Returns:

  • (String)

    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_networkNetworkRef

Returns Network the gateway should listen on for requests.

Returns:

  • (NetworkRef)

    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

#statusResourceStatus

include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’

Returns:



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_detailsString

of the gateway.

Returns:

  • (String)

    Gives additional information about the current status



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

#tcpArray<TcpConfig>

gateway.

Returns:

  • (Array<TcpConfig>)

    Configuration for tcp connectivity for this



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

.mapperObject

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