|
compute
v1
|
#include <vm_endpoint_nat_mappings_interface_nat_mappings.h>
Public Member Functions | |
| VmEndpointNatMappingsInterfaceNatMappings (const Json::Value &storage) | |
| VmEndpointNatMappingsInterfaceNatMappings (Json::Value *storage) | |
| virtual | ~VmEndpointNatMappingsInterfaceNatMappings () |
| const StringPiece | GetTypeName () const |
| bool | has_nat_ip_port_ranges () const |
| void | clear_nat_ip_port_ranges () |
| const client::JsonCppArray< string > | get_nat_ip_port_ranges () const |
| client::JsonCppArray< string > | mutable_natIpPortRanges () |
| bool | has_num_total_nat_ports () const |
| void | clear_num_total_nat_ports () |
| int32 | get_num_total_nat_ports () const |
| void | set_num_total_nat_ports (int32 value) |
| bool | has_source_alias_ip_range () const |
| void | clear_source_alias_ip_range () |
| const StringPiece | get_source_alias_ip_range () const |
| void | set_source_alias_ip_range (const StringPiece &value) |
| bool | has_source_virtual_ip () const |
| void | clear_source_virtual_ip () |
| const StringPiece | get_source_virtual_ip () const |
| void | set_source_virtual_ip (const StringPiece &value) |
Static Public Member Functions | |
| static VmEndpointNatMappingsInterfaceNatMappings * | New () |
Contain information of Nat mapping for an interface of this endpoint.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'natIpPortRanges' attribute.
|
inline |
Clears the 'numTotalNatPorts' attribute.
|
inline |
Clears the 'sourceAliasIpRange' attribute.
|
inline |
Clears the 'sourceVirtualIp' attribute.
|
inline |
Get a reference to the value of the 'natIpPortRanges' attribute.
|
inline |
Get the value of the 'numTotalNatPorts' attribute.
|
inline |
Get the value of the 'sourceAliasIpRange' attribute.
|
inline |
Get the value of the 'sourceVirtualIp' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'natIpPortRanges' attribute was set.
natIpPortRanges' attribute was set.
|
inline |
Determine if the 'numTotalNatPorts' attribute was set.
numTotalNatPorts' attribute was set.
|
inline |
Determine if the 'sourceAliasIpRange' attribute was set.
sourceAliasIpRange' attribute was set.
|
inline |
Determine if the 'sourceVirtualIp' attribute was set.
sourceVirtualIp' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'natIpPortRanges' property.
A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
|
static |
Creates a new default instance.
|
inline |
Change the 'numTotalNatPorts' attribute.
Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.
| [in] | value | The new value. |
|
inline |
Change the 'sourceAliasIpRange' attribute.
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
| [in] | value | The new value. |
|
inline |
Change the 'sourceVirtualIp' attribute.
Primary IP of the VM for this NIC.
| [in] | value | The new value. |