class Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters

Parameters that define the source and destination endpoint.

Attributes

destination_ipaddress[RW]

@return [String] The destination IP address.

source_ipaddress[RW]

@return [String] The source IP address.

target_nic_resource_id[RW]

@return [String] The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).

target_resource_id[RW]

@return [String] The resource identifier of the target resource against which the action is to be performed.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NextHopParameters',
    type: {
      name: 'Composite',
      class_name: 'NextHopParameters',
      model_properties: {
        target_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        source_ipaddress: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sourceIPAddress',
          type: {
            name: 'String'
          }
        },
        destination_ipaddress: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destinationIPAddress',
          type: {
            name: 'String'
          }
        },
        target_nic_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetNicResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end