lib/vcloud/core/edge_gateway.rb
def vcloud_gateway_interface_by_id gateway_interface_id
        gateway_interfaces = vcloud_attributes[:Configuration][:GatewayInterfaces][:GatewayInterface]
        unless gateway_interfaces.empty?
          return gateway_interfaces.find{ |interface|
            interface[:Network][:href].split('/').last == gateway_interface_id
          }
        end
      end
# Return the Vcloud::Core::EdgeGatewayInterface of EdgeGateway which matches an ID
#
# @param id [String] The id of the EdgeGatewayInterface
# @return [Vcloud::Core::EdgeGatewayInterface] the EdgeGatewayInterface instance
Return the Vcloud::Core::EdgeGatewayInterface of EdgeGateway which matches an ID
Return the Vcloud :: Core :: EdgeGatewayInterface of EdgeGateway which matches an ID
def vcloud_gateway_interface_by_id gateway_interface_id
        gateway_interfaces = vcloud_attributes[:Configuration][:GatewayInterfaces][:GatewayInterface]
        unless gateway_interfaces.empty?
          return gateway_interfaces.find{ |interface|
            interface[:Network][:href].split('/').last == gateway_interface_id
          }
        end
      end
def vcloud_gateway_interface_by_id gateway_interface_id gateway_interfaces = vcloud_attributes [ :Configuration ] [ :GatewayInterfaces ] [ :GatewayInterface ] unless gateway_interfaces . empty? return gateway_interfaces . find { | interface | interface [ :Network ] [ :href ] . split ( '/' ) . last == gateway_interface_id } end end
Return the Vcloud::Core::EdgeGatewayInterface of EdgeGateway which matches an ID
Return the Vcloud :: Core :: EdgeGatewayInterface of EdgeGateway which matches an ID
the EdgeGatewayInterface instance
the EdgeGatewayInterface instance
Vcloud::Core::EdgeGatewayInterface
gateway_interface_id
id
The id of the EdgeGatewayInterface
The id of the EdgeGatewayInterface