Class: Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb

Overview

LoadBalancer resource

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#backend_address_poolsArray<BackendAddressPool>

used by a load balancer

Returns:


24
25
26
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 24

def backend_address_pools
  @backend_address_pools
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


66
67
68
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 66

def etag
  @etag
end

#frontend_ipconfigurationsArray<FrontendIPConfiguration>

frontend IPs to be used for the load balancer

Returns:


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 20

def frontend_ipconfigurations
  @frontend_ipconfigurations
end

#inbound_nat_poolsArray<InboundNatPool>

inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

Returns:


51
52
53
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 51

def inbound_nat_pools
  @inbound_nat_pools
end

#inbound_nat_rulesArray<InboundNatRule>

a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.

Returns:


40
41
42
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 40

def inbound_nat_rules
  @inbound_nat_rules
end

#load_balancing_rulesArray<LoadBalancingRule>

load balancing rules Gets the provisioning

Returns:


28
29
30
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 28

def load_balancing_rules
  @load_balancing_rules
end

#outbound_rulesArray<OutboundRule>

Returns The outbound rules.

Returns:


54
55
56
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 54

def outbound_rules
  @outbound_rules
end

#probesArray<Probe>

balancer

Returns:

  • (Array<Probe>)

    Collection of probe objects used in the load


32
33
34
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 32

def probes
  @probes
end

#provisioning_stateString

Possible values are: 'Updating', 'Deleting', and 'Failed'.

Returns:

  • (String)

    Gets the provisioning state of the PublicIP resource.


62
63
64
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 62

def provisioning_state
  @provisioning_state
end

#resource_guidString

resource.

Returns:

  • (String)

    The resource GUID property of the load balancer


58
59
60
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 58

def resource_guid
  @resource_guid
end

#skuLoadBalancerSku

Returns The load balancer SKU.

Returns:


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 16

def sku
  @sku
end

Class Method Details

.mapperObject

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


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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/load_balancer.rb', line 73

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoadBalancer',
    type: {
      name: 'Composite',
      class_name: 'LoadBalancer',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'LoadBalancerSku'
          }
        },
        frontend_ipconfigurations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.frontendIPConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FrontendIPConfigurationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'FrontendIPConfiguration'
                }
            }
          }
        },
        backend_address_pools: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.backendAddressPools',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'BackendAddressPoolElementType',
                type: {
                  name: 'Composite',
                  class_name: 'BackendAddressPool'
                }
            }
          }
        },
        load_balancing_rules: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.loadBalancingRules',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LoadBalancingRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'LoadBalancingRule'
                }
            }
          }
        },
        probes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.probes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ProbeElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Probe'
                }
            }
          }
        },
        inbound_nat_rules: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inboundNatRules',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InboundNatRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InboundNatRule'
                }
            }
          }
        },
        inbound_nat_pools: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inboundNatPools',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InboundNatPoolElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InboundNatPool'
                }
            }
          }
        },
        outbound_rules: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.outboundRules',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'OutboundRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'OutboundRule'
                }
            }
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end