Class: Azure::ARM::Network::Models::InboundNatPool

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

Overview

Inbound NAT pool of the load balancer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backend_portInteger

endpoint. Acceptable values are between 1 and 65535.

Returns:

  • (Integer)

    The port used for internal connections on the



36
37
38
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 36

def backend_port
  @backend_port
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the



48
49
50
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 48

def etag
  @etag
end

#frontend_ipconfigurationSubResource

Returns A reference to frontend IP addresses.

Returns:

  • (SubResource)

    A reference to frontend IP addresses.



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

def frontend_ipconfiguration
  @frontend_ipconfiguration
end

#frontend_port_range_endInteger

that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

Returns:

  • (Integer)

    The last port number in the range of external ports



32
33
34
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 32

def frontend_port_range_end
  @frontend_port_range_end
end

#frontend_port_range_startInteger

that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

Returns:

  • (Integer)

    The first port number in the range of external ports



27
28
29
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 27

def frontend_port_range_start
  @frontend_port_range_start
end

#nameString

resource group. This name can be used to access the resource.

Returns:

  • (String)

    The name of the resource that is unique within a



44
45
46
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 44

def name
  @name
end

#protocolTransportProtocol

Possible values are: ‘Udp’ or ‘Tcp’. Possible values include: ‘Udp’, ‘Tcp’

Returns:



22
23
24
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 22

def protocol
  @protocol
end

#provisioning_stateString

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

Returns:

  • (String)

    Gets the provisioning state of the PublicIP resource.



40
41
42
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 40

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    required: false,
    serialized_name: 'InboundNatPool',
    type: {
      name: 'Composite',
      class_name: 'InboundNatPool',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        frontend_ipconfiguration: {
          required: false,
          serialized_name: 'properties.frontendIPConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        protocol: {
          required: true,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        frontend_port_range_start: {
          required: true,
          serialized_name: 'properties.frontendPortRangeStart',
          type: {
            name: 'Number'
          }
        },
        frontend_port_range_end: {
          required: true,
          serialized_name: 'properties.frontendPortRangeEnd',
          type: {
            name: 'Number'
          }
        },
        backend_port: {
          required: true,
          serialized_name: 'properties.backendPort',
          type: {
            name: 'Number'
          }
        },
        provisioning_state: {
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end