Class: Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb

Overview

Profile of the managed cluster load balancer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allocated_outbound_portsInteger

Allowed values must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. Default value: 0 .

Returns:

  • (Integer)

    Desired number of allocated SNAT ports per VM.



35
36
37
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 35

def allocated_outbound_ports
  @allocated_outbound_ports
end

#effective_outbound_ipsArray<ResourceReference>

of the cluster load balancer.

Returns:



29
30
31
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 29

def effective_outbound_ips
  @effective_outbound_ips
end

#idle_timeout_in_minutesInteger

Allowed values must be in the range of 4 to 120 (inclusive). The default value is 30 minutes. Default value: 30 .

Returns:

  • (Integer)

    Desired outbound flow idle timeout in minutes.



40
41
42
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 40

def idle_timeout_in_minutes
  @idle_timeout_in_minutes
end

#managed_outbound_ipsManagedClusterLoadBalancerProfileManagedOutboundIPs

managed outbound IPs for the cluster load balancer.



17
18
19
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 17

def managed_outbound_ips
  @managed_outbound_ips
end

#outbound_ipprefixesManagedClusterLoadBalancerProfileOutboundIPPrefixes

outbound IP Prefix resources for the cluster load balancer.



21
22
23
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 21

def outbound_ipprefixes
  @outbound_ipprefixes
end

#outbound_ipsManagedClusterLoadBalancerProfileOutboundIPs

IP resources for the cluster load balancer.

Returns:



25
26
27
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 25

def outbound_ips
  @outbound_ips
end

Class Method Details

.mapperObject

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



47
48
49
50
51
52
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
# File 'lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedClusterLoadBalancerProfile',
    type: {
      name: 'Composite',
      class_name: 'ManagedClusterLoadBalancerProfile',
      model_properties: {
        managed_outbound_ips: {
          client_side_validation: true,
          required: false,
          serialized_name: 'managedOutboundIPs',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterLoadBalancerProfileManagedOutboundIPs'
          }
        },
        outbound_ipprefixes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outboundIPPrefixes',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes'
          }
        },
        outbound_ips: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outboundIPs',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterLoadBalancerProfileOutboundIPs'
          }
        },
        effective_outbound_ips: {
          client_side_validation: true,
          required: false,
          serialized_name: 'effectiveOutboundIPs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ResourceReferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceReference'
                }
            }
          }
        },
        allocated_outbound_ports: {
          client_side_validation: true,
          required: false,
          serialized_name: 'allocatedOutboundPorts',
          default_value: 0,
          constraints: {
            InclusiveMaximum: 64000,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        idle_timeout_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'idleTimeoutInMinutes',
          default_value: 30,
          constraints: {
            InclusiveMaximum: 120,
            InclusiveMinimum: 4
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end