class Azure::Network::Mgmt::V2017_11_01::Models::ConnectionMonitorDestination

Describes the destination of connection monitor.

Attributes

address[RW]

@return [String] Address of the connection monitor destination (IP or domain name).

port[RW]

@return [Integer] The destination port used by connection monitor.

resource_id[RW]

@return [String] The ID of the resource used as the destination by connection monitor.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorDestination',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorDestination',
      model_properties: {
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'address',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end