Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::LoadBalancerFrontendIPConfigurationProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb

Overview

Describes a cloud service IP Configuration

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#private_ipaddressString

service.

Returns:

  • (String)

    The private IP address referenced by the cloud



23
24
25
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb', line 23

def private_ipaddress
  @private_ipaddress
end

#public_ipaddressSubResource

Returns:



16
17
18
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb', line 16

def public_ipaddress
  @public_ipaddress
end

#subnetSubResource

Returns:



19
20
21
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb', line 19

def subnet
  @subnet
end

Class Method Details

.mapperObject

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



31
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/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoadBalancerFrontendIPConfigurationProperties',
    type: {
      name: 'Composite',
      class_name: 'LoadBalancerFrontendIPConfigurationProperties',
      model_properties: {
        public_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicIPAddress',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        subnet: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subnet',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        private_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateIPAddress',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end