class Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters

Parameters that define the IP flow to be verified.

Attributes

direction[RW]

@return [Direction] The direction of the packet represented as a 5-tuple. Possible values include: 'Inbound', 'Outbound'

local_ipaddress[RW]

@return [String] The local IP address. Acceptable values are valid IPv4 addresses.

local_port[RW]

@return [String] The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

protocol[RW]

@return [IpFlowProtocol] Protocol to be verified on. Possible values include: 'TCP', 'UDP'

remote_ipaddress[RW]

@return [String] The remote IP address. Acceptable values are valid IPv4 addresses.

remote_port[RW]

@return [String] The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

target_nic_resource_id[RW]

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

target_resource_id[RW]

@return [String] The ID of the target resource to perform next-hop on.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-08-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb, line 54
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VerificationIPFlowParameters',
    type: {
      name: 'Composite',
      class_name: 'VerificationIPFlowParameters',
      model_properties: {
        target_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        direction: {
          client_side_validation: true,
          required: true,
          serialized_name: 'direction',
          type: {
            name: 'String'
          }
        },
        protocol: {
          client_side_validation: true,
          required: true,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        local_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'localPort',
          type: {
            name: 'String'
          }
        },
        remote_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'remotePort',
          type: {
            name: 'String'
          }
        },
        local_ipaddress: {
          client_side_validation: true,
          required: true,
          serialized_name: 'localIPAddress',
          type: {
            name: 'String'
          }
        },
        remote_ipaddress: {
          client_side_validation: true,
          required: true,
          serialized_name: 'remoteIPAddress',
          type: {
            name: 'String'
          }
        },
        target_nic_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetNicResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end