Class: Azure::ARM::Network::Models::LoadBalancer

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/load_balancer.rb

Overview

LoadBalancer resource

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backend_address_poolsArray<BackendAddressPool>

used by a load balancer

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 25

def backend_address_pools
  @backend_address_pools
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the



67
68
69
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 67

def etag
  @etag
end

#frontend_ipconfigurationsArray<FrontendIPConfiguration>

frontend IPs to be used for the load balancer

Returns:



21
22
23
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 21

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:



52
53
54
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 52

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:



41
42
43
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 41

def inbound_nat_rules
  @inbound_nat_rules
end

#load_balancing_rulesArray<LoadBalancingRule>

load balancing rules Gets the provisioning

Returns:



29
30
31
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 29

def load_balancing_rules
  @load_balancing_rules
end

#outbound_nat_rulesArray<OutboundNatRule>

Returns The outbound NAT rules.

Returns:



55
56
57
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 55

def outbound_nat_rules
  @outbound_nat_rules
end

#probesArray<Probe>

balancer

Returns:

  • (Array<Probe>)

    Collection of probe objects used in the load



33
34
35
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 33

def probes
  @probes
end

#provisioning_stateString

Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Returns:

  • (String)

    Gets the provisioning state of the PublicIP resource.



63
64
65
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 63

def provisioning_state
  @provisioning_state
end

#resource_guidString

resource.

Returns:

  • (String)

    The resource GUID property of the load balancer



59
60
61
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 59

def resource_guid
  @resource_guid
end

#skuLoadBalancerSku

Returns The load balancer SKU.

Returns:



17
18
19
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 17

def sku
  @sku
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_network/models/load_balancer.rb', line 74

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